Glass Launcher - An app launcher with a native feel

strker45

Senior Member
Oct 11, 2010
306
30
0
Screens, features, and description in the OP.

After adb installing the file, you have to run the main activity from adb the first time.
i've installed the file with adb, however i'm having issues getting the main activity to run using adb. what commands are you using?
 

danguyf

Senior Member
May 22, 2006
440
84
0
I believe that it's something like
Code:
adb shell am start -a <intent>
where the "intent" is the package name and activity, like "com.google.launcher\com.google.launcher.MainActivity". I had to play around with it a bit. You can get the package name and main activity name by unzipping the APK.
 
  • Like
Reactions: lewerc

thet1nman

Member
Jun 15, 2010
31
9
0
Instead of ADB Run with Launchy

If you have trouble with running this app for the first time from adb to get it started you can also install Lanchy and run it for the first time from there.
I use both this and Launchy. Glass Launcher is slick and well worth all of the trouble if you are having any. Launchy has some bugs but it is strong and good to have around.
https://github.com/kaze0/launchy
 

strker45

Senior Member
Oct 11, 2010
306
30
0
If you have trouble with running this app for the first time from adb to get it started you can also install Lanchy and run it for the first time from there.
I use both this and Launchy. Glass Launcher is slick and well worth all of the trouble if you are having any. Launchy has some bugs but it is strong and good to have around.
https://github.com/kaze0/launchy

if anyone else is having issues starting this app with adb this is the command i used " am start -a android.intent.action.MAIN com.jtxdriggers.android.glass.glasslauncher/com.jtxdriggers.android.glass.glasslauncher.MainActivity "
 
  • Like
Reactions: danguyf

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
If you have trouble with running this app for the first time from adb to get it started you can also install Lanchy and run it for the first time from there.
I use both this and Launchy. Glass Launcher is slick and well worth all of the trouble if you are having any. Launchy has some bugs but it is strong and good to have around.
https://github.com/kaze0/launchy
Kind of awkward to need a launcher to launch a launcher haha. But launchy is great, and a really clever approach to solving the problem at hand.
 

Humanio

Senior Member
Oct 8, 2010
155
22
0
I too can confirm that the APK worked great. I sideloaded the signed APK, then launched "Glass Launcher" using "Launchy". Looks slick! Out of curiosity, have you actually tried running google music apk or netflix with any success? Thanks for a lovely launcher.
 

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
I too can confirm that the APK worked great. I sideloaded the signed APK, then launched "Glass Launcher" using "Launchy". Looks slick! Out of curiosity, have you actually tried running google music apk or netflix with any success? Thanks for a lovely launcher.
The apps start up as expected, but navigation is limited. You can send input commands from ADB to select things from the lists in the apps. Netflix video playback works particularly well! Attempting to search by voice seems to crash the app though.

I wrote a service to receive bluetooth input commands from another Android device, but it only works system-wide if the service can get root access. I'm not particularly well off financially, so voiding my warranty makes me pretty uneasy. A pocket bluetooth keyboard would be a much wiser decision. I tried using other available bluetooth keyboard apps, but none of them have worked for me on my Nexus 5 (4.4.2).
 

Humanio

Senior Member
Oct 8, 2010
155
22
0
The apps start up as expected, but navigation is limited. You can send input commands from ADB to select things from the lists in the apps. Netflix video playback works particularly well! Attempting to search by voice seems to crash the app though.

I wrote a service to receive bluetooth input commands from another Android device, but it only works system-wide if the service can get root access. I'm not particularly well off financially, so voiding my warranty makes me pretty uneasy. A pocket bluetooth keyboard would be a much wiser decision. I tried using other available bluetooth keyboard apps, but none of them have worked for me on my Nexus 5 (4.4.2).
That's still pretty impressive. Don't think I'd every watch movies on Glass in its current state but the mere fact that its possible blows my mind.
 

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
That's still pretty impressive. Don't think I'd every watch movies on Glass in its current state but the mere fact that its possible blows my mind.
It made me a bit dizzy after a while. Using Glass as a supplement to everyday activities seems to be fairly solid, but focusing through one eye for such a long period of time really got to me. It was also dark when I tried it out, and my right eye stayed adjusted to the light while my left eye adjusted to the dark.

But on the topic of bluetooth keyboards:

