sl4a

Python for Android APK without dependencies

走远了吗. 提交于 2019-12-04 16:58:54
Is it possible to build an APK using Python for Android that doesn't need Python for Android to be there, i.e. it includes Python? If so, how? I believe this is what you are looking for: https://code.google.com/p/android-python27/ This will embed python into your apk. On first launch it will give you a dialog stating it is "installing". This part will install your script along with an integrated version of python. You are also able to embed different versions of python if you have a preference (2.6, 2.7, & 3.2). Tutorials to get started are found here: https://code.google.com/p/android

Can I sell my SL4A app on Android Market [closed]

走远了吗. 提交于 2019-12-04 11:17:04
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I want to develop an application in Python for Android using SL4A and I want to know whether is possible to sell it as an application on Android Market. I believe you should be able to after you have embedded your script into an APK. Take a look at this on the android-scripting wiki. But this APK still requires an installed interpreter which makes it not really comfortable. The APK includes a

speech recognition reduce possible search results

て烟熏妆下的殇ゞ 提交于 2019-12-03 16:13:58
I have started with Speech recognition using android, sl4a and python and so far, it works fine. My user is just supposed to input numbers between 0 and 9 with his voice. Is there a way to tell android to only search in those number and therefore reduce the time of recognition (and probably errors) ? No. You cannot change what google returns. You can only process the results. Fortunately, you can process the results to increase the chance of a match. For example, you could use a phonetic matching algorithm like Soundex Using Soundex or something similar, if the recognizer hears something like

How can I package the whole python interpreter in an Android APK?

為{幸葍}努か 提交于 2019-12-03 13:12:30
I know about SL4A and how I can run Python scripts in Android. I need to know how I can package the whole Python interpreter inside my APK so my end-users won't have to download and install SL4A before running my App. Thanks. piertoni Try looking at kivy.org . It's a python on android based Multitouch GUI,inside the documentation is explained how to create a package with all inside to publish on Android shop. I also remember that there was a chapter on the book Pro Android Python with SL4A explaining how to pack all and publish. Hope this helps There's the android-python27 project, which

SL4A vs Ruboto on Android Application Development

让人想犯罪 __ 提交于 2019-12-03 12:03:09
问题 I am thinking about creating apps on Android using JRuby (or a suitable variant of Ruby for Android). According to my research there are two current projects that support Ruby development on Android: Ruboto SL4A From the FAQ of the Ruboto wiki on github it seems like Ruboto is ready for application development, but does not yet support JIT compilation, and the application has to be packaged with libraries which give it a big footprint (for mobile device installation). I don't have enough

Starting with Android: Java or Python (SL4A)

自闭症网瘾萝莉.ら 提交于 2019-12-03 05:11:40
问题 I just ordered an Android smartphone and want to start playing around with creating my own applications. Now the question is which language to use, the native Java or Python using SL4A (former ASE). I tend to Python, as I know it much better than Java, but I'm wondering what I would be missing using a "second class" language on Android. On the SL4A website it is also stated to be alpha quality software, which is not exactly encouraging. I'm also not quite sure what the limitations of the

What are the limitations of Python on Android?

陌路散爱 提交于 2019-12-03 02:42:31
问题 I am getting ready to start a little Android development and need to choose a language. I know Python but would have to learn Java. I'd like to know from those of you who are using Python on Android what the limitations are. Also, are there any benefits over Java? 回答1: I investigated this recently for similar reasons. My conclusions were that I could not use Python to develop a native-looking application, which is what I wanted at the time. Specifically: Python can't receive callbacks from

Starting with Android: Java or Python (SL4A)

丶灬走出姿态 提交于 2019-12-02 18:28:26
I just ordered an Android smartphone and want to start playing around with creating my own applications. Now the question is which language to use, the native Java or Python using SL4A (former ASE). I tend to Python, as I know it much better than Java, but I'm wondering what I would be missing using a "second class" language on Android. On the SL4A website it is also stated to be alpha quality software, which is not exactly encouraging. I'm also not quite sure what the limitations of the scripting environment are and if they would be problematic. At the moment you cannot create a releasable

What are the limitations of Python on Android?

二次信任 提交于 2019-12-02 16:17:39
I am getting ready to start a little Android development and need to choose a language. I know Python but would have to learn Java. I'd like to know from those of you who are using Python on Android what the limitations are. Also, are there any benefits over Java? I investigated this recently for similar reasons. My conclusions were that I could not use Python to develop a native-looking application, which is what I wanted at the time. Specifically: Python can't receive callbacks from the Java UI classes, so you can't use any native Java UI elements such as ListView, etc. Only dialog boxes etc

Creating an android service to run in the background using python

北城余情 提交于 2019-12-02 07:26:09
I would like to know if it is possible to run an android service in the background (and possibly on boot) without rooting the device, using python and sl4a and if so how would i go about doing that. Hrushi For running a service in background or on boot you have to define a Broadcast Receiver which will basically start the service. Please refer code snippets mentioned in the answer of below question. Android BroadcastReceiver on startup - keep running when Activity is in Background I have seen some information about developing in python on pythoncentral but I have never developed a service