Google Drive API: Change Slide During The Presentation - android

I need to get some work done with the Google Drive API for Android. My aim is to control via the API the current slide of a presentation, so on a computer a presentation is opened in "present"-View. Is there a way to get the user's opened presentation and change then with the API the slide?
Some research didn't help me, so maybe you have some information?

Maybe it's doable if you've written your own presentation app that utilizes Drive somehow. If you mean the default presentation function when viewing slides, then no, the Drive SDK has no control over that. Also, if you're trying to utilize the Android API in hopes it'd be some sort of remote, I suggest you look into Google Cast instead.

The Drive APIs provide file management, rather than direct access to the viewing apps.
As far as I'm aware there isn't an API that will allow you to access a user's Slides viewing state across devices.

Related

How can I allow extensions to be made for my Android app?

If I'm making an Android app (such as a messaging app), and I want the app to be opened up so that other developers can make extensions (i.e. connections to other messaging sites/protocols, additional features, custom UI), what options do I have available to me to do this?
The answer to this question makes it seem like if the other developer makes their own app, my app is able to pull data from it? Is this the direction I should be heading in?
I know such extensions are possible, because I've seen it with other apps, such as the file manager FX that has "add-ons" called "FX Plus" and "FX Root Access". So, basically, how can I also get add-ons/extensions for my app?
Options I am aware of:
Intent API can provide some functionality (You can give developers ability to send commands and data to your app). For example you can accept some kind of XML and build your UI according to it. It's slow process, but you can create some hacks to speed it up. documentation
Content provider you can give other developers ability to work with data of your app. Databases, photos, videos. You can share your's and you can accept new ones.
documentation
AIDL Service never used it myself but sounds promising. documentation

Can I access standard iOS Notes and Reminders' data using CloudKit web services or something like that?

I am thinking of building an Android app that fetches Notes and Reminders associated with an Apple ID. Is it possible to access them with http requests somehow? icloud.com uses their data, so I thought maybe it is exposed via some API, but I cannot find any documentation.
There is none. The only thing exposed so far is the CloudKit api which is for accessing key value data that you created yourself.
If you want to access reminders, then you can use the iOS native api:
https://developer.apple.com/library/ios/documentation/DataManagement/Conceptual/EventKitProgGuide/ReadingAndWritingReminders/ReadingAndWritingReminders.html
A hacky solution that I use for getting the reminders I create or mark as done is IFTTT (https://ifttt.com/). You can download it on your phone. This has the option to get the reminders values out to a google document, google sheet or other place that you can later easily grab from with the google API. That is what I am currently doing. In addition if your intention is to create reminders you can use pyicloud (https://github.com/picklepete/pyicloud). Its small project that I am also using. Feel free to contribute!
I know that some may not like this answer, as it may be a very gray area, but assuming you had the user’s permission, you might be able to make your own API with a scraper tool that can expose an API to the data. This way you can make an Android app that accesses the user’s iOS data via the icloud.com site and then allows them to use it/manage it via your app on their Android devices.
Do a search for scrape tools and you’ll find loads of them available now. Their pricing often includes a free tier that may or may not be adequate for your purposes. ParseHub is a great one. There’s others out there that can get around certain troublesome limitations of the browser that ParseHub has if you find yourself stuck.
If the app you make has good success then it may be a good investment to pay for the upgrades.

Google Play Game Services on a desktop game

I created a game in Java using Libgdx framework. Now I would like to know if it is possible to use Google Play Game Services in a desktop (java/.jar) game, or is it meant just for mobile devices?
As I am faced with the same question, I do not have a complete answer, but I think the short answer is yes, you can.
But you'll have to use the rest API instead of a nice java API, and some features are not available (such as the real-time online multiplayer support). You can see the reference here:
https://developers.google.com/games/services/web/api/index
As you can see, the major stuff like anchievements, leaderboards, and turn-based multiplayer services should be available (and you can even see there is stuff like joining rooms, but they are marked as "For internal use by the Games SDK only."), so I guess the REST API covers the major needs.
I have yet to test this on a desktop aplication and for sure you'll want some support library to help with the quirks of the HTTP-REST protocol, but I think it is feasible.
EDIT: Since this API is meant for the web, you may still need some kind of initial JavaScript interaction with the user (using google's JavaScript libraries) in order to authenticate the user first, but the rest of the interaction can be done "server-side" (and in any language you want). Read this for more details:
https://developers.google.com/games/services/web/serverlogin

Can I tweak the Android Navigation codebase so that I can track multiple gps devices on my android?

I want to add a feature to the android navigation system, such that I can track my friend's
android device as well as mine, simultaneously in real time on the google navigation map.
Is there any google navigation api available to do so or should I work at the source code level?
If it is the latter, where can I get the source code?
Thanks,
Yashoteja
I don't think there is anything like an API in the Google Navigation.
But what you can do is to use the Maps API in your application and then display the position or your device and your friends.
You will need to take care of getting the data from your friends GPS all the way to your device... that's probably where most of your work is.
The source code you will need to work on is your own application's.

Is there A Way To Use Google Image Search API From Android?

Is there a way to use Google Image Search API from Android application?
Official page (http://code.google.com/apis/imagesearch/) talks about using the API from a website. I'd like to use it from android application. I'd like to get URL of a first image for the specified keyword which will user enter in my applicaton. Thanks!
Update:
this api is no longer valid and has been replaced with a custom search engine that is probably not what you are looking for
I can't see any reason you can't use the normal REST/JSON interface Google has documented (intended for Flash webapps but seems legal to use for other non-Javascript purposes too).
According to Google:
The Google Image Search JSON interface, and this guide, are provided for Flash developers, and all other developers who need to access Image Search from other Non-JavaScript environments.
Seems like Android would qualify, assuming you meet all the other TOS requirements like attribution, user-generated queries, and so on.

Categories

Resources