I am creating an android application which needs to have a cloud database. I want to use google cloud storage which can act as a database for me. But I do not want to create a backend (Server Side) to retrieve my information. Instead I want to directly retrieve the information on the mobile client.
Is it possible? How can I achieve such a mechanism and what do we call it? Are there any links/tutorials to follow? The one so far I was able to find was the one in which I have to use app engine for my back end.
Thank you!
You can purchase only database service with either Amazon Web Services or Windows Azure.
A link with explanations about the different DB services can be found here:
http://aws.amazon.com/running_databases/
Instructions on how to use amazon database can be found here:
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html#Welcome.Interfaces
Also, Windows Azure have a database service. Explanations can be found here:
http://www.windowsazure.com/en-us/services/sql-database/
Instructions on how to use Azure database can be found here:
http://www.windowsazure.com/en-us/develop/net/how-to-guides/sql-database/
Both database and cloud providers allow you to access the database directly using REST.
Hope this helps!
You can try Google Cloud save or Google Drive SDK.
Cloud save is useful for game apps to save small amount of data such as the current score of each user, level progress in a game and so on.
Google Drive SDK is designed to meet a large range of developer needs like sharing files with other users, managing a set of multiple files and subdirectories, add and reply to comments and so on.
Related
I am looking for a solution for developing iOS and Android chat to replace our current (unreliable, maybe poorly written by previous devs) XMPP/OpenFire chat. I came across Firebase which looks good. However, I don't quite get the setup for it.
Can I host Firebase on my own server and not have to subscribe to any of Firebase's plans?
Firebase offers a few products:
the Firebase realtime database
Firebase hosting (for hosting static resources)
Firebase authentication
I think you are looking for the Firebase realtime database.
There is no way currently to host the Firebase realtime database on your own servers.
Probably to late to be of any help but an alternative is RethinkDb. It is an open source realtime database and can be installed on your own machines.
Never used it myself just researching my options like you.
One more tool to add to the list is Appwrite. It is a self-hosting solution that seems to be inspired by firebase. It has much if not all of firebase's functionality. PS: I am not in any way associated with the project, just a (happy) user.
You should check if RESTHeart fits your needs. It's mainly a REST, GraphQL, and WebSocket API on top of MongoDB, but it has many additional features
The Open Source Firebase Alternative supabase
currently it supports Postgres realtime Database, Authentication and storage only .
And it can be installed on your own server supabase self hosting docs
The main idea is to get daily updates for a topic and notify the user. Please suggest what services and databases to use (most secure) and the procedure/links on how to connect to the database.
Thanks in advance,
Directly connecting to a database is not recommended at all. Instead you need to create service layer in a app server and consume the services from android. There are too many different ways and technologies for doing such things. You can set up your services and database in a server from scratch or you could use other solutions like Google Cloud App Engine, or use a Baas like Parse. These things provides services, storage and push notifications, among others.
You will need to read and investigate to find the most suitable for your case.
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 want users to send textual feedback to myself(the developer) directly(without involving Google Play).
Hence, I can get the suggestions to improve my app directly to myself, instead of users writing negative reviews on Google Play.
I do not own a website nor have access to any server.
I do not want to use ACTION_SEND, as that opens an email app.
I'm an android beginner and this is my first app.
Maybe that data can be stored in a database(on cloud, common to all users) that I can access at any time I want?
After researching, I think GCM is supposed to be used, but I no idea how to go about it.
Please tell me the easiest way to implement this.
Thank You.
That is not what exactly what GCM is for. GCM is primarily for sending data from the cloud to the the devices.
You are correct in thinking that one option is to store the data in a database in the cloud. You could use http://pythonanywhere.com free account and build a web app that provides you endpoints which will save and retrieve data to a SQLite db pretty easily (if you have knowledge of python and server side web concepts).
Another perhaps simpler option is to use a pre-existing cloud database solution http://www.parse.com is a cloud backend that also has a free-to-use option that you can use to store arbitrary data. It is pretty easy to get up and running if you follow their many nice Android tutorials.
One last option I will present is to use a Google Spreadsheet with a Form associated to it. Once you create a form if you know the right url and parameters you can send a post request to insert arbitrary data into your spreadsheet. I've created a library that simplifies the process of uploading. GoogleFormUploader. If you need help getting your form set up you can watch the relevant portion of my video tutorial covering this topic
I am working on android application that requires to register the user with some details and image associted with each user. I am using Google Appengine with Google Cloud SQL to make it possible. I am stuck when i required to upload image associated with users detail.
I am not able to figure out how should i manage images on server. In my search i have come to know that its better to create filesystem for storing images and associate that path to corresponding details of users within Cloud SQL.
Is it possible with, appengine and Google cloud SQL bcz i have read that we can't manage filesysten on appengine server as it doesn't facilitates write permission , If yes, please guide me how can i get forward to this by any resources or tutorial.
Or any alternative solution ??????