Android Cloud app building blocks - android

I am a beginner in Android app making. I want to build a basic Cloud app which can take back up of the user's data and can store it on remote server. I know there are millions of such app, but would like to know some link that I can refer to begin my App building.
I hope I am clear with my question.

I recommend using Google App Engine. You can do all of the coding in eclipse, and once you have it set up properly it's fairly painless to deploy your webapp to the server and start testing your android app.
If you require a true relational database, google app engine makes you pay extra. If you don't however, there is no charge for the standard datastore. Also, app engine is free until you have lots of traffic to/from the server.
You can develop in Java or python. Here is the setup guide for eclipse (Java).

Related

How do I connect a webapp and an android app with firebase?

I have been trying to learn how to create an app that allows people to upload images via the web or android.
I know that Android uses content providers to implement a mechanism for the sharing of data between applications. More specifically, Android uses the MediaStore API to make use of this functionality. However, that is limited to other Android devices.
I was wondering how I would go about connecting a web app made using reactjs to an Android app preferably using firebase. However, if it isn't possible in firebase that would be okay too,
I am a beginner in web app development, so I am not particularly sure about how the software's architecture will look like.
I have been struggling to find an updated concise solution online. Can anyone point me in the right direction and if not point me to some resources that will guide me in the right direction.
Thank you!
Attach/configure both of your application to use same database and storage bucket in firebase
As you can see I connected my android application as well as web administration application to same firebase project.
As you can see there is an add app option in firebase console where you can select platform. Register both of your application on same project and thats it.

Creating an App Engine instance for Mobile Cloud Backend

Relatively new to the android dev world. I downloaded the mobile backend starter project and got everything working; modified it for my needs and it's still working. This is all in Eclipse.
I'm in the process of connecting to a Cloud SQL instance and the preferred way seems to be to enable Cloud SQL in the App Engine project.
I don't have an App Engine project, and when I create one (setting the configuration for my application etc.), I got enormous amounts of errors.
Before I troubleshoot them, I wanted to ask:
Can I create an App Engine Project instance for an existing android client app?
If so, will the app engine project instance correctly reference my app engine instance online?
Thank you for any detailed reponses.
Here are the instructions for extending the gae mobile backend
https://developers.google.com/cloud/samples/mbs/extend_backend
That should get you going in the right direction.

Using App Engine to update a database in a app

I have been reading about app engine but I still dont know what I can and cant do with it in a android application.
Basically what I want to do is be able to create/manage a database in the cloud that the app can pull down and update the local database if needed. Creation and managing would be done outside of the app by me.
I dont know much about all of this as I am just getting started with it but I already have an application made, I just want to add this feature to it. I have never written any sort of Web Service calls or anything either but I have used them to get data and such
Can this be done? Any tutorials out there to help me out?
this should help:
Google I/O 2011: Android + App Engine: A Developer's Dream Combination
Google I/O 2012 - Building Mobile App Engine Backends for Android, iOS and the Web

Backend for iOS and Android: what to use as a junior dev?

I'm developing an iOS app and Android app that have to read data from (and maybe write data to) my web app. On the web app the users login, modify a dashboard (their data), and their changes are reflected in the iOS and Android apps. Pretty basic stuff. I just don't know what a good design for me is.
Things I'm considering:
The web app is a client. The web app makes calls to an API I build where
all the user's data is added/modified. Android and iOS apps both
make calls to this API as well.
The web app lets users login and modify the dashboard. As changes are made they are fired off to a BaaS (such as QuickBlox, StackMob, Parse, CloudMine, etc...). The iOS and Android apps make calls to the BaaS.
The web app is everything. User logs into web app, modifies data. Android and iOS both make calls to web app.
Your recommendation...
Considerations:
I'm a junior dev with limited but growing experience. I'm fairly comfortable with Ruby. Java and Objective-C is a WIP.
I want to get this up and running ASAP. Willing to do a V2 the "correct" way once I get customers or funding.
Please advise on architecture. Thank you.
You can use Webview for Android. Read this link:
http://developer.android.com/reference/android/webkit/WebView.html

Looking to build a Android App, which syncs to App Engine datastore (python)

I am looking into building an android app, which holds some simple data (probably stored in sqlite). I also have a app engine app which I intend to be an online data store for the information (the app engine app is wrote in python).
The question here is, what is the best way to authenticate a user with the app and how to get the data from the android app to the Google data store?
Thanks
Mike
You could use Google Account authentication and follow this useful post about Authenticating against App Engine from an Android app
You can also give a look at the SampleSyncAdapter sample from the SDK
If you want to authenticate using OAuth, you can do that. The only trick is that you need to launch the flow in an internal WebView, because App Engine's OAuth implementation doesn't allow custom protocols in the redirect. I recommend the Signpost library. If you'd like an example, the 2cloud Android client is licensed under the MIT license (full disclosure, I'm the lead dev for 2cloud). The benefit of this is it allows you to support Android 1.5 and higher. The Accounts API is only supported starting in 2.1.
Another option is the Accounts API. #systempuntoout has good links for that, so I won't reinvent the wheel here.
Finally, it might be worth taking a look at the App Engine-powered Android Eclipse project that was demo'd at I/O this year. It makes keeping code in sync and shared between the two simple. Only downsides are it requires Android 2.2 or higher, and it requires you to write in Java on the App Engine side and GWT for the client side.

Categories

Resources