Air for Iphone NavigateToUrl

I am having an issue with using the navigateToUrl method when developing for the IOS using Flash Pro.
I am using the Addthis.com functionality to share things to twitter, facebook, etc.  I use their api, which is actually super simple and just utilizes the navigatetourl method.  When I test the method normally, it will successfully open up the iphone / ipod browser and navigate to the page.  However, when I use it via the addthis class, clicking on the button to open the browser simply does nothing.  The only real difference in how I tested it and the addthis work is that the addthis calls an additional class which then calls the navigateToUrl.
So my question would be "Does calling a class that does not initiate the navigatetoUrl method directly somehow break the method in IOS?"  Using the same exact structure works 10)% in Air for Android btw.
Test code:
var request:URLRequest = new URLRequest("http://www.google.com");
navigateToURL(request);
addThis Code:
private function addThisToFacebook(e:MouseEvent):void{
     var share_url:String = "http://www.google.com";
        trace("Facebook Share Hit");
            api.share(share_url, 'facebook');
in the api class, the code is called up here:
    This is addThis.com api's code
public function share( url:String, destination:String='menu', options:Object=null ):void {
options ||= {};
var params:URLVariables = new URLVariables();
for (var k:String in DEFAULT_OPTIONS)
if ( DEFAULT_OPTIONS[k] || options[k] )
params[k] = options[k] || DEFAULT_OPTIONS[k];
params.url = url;
if ( stage ) {
if ( params.width == -1 )
params.width = stage.stageWidth;
if ( params.height == -1 )
params.height = stage.stageHeight;
if ( username )
params.username = username;
if ( destination == 'menu' )
destination = '';
var request:URLRequest = new URLRequest(ENDPOINT + (destination ? '/' + destination : '')  + '/offer');
request.data = params;
navigateToURL(request, '_blank');
Is there something I can do/add for the navigateToUrl to work in IOS?

Hi,
Yes, that's reproducible at our end.
Thanks for reporting the issue,we're looking into the issue.
-Pahup
Adobe AIR

Similar Messages

  • How long does it take to download ios 7 over-the-air for iphone 5?

    How long does it take to download ios 7 over-the-air for iphone 5?

    It totally depends. The servers are getting slammed. Bunch of people trying to download at the same time.
    Anecdotally, it took me about 20 minutes.
    Give it time, keep trying, should eventually work.
    Ways you can maybe speed it up - use iTunes, get off wifi and do a hard connection via ethernet.

  • Re: Adobe AIR for iPhone

    Based on the announcement yesterday from Apple to let 3rd party code run on the iPhone, ie Adobe AIR files, does anyone know if there any plans to restart the Air SDK for the iPhone and make it like it is on Android?

    According to http://labs.adobe.com/technologies/packagerforiphone/
    "Apple’s recent announcement that it has lifted restrictions on its third-party developer guidelines has direct implications for the Packager for iPhone. The feature is available for developers to use today and we will now resume development work on this feature for future releases."
    Is that what you were asking?

  • Air for Iphone

    I looking for an apps for my Iphone with Air.
    Is it possible in the future?
    tnks

    There will be a Packager for iPhone that can converts AIR files into iPhone apps.

  • JuicePack Air for iphone 3G

    I bought a JuicePack Air as it looked great at the time and gave the option of very much increased battery life. It worked fine but gave a message on the screen that said this accessory is not made for iPhone. The makers state it is and told me I was the first to find a fault. At £62.99 it seemed quite a lot of money but has the potential to work well. Anyone else tried this battery pack?

    I have been using it for two days, and today I got that message. I got the message when the pack drained completely and it switched to the iPhone battery. I recharged the pack and reinserted the iPhone, and all is well.
    I can get about 4 hours of VERY heavy 3G internet use before it drains completely. Now I can make it through the day without having to recharge.

  • Does Mophie Air for iPhone 5 scrateches the the black version?

    Hello!
    I am about to get the iPhone 5 and Mophie Air. Since we all know the Black iPhone 5 tends to scratch quite easy I would like to know if this Mophie Air scratches its bezels.
    If it doesn't, how often do you change cases on your black iPhone 5?

    jaybaroni wrote:
    Since we all know the Black iPhone 5 tends to scratch quite easy I would like to know if this Mophie Air scratches its bezels.
    We don't all know that. Or, certainly, not all of us experienced a black iPhone 5 scratching easily. The Mophie Air was one of several cases I used on my Black iPhone 5. No scratches from it, the shell or from the times I didn't use a case. As with any close fittting case, make sure there's no grit between it and the phone.
    Best of luck.

  • Adobe AIR for iphone app: can't play audio properly

    I just developed an App by using adobe air. It contains some animations with background music in mp3 format. The problem is that the music is very jerky when the animation is playing... FYI, this is the way how I play audio in flash:new Sound(new URLRequest("m3.mp3")).play() Have I done anything wrong?
    BTW, the funny thing is that if you hit the HOME button, and then come back to the app again, everything plays beautifully...
    Any comments would be appreciated!!! Will be waiting for the answer online.

    Try the loading sound internally method through sound channels and such.
    Great tutorial below.
    http://www.republicofcode.com/tutorials/flash/as3sound/
    var mySound:Sound = new Sound();
    var myChannel:SoundChannel = new SoundChannel();
    mySound.load(new URLRequest("myFavSong.mp3"));
    myChannel = mySound.play();
    I just finished an app that uses a lot of audio while stuff is animated on the timeline and the sound responds well on all iOS devices. (havent tested on 3GS yet)

  • Air for Iphone Fonts

    When I embed a font in my flash pro project and port it over to the IOS device, it doesn't use the fonts I specified.  Has anyone else had this issue?  Is there any way to make sure that it uses the fonts I specify and embed within the swf?

    Certainly,
    I was attempting to embedd Myriad Pro.  I went to Text -> Font Embedding in Flash Pro and enbedded it so it shows in my library.  I have tried this as tlf text (i wanted it underlined) and as classic text, but the font does not show up.  And now that I played around with it some more, I have that problem with other fonts as well.  If I choose Arial (which is an apple device font so i shouldn't have to embed it, right?) And choose bold, it still doesn't show the correct font when I run it on an apple device.  Honestly, I can't get any bold on any font to work.
    Do you need more information than that out of me?  Whatever I can do to help.

  • Multi Touch not supported in Adobe Air for IOS?

    Hi, I've just started developing my first app for my iPhone which is an iPhone 3GS. I'm using CS5 to make these apps.
    I did a simple test game where there are two arrows on the screen and a fire button. The screen also has a ground and the player standing on it which can be controlled with left/right and fire. Now, if I press right, he moves right, if I press left, he moves left, if I press fire, he jumps... BUT no matter what I do I can't make dual touch work, ie: I press right AND fire, it only recognize just ONE touch point. So I did alot of researching and didn't find much.  I thought maybe adding a TouchEvent.TOUCH_TAP which I found a guide on on this page: http://openexhibits.org/support/gestures/1/one-finger-tap , but couldn't make it work, so I found this: http://www.adobe.com/devnet/flash/articles/multitouch_gestures.html and it seems Adobe Air for iPhone only allows four different gestures, no TouchEvents. I found a code somewhere that when run it checks to see if the device it's running on supports TOUCH_TAP stuff and in CS5 I got the message that it is not supported, in Adobe Device Central I get it's supported, on the actual phone (yes, got dev license from Apple and all that and can run my apps from CS5 on my iphone) I get it IS supported, but it doesn't work when I try it for real.
    So, my question is: how can I make Adobe Air using CS5 to detect 2 finger presses at the same time in iPhone apps?  Like pressing right+fire at the same time, so it doesn't just detect ONE of them being pressed.
    Thanks a million for any reply.

    Before listening for TouchEvents like TOUCH_BEGIN, TOUCH_MOVE, TOUCH_END etc... you need to set the input mode of your device to TOUCH_POINT. By default it is set to GESTURE.
    This works fine on the iPAD:
    import flash.ui.Multitouch;
    import flash.ui.MultitouchInputMode;
    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    stage.addEventListener(TouchEvent.TOUCH_BEGIN, touchBegin);
    stage.addEventListener(TouchEvent.TOUCH_MOVE, touchMove);
    stage.addEventListener(TouchEvent.TOUCH_END, touchEnd);
    private function touchBegin(te:TouchEvent):void {
        // your code here
    private function touchMove(te:TouchEvent):void {
        // your code here
    private function touchEnd(te:TouchEvent):void {
        // your code here
    Hope that helps.

  • Is there a way to create a password protected folder for pictures or lock the photos app? For Ipad Air and Iphone 5s.

    Is there a way to create a password protected folder for pictures or lock the photos app? I want to do this for Ipad air and Iphone 5s. I have other family members that use my Ipad and Iphone and do not want some pictures to be able to be viewed.
    Thanks

    Use 3rd party apps like Photo Manager Pro.

  • I just got a macbook air for xmas- now i wont get texts on my iPhone. they go right to my laptop. how can i get the texts to go to BOTH devices?

    My hubby just got me a macbook air for Xmas which is awesome.  Set it up to be able to ichat on it as well as on my iphone.  Only now i wont get texts on my iphone- ONLY on my laptop.  How can i configure so that I can get texts on my computer AND my phone. NOT just one or the other? Please help!

    Hi,
    The Mac version will use your Apple ID as the first and only choice...
    ... Until you add the same Apple ID to Messages on the iPhone.
    Once this is done it is best to Restart the app on the Mac.
    This will then get at least one, possibly two pop up saying the iPhone in using the Apple ID and the iPhone Number.
    Accepting these Pop ups will enable the iPhone as an ID to be used in the Receive At List.
    It will also appear in the drop down at the bottom for "Start New Conversations from"
    If you did not set iyt up like this then remove the apple ID from the iPhone in the Settings > Messages.
    Place the iPhone in Airplane mode to break with the server.
    Take it out of Airplane Mode and re-add the Apple ID in the Messages settings.
    Then Restart the app on the Mac as above.
    Having done this you can still turn Off the Apple ID on the iPhone (receive as the iPhone number only) or disable the iPhone Number on the Mac (receive Apple ID stuff only)
    The Start New Conversations option on the Mac version means you could use the iPhone number so people don't get your email.
    8:26 pm      Thursday; December 26, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Do i use Air or Flex for iPhone and Android app development

    Hi guys, whats the main difference between the 2 and does Air or Flex have everything Xcode does for iPhone/iPad development
    I'm hearing that Flex has Android and SDK for iPhone, if this is the case why learn Xcode ?
    Thanks

    Titanium is good for iOS, but apparently not so good for Android. Moreover, it's not so cheap!
    When one chooses a platform, one should also take into consideration the history and stability of the company which offers it.
    That is why I would not go to Appcelerator: who knows what's behind the corner?
    Sure, it is ironic that I say this after Adobe - a big company - has abandonded Flex...
    Some alternatives:
    - AMPChroma (Horrible name, but it has a solid company selling it: Antenna Software). This thing has the advantage that the content is not either native or web: the same content can be packaged for a web site AND for an app
         Pro's: Many big players are using it
         Con's: price list not very clear
    - Adobe Edge "Preview" + Adobe PhoneGap <--- Adobe says: you create animation for the web, you package it for an app. Not many people have tried it. But apparently it will work.
         Pro's: apparently, Edge is Adobe's instrument to finally go to HTML5.
         Con's: Edge "showcase" performs BADLY and SLOWLY in an iPhone (go think of a Samsung Mini)
    - Adobe Flash professional CS6 + Create JS <--- you create animations in Flash, then you export to HTML5 and js for browsers which don't have flash. You can also package with AIR for iOS and Droid.
         Pro's: Flash professional is easy, Action Script is powerful. You can have BOTH the power of Flash and the portability of html5/JS.
         Con's: for how long will Adobe support this Create JS hack? When will Adobe say "OK, now you've done enough automatic porting to JS, from next release on you move to Edge, or to - wait for it - a version of Flash which uses Javascript instead than ActionScript?"
    Me, I don't know what to do. I am keen on FlashBuilder/Flex because it's fast to build. Apps are really compatible both with iOS and Android. It has Salesforce.com connectivity. It's cool.
    However, there are two problems that get me stuck from continuing with FlashBuilder:
    - OK for native apps but... how do I use the Flash Builder/Flex content for the mobile WEB? Flash Builder does not have the CreateJS capability. I do a cool interface and I cannot reuse it on the mobile web if not with apps?
    - OK for HTML5 but... it's NOT as good as Flash now. Have you ever seen a Phonegap application with graphics? They're embarassing. Slow, imprecise. And non-compiled Edge stuff is not much better. Is it? any good example.
    Bottom line: at the moment, HTML5 support does not seem good. On the other hand, Flex is NOT compatible with mobile web. What IS performing and promises to be compatible with mobile web in addition to native apps?
    Flash Professional CS6.
    Again.
    I am happy if some-one belies me with good arguments.

  • Gpu for iphone 4s air 3.4 drop in performance

    Hello, im building an air 3.4 actionscript mobile app in flash builder 4.7 for iphone. this is my first app.
    the core function of this app is to play movieclips exported from flash in 1 swc.
    the clips after added on stage are being scaled 4 times bigger, and played.
    so the problem is that i found out you can change render mode in yourappname-app.xml
    i changed it from auto - with auto on i have 60/60 fps - when i switched to gpu i get 20/60 fps and app starts to lagg.
    i tested it on exported ipa's installed via itunes, test whas made on iphone 4s
    what may be the cause of this? at what point is the gpu power for air mobile apps?
    any advice? should i switch to air 3.5?

    Hi,
    if you have vector graphics changing into GPU can, as you say, make it slower.
    If you want to improve performance with GPU mode you should try to change all the vector graphics into bitmaps. Also, change render mode to low helps.
    I recommend you to google for adobe air performances. There is a LOT of information out there and you'll need to face every different case one by one depending your code and SWC.

  • Webview in air 2.6 for Iphone

    i was wondering if air 2.6 supports webview for IPhone?

    Yes:
    import flash.geom.Rectangle;
    import flash.media.StageWebView;
    var webView:StageWebView = new StageWebView();
    webView.stage = this.stage;
    webView.viewPort = new Rectangle(0,0,stage.stageWidth,stage.stageHeight);
    var fPath:String = "http://www.adobe.com/";
    webView.loadURL( fPath );

  • AIR for iOS: Severe performance drop using "high resolution" published app on retina iPhone

    I have created a very simple test app the simply draws a line from the previous to the current mouse/touch position after MOUSE_MOVE is detected. I published the app, stage size 320x480, in both "standard" and "high" resolution using AIR for iOS and added each to two different iPhones, iPhone 3GS and iPhone 4S. I published again, stage size 640x960 in standard and high resolution and placed on both phones.
    320x640 Flash stage size
    - standard resolution on iPhone 3GS: works as expected, no hitches.
    - high resolution on iPhone 3GS: works as expected
    - standard resolution on iPhone 4S: works as expected
    - high resolution on iPhone 4S: hangs occasionally and predictably for a half second or so once 20-30 points have been added to the drawing. Of the 4 tests at 320x640 this is the only one that displays at high res.
    640x960 Flash stage size
    Everything was the same as above. The only test here that diplayed at high res was the high res publish on the iphone 4s as expected. Which showed the same poor performace as above.
    Perhaps this has something to do with the upscaled application trying to keep track of mouse position but I'm stumped. Any ideas?

    I create an app for kids that draws using MOUSE_MOVE, KidFunKit. It's a retina display high-res app, using AIR 2.6 I got performing issues, after I couple of lines were drawn. Using AIR 3.0, it works nice. Obviously if your frame rate is 60 ... you'll expect lack of performance. You may try Starling Framework based on STAGE3D if you want the most of AS3.

Maybe you are looking for

  • Performance issues with Bapi BAPI_MATERIAL_AVAILABILITY...

    Hello, I have a Z program to check ATP which is working with Bapi BAPI_MATERIAL_AVAILABILITY.... As I am in the retail system we have performance issues with this bapi due the huge amount of articles in the system we need to calculate the ATP. any  w

  • Do i need to Pay when Preordering online for pickup in apple store on Thurs

    Ok well the subject pretty much asks my question. I wanna add a line to my verizon account but I wont be able to pay for the phone and deposit until Thursday. Does anyone know if I need to pay with a credit card when i select my preorder and setup fo

  • VGA unplug, replug needs xrandr off, xrandr on since recently

    Hello, I need to plug and unplug my laptop several times a day to an external VGA beamer. Before recently, I switched on the external VGA (DP1) ONE time by: xrandr --output eDP1 --mode 1366x768 --output DP1 --mode 1366x768 and no matter how I pluged

  • My router wrt54gs used to work now it dosent (help)

    Hello, I have a linksys model WRT54GS when i first bought it it worked just fine well my daughter moved out so i had no need for a wireless connection i took it off ,ok well she came back lol and i tried to reconnect it and it no longer works the lap

  • Delete button hidden in iMessage!

    If you press and hold on a message to bring up the menu and then select "more" you would normally see the delete and arrow icon at the bottom of the screen - but at the moment they are hidden with the message composition box! You have to expand the c