How can we publish/distribute applications which are developed for Glass with GDK?
At submission form I don't see any APK file upload option. But I see a yes/no question(Does this Glassware use invocation voice commands?) which is a meaningful question for apps that are developed with GDK.
Am I missing something?
I just think that submission form is only for mirror api glasswares. Is that correct?
Google has not yet announced how you can distribute GDK Glassware on MyGlass. For now, hang tight.
The submission form you link is indeed only for Mirror API Glassware. More details about distributing GDK Glassware will be announced some time after the GDK graduates from its sneak peek release level into something more stable.
There are however multiple glass app sites. Here are 2 that I know of:
www.glass-apps.org
www.glassappz.com
Related
I am using the Glass Development Kit Preview SDK Add on to API Level 19 targeting Glass XE16.2.
How can the app push a static card to the timeline on the right, without using the Mirror API?
Thanks
This is currently not possible like it was in XE12 which was replaced by XE16 in April 2014.
From the XE16 release notes:
https://developers.google.com/glass/release-notes
Changes to TimelineManager:
The TimelineManager class and support for static cards from the GDK have been removed.
I suspect this might get resolved in a future XE update so you might want to hang tight. If you have to resolve this now, since its possible to do a timeline insert from a server it would not be impossible to either do a timeline insert from your GDK app (but with poor security ramifications) or to send a command to a server you control with enough metadata (what user, what to put on card) so that server can do the timeline insert. This assumes that server has previously been authorized by the user to do such an insert.
Sorry to be the bearer of bad news.
I want to start Hangouts from my Glassware so that the user can make video call to any of his contacts in the Glass. I tried the giving the package name of the hangout app in an intent , but it did not work. If anybody has tried this before ,please do share.
Thanks
Starting a hangout from an intent isn't supported by the GDK. A feature request was filed in our issue tracker here; feel free to follow it so that you can be updated if anything changes!
I want to start Hangouts from my Glassware so that team can see what is out put is coming.
I did lots of RnD, then I come up with below solution
steps -
install myglass into mobile
install your apps in google glass
paired with glass with your mobile thr Bluetooth
start myglass apps and sync with glass
done
now start you application over the google glass, it will show at mobile in same way and behavior.
let me know if it work
I just started using the Mirror API with a PHP web server. Is there anyway to integrate a voice command with my app that when said, Glass will take a picture and automatically share the picture with my server?
From what I read so far, it doesn't seem possible to access the camera with anything other than the default "Take picture" command. I also don't see a way to have Glass commit two actions (in this case take a picture and then share it) with one voice command. Is there any way to do the above with the Mirror API?
This isn't possible with the current features provided by the Mirror API. If this is a feature you're interested in using, file it in the official issue tracker.
However, you can implement this functionality with the GDK.
What is the difference between Glass Mirror API and Google GDK?
Google has announced the GDK here: https://developers.google.com/glass/gdk
but they haven't exposed any new features specific to Glass yet. How do we actually use the Google GDK?
Looking at the examples listed on the above link, we can create APKs, load APKs onto Glass and launch them using adb shell but is there a complete app or example anywhere?
The difference between the Mirror API and the forthcoming GDK boils down to where the application being written will run.
The Mirror API specifies how a web-based application will communicate with Google's servers to send updates to a user's Glass and how it will receive notifications when the user takes an action (such as a share, or a location change) that is directed at the Glassware.
The GDK is intended for applications that will run on Glass itself and have more low-level access to the sensors and to the underlying Android environment that Glass is built on top of. Google has not released the GDK yet - that page is where it will be released, and provides some early "getting started" concepts for developers who are interested in building native apps that run on Glass.
GDK has not been launched yet, so you cannot actually use it right now.
GDK will allow you to work directly on the Glass device using your Android development skills whereas Mirror API is a cloud/web-based API for interacting with a user's timeline only. See Prisoner's answer for more detail on this.
Because GDK has not been released yet, "complete" apps and examples do not exist. There are three samples (Compass, Level, and Stopwatch) listed on the link that you posted. The page says that these samples will eventually be updated into a "full Glass experience" when GDK is launched.
When we launch the GDK, we'll also update these samples to show the migration path from a traditional Android app to a full Glass experience. Make sure to check regularly for updates
Glass Mirror API is for developing the Glassware(Pushing Webcards from server to Glass).
Google GDK(Glass Development KIT) is similar to current Android SDK, but they will have some special tool that will help develop Android Apps for google glass. Even now without GDK, developers are developing apps using Android SDK.
GDK will allow you to run apks on GLASS along with the GlassHome. GlassHome is the main display that you see within GLASS. If you install an APK without the GDK, the only way to get to it is using something like Launcher2.apk. With the GDK, and this is an assumption, your apk will be represented as a card within GlassHome.
The presentation today indicated that there was support on Stackoverflow but I was wondering if there's a central location where all requests are being tracked for us to follow and vote on?
If you have a very specific request for the Glass Development Kit, the best place to file it is in the Glass API issue tracker. There's a Component-GDK tag being used for these requests.
In general, though, not much has been said about the GDK yet, so it may be a bit early to make specific issue requests until more context is available.
For now, if you're a member of the Explorer Program, the Glass Pioneers section of the Glass Community is a great place to discuss your thoughts on the GDK.
There's a "request new API Features" link on the Glass API issue tracker page, but it's not clear if that is the best place for GDK feature requests since a lot of the branding on the page lists it as the Google Mirror API issue tracker. There seem to be a few GDK-ish feature requests in that issue tracker though, so in the absence of any official information I'd probably submit them there.