actionscript 3 flash - put game on android device? - android

I made a small game in actionscript 3, tested in device central and it works fine. I would like to know how i can install it on my phone - android htc? Does anyone know how i could achieve this, or know of any tutorials? thanks.

http://gotoandlearn.com/play.php?id=123 and http://gotoandlearn.com/play.php?id=124.

If your Phone processor is 1Ghz, sure you can.
You need to install Adobe AIR 2.7(latest version) in your HTC
Publish your .fla file with the AIR for Android(For this you need not to buy any certificates)For this I recommend Flash professional in CS5.5
Transfer the result .apk file to your device.(If you face trouble sending .apk into your device since android doesn't support transferring .apk files(I am facing this), change the extension of .apk like .jpg(only for testing purpose).
When transferred, change the extension again back to .apk and install.
Thats it, you can run your application in your device.

Related

Translate android app made by Adobe Air

After further researches, I found that for making android apps with AIR technologies, it requires AIR runtime on the android device, and Flash professional CS5, then, youn can publish your flash project under apk extension, even install it as an android application automatically after publishing it, if you are connecting your device via usb cable, and you are already installed the sdk tools with the usb connector package if you're on windows.
So all of this is great, but, I only have the apk extension of the app, with a file called main.swf, i want to know that if I use the Flash professional cs5 to open the main.swf file, will I be able to modify fields labels for example, and then translate the labels from english to french ?. if not, what is the right way to translate an app made by Flash, when you only have the apk decompiled of the application containing the swf file ?
Thank you for your answers, i'm here if you need any further explainaitions about my situation.

Numerous problems with the Adobe AIR runtime for Android

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"

actionscript 3 - how to put .swf on a mobile device?

i have asked this question before but the answer received was not applicable in my situation. I searched the net and still unable to find anything. I have a game in flash actionscript 3.0 and i would like to put it on my htc hero - android phone. Are there any tutorials that state on how to do this please?
thanks.
You can do it using Flash CS5. There is an option to start a new "AIR for Android" project. You can use the code from your existing game. You may have to tweak parts of an existing game because mobile devices are less powerfull, and have different inputs like touchscreens, virtual keyboards and menu buttons.
Generally speaking, you want to make a standalone apk using the Adobe Air paradigm (i.e. you do not put a .swf on the device).
http://www.adobe.com/products/air/sdk/
http://www.adobe.com/devnet/devices.html
Adobe will be rolling Android support into Flash (using the Air paradigm) starting with CS5.5 to be released in Q2 2011; the public beta they released in November 2010 (for CS5) is no longer available: http://labs.adobe.com/technologies/flashpro_extensionforair/
No tutorials come to mind. If I were to search Google, my luck would probably be as good as yours.
I have been recently writing a mobile application using Adobe's Preview of Flash Builder Burrito. There is a project creation option in there to create an Action Script Mobile Application which is exactly perfect for what you are asking in your question.
I assume that the Actionscript game is written by you so you will have no problem moving it into the project created by Flash Builder Burrito.
In fact, I think Adobe just released the final version of Flash Builder Burrito, and you can download it as a fully functional free 60 day trial. That should be more than enough time to bundle up your game and deploy it to the Android app store, or just debug it on your own phone for yourself. Adobe also gives out free licenses for students, and unemployed developers.
Hope this helps. Let me know if you have any trouble it should be very straight forward to wrap up your game and get it on your Android phone.

Complete Development using the Motorola XOOM

I really want to get into Android programming but I only have access to company resources right now. I have the money right now to purchase a XOOM or a development laptop. Is it possible to compile Android apps using the command line on the Xoom while using other apps to write the program files.
What would seem like a dream environment would be if I purchased a XOOM and a BlueTooth Keyboard. Am I dreaming? Developing using older Android devices was naturally limited by the screen space of the device and the underlying hardware also.
No, as far as I know, you cannot develop Android applications from within Android. You will need a Windows, Mac, or Linux desktop environment to develop Android applications. Visit the Android Developer site for additional info on the SDK.
Go for the development laptop, and test your applications on the emulator. Initially you can get friends to test them out on their android for you, and hopefully by the time you make something important enough you will be able to afford your own android.
Check out AIDE. It can build and deploy apps natively on Android.
Google doesn't have a version of the SDK that runs on an android device, although as devices become more powerful this would be a pretty awesome thing to have.
You'll want the laptop, since it can emulate different android devices.
Buy the laptop and get a cheap phone on craigslists.
Although, the XOOM emulator doesn't work at all, so if you want to develop specifically for that tablet it's a good idea to buy it. It's impossible to emulate android 3.0 on any computer on earth :)

Can a desktop AIR app be run on an Android device?

I have an Adobe AIR desktop application, built in Flex Builder 3, that I want to run on an android device, specifically a Samsung Galaxy Tablet. I have put the application on an emulator, going through the steps of installing AIR on the emulator, packaging the application as an APK, and installing the application on the emulator. However, when I click the application, it does not run.
Here is my question: is this even possible? Can a desktop application be run on a mobile device with no changes to the code, or does it need to be converted to a mobile application before compiling? Thanks for any and all input,
T
So the answer is yes you can deploy that to a mobile device. As far as changes to the code is concerned, the answer is it depends. If it's a simple application, you shouldn't have to change anything.
Since there is no way (from what I understand) to create .apk files in Flex Builder 3, I am assuming you are going through the ADT command line to package it?
And you are following all the steps on
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html
Once we have that covered, other questions would be: Are you using any modules or a framework? Any error messages?
From what I understand, Android doesn't support mx components, so depending on what you are doing there, yes you might have to change the code in order to make it work for Android.
Hopefully that helps.

Categories

Resources