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.
Related
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.
I am doing a project which requires me to query google cloud mysql database to save, delete, retrieve and update data using app build in android studio.
I have been googling for quite some time, all the tutorials are using AppEngine. However in android studio 3.0+, there isn't any App Engine available anymore.
Please give advice / guidance on what should I do?
thanks in advance
Since Android Studio 3 doesn't support AppEngine anymore, you have two options:
Build your own custom backend (web service) to function as a layer that allows database consumption via the Android app. This will require more development effort than option 2.
Set up Firebase and use its database instead.
You will have to do a bit of research on getting Firebase up and running, but you wan't have to build a custom backend.
If using the Google Cloud MySQL database is a must, then you can't get around to foreseeing your own backend layer.
I have successfully developed an android application with Google App Engine as the Backend. Now I want to develop 2nd android application and want to connect it to the same App Engine of the 1st App. In short. 2 android applications with same App Engine at the backend hence common datastore.
Could not find the detailed and satisfactory answer, please provide the answer in detail. Thanks
I am assuming that the first Android application connects to the App Engine backend using a REST APIo r in general a Web Service. That is the recommended route and you should be able to use the same API in your second Android Application too !
Do give more details if this is not what you were looking for.
Surprisingly, the Eclipse plug-in doesn't really support this - it will only automatically copy the generated client files into a single project.
Fortunately, there are some (manual) solutions that are discussed here:
How to move Cloud Endpoints generated sources.jar library into Android project
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).
I have a legacy tomcat Java application (Spring, Hibernate, MySQL) running on Linux (Ubuntu). I want (need) to build an Android application utilizing the backend database of existing application. Actually it will be just apilot project to test the things. It will do like display a list of information read from database.
I am .Net developer and totally new here.
What will be the best approach to go?
Web app or native Android app?
some service for database access (which, how) or direct connection to DB?
Also, please point out to good resource/books to get me started.
Android application is more like desktop, and you application is spitting out HTML pages. Your options are:
- provide mobile web interface to your existing appliaction
- develop new android frontend, and wrap your existing application with a REST-Service
- develop android frontend and reuse your persistence and business logic layer.
Big question is, what exactly you are developing? DO you need your business logic on the mobile device, otr it can stay where it is ( on server )