Integrate PayPal in AIR Android application?

I'd like to integrate PayPal within a AIR Android application.  Since everything is so new, I wonder what approach I should use.  It seems to me that I might have the following options:
Create an Android native button with PayPal Android library and add it to AIR application.  But I doubt that it's possible.
Create a web service to communicate with PayPal using PayPal Java API.
Create a PayPal button on a web page and display it in Android native browser.
Create a PayPal button on a web page and display it in AIR component if possible.
Or maybe I should just create an Android native application instead because PayPal's Android library is very easy to use?

Native extension + in-app billing.
http://www.adobe.com/devnet/air/native-extensions-for-air.html
http://developer.android.com/guide/google/play/billing/index.html
Had to do the same thing for my educational app. Technically, it seems to be working well. Financially, Google Play is way behind than Apple App Store for me. So I would recommend considering developing a version for Apple App Store as well.

Similar Messages

  • Flash Professional Help | Publishing AIR for Android applications

    This question was posted in response to the following article: http://helpx.adobe.com/flash/using/publishing-air-android-applications.html

    I think that this is just saying that the display is truncated. When you publish, it still uses the full path.
    Regards,
    Randy Nielsen
    Senior Content and Community Manager
    Adobe Systems Incorporated

  • How to add Google Ads or similar in "AIR for Android" application?

    Hello,
    I have developed my android application (AIR for Android) in Flash Professional CS5.5. It's completed and fully tested on multiple android phones. Now I want to add Google Ads in my application to make some money.
    What I already know:
    I know that Adobe provides AdMob native extension API which allows you to add Google Ads in your app. But unfortunately, it's not free.
    What I want:
    I want a free resource through which I can add ads in my application.
    Please guide me how can I achieve this?
    Thanks in advance,
    momersaleem

    Yes, its for me broken, too.
    I found the link in this thread:
    http://forums.adobe.com/message/4036804
    Maybe try to contact the author or one of the thread participants for an unbroken version?

  • I have built a android application using adobe flex, and i have exported it with native air. The application is working fine on samsung phones whereas it is getting crashed on Moto Phones, which runs on android kitkat, is there any compatibility issue ?,

    I have built a android application using adobe flex, and i have exported it with native air. The application is working fine on samsung phones whereas it is getting crashed on Moto Phones, which runs on android kitkat, is there any compatibility issue ?, I have built a android application using adobe flex, and i have exported it with native air. The application is working fine on samsung phones whereas it is getting crashed on Moto Phones, which runs on android kitkat, is there any compatibility issue ?, I have built a android application using adobe flex, and i have exported it with native air. The application is working fine on samsung phones whereas it is getting crashed on Moto Phones, which runs on android kitkat, is there any compatibility issue ?

    Thanks, Flex harUI, for the direction in regards to isolating build changes. That aside (still working on it), can you offer any direction in regards to my original question on SDK and AIR compatibility? I'm specifically looking for a version compatibility mapping or anything that definitively states, "Flex SDK x.y.z works with the following versions of AIR". This information is crucial for us in order to more specifically plan our own roadmap built upon these two frameworks as we consider both existing installations of our software and future distributions.

  • Connecting between two Adobe air mobile applications (On Android)

    Hi There,
    Does an Adobe AIR application can connect and pass parameters somehow (Directly or by http) with another android application?
    Can Adobe AIR mobile application open a listening socket?

    Um, I'm pretty sure this is wrong. You cannot use SocketServer on a mobile app platform for some stupid reason.
    From the doc
    "AIR profile support: This feature is supported on all desktop operating systems, but is not supported on mobile devices or AIR for TV devices"

  • Start AIR (mobile) application from Android Service

    Hi I'm hoping someone can give me some direction.
    I would like my custom Android service to start my AIR application.  An Android Service starting a regular Android application is well-documented... the basic idea is to create an Intent (a system message) that points to the Activity (an application screen, normally a java class), and launch that from the service.  The code looks something like this:
    Intent i= new Intent(getBaseContext(), screen.class);
    i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    getApplication().startActivity(i);
    Can the same idea work with an AIR application (made with Flex)?  If so, what is the java class reference for the Activity?  Or what?  Or is there some other method that must be used?

    What version of AIR are you using or does it matter?  My apps seem to come back from background or idle with no issue.

  • The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5

    The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5
    This is happening for most of the pupils and staff at our school and they are unable to complete their work.
    This also happens on a fresh copy of windows and CS5.5 without any updates and also with all latest updates.
    I have tried it on 32-bit and 64-bit CS5, Windows, Air and Java with the same error every time.
    There are a small minority of users where this works fine for them with no issue.
    I have tried re-setting user profiles.
    I have tried a local admin and domain admin account with the same issue
    I have noticed however that if the file is moved to the shared area it will compile. If it is on their documents area it will not compile. The users have full control in both locations. This is fine for staff but we are unable to give full control or modify access to the shared area for the pupil's
    I have been through the online support section and it directed me to phone Adobe Customer care who informed me that all support has been discontinued for CS5, CS5.5 and CS6 and they will only support creative cloud.
    Any ideas what to try next? There is no other information about this error and I cannot work out what is causing it.

    I have tried and  able to package an apk using your XML file.Could you please make sure your XML file starting from line 1 and coloumn 0.Any space will results in the error (Application Descriptor file cannot be parsed)
    -Pranali

  • Can an AIR application be packaged and launched from inside a Native Android Application

    Hello,
    I work for a company that has an AIR application/game.  We are currently developing an Android native application and would like to strip out the AIR game and include it with the native application, we would like to be able to launch the game from within the native Android application.  How would this be done?

    no p. )
    [UIApplication sharedApplication] its most cool thing in xcode that allow make native windows over adobe air

  • Convert Air Desktop Application to Android apk Please help!

    I developed an Air Desktop Application by using Flash Builder 4, it's a pure ActionScript 3 application. I used a few PNG image files and mp3 audio files in the application. After I build it, I got the swf file, xml file and all the image mp3 files in the bin-debug folder. If I run the swf file with all other files (png and mp3 files) in the bin-debug folder, it works great. If I run the swf standalone, the application will miss the images and sounds.
    Now I'm converting the swf to apk, and run it on android device, it will NOT show the images or Doesn't play the sounds. I was wondering if there is a way to merge the png and mp3 files into the swf when I build/compile it? Or is there some other way to convert to apk which includes all the image and audio files? Please help.

    Please see adt -package command here
    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html
    in this example icons folder is packaged along with swf and app xml.
    What you can do is that specify each of the mp3 and image files one by one separated by space at the place where icons is used in examples.
    In this case you will find all mp3 and image files in same directory as your swf when you run on android.
    Make sure you use app:// urls for accessing those files

  • How to integrate android application with oracle database using oracle mobile database server.

    Hi,
    I developed one web application using oracle database. I want to implement same web application in android. My problem is how to integrate android application with existing oracle database using oracle database mobile server. Can u please guide me how to install oracle database mobile server and how to integrate android app with existing oracle database..
    Thank you.

    In the Database Mobile Doc set there is an entire book that covers the Installation of Oracle Database Mobile Server.   Chap 4 of that book contains screen shots and all kinds of information that will help guide you through the installation.   We also have a doc on the different mobile clients.  Chap 2 of that guide covers installs and integration of an android app. 
    thanks
    mike

  • How to embed a font air Android App????

    Hi, im new to this forum so please forgive me if i question in the wrong section.
    I am Beginner and am working on an air android game in flash cs6.. i need embed fonts please help me sort out htis problem..

    The easiest for me is to simply embed your font into your main document class, like this:
    package
         import flash.display.Sprite;
         import flash.text.*;
         public final class MyApp extends Sprite
              [Embed(source="../fonts/ITCAvantGardeStd-Bold.otf", embedAsCFF = "false", fontWeight="bold", fontName = "ITCAvantGardeStd_DemiAndBold", mimeType = "application/x-font-truetype", unicodeRange="U+0021-U+007E, U+00A9, U+00AE")] // Main characters + Copyright and Registered glyphs
              static public var ITCAvantGardeStdBold:Class; // that's what the embed gets baked into
              Font.registerFont( ITCAvantGardeStdBold ); // do this once per font
              public function MyApp():void // Constructor
                   // Create a textformat that uses the font
                   var tft:TextFormat = new TextFormat( "ITCAvantGardeStd_DemiAndBold", 20, 0xffff00, true );  // size = 20 pix, color is yellow, bold = true, matching the font weight
                   // create a text field
                   var tf:TextField = new TextField();
                   with ( tf )
                        antiAliasType = AntiAliasType.ADVANCED; // optional
                        defaultTextFormat = tft;
                        embedFonts = true; // this is using an embedded font
                        width = 100;
                        autoSize = TextFieldAutoSize.LEFT;
                        wordWrap = true;
                        text = "Hello world ! blah blah blah blah blah blah blah blah blah blah blah blah";
                        height = textHeight + 8; // nice and tight
                        border = true; // for fun
                        borderColor = 0xffff00; // yellow
                   addChild( tf );
         } // end of: class
    } // end of: package
    The embed statement contains several optional properties, like fontWeight, fontStyle, and fontFamily.
    Check here for info:  http://divillysausages.com/blog/as3_font_embedding_masterclass
    Note: Alternatively, you could use Flash Professional to embed the font into the document class via the IDE ( like so: http://www.adobe.com/devnet/flash/quickstart/embedding_fonts.html ).
    Also, for these kinds of questions, I recommend:
    1) O'Reilly -- Essential ActionScript 3.0
    2) O'Reilly -- ActionScript 3.0 Cookbook

  • I want to build android application using existing desktop dimension fla files. so for this I am resizing existing desktop dimension fla files to mobile dimension files but during resizing some files are resizing properly but most of the files the content

    problem definition:
    To build android application using existing desktop dimension fla fies , I am resizing that files to mobile dimension and publishing with air fo android 16  . In this process some fla's are not resizing properly I mean the content is not matching with stage
                      In one post I saw that by copying frames in movie clip we can adjust with stage . I did this and made an application but the swf's which are following the movieclip resized swf are going out of stage
    development tool : adobe flash professsional cc
    extension : air for android 16
    original file dimension: 800 * 600 px
    new dimension required is : 2650 * 1600 px ( to get full screen view)
                                           anyone please suggest me to solve this problem
    when I resized using copy frames in movie clip the output swf is coming with white screen . If I played with package it coming properly but the files which are following this are going out of stage
    Thanks&regards
    K.Niranjan

    problem definition:
    To build android application using existing desktop dimension fla fies , I am resizing that files to mobile dimension and publishing with air fo android 16  . In this process some fla's are not resizing properly I mean the content is not matching with stage
                      In one post I saw that by copying frames in movie clip we can adjust with stage . I did this and made an application but the swf's which are following the movieclip resized swf are going out of stage
    development tool : adobe flash professsional cc
    extension : air for android 16
    original file dimension: 800 * 600 px
    new dimension required is : 2650 * 1600 px ( to get full screen view)
                                           anyone please suggest me to solve this problem
    when I resized using copy frames in movie clip the output swf is coming with white screen . If I played with package it coming properly but the files which are following this are going out of stage
    Thanks&regards
    K.Niranjan

  • Flash Android application identifier with underline

    I got this 'invalid application descriptor: invalid application identifier' when publish my old flash android fla.
    My app id is like com.this_is_id.android.test
    It keep happens when my id with underline '_', but this id was ok about a year ago.
    Now I cant update my app at googleplay because this.
    Please help,thanks.
    *MBP OS X 10.9
    *Flash CC & CS6
    *AIR SDK 3.4 ~ 4.0

    Thanks for kindly reply.
    according this
    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffd.html
    Android application IDs
    if the ID is not a legal package name on the Android operating system, it is converted to a legal name. Hyphen characters are changed to underscores and leading digits in any ID component are preceded by a capital “A”. For example, the ID: 3-goats.1-boat, is transformed to the package name: air.A3_goats.A1_boat.
    so I dont know why underscore is illegal,and my app at googleplay has an underscore ID indeed, not dash, I am sure.
    this really bother me,cant update any app with an underscroe ID
    because I have to update app to support android 4.x ...
    ps. 3.4 even 3.2 also not working,@@ dont know how I did it before...

  • Opening browser window inside iOS/Android application

    Hi.
    I need to open browser window inside iOS/Android application built with Flex.
    Usualy, for desctop apps, i am using component <MX:HTML /> but it not compatible with mobile applications.
    Help me to find some solution for this.
    Thx, Art.

    You will want to look into StageWebView.  Here's an example: http://www.adobe.com/devnet/air/quick_start_as/quickstarts/qs_using_stage_web_view.html

  • AIR - Android -- A piece of ****

    Hi,
    I spent my precious 2 days time to write an application (AIR-Android) which can play internet radio stations (streamed audio). Every thing worked great when I used 'Test Movie' or Ctrl+ENTER. But same is not working when I generated the .apk and installed on HTC Desire HD (running Android 2.2 and have AIR with latest updates).
    I have predefined few internet radio stations and clicking on the station name should start playing the radio. I have used the SoundChannel with 3 second buffering option. On the device application triggers the buffering event but never comes out of that or plays the audio.
    I have tried few things:
    1. Prepared a test file with only one station
    2. In publish settings --> Audio Stream set the bit rate to 24kbps which is same as that station is streamed
    3. Increased the script limit to 30 seconds
    4. Tried to use Security.allowDomain() which caused runtime error (3207 Application-sandbox content cannot access this feature)
    I used the station "http://stream.radiosai.net:8004" for testing. The station is active, streaming in MP3 format and able to listen through the Windows Media Player / VLC.
    I prepared a self signed AIR for desktop as well and installed on my laptop (Windows 7 64-bit) but same problem.
    I have prepared this using Air for Android extn for Flash CS5.
    Please let me know if anybody has faced the same problem, suggest me if I am really missing anything.
    Here the AS3 code used for testing.
    ===========================
    import flash.media.Sound;
    import flash.media.SoundChannel;
    import flash.media.SoundLoaderContext;
    import flash.net.URLRequest;
    import flash.events.IOErrorEvent;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    const AFRICA_STREAM:String = "http://stream.radiosai.net:8004";
    var isPlaying:Boolean = false;
    var recentlyPlayed:String = "";
    var streamSound:Sound;
    var streamChannel:SoundChannel;
    var streamContext:SoundLoaderContext = new SoundLoaderContext(3000,false);
    var streamTimer:Timer;
    africa_mc.addEventListener(MouseEvent.CLICK, handleStationSelect);
    function handleStationSelect(evt:MouseEvent):void {
         if (isPlaying == true) {
              streamChannel.stop();
              streamSound = null;
              streamChannel = null;
              isPlaying = false;
              streamTimer.stop();
              removeListeners();
         switch (evt.target.name) {
              case "africa_mc" :
                   if (recentlyPlayed != "africa_mc") {
                        playStation(AFRICA_STREAM);
                        recentlyPlayed = "africa_mc";
                   break;
    function playStation(streamUrl:String):void {
         streamSound = new Sound();
         addListeners();
         streamSound.load(new URLRequest(streamUrl), streamContext);
         streamChannel = streamSound.play();
         isPlaying = true;
         streamTimer = new Timer(2000);
         streamTimer.addEventListener(TimerEvent.TIMER, checkPlayState);
         streamTimer.start();
    function soundIoError(evt:IOErrorEvent):void {
         streamChannel.stop();
         streamSound.close();
         streamSound = null;
         streamChannel = null;
         removeListeners();
         play_state.text = "IO Error";
    function checkPlayState(evt:TimerEvent):void {
         if (streamSound.isBuffering == true) {
              play_state.text = "Buffering...";
         else {
              play_state.text = "Playing...";
    function addListeners() {
         streamSound.addEventListener(IOErrorEvent.IO_ERROR, soundIoError);
    function removeListeners() {
         streamSound.removeEventListener(IOErrorEvent.IO_ERROR, soundIoError);
         streamTimer.removeEventListener(TimerEvent.TIMER, checkPlayState);
    =========================================================
    Its very sad that adobe has created something fully buggy and works only on IDE but not on actual device. More sad part is adobe is not even cared to have a look into the issue.

    Hi Chris / tzeng,
    Let me put it in much cleaner way :
    What I am trying to achieve?
    - Listen / play internet radio (IR) stations.
    - Links are taken from : http://wiki.secondlife.com/wiki/Music_streams & few from Shoutcast
    What are all the available formats for IR station URL?
    1. http://server_name:NNNN/ where NNNN is port number
         - http://stream.radiosai.net:8004
         - http://wjab.streamguys.net:80/
         - http://radio2.trancemission.fm:80/
    2. http://server_ip_address:NNNN
         - http://65.60.19.44:80/
         - http://213.246.51.97:8024/
    3. http://server_name_OR_ip/stream/xyz
         - http://scfire-ntc-aa03.stream.aol.com:80/stream/1025
         - http://208.80.52.246/ESPNRADIOCMP3
    4. http://server_name_OR_ip:NNNN/xyz.mp3
         - http://stream.transmissionfm.com:8000/techno-high.mp3
         - http://av.adobe.com/podcast/csbu_dev_podcast_epi_2.mp3
    Please share if anybody came across different format than these.....
    What is working on device and what is not working?
    Any URL of format 3 & 4 is working on the device.
    Any URL of format 1 & 2 is not working on the device.
    What happens if the swf is opened in flash player like debugger version (flashplayer_10_sa_debug)?
    Tried with 4 URL each of different format. Debugger player is able to play all the stations.
    What happens if the swf is opened in IE browser with Flash plugin?
    Only URL of format 3 & 4 works.
    What happens if 'Test Movie' is used in IDE?
    Only URL of format 3 & 4 works.
    Now question is why URL with format 1 & 2 fails? Why same links work on debugger version or VLC or windows media player?
    I have captured the packets sent(received) from(at) device (HTC Desire HD) using WireShark (on Windows 7). I dont see any option to attach the files. Will try to send as private message.
    After a deep search I found that this issue is already faced : http://forums.adobe.com/message/3027799
    Thanks and Regards,
    MSH

Maybe you are looking for