Can I create app engine cloud endpoints backend project for my android application, so that I can manage the server and client library code in the same maven project?
Currently I have an android project in android studio, but I want to add a cloud endpoints backend to it. Dont want to manage 2 separate projects in git for these.
You can add the cloud backend using Android Studio itself. It is quiet straightforward!You need to add App Engine first to your package and then generate end points. I have tried it and it works perfectly fine.
Related
Now that we can develop google cloud functions with java runtime (or Scala or Groovy).
Anybody using android studio to develop google cloud function using android studio?
If you have a standard build.gradle please post.
Is there a way to auto create pom.xml from gradle build.
can we provision cloud function from within android studio.
Most of this information is already available in the Cloud Functions documentation.
There is a tutotial, available here, that offers an example build.gradle for a sample project, you can build on top of that one for your project's needs.
According to this community answer, you can use the archiveTask task in the Maven Plugin so that a pom.xml file is generated and stored in the <buildDir>/poms directory of your project.
Unfortunately this is not possible. As you can see in this documentation:
You can deploy Cloud Functions from your local machine, from your GitHub or Bitbucket source repository (via Cloud Source Repositories), or from the Cloud Functions API directly.
NOTE: For deployment from the local machine if you follow through the referring documentation you will see that this only applies to a deploy using the gcloud command-line tool
Hi i am writing a script which created apk dynamically from scripts as i have package name manually on firebase Console for the apk which are created from my system.Can any body suggest how to add app dynamically in my project using CLI
There are currently no CLIs or tools for adding an app programmatically to a Firebase project. However, there is new REST API for creating and modifying projects and apps within it. You will need to learn the Firebase Management API, which is in beta. To create a new Android app in the project, you will need to call the androidApps endpoint.
I'm trying to create a payment SDK library with ionic 3, that can be integrated into an android or ios app.
I've got the app working on ionic, but how do I make it import ready for mobile apps to use?
To give more clarity. I have a microservice already running and native android and ios library accessible via maven for android. I want to replace this with a hybrid version(ionic).
Is it possible to make an ionic library available on maven?
Payment Gateway SDK allows developers to manage the communication and compliance elements for secure integration and transaction processing. You can't create a Payment Gateway with Ionic.
What you need to do is that:
isolate your payment process into a library (API or Microservice)
create a library for Ionic (in TypeScript) or for other platforms (Kotlin, Swift)
Create a Payment Gateway is complex. Document yourself before starting. You can start here.
Has anyone managed to extend "Mobile Backend Starter Java" on Android Studio
https://github.com/GoogleCloudPlatform/solutions-mobile-backend-starter-java
Frustratingly any documentation that exists seems out of date or only for Eclipse".
I want to use Gradle and not Maven , Android Studio and not Eclipse
I followed the Tutorial
https://developers.google.com/cloud/samples/mbs/
but the extend page left me confused
https://developers.google.com/cloud/samples/mbs/extend_backend
I would like to know if anyone has tried this
I thought about going from the other direction creating an app and then Google Cloud Tools and App Engine Backend with Google Cloud Messaging but I do not see a deploy , I did see this, Deploy Google App Engine backend from Android Studio
but have not tried yet
There is a project on GitHub which you can use as module. It provides you with the basic client libraries. You can use it as starting point. See https://github.com/thagikura/mobile-backend-starter-android-client-with-AndroidStudio and follow the instructions there.
This is my first post in StackOverflow.
I am building an android app using Android Studio. This app requires some cloud backend to sync user data across devices. After some research, I came across the Mobile Backend Starter from google which provides a fully deployed app engine backend and a client android application.
The problem is that every video/tutorial out there is using Eclipse to open this client application. When you try to import it to Android Studio, you get an Assertion:Null error.
Another step I tried is that, I opened it in Eclipse, followed google documentation to set
And then tried to import to Android Studio. This time I got an error that the "The filename, directory name, or volume label syntax is incorrect"
Can someone help me out with this? Is it also possible to use the "Generate Mobile Backend" option in android studio? But wouldnt this mean that we cannot leverage the client libraries provided in Mobile Backend Starter?
Edit (to add more details to the question):
If I use the "Tools > Google Cloud Tools > Generate App Engine Backend" method, will I be able to get all the boiler plate code in the Mobile Backend android client?
Also, I tried today to Generate App Engine Backend and point to my existing Mobile Backend Starter app engine project. But this did not bring in end point connections for mobilebackend api. Am I missing something here?
Yes there is an option in Android Studio also for Generating App Engine Backend.
Tools > Google Cloud Tools > Generate App Engine Backend
Here is a nice tutorial on Android Blog for the same
http://android-developers.blogspot.in/2013/06/adding-backend-to-your-app-in-android.html
But look in to this post before doing this as Google App Engine Back-end still uses maven so you need to install that before using it.
Maven needed when generating Google App Engine backend in Android Studio
This is an old question but for those that come to this now the easiest way to get started is with this unofficial build for android studio. Why couldn't google do this themselves?
https://github.com/thagikura/mobile-backend-starter-android-client-with-AndroidStudio