How to access to google checkout in adobe air? - android

I need to write application for Android using Adobe AIR. And I need to sell some goods. For this purpose I want to use google checkout, how can I use it from Adobe AIR? Thanx!

Google checkout isn't accessible from Air applications, there are only SDKs for
Java, .NET, PHP and other languages accept Action Script 3.
http://code.google.com/apis/checkout/samplecode.html

Related

Amazon Pay Integration in 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.

Adobe AIR app with ALIPAY

we are developing an application for adobe air with in-app purchase
(of game add-ons).
we need to implement alipay inside the app.
I downloaded their documentations, it looks like there is no native extension for air.
i thought about using it with php + StageWebView (to show their UI for user paument) .
anyone here has an experience with Alipay + AS3?
Create an API on your own server that maps to the Alipay API or just hit the Alipay API directly. You shouldn't use a StageWebView for anything more than displaying a simple page since you have absolutely no control over it and cannot retrieve any data or response from the browser in your AS3.
If you are planning to upload this to the iOS App Store, you can't use Alipay. You must use Apple's In-App Purchase system. If you don't, Apple will reject your app. I don't know about the Google Play Store off the top of my head, but I believe it is recommended you do the same though not currently enforced the way Apple does. Additionally, it is natively supported and what users expect when using an Android or iOS device. There are various AIR Native Extensions (ANE) that you can use to implement that (just do some searching and you should find some)

What is the difference between installing JQuery Mobile application on a device using Google Play Store and using PhoneGap

What is the difference between installing JQuery Mobile application on a device using Google Play Store and using PhoneGap?
Also, is there other tools we can use to install Jquery application on devices besides PhoneGap?
Thank you!!!!
You don't install an application using PhoneGap. Phonegap is a framework that lets you develop apps using html 5/javascript. After you develop your app you still have to publish it on Google Play if you want users to install it. Jquery Mobile is also a framework, designed to develop webpages optimized for mobile screens.
There is a good post here Explaining the differences between phonegap and jquery mobile.
There are several other mobile web frameworks such as Titanium, sencha, kendo ui, and I am sure you can find others if you run a quick search for it.
You need to read a little about them and understand the differences and advantages between them. Googling "Phonegap vs Titanium" for example will give you a good start point to understand the difference between them.
PhoneGap is just a cross-platform framework to develop mobile applications. You can use HTML, CSS, JS (incl. jQuery and jQuery Mobile) to develop in PhoneGap. In order to test applications, you can transfer them to your device using tools provided by PhoneGap and the Android SDK.
But in order to publish your application and make it available for others in the Google Play Store, you have to create a developer account ($25 at the time of writing this) and upload your application package (APK) there.
PhoneGap Guide (read "deploy to device")
Android Guide "Using hardware devices"
Android Guide "Get started with publishing"
There are also other cross-platform frameworks available such as "Titanium". Keep in mind that jQuery Mobile is only a Javascript (jQuery) extension to help building user interfaces that resemble conventional app behavior and look. It is not a complete framework to build your application.

in app purchase android with adobe air

I need to write an app for Android with Adobe AIR with payments capabilities. So I want to give user ability to buy some products in application. In iOS - there is In App Purchase, in Android - Google checkout. So the question is: can I use google checkout in Adobe AIR? I didn't find any API for this. Am I wrong? Is there any API for this? If no - what can I use for that? Thanx a lot!
This is possible using the Native Extension feature of Adobe AIR. You can read more about how that works here:
http://www.adobe.com/devnet/air/articles/developing-native-extensions-air.html
Also, there is a extension prebuilt that handles all this for you. Full disclosure, it is a commercial extension and I am the author:
http://www.milkmangames.com/blog/2011/12/28/announcing-android-in-app-purchases-for-adobe-air/
Google checkout isn't accessible from Air applications, there are only SDKs for
Java, .NET, PHP and other languages accept Action Script 3.
http://code.google.com/apis/checkout/samplecode.html

Android Application Building Alternatives

I'm beginning to look into Android programming.
When developing a mobile application, are there other options besides using the SDK to develop a native application?
For instance, is it possible to develop an application using only web technologies?
If so, what is your experience on the different techniques (limitations, etc)?
Thanks
With Gingerbread now you have the possibility to create an app just with the NDK using NativeActivity.
This release of the NDK includes many
new APIs, most of which are introduced
to support the development of games
and similar applications that make
extensive use of native code. Using
the APIs, developers have direct
native access to events, audio,
graphics and window management,
assets, and storage. Developers can
also implement the Android application
lifecycle in native code with help
from the new NativeActivity class. For
detailed information describing the
changes in this release, read the
CHANGES.HTML document included in the
downloaded NDK package.
If you are willing to use web technologies I would recommend you this book:
Programming the Mobile.
For instance, is it possible to develop an application using only web technologies?
Yes. You can use PhoneGap, Rhodes, or Titanium Mobile for this.
If so, what is your experience on the different techniques (limitations, etc)?
Of the three, I prefer PhoneGap, as it seems the cleanest and simplest. Rhodes might be good if you are a Rails developer and want to use that style of Web development on-device.
You can also develop applications on top of Adobe AIR.
So it seems you have quite a few options:
Java based app
Native app
Adobe AIR
Mobile website

Categories

Resources