Store files to Google cloud from Android? - java

I want to store my SD card contents to Google docs (or any Google cloud service) and retrieve them from there via an Android device.
Can anyone tell me how to do that?

I guess the best place is to go here http://code.google.com/apis/documents/
You will find examples there on how to programmatically get access to Google Docs.

You can use http library available in Android for accomplishing cloud communication via Android. Android has the Apache http library in its runtime. So you can rely on that. I have written a cloud based app. Hope this little blog can help you

This might be more than you need, but real cloud storage at Google Storage for Developers can be easily and securely accessed using jetS3t (pronounced "jetset"). The icing is that jetset also is compatible with Amazon S3 cloud storage!

Related

Call google app engine from google cloud function?

I want to be able to Call google app engine from google cloud function is it possible? cant find any solution
From Google's documentation
The simplest approach for communicating with your App Engine service is to send targeted HTTP requests, where the URL includes the name or ID of a resource.

How to upload/download file into Oracle Cloud Infrastructure Object Storage(OCI) from android app

I am trying to use Oracle Cloud Infrastructure Object Storage from android app. their documents are not understandable and I didn't find any proper tutorial on net.
I found this gibhub project(https://github.com/oracle/oci-java-sdk) but could understand which one I need to use/there is a config file to create request so where to store that config file in app,
Please tell me whether it is possible to use oracle storage in android app or not
if its possible means, I need all steps/sample code to upload/download and delete operations in java.

Authentication of HTTP request from an Android App to A Google Cloud Engine App

I am planning to develop an Android app that will make HTTP request to a REST API (server app) that is hosted on Google App Engine. The data retrieve would be common and visible to all users of the app, so authentication at a user level doesn't not seem necessary. My concern is this, is it necessary for the server app to authenticate that the request is indeed from the intended Android app? If so, is this done internally by the libraries or do I need to implement it myself? Some reading materials on this topic would be very much helpful.
Going through the Google documentations have indicated that the use of a Service Account would seem appropriate, but it bothers me that I would then need to package the credentials along with the Android app, which some how seems to defeat the purpose of authenticating the request, since it's is relatively easy to retrieve the credentials from an apk.
Any guidance in terms of design would be greatly appreciated.
It seems that API Keys is the answer. API Keys can be selected to be limited to a certain Android App during creation.
Reference: https://cloud.google.com/endpoints/docs/frameworks/java/restricting-api-access-with-api-keys-frameworks

How is it possible to know if an application is using some Google Play Services API’s e.g. Maps, Location Services, Google+, Ads, Drive etc

Also if it’s known that some play service API is used, how to test it to know if it’s working correctly. Is it possible to use some instrumentation techniques (Junit,Robotium etc.) to test play services API’s .
Note that the application is installed in phone from Android Market and we don’t have access to the source code of that application.
I am not sure if it’s possible or not a but I am trying to find out the way but not able to succeed as of now.
I found that we can parse AndroidManifest.xml of application to get the meta-data tag defining google play services lib but how to know about particular Service Api usage in that application.
I can think of about getting details in log cat of the application if play service produce the specific usage logs . But the problem is that that logs would be generated only at particular instance in the application and we may not aware of that instance.
Another approach I can think about if somehow we can parse network data using some android API or third-party API.
If you decompile source code and code is minified (secured), I think the only way is to try to "sniff" http traffic in/out from Android phone with for example Wireshark software

Google Talk API integrations with Android app

I am checking out the google talk api's and it uses XMPP.
Here http://code.google.com/appengine/docs/java/xmpp/overview.html#Sending_Chat_Messages
I am reading on integrating it into my android app. Does anyone know of any good tutorials on using Google talk API with android?
Also does it require app-engine to be integrated?
All you need is XMPP on Android. You can then use GTalk as any other XMPP Server, but make sure to specify the full JID (e.g. "user#gmail.com") as login name.

Categories