I wants share data between users that installed my android application. Users can be anywhere in the world. I know that i can do this by storing data on server and then pushing that info to other users. But i don't want to use server. Can this be possible.
Technically its impossible, you don't need a physical server but you need a cloud storage which is basically a server somewhere else in the world.. there are many companies who provide cloud storage services like Microsoft - Microsoft Azure, Google - Google App Engine, Go-daddy, etc. And if your app is small you might not have to pay anything at all because both Microsoft and Google provides you with a free tier which has a certain limit of free storage and other services.. i recommend Google App engine for android app development. :)
Related
Friends I'm Planning to design an application such a way that user has to login and he has to enter the data to be stored in cloud and if he opens the account the data should be edited other wise it should display the data.
I would look into solutions such as couchbase:
Apache CouchDB on Android provides a simple way to sync your application data across devices and provide cloud backup of user data. Unlike other cloud solutions, the data is hosted on the device by Couchbase Mobile, so even when the network is down or slow (airplane, subway, backyard) the application is responsive to users.
What this means for you:
You can embed the rock solid distributed database, Mobile Couchbase,
on your Android device. Your Android apps can use Apache CouchDB's
well-proven synchronization technology. If you <3 CouchApps, you can
deploy them as Android apps.
check it out here
Good day everyone.
I am desperately in need of rich and straightforward answers. So, Please For Your Help.
I am building for the first time an android application to access diverse files on mobile devices. My idea is to have a client app on the device and an application server on Google App Engine that search effectively the files and answers the client app. I also consider having a data store in Google cloud to store all the files. This might not really make sense because I am not very sure of the way Google cloud works but, may be you can help me with a better proposal to make sense out of it all. Another point is how to make the client app accessible to multiple users in order for them to also use the system and access the files. Is it by publishing the client app in Google play?
Thanks in advance for your prompt response.
This question is a bit too broad for Stack Overflow, but here are some pointers to relevant features:
The Google API client for Android has everything you need to make authenticated requests to your Cloud services, including your custom app on App Engine: https://developer.android.com/google/auth/api-client.html
You can use Google Cloud Endpoints to create the server API for your mobile clients: https://developers.google.com/appengine/docs/java/endpoints/
Depending on how you want to structure your app, it might be useful to interact with Cloud Storage directly, such as for uploading and downloading the files: https://cloud.google.com/products/cloud-storage/ https://developers.google.com/storage/
Here's an introduction to publishing your Android app to the Google Play store: http://developer.android.com/distribute/googleplay/start.html
Good luck!
In my android application I want to store images from my Android application to Google Cloud Storage. For that I'm referring to this Mobil Backend starter example. In that they have a backend database which is deployed on Google Cloud Storage, but I don't know I can deploy my own database there.
What are the steps to query the database in my android app? Please help me to implement this functionality. Can anyone suggest a tutorial or link which provides proper guidelines for using and storing DB on Google Gloud?
Thank you.
If you are writing your own App Engine application that needs to use storage, you have several options in the Google Cloud:
The Mobile Backend Starter using the Datastore API, that provides a NoSQL like datastore in the Google Cloud that your App Engine application can interact with via the Datastore API. By default you get a total of 1GB of space in the free tier, after which you have to pay per use for your storage requirements.
There is the Cloud Storage API, that allows you to save objects to Google Cloud Storage Service. This service is analogous to Amazon S3 service and you can save your data, classified into groups i.e. buckets. This is a paid service. Refer to https://cloud.google.com/products/cloud-storage/
If you prefer to deal with SQL, you can look at Google Cloud SQL, which gives you a MySQL Instance in the cloud. This is a paid service too. Refer to https://developers.google.com/cloud-sql/
Finally, if you application prefers that you use the Google Drive account of the User itself, then you can look at directly integrating with Google Drive API. Recently Google introduced good updates to their Android Drive API. https://developers.google.com/drive/android/
In all the above cases, when it comes to interacting with the App Engine application, it is advisable that you expose the Data Services via a REST like API in your App Engine application.
Using Google App Engine allows you to setup a local Datastore for testing. When you deploy your App Engine code, it will create the same Datastore on App Engine too [without the data]. Basically, if you follow the steps in the link you have mentioned it will setup Eclipse and App Engine, the App Engine service does not run inside your Android ecosystem. It can be modelled as a REST based URL server, where you can define Endpoints as mentioned here: Java GAE
As for tutorials: Default Google Docs!
I have a full app here, almost full application! Sample App
Sorry for my English(I am not good in english please excuse).
I am working as a android application developer.I try to developing one application with backend support that means i want to use (web services) inside of the application.For that one i am trying to use google cloud for storing my data and access that data in json formt.It is possible to use that cloud data inside of my application.
For storing data in cloud they charge me something?
Please any one help me experts....
Thanks in advance...
At the onset, what you are trying to do is possible within App Engine. To summarise, you want to access some of your data that is stored using one or more of the available choices in the Google Cloud Platform and expose that over a Web Service running in your App Engine app.
When it comes to exposing your existing functionality over REST+JSON, Google Cloud Endpoints is a great way to get started, though nothing prevents you from rolling out your own.
For storage, there are several options and while you need to be mindful of the quotas/pricing, a great deal depends on which mechanism you want to employ as far as your storage API is concerned
Google Datastore API and Blobstore : The Google Datastore API is a non-relational database. The Blobstore is for storing large amounts of data (think images/videos). You have a free quota of 1GB for Datastore and 5GB for Blobstore within your App Engine application quota.
Cloud SQL : If you want to use a relational database , you can use Google Cloud SQL too. The pricing is mentioned on the page.
Google Cloud Storage : This is another storage option available with a Java client API. The pricing is mentioned on the page.
Google Drive : If your application is more of a personal nature and you wish to store some data within a Google Drive account of the user, you could look at that too.
Keep in mind that all these options are available as part of the Google Cloud Platform.
Hope this helps.
My Android project currently requires an authentication of some sort (mobile phone number / facebook / gmail... I haven't decided yet), frequent read/write operations from the server's db (not a big amount of data, and no images/videos), push notifications and in the future, possibly complex queries on the data stored.
I started reading about Parse and Google cloud (in google, specifically about mobile backend starter).
I can't seem to find a comparison between the two. I've read that both have relatively easy implementations, but except for the platforms (I'm using Android, so both work for me), I can't find a place that says "Parse is better at ... and Google cloud is better at ...".
So my questions are:
Can anyone please give a recommendation / reference?
Does one of the above platforms at all fit my project? (I am familiar with AWS, and would like to avoid it so I will not need to worry about stability and scalability)
Shameless plug: I'm a developer at kii.com
You can also take a look at Kii Cloud MbaaS
Among its features:
User management, including authentication using Facebook credentials.
Data management that never locks you into any schemas.
File storage and cloud backup for your app.
Push notifications so you can push messages to your users or to your
app itself with updated instructions for functionality.
Geolocation so you can offer location-based services.
Server extension to define your own business logic without managing
servers.
Android, iOS, html5 and unity support