Installing Google Glass in an Android Phone

Ok in this article we will see how to install Google Glass in your Android phone.
Actually we are installing some apps that are specific(That comes with) to the glass. These apps are taken from the explorer glass system dump(OS).

There are more things you can explore using the System dump but as for now. We will bring the basic functionality of the Google Glass to the Android phone.

Prerequisites – You need a wifi connection to authorize the google account to your glass software. Reason is google glass only has wifi connectivity so its only means to connect to internet is through wifi, so they don’t have data related libraries’ so if you are connected through your data connection it wont work. But if you don’t have a wifi, create a hotspot through a laptop or smartphone and change your data into wifi. But you can try using the data connection and post a comment if it works.

There must be a

Step 1
Download the GoogleGlass.rar

Step2
Extract the file.

Step3
To simply install, copy these files into the SD Card of your android phone and
click on them and
it will prompt you, from which app to open the file,
select the package installer.
(If this is not the first time you are installing an app in this method you can skip this sline)Then it will ask you to enable the third party app/unknown source app installation,
which you can find in the Settings–> Security
Now you can install the apks.

First of all Instal the following files

  • glassbrowser-modded.apk
  • GlassCamera.apk
  • GlassHangouts.apk
  • glasshome-modded.apk
  • glassmaps-modded.apk
  • glasspeople-modded.apk
  • glasssetup-modded.apk
  • GlassSound.apk
  • glassvoice-modded.apk

Step4
After installing all these apks (Don’t run any of the apps as soon as you install), before opening any app open the ‘Glass Setup’ app which is available now in your app list.
And you will see the following screen.
Screenshot_2013-07-19-16-45-41

At this point you must login to
https://www.google.com/myglass using your google account that you wish to associate with your glass App.

First you will see this page in your browser
step1

Now click on the Start link and you will go to this page
step2

As usual agree to the agreements and click continue
step3
Add the wifi name and password(You can try using fake name and password).
And click on the Add network
step4

Now you will see this. Screen, in the original glass you can scan the code but in the app we have installed in the phone that feature won’t work. But if you keep the Google Setup app open, automatically the continue button will be enabled, if it did not work, close the app and restart the app and it will get authorized and you are ready open the Google Glass.
πŸ˜€

Now you will be redirected to your Glass Companion page, here you will see all the glasswares(In google glass apps are called glasswares) you have subscribed, here you can manage them. Or there is an app called glass companion, which I have added in the rar you downloaded now.

This is the Website Glass Companion
GlassCompanionWeb

This is the Android App
Screenshot_2013-07-19-17-16-45

Now you can Open the ‘Glass Home’ App from your App list
And you will See this View
Screenshot_2013-07-03-14-35-221

And start the operations by saying the magic word ‘ok glass’And you will see available commands
google-glass-interface-ok-glass

So this is how the google glass works,
for how to use commands please see my first article on Google Glass

Most of the commands will not work,
Ok glass–> google… will wok and it acts like google now.
Ok glass–>Send a message to will work if you have added contacts from your gmail account in the glass comapnion

Most of the others will not work. But in my next post I’ll write an article on how to make the command ‘take a picture works’, be ready some basic android programing stuff will be there.

Be ready to do some Android Code…!

Download the Whole System Dump from Here
gitHub-download-button

Update (12/3/2014): Now after the GlassSneakPeak GDK is released, now you can develop apps using the GDK and add your own commands easily and can open them using voice commands. I am not sure but if you manage to get the latest XE12 Glass OS or later and install it in the phone it should work. If I have time Ill publish a new post on it.

Advertisements

