So I have a problem. I have made a little game in pygame with python 3.4. For Python 2.7 there is a way with "pygame subset for android" to build an apk for an android phone. Is there an alternative to make this with Python 3 and pygame?
Try buildozer from kivy, or try QPython on the google play store.
Related
Is the way to do that? Some libraries or suggestions?
I haven't found any information about this
I found 2 ways:
1.POLARIS App Generator An Easy way porting Android App to TIZEN.
2.Port libGDX core project to html5 project using Google GWT plugin and than run this project on TIZEN emulator.
I am working on the windows-8 PC. And i have some HTML app gui which i want to convert to android mobile app.
I am new to phonegap.
How to setup the development environment for phonegap?
1> Following tool android developers app tells to use phonegap cli to create new project :--
http://phonegap.com/blog/2014/04/23/phonegap-developer-app/
This video uses Android sdk to create new project :--
http://www.youtube.com/watch?v=MF6dzbTDwdY
Which is the best methord to start working with phonegap ?
Do we need android SDK if we work with phonegap cli ?
2> This link tells to use commandline or IDE methord to create phonegap projects :--
https://github.com/phonegap/phonegap/wiki
3> What exactly is the relation between android SDK & phonegap cli .. ?
i would recommend you to use Cordova. Why? Yes, there is no realy reason why to do this, It's rather a question of what you like to work with.
I'm using Cordova. Maybe you read the Getting started guide and then the following documentation.
After you installed all, you can open up the CMD and create a new cordova project. If you want to know, how to do this, go on with the posted link above. A little bit under the setup instructions you can find a Guide which explains you, how to setup a new project and so on.
If you work with Cordova, you need Eclipse and i would recommend you to install Genymotion for having more options of deploying an app to a device.
Later on, if you would like to convert an Application to another platform you can use the Phonegap Build from Adobe. But normaly you can use your code like you wrote it for android 1:1 for iOS. Maybe there are some tiny differences, but they would'nt be fixed by the phonegap build i think. So... i would say there is no way to say "You should work with Phonegap" or "You should work with Cordova" it's your choice.
If you want to build app for android locally you'll need android SDK. This is because phonegap/cordova uses the android SDK to wrap the app.
Basically phonegap/cordova uses the SDK to compile the project for android platform and to build the APK file which can be installed in devices. You can interpret as Phonegap/cordova cli is an interface between android technology and cross platform technology. Similarly iOS will need some native technology to work with phonegap. Thiese SDK helps to build and package the app for their own platform which you've written in HTML/CSS/Javascript.
By following this tutorial I upgraded AIR sdk from 3.1 to 4.0, however now I am getting compile time errors that
import spark.transitions.ViewTransitionBase;
The import transitions could not be found.
So it seems like spark.transitions.* just disappeared, if I download AIR sdk 3.1 and put it back, everything starts working again.
EDIT:
The same thing happened to spark.components.ViewNavigator, I can't use it in my project anymore.
Did anyhow have this problem and what are possible best solution?
You didn't overlay the AIR SDK. You simply overwrote it. So it deleted all of the Flex files, too. Easiest fix is to just reinstall it all. Grab the Flex installer from http://flex.apache.org. It will let you choose which versions of both Flex and AIR to install.
I have a android 4.1.2 device and my adobe air as3 apk runs on it. I also have a 4.4.2 device, and the apk doesn't run on that one. I am having a tough time finding out what's wrong, though. Has anyone found this problem too? I would love ddms output, like I am used to from eclipse, but I don't know how to start.
I've googled a little, but the problem seems to be mine alone. I am using Flash CS6 on a windows install as my development environment. Also, the AIR version on CS6 is 3.4.
Any help would be appreciated. I am using a captive runtime.
It's because of the old AIR version. Here's a link saying that the 'new' 3.9 now supports KitKat (Android 4.4.2): http://news.softpedia.com/news/Adobe-Air-with-Android-4-4-KitKat-Support-Out-Now-on-Google-Play-417056.shtml
Try updating your SDK AND your AIR on the phone.
here is the link to download latest air version
http://helpx.adobe.com/air/kb/archived-air-sdk-version.html
-open flash > help > manage air sdk > you can remove add new air here
Does anyone know if it is possible to use travis-ci.org for a pure-as3 project (using FlexUnit) ?
Thanks.
This GitHub Travis-CI ActionScript Demo project is a great starting place to get up and running with UnitTesting a Flash project with Travis-CI.
Much like in FlashBuilder the UnitTest suites and libraries are utilizing Flex; however, your project can be 'pure-as3' project. The demo utilizes OSX Travis worker. The Flash Player will be downloaded from the Adobe website at runtime. All build dependencies (flex sdk, flex unit) will be resolved by Maven with flex-mojos
Many of the Flex-Mojos resources are drying up; however, if you are utilizing the Apache-FlexSDK's you'll want to look here for the latest version.
We do not have built in support for ActionScript, but if it's possible to run on Ubuntu, then it should be possible to test on Travis.
You can install any dependencies as part of the build process with apt-get:
before_install:
- sudo apt-get -qq update
- sudo apt-get -qq install some-package another-package
Looking at the FlexUnit docs, it looks like you need a frame buffer available. You may have some luck using xvfb. We have some docs on that, although aimed towards browsers, it may work for you too.