How to add Activity from ANE to AIR app

I have developed some native Android code that will (in theory) allow me to play video using the Android MediaPlayer. There are some issues with streaming h264 MP4 videos with AIR on Android that is making this necessary. How do I go about displaying the MediaPlayer within the application? I know it is possible as it is done using this native maps ANE, but I can't seem to figure out how it is done or find source code for it.
Could anyone shed any light on how you display content from native code in the actual app? I am perfectly okay with it behaving like a StageWebView in terms of sizing and positioning (as is said is necessary by countless people I have read/listened to over the last day or so).
Thanks for any help

This isn't available in the default .air install (other than a shortcut to the application.)  However, I would suggest taking a look at the captive runtime options and rolling your own installer.  This way you can do whatever you want on installation without restriction.
http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html
Thanks,
Chris

Similar Messages

  • How can i print from my iPad Air to my hp printer

    how can i print from my iPad Air  to my hp printer

    Hi there Roger, 
    Check out the link below...
    How to Print with an iPad, iPhone, or iPod touch
    http://www8.hp.com/ie/en/support-topics/mobile-printing/how-to-print-mobile-devices-ipad-iphone.html
    Although I am an HP employee, I am speaking for myself and not for HP.
    Twitter: @Ciara_B_HP

  • How to transfer images from my iPad air  to my mac?

    How to transfer images from my iPad air  to my mac?
    If I use iphoto software, I can't see the ipad air on the browser...

    You can directly transfer photos and videos via WiFi between the iDevices, PCs, and Macs with an App like Photo Transfer.
    See: https://itunes.apple.com/us/app/photo-transfer-app-easily/id365152940?mt=8
    Or you can upload the photos and videos to the Dropbox service using the Dropbox App on the iDevice, PC, or Mac and download them to the another device using the Dropbox App on that device. By the way, once the videos are on Dropbox you can share them with others.
    See: https://itunes.apple.com/us/app/dropbox/id327630330?mt=8

  • YouTube - How to add videos from youtube on jsf-adf

    YouTube - How to add videos from youtube on jsf-adf.
    when i using iframe i can't send data from beans.

    you can use a <f:verbatim> tag in your page and in it just write the HTML code for embedding a video.
    and can i send data from beans class in html components?
    i wrote this
    <af:iterator id="i2" var="row"
    value="#{MyBean.src_items}"
    varStatus="st">
    <af:showDetail disclosed="false" id="sd1"
    styleClass="AFStretchWidth"
    disclosedText="#{row}">
    <f:verbatim>
    <iframe id="ifv" src="#{row}"/>
    </f:verbatim>
    </af:showDetail>
    </af:iterator>
    but that were not worked .
    Edited by: Vakhushti on May 9, 2011 12:40 PM

  • How can I print from my iPad air? We have wifi and can print from our laptop.

    How can I print from my iPad air?  We can print from our laptop.

    Setup AirPrint Printer
    1. Buy an AirPrint enabled printer; see list below
    http://support.apple.com/kb/ht4356
    2. Run the CD provided and set printer and iPad on the same network
    3. Start printing from your iPad using AirPrint

  • How can I print from my ipad air without buying a new "air print" compatable printer?

    How can I print from my ipad air without buying a new "air print" compatable printer? I currently have a HP Photosmart plus B210. Can I make that work?

    Although you have posted in a Mavericks forum, implying that you have a Mac computer, your profile doesn't say that you have one. Printer Pro requires the printer to be connected to a Mac.

  • How can I print from an iPad Air or iPhone 5S on a Dell C1765nfw?

    How can I print from an iPad Air or iPhone 5S on a Dell C1765nfw?

    Hi rld846,
    If you are looking to print from an iPad or iPhone, you may find the following article helpful:
    Apple Support: AirPrint Basics
    http://support.apple.com/kb/ht4356
    Regards,
    - Brenden

  • How to transfer files from MacBook Pro pages app to iPad mini pages app?

    How to transfer files from MacBook Pro pages app to iPad mini pages app?

    The above assumes you are running current software.
    Mac - OX X 10.9.2, Pages 5.1.
    iPad - iOS 7.0.6, Pages 2.1.

  • HT4528 How to I switHch from German iTunes and App Store back to US?

    How to I switHch from German iTunes and App Store back to US?

    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region...change here.

  • How to import photos from new Apple Photos app.. ?  Iphoto no longer exists

    How to import photos from new Apple Photos app.. into Elements  (organizer ??)?  Iphoto no longer exists
    Otherwise I cannot use the Adobe program.

    srumsey88
    What program and version do you have on your Mac computer - Photoshop Elements and its Elements Organizer or Premiere Elements and its Elements Organizer?
    The nature of your question suggests that you may be dealing with Photoshop Elements and its Elements Organizer. If that is the case, please post your question in the Adobe Photoshop Elements Forum.
    Photoshop Elements
    Your thread has been posted to the Adobe Premiere Elements Forum (video editing)..
    Please clarify your program.
    Thank you.
    ATR

  • HT1473 How to add music from macbook pro to iPad

    How do I add musci from Macbok pro to ipad2?

    Open itunes, connect ipad, select what you want, sync.

  • How to add name from text file to jtable?

    hello all,
    how to add name (string) from the notepad file(.txt) into jTable rows.
    I am not able to add it.
    try {
                 FileInputStream fis = new FileInputStream("Devices/Devices_Lst.txt");
                 BufferedReader br = new BufferedReader(new InputStreamReader(fis));
                 String line = null;
                 Vector data = new Vector();
                 line = br.readLine();
                 while ( (line = br.readLine()) != null)
                    int rowCount1 = nmsTable.getRowCount();
                    for(int i=0;i<rowCount1;i++)      
                        myTableInit();  // it initialize the table
                       /* nmsTable.setValueAt(i+1,i,0);
                        Table.setValueAt(line,i,1);
                        Table.setValueAt(" ",i,2);
                        Table.setValueAt(" ",i,3);
                        Table.setValueAt(" ",i,4);
                        Table.setValueAt(" ",i,5); */
                        int rowNo = nmsTable.getRowCount();
                        row.addElement((rowNo+1));
                           //row.addElement(ipText.getText()+"-"+nameText.getText());
                           row.addElement(line);   
                           row.addElement((String)" ");
                           row.addElement((String) "");
                           row.addElement((String) "");
                           row.addElement((String) "");      
                            row.addElement((String) "");      
                            rows.add(row);                                     //rows is the Vector for table row.
                            Table.addNotify(); 
                  br.close();
                 if possible give me some examples.
    thank you.

    For every row you need to create a new Vector and add the data to that Vector. Then the Vector is added to the TableModel.
    If you add 6 items to the single Vector, then you will get 6 columns. So you need to create 6 Vectors and add a single item to each Vector and therefore you will end up with 6 rows with 1 column of data.

  • How to add users from person or group field in a sharepoint list to sharepoint group

    Hi,
    How to add users(single or multiple) from person or group field in a sharepoint list to sharepoint group programmatically?
    Any suggestions would be appreciated.
    Thank you,
    AA.

    Hello,
    Use SPGroup.AddUser() method to add user in group. I have just written sample code in notepad so it is not tested:
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using(SPSite Site = new SPSite(SPContext.Current.Site.Url))
    Using(SPWeb Web = Site.OpenWeb())
    SPList list = web.Lists["ListName"];
    SPQuery query=new SPQuery ();
    query.Query = "<Where><Eq><FieldRef Name='Title' /><Value Type='Text'>Test</Value></Eq></Where>";
    SPListItemCollection items = list.GetItems(query);
    if(items.Count > 0)
    foreach(SPListItem item in items)
    //Get USers from person or group column
    SPFieldUser userField = (SPFieldUser)item.Fields.GetField("Users");
    SPFieldUserValueCollection userFieldValueCollection = (SPFieldUserValueCollection)userField.GetFieldValue(item["Users"].ToString());
    SPGroup spGroup = spSite.RootWeb.Groups[groupName];//group name
    if (users.Count != 0)
    bool isUserInGroup = false;
    foreach (SPFieldUserValue user in users)
    foreach (SPUser item in spGroup.Users)
    string itemUserName = item.LoginName;
    string UserName = user.User.LoginName;
    if (itemUserName == UserName)
    isUserInGroup = true;
    break;
    if (!isUserInGroup)
    spGroup.AddUser(user.User);
    The above code will query list item and then get users from "Users" column. Now it will check whetehr user is already in group not, if not then add user in group.
    http://rajanijilla.blogspot.sg/2012/09/add-users-to-group-programmatically.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to Add Active Directory user to Admin Role

    Hi All,
    I am trying to figure out how to add a AD user to the Admin Role..
    I am connected to AD and can see the user (myself), however, when I try to add myself to the admin role, it says user not found.
    I go to Security Realms > myreals > Roles and Policies > Global Roles > Roles > Admin > View Role Condition.
    I see that the Administrators Group is already added. Now I click "add Conditions" and select "User" from the Predicate List and type in the user " Doe' John".
    On the next screen I get "user: John or Dow" does not exist.
    Another option could be to add the user to the Administrator group, but I couldnt figure out how to do that as well. When I navigate to the user under Users or Groups, I dont see an option to add that user to the Administrator group.
    Is it that you can only add users created in Weblogic to the Admin group?
    Any help on this will be very appreciated.
    Thanks in advance.

    I think I got it. I had to add the AD group the user is part of to the Admin role.

  • How to add photo from Photos app as iCloud/user avatar?

    Hello,
    I would like to change my login and iCloud user avatar. I have photos in the new Photos app, but I can't import or drag&drop files on the settings screen from Photos.
    "Take a photo with your iOS device or manually add photos from the Photos app." - I would like to do that, but how?
    Thank you!

    Hello,
    I would like to change my login and iCloud user avatar. I have photos in the new Photos app, but I can't import or drag&drop files on the settings screen from Photos.
    "Take a photo with your iOS device or manually add photos from the Photos app." - I would like to do that, but how?
    Thank you!

Maybe you are looking for

  • Eigth browser windows open, can't close them

    Almost every time I looked at something on the internet with my iphone, a new browser window opened to see it. Now I have eight browser windows open (seems to be the max) and I can't find how to close them./ Anyone know how? Thanks a lot in advance.

  • IPhone 4 will not sync with OS Tiger

    Just attempted to sync my wife's new iPhone 4 with our MBP. Cannot because wishes me to upgrade my OS from Tiger to Leopard. Is there a work around or are we just out of luck unless I upgrade the OS of the MBP? Thanks, Reed

  • Bye Bye Memories

    Hi. I'm desperate. Just a few hours ago, I uploaded a new song from itunes onto my ipod. I took my ipod to its ihome, turned it on to play my new song, and... all my data disappeared! I am begging for help. This amount of data loss is very unfair, es

  • "Execute amount settlement up to and including settlement period 011 2009 "

    Hi, My user got error: " Execute amount settlement up to and including settlement period 011 2009 first" when try run settlement via CJ88. It was noted user did not run the settlemt for the WBS since period 12 2007 but now wants to settle it period 1

  • How can I sync calendar from iPhone to outlook?

    how can I sync calendar from iPhone to outlook?