EvilZone
Hacking and Security => Mobile Hacking => Android => : Clone March 02, 2014, 07:06:35 PM
-
Hey is there a way to package .py files made from python 4 android and SL4A to android .apk or maybe a better way to package a python made app.
-
I think what your asking is just how to convert a python script to be able to run and install on android, which in that case is fairly easy, just install QPython (https://play.google.com/store/apps/details?id=com.hipipal.qpyplus&hl=en), and run your script from there. Now, if you didn't mean that, I'm guessing you meant writing android applications in python. Seeing as a python script is very different from an entire android application, you can't really easily convert them, as they are two different types of programs. What you can do, is write an application for android (apk), which incorporates that python code. A quick google search brought up a few results:
http://kivy.org/#home
https://github.com/kivy/python-for-android (not actually kivy, but a part of kivy that may be useful to you)
https://ep2013.europython.eu/conference/talks/developing-android-apps-completely-in-python
and of course the QPython I mentioned above.
-
Thanks ;D I will check out the kivy sites, if i have no choice then i guess I have to do java
-
Thanks ;D I will check out the kivy sites, if i have no choice then i guess I have to do java
You should be using java or c++ for android development... but simple scripts can be ran on android, full applications should be java or c++
-
PhoneGap works too, especially considering you can target multiple mobile platforms at once.
-
Is there a free c++ Dev kit for android I only know of C4droid.....java sucks its boring i luck motivation for it
-
java sucks its boring i luck motivation for it
Then you should just quit. Python is completely different and to create not-so basic hello world stuff you will need to learn ADK, which is Java.
-
PhoneGap works too, especially considering you can target multiple mobile platforms at once.
Highly recommend phonegap. It's actually what im working/ learning on now, in correlation with cordova. Basically able to write apps for iOS, Android, Windows phone, and whatever else as long as you have the sdk files. Oh, and it only uses standard web languages (HTML, JS, CSS), which makes it super easy. Great if your in a hurry, or designing something that isn't very graphic intensive (games, simulations, etc.).
-
I guess I have no option but to learn java :'(
-
You say it like its a terrible thing. Java is great for small apps and web based apps. I can't say I am fluent it in it, but I've played around with it and its just as useful as python can be. Plus, knowing both python AND java is never a bad thing ;)