I am developing an app that will run in the way that presents restaurant menus and have like buttons for each dish. I am thinking of storing the menus and uses data on amazon cloud server. Any better solutions? If using cloud server, how to access the data in my android app? Implementing sort of web service? or is able to access like querying a remote database?
You can download aws sdk for Android here: http://aws.amazon.com/pt/sdkforandroid/
From api you can access all amazon services, an easy way to start is by using SimpleDB to store your data, probably free tier will solve your problem.
But I strongly recomend an Android cache for offline access to your app, which can be built up using SQLite.
Related
I am a beginner in developing android apps, and I need to know which kind of access do I need in order to retrieve data from a web database server to an android app.
You can use Firebase from Google for better database support for your app. You can easily do that using Firebase Documentation.
Are there any specifics for the database or do I need to switch to Google volley and PHP for a shared storage option? or is there a way to publish using sqlite.
I want shared data usage for all app users.
I have an app I made on Android studio using sqlite and is there a way to publish the app without using Google Volley for shared data resources, zim new to this.
If you are going to use VOLLEY and PHP you have to implement and host the backend.
But you can simply use a service like firebase so you dont need to care about a centralized data store.
Another one is DREAMFACTORY where you can create API end points and can use MLAB (an online mongoDb server) as data store. Those are free and open source.
In my application I am saving user's data within an SQlite database on their device. I want to add the functionality that whenever WIFI is available the contents of the Database can be uploaded on to Google App engine's Data Store.
I want to know if this is possible? And if so, how difficult is it to implement?
Of course it's possible to do that, even more, it's an easy stuff. All you have to do is to create a web application with google app engine, than your android application sends its data to GAE. You can do that using HttpURLConnection to send your data and java servlets to intercept your requests and save your data in datastore. You can also use web services.
On GAE side, you need to create backend API using Cloud Endpoints and generate client library for Android devices. Your backend will be responsible to receive the data and save it in datastore. Another alternative will be to use Cloud Datastore API Client Library to interact with datastore directly, but endpoints is a much better option.
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.
I'm developing an app and a website simultaneously. The website will be done in django and using Google' app engine, so therefore Google's database. IS there anyway i can download and use the database for an android app? Preferably I would like it to download and make it available offline to the users.
use a REST api like django tastypie on the server side, and consume the rest resources for the models you need with your android app. After you get the Json/xml messages on your android just save it to the local sqllite db
Android does provide a SQLite interface for you to read and write to a local db. You could fetch the db through a web request and save it locally, yes. Being on Google App Engine does not help / hinder your ability to do this.