The service I wrote for bluetooth control of Glass needs root to run system-wide, but it functions just fine from inside an activity of the same process. Therefore, it seems completely possible to have some games on Glass (GBC emulator, for example), using your Android device as a controller. I'd love to see this idea come to life; I suppose I'll open up a GitHub project soon so people can play with the idea. (I'm currently in the process of moving and starting a new job, so it may be a while).
 

thet1nman

Member
Jun 15, 2010
31
9
0
Working

I can also confirm Netflix is working, as well as Plex and several emulators with bluetooth connected controller. (MOGA)
I have gotten VLC beta to play .avi files as well.
I get some discoloration like orange seems to turn to blue.. strange
I have even played angry birds go and used my head to drive the cart
The projector gets hot after a while and my eyes start to hurt a little but SNES on glass is too cool not to do!

---------- Post added at 07:41 AM ---------- Previous post was at 07:32 AM ----------

Kind of awkward to need a launcher to launch a launcher haha. But launchy is great, and a really clever approach to solving the problem at hand.
It gets worse because i used Launchy to start up Glass Launcher and from there I start Launcher2 to see the full android interface lol
i'm getting Inception deep on this
 

Humanio

Senior Member
Oct 8, 2010
155
22
0
I can also confirm Netflix is working, as well as Plex and several emulators with bluetooth connected controller.
It gets worse because i used Launchy to start up Glass Launcher and from there I start Launcher2 to see the full android interface lol
i'm getting Inception deep on this
Haven't tried Launcher2. What purpose does it serve, with what features in addition to Launchy or Glass Launcher?
 

thet1nman

Member
Jun 15, 2010
31
9
0
Launcher2

Laucher2 gives you the Android GUI instead of the Glass GUI
So I ran Launchy to start up Glass Launcher
Then because Glass Launcher looks so good I use it on the norm
I use Glass Launcher to run Launcher2 if I want to get into the Android GUI
Very cool stuff!

The links where I got Settings.apk and Launcher2.apk
http://www.glassxe.com/2013/05/23/s...-from-the-hacking-glass-session-at-google-io/

---------- Post added at 07:34 PM ---------- Previous post was at 07:10 PM ----------

if anyone else is having issues starting this app with adb this is the command i used " am start -a android.intent.action.MAIN com.jtxdriggers.android.glass.glasslauncher/com.jtxdriggers.android.glass.glasslauncher.MainActivity "
I did a factory reset and wanted to try your way instead of the Launchy way.
Your commands work from adb shell
Only problem was that for some reason in your post there was a space in the end at glasslauncher.MainAc tivity
When I copy and paste it picked up that space and didn't like it. Removed that space and all went well.
When I go to quote you it doesn't show the space there so I am not sure why it did that to you, it looks like you typed it in correctly.
But for future users I wanted to say your command is correct without that space if they just copy and paste.
 

ikithme

Senior Member
Oct 6, 2009
172
18
0
Bellingham
Can't tell if I'm missing something but I've got the GDK preview from SDK managers and I'm getting errors after importing this project:
Card cannot be resolved to a type
Livecard cannot be resolved to a type

Edit: and I lied, errors are gone now, because magic.
 
Last edited:

AaronMFeld

Member
Sep 20, 2010
21
0
0
XE16 compatible version of Launcher apk

Thanks to Troy Scafuro https://plus.google.com/105773622771495090599 we have a compiled XE16 compatible version. I tried it and it works fine.

The apk is located at:

https://plus.google.com/105773622771495090599/posts/P6APt5tAuES

Remember to
Code:
./adb shell
and then start it for the 1st time (you only have to do this once)

Code:
am start -a android.intent.action.MAIN com.jtxdriggers.android.glass.glasslauncher/com.jtxdriggers.android.glass.glasslauncher.MainActivity
 

thet1nman

Member
Jun 15, 2010
31
9
0
ShareKM Glass XE16

Wanted to post this up here since your launcher is today the only way I have to get at my android sideloads.

There is an android app called ShareKM. It has been abandoned by its developer but there is a small group of people trying to keep it alive. At any rate the point of it is to control and android device from a computer. There is an apk in this thread http://forum.xda-developers.com/showthread.php?p=52164367 that has made it so I can plug my Google Glass XE16 into a PC over USB and my PCs keyboard and mouse will throw over. So it acts like it sees my Glass as another screen and just walks the mouse and keyboard over!!!!
If your glass is rooted you can use bluetooth or wifi but a direct USB connection really links your PC mouse and keyboard to your glass. It is just like a PC application I love called Synergy. I use synergy to link one keyboard and mouse across a windows box, a Linux box and a Mac box. A three screen computer effect but three different operating systems!

So when I use Glass Launcher i can use ShareKM to interact with my android apps on my glass. Give it a try it is amazing!
 

Festaman

Senior Member
Apr 16, 2010
181
12
0
Settings Crashes

So i got the new laucher on and its working. But Settings keeps crashing and i feel like a n00b but i can't figure out how to navigate the apps I am trying to get Cheapcast working.
 

jtxdriggers

Senior Member
Jul 7, 2010
146
147
43
XE16 seems to have removed swipe navigation from non-Glass apps. You can still input key commands via ADB if needed. Google "adb shell input" for more info on that.

I haven't used the Settings.apk but you probably need one for KitKat if you're using XE16.