Why a Google user without the Glass device is able to complete the OAuth2 process? [duplicate] - google-mirror-api

This question already has an answer here:
How to find out if a user actually has Glass
(1 answer)
Closed 9 years ago.
I've built an app for Glass and I've noticed that Google accounts without the actual Glass device (I personally know those users) are perfectly able to complete the OAuth2 process including the Glass scopes (https://www.googleapis.com/auth/glass.timeline and https://www.googleapis.com/auth/glass.location)
It seems unexpected and somehow problematic as those are users who might be consuming resources of the app, may expect some functionality our if it, but they can't get any services in return.

All users have a timeline. By requesting those scopes, you're asking for access to that abstract data.
If that activates a Glass device, their timeline is synchronized to that device.
I understand why you may want to distinguish between users who have one, many, or zero active Glass devices. You may want to request that this be added to the API by filing an enhancement request.

Also see "How to find out if a user actually has Glass" for a similar question, along with a proposed answer to use double opt-in as a way to mitigate the resource issue.

Related

Is there an Android/iOS API for a 3rd party app to control Google Home linked devices?

I'm looking to create a mobile app that controls lights that are connected to a Google Home, is this possible? I'm basically looking for a Google Home equivalent to Apple's HomeKit framework.
This is a similar question, but also three years old, so I'm wondering if anything has changed, or changing soon with Matter.
The platform does not give programmatic access to developers to the devices in their home. In this regard nothing has changed up to this point. I cannot speculate what may happen in the future.

Google Glass - overriding default gestures

Is there a way to have your Android native app or Mirror API app bypass default gestures, such as touch-hold does not load the Google search screen?
No, although a better response might be, not yet. The Glass Development Kit (GDK) described at I/O 2013 didn't mention this capability, but it still may show up.
Unfortunately, at this time, it's speculation as to what the GDK will contain or what the Mirror API may evolve into.
It may be worth looking through the existing issues (or even entering an issue yourself) to see if what you're looking for has been requested as a feature enhancement.

IOS6 Mapkit licensing, terms of use [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
In IOS6 map data was replaced from Google to Apple's own map data.
In the past, when MapKit was used you had to accept Google Maps licensing and terms of use (https://developers.google.com/maps/iphone/terms). What is the situation with the new MapKit and its new map data? E.g. GoogleMaps was not enabled to use in commercial apps by free, to use it you had to buy some premium packages. Etc.
Starting again since the comments became too long. Essential points are
1) You never had to pay to use MapKit in a commercial app (noted that if you charge solely for map access then you violate the terms - no mention of what action gets taken, also some people confuse the Javascript API terms with the MapKit terms).
1.2) With exceptions as noted in 10.9 of the license agreement
2) Using the MapKit under iOS 6 shouldn't be seen as any different to using ApplicationKit, UIKit, or any other framework Apple provides. You can use them in commercial apps.
This particular subject is very obscure. I've been looking into this matter for the past 2 days... so here are my 2 cents:
Mapkit is one thing, GMAP terms and conditions is another thing. The fact that Mapkit is free does not mean that the map provider is going to give you the data for free and allow any kind of use.
If you are going to show vehicles' locations on map and those vehicles are your customers (you charge for the service), you need GMAP Business edition and Premier API. There's no way around it, no matter if the iPhone app is free and this is also regardless of the framework (Mapkit).
Addressing the original question about if Apple Maps is going to be free, there is no way to know at least right now... No one knows. We can speculate that it will be free, for the simple fact that if it's not, it will break current functionality of other tracking applications that were developed in the time of iOS 5 where GMAP was the current data provider. We can also speculate that, since GMAP Business is $10k per year + traffic, it's not going to be free!
And most important of all, about the "Apps that use location-based APIs for dispatch, fleet management, or emergency services will be rejected," note that it says "location-based APIs", which your app "will not use" because you already have the position data on your servers. The idea behind that sentence is to avoid apps that will track the iPhone user in real-time. You can have to most amazing Fleet Management app and never use the built-in GPS antenna, simply because you don't need it.
Sources:
https://developers.google.com/maps/licensing
https://developers.google.com/maps/iphone/terms
http://www.google.com.pr/enterprise/earthmaps/maps-faq.html (check out question "What is the cost of Google Maps API for Business?")
Apps that are already doing it:
https://itunes.apple.com/us/app/fleetmatics/id441922434?mt=8
https://itunes.apple.com/en/app/scania-fleet-management/id513863147?mt=8
Hope that helps.-

