Debugging iOS AIR app from FlashBuilder running under Windows/Paralells on a Mac
On my Windows 7 workstation at work, I use FlashBuilder 4.6 to debug iPad apps all the time. The process is simple and reliable -- start the debugger which begins waiting for the app to notify it, move the app into iTunes, move it onto the iPad, launch the app, the app notifies the debugger that it is running, debugging works!
At home I am running Windows 7 under the latest version of Parallels on my iMac running the latest version of Lion. I go through the same process: I connect my iPad (the same one from work) to the Windows VM, and Windows iTunes recognizes it and syncs files just fine. I can move a non-debugger version of the app onto the iPad and it runs just fine. However, when I start the debugger in FlashBuilder and then move the app onto the iPad and launch it, the app is not able to find the Flash Debugger. When it launches I just get a black screen for about 2 minutes, then I get a message asking me to enter the IP address of the Flash Debugger.
There is an old help document indicating that this is due to the iPad and then debugger host computer not running on the same wifi, but I don't think it's relevant. My workstation at work isn't even connected to wifi.
I will consider any advice. It's pretty important for me to get this up and running at home. I tried running directly under bootcamp, but both Microsoft and Adobe consider the bootcamp install to be a unique install of their products.
Thanks!
It turns out that the "help document indicating that this is due to the iPad and the debugger host computer not running on the same wifi" was spot on. At my work environment, the wifi and the ethernet lan are on the same network. I was mistakenly assuming that the iPad and the debugger were communicating via the USB cable, but this is not the case. I think what happens is that FB embeds the ip address of its computer in the debuggable app. The app then connects to FB at that IP address.
My problem was that I had the Network Settings of my VM set to "Shared" under the Parallels hardware config set up. My VM then had a 10.211.55.x ip address instead of a 196.196.0.x ip address, which is the range of addresses on my LAN. Changing the setting to "Shared" fixed the problem.
Similar Messages
-
Is there anyway I can set NSZombieEnabled somehow in the adobe air app. I am getting EXC_CRASH etc errors and need a way to find out where the troubled memory item is..
Thanks,
BobbyIt turns out that the "help document indicating that this is due to the iPad and the debugger host computer not running on the same wifi" was spot on. At my work environment, the wifi and the ethernet lan are on the same network. I was mistakenly assuming that the iPad and the debugger were communicating via the USB cable, but this is not the case. I think what happens is that FB embeds the ip address of its computer in the debuggable app. The app then connects to FB at that IP address.
My problem was that I had the Network Settings of my VM set to "Shared" under the Parallels hardware config set up. My VM then had a 10.211.55.x ip address instead of a 196.196.0.x ip address, which is the range of addresses on my LAN. Changing the setting to "Shared" fixed the problem. -
Launching another iOS AIR app from iOS AIR App
Hi
Ideally we would like to be able to launch another AIR iOS from our AIR iOS. Is it possible to do this with AIR? I understand you can do it natively. We would also need to pass a few parameters: such as authentication ID and a URL.
Potentially we need to be able to do this in Android too.
Thanks
BenYes. you can have following chunk in your infoAdditions
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>appA</string>
</array>
</dict>
</array>
then from another AIR iOS application you can call navigateToURL("appA://thisDataWillBeReceivedByAppA")
I have written an Article which lets AIR iOS applications implement Facebook Single Sign-On It uses the same techniques. You can follow http://www.saumitrabhave.com/2011/10/facebook-single-sign-on-for-air-ios.html for more details.
Thanks,
Saumitra -
Some current apps won't run under IOS 4?
Just got this from RunKeeper
We wanted to reach out and warn you that the RunKeeper Free and RunKeeper Pro apps that you currently have on your phones are not iOS 4 compatible. New versions that are iOS 4 compatible are in the queue awaiting Apple's approval. We don't know if they will get approved before tomorrow (we hope they do), but if not, it should be any day now. In the meantime, if you wish to continue using RunKeeper while you are waiting, hold off on downloading iOS 4 until our next app version gets approved.
Is this going to be a general problem with older apps?dlcrouch wrote:
Is this going to be a general problem with older apps?
I suspect there are three categories:
1. Apps which will not run under OS4
2. Apps which will run under OS4 but not support multitasking
3. Apps which will run under OS4 and support multitasking
I understand Navigon has a new version in the wings in Cat 3.
Hopefully the iTunes app store will identify those which will not work in OS4. But I suspect we may learn about some the hard way, starting tomorrow.
Phil -
Problem starting AIR app from windows server 2003
Hello,
I have an AIR app that I am trying to run using a c#
webservice under Win 2003.
I am starting the application process (air .exe file) as the
"Network Service" user which has full-rights on the app-folder and
app-working folder. The problem is that once with the applications
the "Adobe AIR Updater.exe" process is starting to (using the same
user N.S.) and both of the processes stop responding.
I have tried to start the process as "Local Service" with
"Desktop Interaction" too but unfortunately with no result.
I must tell you that under XP and Vista it runs perfect...
Is there any security issue related to win 2003 or any way i
can start an air app from command line.
Also i am interested why "Adobe Air Updater.exe" is starting
?Not sure about copying eulaAccepted file from one location to another - that would really depend on which user account your service is running under.
A better approach (IMHO), is to open the services window (My Computer | <right-click> | Manage, then navigate to Services and expand the tree) so you can see your service on the RHS.
Stop your service, then inspect it's properties, select the 'Log on' tab, then check the checkbox which says "Allow system to interact with desktop". Apply the change, then restart your service.
next time the AIR runtime prompts you to accept the EULA, the window will appear on the screen, so you can click "I accept".
After accepting, reverse the procedure which allowed the service to interact with the desktop, and make sure that you have modified the registry to prevent AIR from updating as mentioned in:
http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3 d11c0f59823a-7ff0.html
You should be all set. -
AIR app will not run on Win XP
I craeted an AIR app for my company's sales team. I've passed it around and it works fine on most machines (mostly Dell laptops running Windows XP). I have one salesman who was able to run earlier versions of the app, but now opening the app does nothing. I can see it running in the background when I look at the Processes tab in Windows Task Manager. No one else has had this problem. I've tried uninstalling and reinstalling both the app and the AIR player (version 1.5.3.9130). Are there any Windows security settings he might have set that would prevent an AIR app from opening?
I ran the install log and I'm including the contents to see if you can make any sense of it
. The only thing that sticks out is a line "Application not located", which I highlighted below. Otherwise it looks like it installed
just fine. I appreciate your taking a look at this.
Starting app install of file:///C:/Documents%20and%20Settings/Andrew.esposito/Desktop/ROI_CalculatorAir-060310.ai r
UI SWF load is complete
UI initialized
Unpackaging to C:\Documents and Settings\Andrew.esposito\Local Settings\Temp\flaA2.tmp
unpackaging is complete
application is bound to side-by-side version 1.0
application is bound to this version of the runtime
app id ROI-CalculatorAir3
pub id 579DB9134D64DA8D12906F2BE8761198D0983B68.1
Application not located
Waiting for user confirmation
User confirmed action: install
creating native installer in: C:\Documents and Settings\Andrew.esposito\Local Settings\Temp\flaA3.tmp
native installer creation complete
Starting install
Destination for installed application is C:\Program Files
Beginning install
Installing C:\Documents and Settings\Andrew.esposito\Local Settings\Temp\flaA3.tmp\setup.msi
Execution complete; beginning commit phase
Commit complete
Re-launching application from C:\Program Files\ROI_CalculatorAir3\ROI_CalculatorAir3.exe
starting cleanup of temporary files
application installer exiting -
How do I stop iTunes (10.7) from automatically launching upon restart? "Open at Login" is NOT checked in the dock and I have removed the app from Login Items under Users/Groups. I am using a MacBook version 10.7.5. Thank you!
Thanks for the response gakker, but I've double-checked the camera / iPhoto / Image Capture scenario, and I'm 100% positive it's got nothing to do with that.
Plugging in my iPhone has no effect on anything related to this.
The other thing I should have mentioned is that when iTunes on my Mac is NOT running, then nothing happens on my iPhone screen when I plug it in to my Mac. I only get the "Sync in progress" message when iTunes IS running.
It's interesting though that you say you also get this "Sync in progress" message, albeit only for a second or two though.
Can I just double-check something with you however... When you say:
+"at no time was my iTunes playback interrupted"+
do you mean the iTunes on your Mac? Because the problem I have is that the iPod-playback on my iPhone is interrupted.
So can you clarify that for me, please? If you have music playing on your iPhone, and you then plug your iPhone into your Mac when iTunes is running on your Mac, does the music playback on the iPhone get interrupted? -
Any solution for Launching Air Apps from Sandboxed Chrome and Safari Browsers?
Before we go and build our own plug-in (Ugh!)...
As of early this year, we could no longer launch our Air application from Chrome. Now Safari (with Mavericks) has Sandboxed Flash with their browser and it will no-longer launch our application.
Does anyone have any helpful advice (beyond building our own plug-in)?
Thanks,
LeoFor the Chrome issue, I added instructions on how to manually enable an exception so that the plugin could run. The easier way to get it working is to have them install an Air app from the browser using a Flash badge. This didn't work for us since our app needs a native installer. Another option is to have our user install another Air app from our site. The exception is created for the site and the Air plugin so even though it would be a different app, once they allowed the plugin on our site, we could launch the natively installed app after that.
I just discovered the Safari sandbox issue on Mavericks. I haven't tried either of these approaches on Safari yet. Is it the AdobeAAMDetect plugin in Safari settings that needs to be allowed?
http://support.trainerroad.com/entries/22547739-How-do-I-allow-TrainerRoad-to-be-launched- from-the-website- -
How can I disable the Photos app from automatically running when I plug in my iPhone?
How can I disable the Photos app from automatically running when I plug in my iPhone?
I have no intention of ever using Photos, in fact, having to abandon Aperture takes me one step close to moving back to Windows, but I digress.
I just want to NOT have to kill the Photos app every time I plug in my phone.
Thanks.I am still seeing the option Image Capture, like shown in the screenshot that Rysz posted. But it is another example of the hide-and-seek Apple likes to play with us.
The option has to be set for each device individually. With the device connected to USB, you have to click the tiny disclosure triangle in the lower left corner of the sidebar to reveal the option.
I was perfectly happy with the program I paid for (Aperture), and now to maintain the functionality I have to pay for another application (LightRoom) to get the functionality that I paid for in Aperture.
Aperture 3.6 is working well with Yosemite. I will use it, as long as I have a Mac, that will run Yosemite or a compatible system.
Have you looked at Capture One? It looks much more similar to Aperture than Lightroom. -
I can´t syncronize my Iphone 5 with Itunes 11.1.5.5. The option looks like locked in the menu. I have tried reinstalling Itunes but this is not the solution. Actually my PC runs under Windows 8.1. and Iphone runs under IOS 7.1. Someone can help me, please?
It seems I have solved my own problem . . . well hopefully !! ;-)
I was using a 'non' Apple cable. When I swithced to using the stock cable that came with my iPhone, iTunes can now see that I have a 'Device' and identifies it correctly as my iPhone.
Hopefully this may help others . . . ?
Cheers,
Grant. -
How to compile an .air app from the ADT command line?
Hi,
I would like to compile an .air app from the ADT command line.
Does anybody have an example?
I don't know how to add the AIR SDK path and a folder to it.
Is there a generator for the command line availabble?
ThanksCorrection: it seems that Applescripts and some similar scripts can be called from the command line using "osascript scriptname". I don't speak automator but you might like to try it. osascript seems to come with severe limitations though, for instance it doesn't allow user interaction such as dialogue boxes.
-
Launching an AIR app from another (when offline)?
I have a pair of AIR applications that are meant to work
together as part of an application suite. One feature is that a
user should be able to click a button in APP_1 and launch APP_2 (if
installed). To do this I created a "LaunchButton.swf" that loads
"air.swf". This works GREAT when the user is online and "air.swf"
is able to be loaded from "
http://airdownload.adobe.com/air/browserapi/air.swf".
I tried to copy "air.swf" locally and use that instance but I am
guessing that it doesn't work due to security restrictions.
If there are any AIR engineers reading this (Oliver?) please
let me know if there is a solution to "Launching an AIR app from
another (when offline)?"
Thanks!I think theoretically it shouldn't work, and doesn't by the
response you give. Remember a functional work around isn't always a
fix. What you've essentially done is loaded the air.swf into a
sandbox bridge, bridging it between a web sandbox and an
application sandbox, therefore you're able to call its methods
without security errors. However, if the air.swf loads in another
swf, maybe a helper swf, you won't be able to access any methods in
that swf, neither will the air.swf. To my understanding, it's not
grandfathered into the sandbox bridge, but retains its web sandbox.
Before going crazy about the bad news I may have just given,
wait until Ted returns to give you a response. I could be way off
par here :) Good luck! -
Start Air app from shell (adb shell am start)?
SDK: 2.6
Im trying to auto start my app when I push it to a device for testing. Im using the adb shell with the "am start" command.
Example In Bash: $am start air.SampleProject
Returns the error:
Starting: Intent { act=android.intent.action.VIEW dat=air.SampleProject}
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=air.SampleProject flg=0x10000000 }
Help?
I have found you have to start the start or maybe add something else int he manifest but I cant figure it out. Is there a way to start a air app from shell?Using ADL
$ adl releaseDirectory/yourApp-app.xml
That's it. Just make sure you have your SWF file to be called from the application descriptor. -
I have Firefox 6.0 running under Windows XL. When I forward an email with a URL in it, my recipients tell me the URL is not highlighted and they have to cut and paste it into their browser. Why? How can I get my forwarded URLs to be highlighted?
If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
This one will create the form, database and send out the emails...
http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
"I may receive some form of compensation, financial or otherwise, from my recommendation or link." -
The problem is with the obtuse error message put out by Windows's program loader. It reads, in part, "..is not a valid Win32 application." The application runs everywhere except on Windows XP. Looking for root cause of the problem. It's a very
simple application. Only a few lines of code.
C:\Packaged-Software\32-BIT\Reboot.exe is not a valid Win32 application.
Proposed nature of the problem:
1. The file was downloaded from a website but the download was incomplete.
2. The full file system filename path contains bad characters such blank space.
3. Visual Studio constructed an application that won't run anywhere much less on XP.
4. The supporting libraries are not properly installed (e.g. .NET Framework4, and VCREDIST).
Retorts:
1. The file wasn't downloaded from a website and is intact.
2. The filename path doesn't contain any spaces.
3. The application runs under Windows 8.1. Also on Windows 7.
4. The supporting libraries are properly installed.
So, what's the problem? One surely will not discover the root cause from "not a valid application."
Body must be 4 to 60000 characters long. I had put the code here. It isn't 60000 character long. But it validated as if there are more than 60000 characters. Sorry for the incomplete submission due to website construction error.
MARK D ROCKMANHi F7H2fw,
How did you develop the application ?
Here is a similar symptom and this may explain the issue somehow:
Setup.exe is not a valid Win32 application
http://blogs.msdn.com/b/vsnetsetup/archive/2012/10/16/setup-exe-is-not-a-valid-win32-application.aspx
I suspect there is a compatibility issue here .
Considering this is more likely a developing issue .It is recommended to ask for help from our MSDN Forum .They are more familiar with the developing issue .If it is possible ,please attach the code in that thread .Thanks for your understanding and cooperation.
MSDN Forum
https://social.msdn.microsoft.com/Forums/en-US/home
Best regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Maybe you are looking for
-
I have just down loaded the new iTunes and after completion i discovered that all of my imported non-purchased music was missing and my purchased music was now only available from the cloud. How do i retrieve the old vertsion of iTunes? I also do not
-
How do I clone an Iterator so that I can use a nested iterator over an ArrayList? The problem with the code sample below is the inner iterator (Iter2) advances the outer iterator (iter) so that the outer iterator only examines the first cell in the A
-
Satellite T130 keeps restarting instead of shutting down
Just bought a refurbished Toshiba Satellite T130 laptop pre-installed with Windows 7, and since we got it, it has had a problem shutting down. When I press Shut Down, it shuts down ok, all the lights go off as if it just shut down, and then a couple
-
Hi, For the 3rd party system to support AS2 what all are the pre-requisites for it?What all the softwares 3rd party system should have to support AS2 protocol? In XI we are using See Burger AS2 adapter. Best Regards, Harleen Kaur Chadha
-
Airplane power for MacBook Air?
I am taking a 14 hour flight this summer and I will be bringing my MacBook Air (Magsafe 2) and my iPhone 5. What accessories do I need to keep myself powered up on an American Airlines flight on a 777 that uses DC power? I read they don't use the EmP