I am new to android development and is trying to implement aws sdk in my app. I read the developer documentation of aws but get confused as where to write the code that has been provided their in my android studio project.
AWS recently launched the AWS Mobile Hub, which is an integrated console experience, designed to help people like you get started quickly. Mobile Hub configures your AWS resources and generates a sample Android mobile app project, which uses your resources. You can then use the sample app as a starting point for your own app, or just copy and paste the code you need. This is the fastest and simplest way to integrate with AWS. The sample app demonstrates use of the AWS SDK and gives some additional customized helper code that makes using the AWS SDK easier.
To give AWS Mobile Hub a try, simply go to:
http://aws.amazon.com/mobile
Related
I would like to implement an android messaging application like WhatsApp using Amazon AWS services, but I don't know the right service to do this.
Thank you all.
To create a Native Android App that invokes AWS Services, look at using the AWS SDK for Kotlin. This SDK works nicely within an Android Studio Project. To learn how to get up and running, see this AWS tutorial that walks you through building an Android app that (for demonstration purposes), invokes Amazon DynamoDB and SNS.
Creating your first Native Android application using the AWS SDK for Kotlin
I am developing an android app and want to use azure mobile services.
The Azure portal provides all details regarding Azure subscriptions and creating remote database and also provides a sample app for testing purpose. But how should I use it with my existing Android project? Do I need to dig out code from the Azure sample Android app and copy it to my Android code or is there any other straight clean way? Help appreciated.
A good starter would be this Add Mobile Services to an existing app documentation page: https://azure.microsoft.com/en-us/documentation/articles/mobile-services-ios-get-started-data/
In Google's docs on "Extending the Mobile Backend", there is supposed to be an explanation on how to customize the Google App Engine app that is provided with the Mobile Backend Starter. The approach is to modify its sourcecode and deploy that to Google App Engine.
However, the text refers to the sourcecode of the sample Android client, not of the Google App Engine app, which I guess is just wrong. In the README.md of the sample Android client, though, there is an unused footnote pointing to https://github.com/GoogleCloudPlatform/solutions-mobile-backend-starter-java, which seems to be the correct sourcecode.
My questions now are:
Who can I tell that there is a mistake in the docs?
Does https://github.com/GoogleCloudPlatform/solutions-mobile-backend-starter-java really reflect the latest version of the mobile backend that gets deployed when I hit the button as described in the docs on Deploy Backend?
When I modify the backend, I effectively fork the sourcecode. Will future developments be reflected in Github so I can merge them into my modified app?
https://cloud.google.com/cloud/samples/mbs/extend_backend
(SO THERE IS NO WAY.... as the "Extending the Mobile Backend"... "Setup Instructions" tells you to use "Open Android SDK Manager and choose Extras > Google Cloud Messaging for Android Library" -> no longer available.
next is to use: https://cloud.google.com/endpoints/
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 want to develop android application like Photofeed application as mentioned on Google cloud sample link or like Instagram. For that I need App Engine SDK but i am not getting how i will achieve this functionality. In my app, i want exact functionalities (uploading image, like and comment on that photo) like Photofeed app shown on that link. For that I'll have to use Google Cloud Storage but Photofeed is for Webapp and i want to develop Mobile app. For that i also referred Mobile back-end starter but not getting much idea. Its quite confusing. Please guide me to develop this application. Is it possible to use Photofeed sample java classes in my android application?
Thank you.
You will need to install Google Plugin for Eclipse and make Android Connected App Engine Application. This is a good starting point.
You can make similar app or any app that connects to GAE as backend in 4 steps as follows:
Make your entity classes: You can use JPA, JDO or Objectify to access the Data Store or use its API directly as done in the sample NoSQL classes (The easiest way is Objectify IMO). Or you can use Google Cloud SQL as done in the SQL classes of the sample ( I never used that in a project so I do not know if there is another way beside the API).
Make REST Endpoints: You can use Google Cloud Endpoints to make REST API for your own app. This will allow you to develop Android, iOS and JavaScript clients in unified way. If needed you can secure it using OAuth too.
Generate Client Libraries: If you are using Eclipse, Google Plugin will provide that in the context menu of the App Engine project so you simply right click and click Generate Client Libraries. It can be done using command line too.
Consume the endpoints in the Android app: This is done really simple as explained here.
Note : You will need a Servlet to upload photos to Google Cloud Storage. You can make use of the one in the sample.