Amazon Pay Integration in Android - android

I am developing an demo application to integrate Amazon Pay In android application. Is there any proper documentation for the same. Thanks in advance

For using Amazon Pay in a mobile app, I'd recommend you to create a (or re-use an existing) web-based Amazon Pay integration as described in the official documentation. For most scenarios the "One-time payments" guide will be the integration guide you want to refer to. You would simply call this web page then from the Android app (or iOS app, or whatever) and send the buyer back to the app after the payment has been completed.
As the integration is independent from Android in this scenario, you can of course use any programming language you prefer. Using PHP, Java, C# (or other .NET languages), Ruby or Python is recommended though as there are officially supported SDKs available for those.
For other "in-app" integration options, you should contact Amazon Pay directly.

Related

Google Mobile Backend Starter: Extending the Mobile Backend

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/

Creating Photosharing app on Android

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.

Integrate Android Login with ASP.NET website

I am embarking on the creation of an Android application (and subsequently iOS, if it makes a difference to the answer) as a mobile version of an existing website. I would like users on the website to be able to log into the mobile version and vice versa.
The website is written in ASP.NET MVC and I was planning to use ASP.NET Web API (accepting and returning xml/json) to submit/retrieve necessary data for the application. The website uses a .NET membershipprovider for authentication.
Can I reuse my existing authentication mechanisms to authenticate android users and enable them to log into the Android App? If so, what is the suggested method of doing so?
Thanks,
JP
Considering that you want to create an android version and later an iOS version too, you should consider using a web based framework for mobiles. Take a look at jQuery mobile
These are not for everyone. They work great for webapps. But are not as fast as native apps.
Your native application would only be a wrapper then that presents the mobile version of you site in a web view. Both android and iOS have support for this.
Would save you a lot of code rewrite and maintenance if it works for you.
If you do want to create a native app, you can definitely create a WebAPI based login and use that from an android client.

Server Side API for Mobile Applications

I am an iphone developer. I create many mobile applications. Some of them need a server side backend to store data and then my iphone applications access them.
Usually, I need to create a backend web application myself using PHP or RoR. However, they are very straight forward web application with some cruds (create, update, delete, edit, ..etc)
There are some troubles with this work:
I need to create very simple application and deploy it myself to the
server
If I am only iphone developer and don't know PHP or RoR, I
ask for some other web developer help.
Is there any existing web application that enables me to build my database schema and just give me API access to my data?
I'd like to recommend Appacitive - Its an awesome tool with many innovative features. One of the biggest advantage it has is that you can create your data model diagrammatically, and all the corresponding APIs are automatically generated for you.
They have relationship managers both in diagrammatic designer and via code. You can also filter data by using their visual tools. Test drive the APIs via their Test Harness tool.
Other great features include a data explorer, inbuilt Social Integration and Geo Location. Have a look at their features.
Try out their free package, they have all sorts of SDKs for Javascript, Android, iOS etc.
You should take a look at parse.com, it provides you the facility to add back-end to your mobile applications in minutes. Here is a tour of their services and android guide.
Look at QuickBlox. There is Custom Objects module, it allows to to build any data structure you want. There are a lot of iOS samples

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