Why do Glass App have to compiled from source? - Glass Q&A

Is there some weird law that google has that prevents Glass Apps from being complied to APK and uploaded here?? Everytime I ask for x app someone tells me to download the GDK and compile it from scratch. I have never compiled an app from scratch save for linux apps and even then I just followed the recipe to the letter.

if you build the app with the google development kit, it has support for navigation with the sidebar and glass voice commands. but it took a while to understand what I was doing, because the google support tutorial doesn't work and most other tutorials work with the android studio that was available at that time, which is very different now

Related

Cydia-Like app

Hey everybody,
I was thinking about Cydia for the iPhone and thought..why doesn't android have that? So I was wondering if android does have something like that already or one that is in the making. If not then I was going to try and develop something similar. Only it will be one that is very, very basic. Here is how I planned it out.
1. Create an app that has a list of directories
-ROMS
-Scripts
-Apps (Ones such as swapper.apk etc. not ones from market)
* In the ROM's directory there will be a list for different phones
2. To transfer files an ftp server would be used ( I actually don't have one but was hoping someone would be able to offer an alternative or a server)
3. The app would then use the android browser to download the file and place it in the correct location ( updates would go in root of /sdcard or apps would be installed with the package manager)
Like I said I was thinking of something very basic..if this would be redundant then I'll just forget about it.
What does everyone else think?
wasnt there that SAM application? I wiped and never reinstalled it. i'm sure i can find the apk around here. also not the same but there is also a handango app.
Edit: ok did some quick searching... found the site: http://slideme.org/sam2 and http://slideme.org/sam... i hope that helps
That would have to be all custom... side note cydia uses debian binaries such as apt-get and dpkg which afaik is possible since you can install debian on your phone, and on the other hand android market uses a closed source xml.
Cydia is more than just a frontend for http/wget. It is a port of Debian APT. Iirc saurik did make some passing notes about possibly bringing APT to Android. However, from the lack of any implementation thus far, I can only surmise that he has either lost interest, doesn't feel Android needs an APT-based repository, or some mix of both.
You have to understand the main reason why Cydia is a very popular platform for iPhone. iPhone natively does not allow any outside app installation. Thus, Cydia provided a very good central repository for apps outside of Apple's app store system. Android, OTOH, was built from the ground up permitting the user to install apps from any source. Thus, there was never a burgeoning need to have a Cydia clone made because anyone could install apps from their own http server, from adb, from a sdcard, from a third party market.
Ah I should've done a little more research on cydia then. From what my friend told me he says that Cydia is just another appstore for the iPhone and that's it ( the android market is pretty open as opposed to the iPhone). That's the last time I listen to someone who bought an iPhone over an android phone.
thelamacmdr said:
Ah I should've done a little more research on cydia then. From what my friend told me he says that Cydia is just another appstore for the iPhone and that's it ( the android market is pretty open as opposed to the iPhone). That's the last time I listen to someone who bought an iPhone over an android phone.
Click to expand...
Click to collapse
To be honest, your friend sounds like doesn't know alot about the debian package system. You should take a look. It's very interesting, and it shows how primitive M$ and crApple products have become (pardon my invectives). Linux really is on the cutting edge on these fronts, and the linux backbone is what makes android so powerful.
sha.goyjo said:
To be honest, your friend sounds like doesn't know alot about the debian package system. You should take a look. It's very interesting, and it shows how primitive M$ and crApple products have become (pardon my invectives). Linux really is on the cutting edge on these fronts, and the linux backbone is what makes android so powerful.
Click to expand...
Click to collapse
Yup Debian has become the most used partition on my laptop but I keep Windows around just in case, also after researching about Cydia it sounds a lot like the Synaptics Package Manager ( correct me if I'm mistaken) and the Software Sources under Linux.
jashsu said:
You have to understand the main reason why Cydia is a very popular platform for iPhone. iPhone natively does not allow any outside app installation. Thus, Cydia provided a very good central repository for apps outside of Apple's app store system. Android, OTOH, was built from the ground up permitting the user to install apps from any source. Thus, there was never a burgeoning need to have a Cydia clone made because anyone could install apps from their own http server, from adb, from a sdcard, from a third party market.
Click to expand...
Click to collapse
Thanks for the whole understanding, never thought it as that way
A central app for downloading and publishing ROMs, recovery images, and the like (not apps) would be quite cool, though, and tethering applications are still disallowed from the Android Market (at least in the United States).
thelamacmdr said:
Synaptics Package Manager ( correct me if I'm mistaken) and the Software Sources under Linux.
Click to expand...
Click to collapse
Synaptics is more or less just a frontend for apt.
coolbho3000 said:
A central app for downloading and publishing ROMs, recovery images, and the like (not apps) would be quite cool, though, and tethering applications are still disallowed from the Android Market (at least in the United States).
Click to expand...
Click to collapse
No argument here. More options for users is always better (i'm talking to you, Apple Inc), especially when its a platform as elegant as Cydia.
There really is no need for anything like that on the g1 because the market is so free/open. As opposed to the app store which you have to go through a regulatory commission in order to get an app published.
the other part of the idea is good though, having rom selections that could just download update.zips to you phone. Also it would be cool to have scripts and other things you could download to that you cannot get in the market.
I would probably do it jsut for that but it will not be anywhere near as smooth as cydia nor will it run in the same manner
Sorry guys, I told a bunch of lies...because I had forgotten something very basic.
Cydia does NOT utilize *.deb packages like the debian apt system (the one synaptic uses). Cydia is a PORT repository (it holds ported programs, and other programs) designed for the BSD variant system that apple uses. As such, the systems are not compatible. IE cydia would not work on android and vice versa. Part of the problem with an apt based system on android is that it would have to deal with all the dependency issues inherent in typical linux software. To be honest, you'd have to design a completely new set of repositories, and that would be a LOT of work.
Although the current market system isn't quite as sweet as a full fledged debian package system, android isn't exactly a full fledged distro or anything. I think this is one that won't really work WELL until phones get beefier (IE to make it work well you'd need a BIG sd card and a snapdragon chip). You could get it working without those things, but the benefits just wouldn't be that great, because running programs that were small or didn't have a lot of dependencies negates the point of using a package manager.
I'm sorry for misspeaking, and I hope this clears things up.
well that's ok cause that's not what i was trying to do, this is only if I understood you correctly. I do not want port Cydia nor do I want to mimic exactly what it does. Cydia-like was the closest description I could come up with. Anyways, this idea is kind of redundant now that i saw this ( which I think has been up for a while)
http://forum.xda-developers.com/showthread.php?t=543082

app source code

I am learning to program with Java and have a ways to go but want to play with a simple android app in eclipse. Anyone want to share some source code for a simple app that I can play with? I dont care what it does. Something that would have menu options would be nice. Also, something that works on the Samsung Vibrant or the G1.
Just realized the jdk has sample android apps so thats most likely all I need.

[Q] How to Develop for Glass

I am rather confused as to how to develop for Google Glass. So I am just going to do a brain dump as a sanity check. Please let me know if I have any misconceptions as I am rather confused.
There are currently 2 ways to develop for glass.
1)Mirror API
2)Pushing a APK onto the device
So the Mirror API is just a way to post to a special Glass Feed on a Glass owner's G+ account (or something to that sort) ? Can this be an actual app or is it just a way to communicate data to a person? Will the cards you push be differentiated from other Mirror API cards? Can apps this way handle gestures?
Pushing an APK: If I design an application that handles swipes, voice control and camera will it just work on Glass? Is there anything special that needs to be done to handle input/output on Glass? Are there any caveats to making an android apk and pushing it to a glass device?
Thanks,
-Sean

[R&D] Launcher

This is my first xda development post so I hope I do this right. Let's discuss Launcher3 and the Google Experience Launcher.
For following along you need Velvet.apk. GoogleHome.apk is irrelevant as it just is a 30 line stub to call com.google.android.launcher.GEL.
Velvet.apk contains the code for the actual GEL (Google Experience Launcher). A lot has been going around about the launcher for the nexus 5 not being in AOSP due to the new Google now swype overlay. The fact is the swype overlay takes advantage of a new launcher feature called CustomContentPages. I haven't been able to find anything in the android.com development documents detailing this so I figured I would start a thread here so we can learn a bit more. if you take a peak at Workspace.java in the 4.4 Launcher3 code you'll se some interesting functions like addToCustomContentPage. I decided to do a little disassembly of Velvet.apk and found that com.google.android.launcher.GEL actually simply extends com.android.launcher3.Launcher and uses the CustomContentPage functions to add the google now overlay to the launcher.
At this time I don't have a lot of details on it as this was just a quick tear down to confirm my existing suspicions about Launcher3 but I hope this gets curious developers pointed in the right direction for understanding the Google Experience Launcher and to put a rest to some of the claims that google is withholding the launcher code.
The fact is they are only withholding the google now integration code. Launcher3 itself hit the aosp and is freely available to tear apart and examine
Discussion threads go to the General section my friend.
A simple request to a mod for thread moving by clicking the exclamation mark is enough guys, no need to get aggressive..

Publishing an app with Android Studio made in Unity. Generate APK button faded.

I have made a game with the Unity Engine. Now that I have published the game to Google Play I have noticed that there are some permissions I don't want that unity adds by default. I want to remove them but Unity doesn't allow me to edit the AndroidManifest file.
I've been told to use Android Studio for that. I have no experience and have no idea how to use it. I have managed edited the android manifest to remove the permissions that I don't need, now I want to sign and publish the Apk from android studio, however there is a problem.
When I go to the Build menu the "Generate signed APK" button is disabled and faded out so I can't click it. What do I need to do in order to click this button, sign the app and upload it to the play store?
It may also be worth mentioning that the android section of the project view on the side shows no files, files are only shown after pressing "Project" in the top left drop down. I have no idea if this is normal due to lack of experience.
Soultion
I've figured out how to do edit the permissions without use of android studio.

Categories

Resources