Use Adobe Flash/AIR VOIP in Winforms

Since there are no answers yet, I'm going to rewrite this question in hopes of an answer (I don't mind discussion, but I know SO is about Q&A). It appears security checks/prompts make it unfeasible to use Flash Player. With this in mind, the question still stands, but please answer based on experience using AIR.
I have a Winforms app written in C# that I need to add VOIP to. I really like how well the Flash Player VOIP solution works, the AEC (echo cancel) is awesome. I know they use Speex, but the implementation is still a lot of work even using Speex, so I'd like to use Adobe's solution directly in my app.
Has anyone done this? What issues will I have? A few I can think of:
IPC between AIR and Winforms app. I assume this is easy and several options, including sockets/network, file i/o, maybe others.
Based on this
Content running in the AIR application sandbox does not need the
permission of the user to access the microphone
I don't think security warnings will be an issue? I'm not sure what a sandbox is yet, but as long as my AIR app can run in this and still talk with my winforms app, then shouldn't be an issue.
I assume the voice capture including enhancements (AEC, NS, Speex, etc) are supported in AIR?
Are there any samples I can run that use voice capture in AIR?

Possibilities for full blown silverlight applications

Since the launch of Silverlight 2 I was expecting a lot of full blown Silverlight applications popping up but still there seem to be little evidence of this. Does anybody know of such applications out there in the wild. And also what would be the obvious applications you would develop in Silverlight. I would say mail clients are bad examples as they just as well could be written as a web/ajax app. As Silverlight is far more powerful than web+ajax possible candidates should be impossible/akward implementing as a web/ajax app.
The ones that comes to my mind is
Photo and imaging editing apps
Reporting applications
Office applications, Word/Excel...
Edit:
Added from posts
Games
The point isn't that the app need to fill the whole screen just that it isn't just a small part of a webpage, or you could call it a full blown application running inside the webbrowser, only using the webbrowser as a host.
I think the Medical app that Microsoft itself developed shows pretty well what could be achieved with silverlight http://www.mscui.net/PatientJourneyDemonstrator/
As for image editing then as I understand its a bit difficult as Silverlight lacks a Bitmap API to be able to do per pixel image editing...
Edit:
I noticed you added Word/Excel to your question and there comes the problem that Silverlight doesn't have a rich text editor built in and there hasn't been real good examples of custom implementations. There is one http://www.codeplex.com/richtextedit but I haven't seen any applications that actually use it.
I'm working on one in the medical domain.
This started as an update of a Mac classic application but due to the amount of work involved, broadened to considering other toolkits. I convinced them to go for an initial WPF desktop port to be followed by a Silverlight version.
I don't know one so far, but I could imagine that it could be used in a kind like the fullscreen video playback on youtube.
How many fullscreen desktop apps are there? Most application don't need the entire screen. If you don't want to be distracted by menus and taskbars and so you go fullscreen. Another type of applications that can use fullscreen are games.
You are limited in fullscreen to certain key presses such as arrow keys, tab, enter, and space so this rules out some of those types of apps. They have done this for security reasons so an app can't hijack the screen and record the keypresses, but I wish they could come up with a scheme to sufficiently warn the user then allow it if they consent.
An application Microsoft seem to like to show case is the AOL mail client written entirely in silverlight.
Personally I follow the rule is if you would not write it in flash you would not write it in silverlight preferring AJAX in most cases. In the past most large flash application have failed such as the flash word processor (cant remember the name) while AJAX enabled applications such as google documents have taken off.
Finally I believe until moonlight (linux and mac support) has been released and more general users have silverlight downloaded developers will be reluctant to use it widely even for smaller apps and gadgets.

Resources