81 thoughts on “Installing Google Glass in an Android Phone

  1. Great post – thanks for sharing your adventure with us. I’m curious, have you been able to install Google Glass on an android emulator through Android Studio? I was able to follow your steps to set up glass but the “Glass Home” app keeps crashing. Any advice?

    Thanks!

    1. I did not try on emulator. I installed it in my galaxy s3 which is running android 4.1. But if you are trying on the emulator create a emulator with android 4.1 or more a nd try.

    1. As I told earlier camera will not work. Camera is a native app which needs the real google glass camera. With this you can only test glassware functionalities. But I have written an article on invoking android camera through glass app.

  2. hi
    the last setup step of the QR code is not working and the ‘next step’ is still disabled.the glass setup is up and running and I tried to reset it time and again but without help. any idea?

  3. Hi,
    Can we install and run GDK apps on android phone and test them using the above setup of Google Glass on Android? For example, push stopwatch.apk sample app to Android phone and test with “ok glass”. “Start a stopwatch” command.

    I do not have a Glass device and was wondering how did you test for Glassware prior to receiving the device.

    1. You can run apps built using gdk in android phone and invoke them using voice commands while running glasshome.
      Glassware generates timeline cards which are displayed over the glass home glass timeline. Glassware is developed as serverside technology. So GDK is not needed.
      But now lots of new features in timelinecards have come and for that real glass is needed.

      1. Thanks for your response.

        I have tried using Android emulator but cannot see cards on my timeline pushed through Mirror API (Java quick-start GAE app) even after setting up my Google account on the emulator. I assume it’s an issue with missing Wifi simulation on the emulator which Glass requires. I will give it a try on my Android device with Wifi. Your input has been useful. Thanks!

  4. Hello,
    Very Nice Article.
    I have followed all the steps those are listed above and all the apks given in GoogleGlass.rar to to set up Glass on Android Phone.And I had successfully done setup.

    But I want to run my own GlassWare in the Android Phone.So I picked Timer Project given in the Demo Projects of GDK.
    I have generated apk through eclipse and install it in Android Phone via adb. Than I opened Glass Home app and said “ok glass start a timer” , and nothing happened. I have also tried with StopWatch demo, but same result.

    So Is there anything else I have to do to run own GlassWare in Android Phone ?

    1. Glassware means server side implementation, where you will generate a timeline card from server and push it into the Google Glass. Which you can do to the installation you made according to the article. Timer project is developed using GDK(Native Development) which needs actual google glass to run and test. Thats why I have mentioned installing Google Glass in phone will allow you to test only glassware related development which is done in server side.

  5. Hello. First of all, thanks for this guide, it has been really helpful and easy to follow, nice job ^_^
    I’ve been able to successfully install Google Glass apps on my Samsung Galaxy Nexys, everything seems to work except for the connection. When I try to google for something or send a message to my contacts it keeps telling me “Can’t reach Google right now”. If I try to set WiFi with the MyGlass app, it tells me that my Google Glass device is not connected. Is there a way to solve this? I am currently outside US, could this be the problem?
    Thank you again for this article anyway ^_^

    1. It does not work with the phone data…! Also it does not work directly with the available wifi. What you have to do is, go to “www.google.com/myglass/” and there set the wifi and the password and generate the QR code, that you have to scan with the Glass Settings –> Add wifi option. Then it will work. Hope you understood, what I am trying to say πŸ™‚

  6. Hi, first of all thanks for this guide ,it will be a helpfull.

    I will able to sucessfully install all apks on my LG Optimus e612 everythig will work but When I try to google for something or send a message to my contacts it keeps telling me β€œCan’t reach Google right now”.

    I also register with my google acount and on http://www.google.com/myglass/ and also register my wi-fi name and password QR code also generate but how to add this QR code on glass application?

    I not found Setting->Add wifi option any where in glass application.

    And also my setup application fource closed when i open it and tap.

    Is there any way to solve it?
    Please give me hint.

    Thanks again for such a grate tutorial

    1. No when the glass is showing the Ok Glass Screen(Time Screen) swipe to right side where you will see settings card. Tap on it and you will go to another card list, there while swi[[ing you will see the Add Wifi option. But the apk I have provided may be outdated. If you can find a new version of glass system dump and try.

  7. Ok thanks for your quick responce now i able to conect glass with Wi-Fi.

    1) Now i generate QR code using my google acount but how to connect myaccout with “Glass Application ” becouse direction and message send not work without this.

    There is one way to connect myglass acount with glass application using “glass setup” but it’s not work becouse camera not stared on background

    Any idea for that?

    2) And Second problem is that i create my own camera application as you said on https://pathofacoder.com/2013/08/02/how-to-launch-a-custom-android-app-in-google-glass/

    my androidmanifest code is like bellow

    but then also camera will not work it will force closed when started …please give hint for that

    thanks in advance

    1. Yes I forgot about the camera. Yes the camera does not support. And the camera I made will also does not support for this purpose. If ur phone and the account you tried to access from pc are same and if you have accepted the permissions they have provided you and if you have entered the myglass site and went up to the qr code section. It will automatically sync. your phone should be connected to the wifi you mentioned at the time you are seeing the QR. Thats how it worked for me.

  8. First of all, thanks for this guide
    I am used same google account for myglass setup and went upto QR and my android phone also used same account but still it does not sync. with account.

    It is required to enter Wi-Fi name and password original or fake?

    when i try to send message then it display contact not found and also same for direction please give me hint for that

  9. Thanks, Now message send is work perfectly and account also syc. with glass but any how “Get Direction” functionality can not work for me it’s display Direction Not Available.

    Thank you again for this article

    1. No that is normal because, the direction works only in certain countries. As I know it works in USA and Australia. The feature will be available soon as glass officially releases all around the world.

    1. Yes the glasscamera needs some special libraries which are not available in normal Android OS.
      But you can create your own camera. And replace the package name to your app where the glasscamera is invoked,
      so your camera will get invoked when you say ‘Ok Glass Take a Picture’

  10. Hi Amalan, nice post!

    I was trying to test an application that I’m developing with the mirror API with this emulator, but I’m not getting any timeline card into the emulator, this should be working right? any advice?

  11. Have done this experiment , really impressed up, you modelled this android apps just like google glass.

    You have to install all the apk(We call in glass as glasswere) , including the launcher apk. When we say, ok glass start camera, it starts the camera app intentionally ofcourse we have this installed in the set.

    So this is not google glasswere ,this is just android apks which would work like glasswere. Good show buddy.

    Am pretty impressed the way you handled few glass authentication and authorisation apis.

    Malai…

  12. Have done this experiment , really impressed up, you modelled this android apps just like google glass.

    You have to install all the apk(We call in glass as glasswere) , including the launcher apk. When we say, ok glass start camera, it starts the camera app intentionally ofcourse we have this installed in the set.

    So this is not google glasswere ,this is just android apks which would work like glasswere. Good show buddy.

    Am pretty impressed the way you handled few glass authentication and authorisation apis.

    Malai…

  13. Hi All,
    I already install all the apps described above, but nothing is working, when I tried to say “google”, a message appears saying that “Can’t reach Google right now”, also when I tried to check if there is a valid internet connection said that it’s connected (I already validate that is the same wifi network my phone is connected.)
    So, I just wanna know if I have to follow another steps or are there new apks I have to install?

    Thanks a lot.

    1. May I know what is the phone you are using? The post is very old now, and the link I have provided is for software version XE8 now the glass is running XE16 which is more advanced and they have stopped many services running on old days and have introduced lots of new services. Try to find the software from the new System dump and it will hopefully help you. I’ll try to update the article as soon as possible. Thank you for your interest in this post.

      1. Sure, I’m using a LG Nexus 5. And thanks a lot for all the help you can give
        … I’ll wait the new post!!
        Thanks!!

  14. Hi All,
    I already install all the apps described above, but nothing is working, when I tried to say “google”, a message appears saying that “Can’t reach Google right now”, also when I tried to check if there is a valid internet connection said that it’s connected (I already validated that it’s the same wifi network my phone is connected.)
    So, I just wanna know if do I have to follow another steps or are there new apks I have to install?

    Thanks a lot.

    1. May I know what is the phone you are using? The post is very old now, and the link I have provided is for software version XE8 now the glass is running XE16 which is more advanced and they have stopped many services running on old days and have introduced lots of new services. Try to find the software from the new System dump and it will hopefully help you. I’ll try to update the article as soon as possible. Thank you for your interest in this post.

  15. Sure, I’m using a Nexus 5. And thanks a lot for all the help you can give… I’ll wait for the new post.
    Thanks.

  16. I have app developed with GDK simple card. When i run the app in android phone it crashing. I got unfortunately stopped. I’m using 4.4.2 ,does it support in Android phone and in glass home screen also my app won’t displaying.

  17. I developed simple card display app with GDK and installed in Android mobile. When i run the app i didn’t get my app in Glass Home setup. I used voice trigger also. Does it support in Android Mobile? If it is support means what can i do for support?

    1. As I have mentioned in this post you can use the phone only to test Glassware abd nit Native Glass App. To test the Native Glass app you actually need the real glass. If ur app is having traditional android app features and not glass specific libs used you can use phone to test. It seems in your case you have used GDK feature so it will not work in normal phone. You need GGlass to test it.
      Hope you can understand the problem. Thank you πŸ™‚

  18. First of all thank you for this post. My problem is that I can not associate my Google Account with Glass App. I did everything you explain in this post, but the App does not continue when I generate the QR code, so I only see the screen of the step 4. I am using a Nexus 4 with 4.4.2.

    Any help please!! (Thanks in advance)

    1. First of all, the Glass software you have installed is at least 6 to 8 months older. You can try searching for a newer System dump which runs on KitKat(The one you have installed is JellyBeans version). The next check if your phone is connected to the same wifi connection that you have given for the QR code. Hope the solution works, first try the QR. Thank you πŸ™‚

      1. Thank you very much for your response! I already tried the QR but you are right about the software version. I’ll look for other software. By the way, do you know if Glass will run with a 4.3 Android device (I have a Nexus 3)? I suppose I need 4.4 at least.

        Thanks!

  19. The software(apps) I have given link will work with the 4.3, the latest one needs 4.4. But mine may be too old, I think the google guys have made lots of changes that my apps may be out dated.

    1. Ok. Thank you Amalan. I suppose I will have to buy a new phone running 4.4 in order to use Glass. Let me know if you need something some day.

    2. Amalan I have taking a dump of xe18.1 and attempting to modifiy the files. I got everything modded except glasshome and glassvoice won’t install. Are you still working on this. I would love to help and get this working on my cyanogenMod 11.

      1. Hi, if you got the XE 18.1 dump that means you want a Android 4.4(Kit Kat) Device. After XE 12 they have updated the OS from Android 4.3 to 4.4. Try tha and let me know if you still have a problem. πŸ™‚

    3. Hi, the device has cyanogenMod version of android 4.4.3, but those apps still will not install. The device is a samsung tab 2 7.0.

      1. I don’t know if it works in a Custom ROM. If you can try on a phone which has official Android 4.4 update it may work. Or you can simply download the XE 8 system dump and install in an Android 4.3 phone. I have tested it in an Galaxy S3 and it works fine.

    4. I think it has to do with the way I compiled the apk. For the newer version more things need to be modified and I believe glass-core.odex and glass-services.odex need to be included now.
      I went back and followed this post https://github.com/zhuowei/Xenologer/issues/33 and got glasshome.apk to install, but it just FCs. Is there anyway you can look at the apk and see what is missing?

  20. thanxx.. it is working fine..
    I have one more query.. Can you please tell me how to install google glass apps in mobile.
    For example if i want to run any sample app in mobile how it can be possible.

    1. Hi. Did you check if the wifi is working? did you restart the wifi and try?
      try connecting on another wifi network. The internet will not work as Google Glass only got Bluetooth and wifi connectivity.

      1. Thanks Amalan, for your response.
        Do you have any blog/article on video streaming through android app, if yes, then please share with me any samples code snippt, that will really helpful for me.

        Regards,
        Sumeet Guha.

      2. Thanks a lot for your reply….

        Actually my requirement is slightly different from running a video, instead of this I want to implement the functionality of video calling between users through android app.

        Please share with me any samples code snippet, that will really helpful to achieve my requirement.

        Regards,
        Sumeet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s