I created a app on the platform Adobe AIR for Android, which requires for AIR. The app is very popular in the Android Market, but many users complain of problems with the installation of Adobe Air runtime.
For example these phones users: LGE LG-P698, LG Pecan, HTC Wildfire. But judging by the fact that users have access to the installation of Air, their phones are compatible with it.
Tell me how do I solve the problem?
In addition, I have a few questions:
Decides whether the problem of export application with embedded AIR runtime?
I build my apps with the help of ADT. How in this case to make embeding AIR runtime?
Is it possible to prompt the user to download and install older versions of AIR? Where to find its?
I hope to help, because the problem is global.
Maybe you could use the captive runtime AIR, which bundles the application with AIR. It produces bigger files, but the installation procedure is simpler, also perhaps the combatibility problems will go away.
You can read more ie. here: http://news.ebscer.com/2013/02/why-you-should-use-the-captive-runtime-for-your-android-apps/ or just google for "android air captive"
Related
I've never deployed an app before on an Android device, I've always worked on iOS devices, and it seems like you can't run/debug an app directly to the device with captive runtime, like in iOS at least.
When I click on run/debug to install the app directly to the device (I'm using IDEA) and the app gets installed, the moment the apps starts a message appears saying that I have to install Air, this didn't happen in iOS.
I wonder if I'm missing some configuration maybe.
Any ideas?
Yes this is certainly possible. It sounds like you aren't actually including the captive runtime (although I realise you think you are).
Unfortunately I don't use IDEA so I can't give you any specifics on that.
I use Flash Pro CC 2014 but it should be possible regardless of the IDE being used. Make sure you're using an upto date version of the AIR SDK.
I searched for alternatives to restart my android application, but the only way I found to reboot is build with Flex.
Can i restart my android adobe air app with as3 flash? How i do it?
You can't do it with anything built into Adobe AIR on mobile. The capabilities of AIR are extremely limited compared to native applications. You would have to build an AIR Native Extension (ANE) to handle it. Worth noting that I don't think this is possible at all on iOS (natively or otherwise), so if you are deploying to both you would need to account for this. This would likely also be the reason why you can't do it in AIR for Android, as AIR for mobile tends to appeal to the lowest common denominator. If one can't do it natively, it is likely Adobe didn't include it for the other.
See this question on how to do it natively:
how to programmatically "restart" android app?
We've developed a Hybrid App for Android Mobiles. We wanted it to be compatible with Windows and so we used Adobe PhoneGap Build to generate .XAP package from the existing Source Code.
We're are sure that this .XAP package could be easily deployed into a Windows Mobile Phone using the Deployment Tool/ publishing to Windows Phone Store.
But how about targeting a Windows Tablets/ Surface Mobiles. Do they use the same package(.XAP) type?
My Colleague Suggested that We need to develop a Native App from the scratch to Target the Windows Tablets/Surface which would be even compatible with Windows8 PCs/Laptops.
This breaks the whole ides of Hybrid. But my view is that Why can't we use the same source code (in HTML5,CSS3,JS,JQuery,JQUeryMobile) to generate the package compatible with Windows Tablets/ Surface. If so how? If not Why?
Also let me know if Windows Tablets and Windows Phone platforms are completely different.
Disclaimer: I'm not a phone developer, just a guy with some knowledge I've picked up on this subject.
Firstly, by "Windows Tablets" I imagine you're referring to the Windows RT OS? Or are you referring to Windows 8/8.1 apps in the Store?
In any case, Windows Phone 8 / Windows RT apps can all be developed using a front-end stack (HTML/CSS/Javascript).
You can easily create apps for Windows and Windows Phone devices from a single project, using the language you prefer.
source: https://dev.windows.com/en-us/getstarted
The moral of the story is that you can develop apps for Windows/Windows Phone/RT using a variety of different languages, including JS with HTML/CSS. It might be a good idea to read that link and check out some of the samples/tutorials there, since some of them appear to directly apply to your situation.
Hope that helps.
i am a newbie in flash programming. i got a issue with adobe air. As i have done all the things with Air for android. I tested with air in android sdk emulator. everything's working fine but the thing is How to run flash android apps without installing adobe air? Are there any tools or converters available for this. If any please suggest me.
Thanks.
Captive Runtime on Android since AIR 3.0 won't need to have AIR installed as the runtime will be bundled within the app.
If you're using Flash Builder, go through Captive Runtime packaging in Air 3.0.
If not, follow this : Installation and deployment options in Adobe AIR 3
But if you want to use Flex or Flash, you need Air. Otherwise
you can use another cross-platform tool, like Phonegap.
Or if you want small, lean apps, with maximum device compatibility, nothing compares with using Java and the stock Android SDK.
If you're using Flash Professional then go to the steps
go to in publish settings tab and click on Target settings icon
put your general information and go to the Deployment Tab
choose your certificate and fill password then
select radio button of Device release
next is select radio button of Embed AIR runtime with application
if your Device is connected then click the check box of Install application on the connected Android Device.
then Publish It.
Note: this steps is showing in Flash Professional cs5, cs5.5 and cs6 maybe because i am using cs6 so check it first
Enjoy
You can use the captive runtime option, which packs air into the native application package. Other than that, you don't have any other option to deploy your app other than converting it to native Java code.
If you're using FlashDevelop, there's a file called PackageApp.bat in your main app directory. Just run it, and there you can choose to build normal, debug and captive runtime, for android and ios.
Adobe AIR is pretty heavy. So is it necessary to be installed on my phone? Are there any alternatives to it..something lightweight.
Start out by reading this pdf, it will give you all the information you need. http://help.adobe.com/en_US/flex/mobileapps/developing_mobile_apps_flex.pdf
Short answer:
If a user who doesn't have Adobe AIR
on his or her Android phone tries to
install Adobe AIR application he or
she will be presented a dialog asking
the user to install AIR and would be
taken to Android Market Place from
where the user can install AIR.
Another claim in this matter:
Right now, there is no dependency
model for Android, thus users must
fulfill the dependencies of an
application manually.
Taken from this thread: http://www.quora.com/Do-Android-end-users-need-to-install-Adobe-AIR-manually-to-use-AIR-apps-on-the-platform
Yes, if you want to use Flex or Flash, you need Air.
Alternatives?
Well, you can use another cross-platform tool, like Phonegap.
But if you want small, lean apps, with maximum device compatibility, nothing compares with using Java and the stock Android SDK.
Edit:
P.S. "Heavy" is the word: requires ARMv7-A, FPU, Android 2.2
Many phones still being sold (as of 6/2011), such as LG Optimus V, do not meet these requirements.
http://www.adobe.com/products/air/systemreqs/
You may find these links useful
http://www.adobe.com/devnet/devices/android.html
See also Plastic Sturgeon's comment here: Choosing flash/openGL/other animation for an android app?