Hello
I have started to read "Pro Android Python with SL4A" by Paul Ferril & immediately failed while trying to execute Python script. I'd be very thankful to anybody who can provide a little explanation about SL4A + Python installation process.
So, my steps:
1) I opened this page, read QR code, downloaded and installed sl4a_r6.apk.
2) I opened previously installed SL4A app on my phone, press Menu > View > Interpreters, the list of the interpreters appeared with only one item - "Shell".
3) I pressed Menu > Add > Python 2.6.2, this started downloading of the "PythonForAndroid_r5.apk". I downloaded that file & installed it.
4) I opened newly installed "Python for Android" and press "Install" button in the app. Some components and scripts were installed successfully.
5) I opened the "SL4A" app again, press Menu > View > Interpreters, the "Python 2.6.2" item appeared in the list together with the "Shell".
6) I pressed "Back" button, the "Scripts" screen appeared with a list of scripts with the "py" extension.
7) I pressed on the "hello_world.py", the little pop-up appeared with the buttons "Execute", "Settings" (at least, with the settings icon), "Edit" and so on.
8) If I press the "Execute" button, I get only the black screen with the label "hello_world.py exited".
9) If in "SL4A" app I press Menu > View > Interpreters and the select "Shell" I will get terminal with the Linux Prompt ".... $". But If I go to the SL4A > View > Interpreters and the select "Python 2.6.2" I will receive black screen with the label at the top: "Python 2.6.2 exited."
So, as from the novice's point of view, the Python process is terminated each time I try to start it. What can be done in this situation?
--
Device: Lenovo Vibe Z2 Pro (international version) / Android 5.0.2, Stock Rom - K920_S230_150506_ROW / Rooted
I have started to read "Pro Android Python with SL4A" by Paul Ferril & immediately failed while trying to execute Python script. I'd be very thankful to anybody who can provide a little explanation about SL4A + Python installation process.
So, my steps:
1) I opened this page, read QR code, downloaded and installed sl4a_r6.apk.
2) I opened previously installed SL4A app on my phone, press Menu > View > Interpreters, the list of the interpreters appeared with only one item - "Shell".
3) I pressed Menu > Add > Python 2.6.2, this started downloading of the "PythonForAndroid_r5.apk". I downloaded that file & installed it.
4) I opened newly installed "Python for Android" and press "Install" button in the app. Some components and scripts were installed successfully.
5) I opened the "SL4A" app again, press Menu > View > Interpreters, the "Python 2.6.2" item appeared in the list together with the "Shell".
6) I pressed "Back" button, the "Scripts" screen appeared with a list of scripts with the "py" extension.
7) I pressed on the "hello_world.py", the little pop-up appeared with the buttons "Execute", "Settings" (at least, with the settings icon), "Edit" and so on.
8) If I press the "Execute" button, I get only the black screen with the label "hello_world.py exited".
9) If in "SL4A" app I press Menu > View > Interpreters and the select "Shell" I will get terminal with the Linux Prompt ".... $". But If I go to the SL4A > View > Interpreters and the select "Python 2.6.2" I will receive black screen with the label at the top: "Python 2.6.2 exited."
So, as from the novice's point of view, the Python process is terminated each time I try to start it. What can be done in this situation?
--
Device: Lenovo Vibe Z2 Pro (international version) / Android 5.0.2, Stock Rom - K920_S230_150506_ROW / Rooted
On July 1, 2015, the first Lipitor diabetes legal action trial is readied to start under tips
RépondreSupprimerof a multidistrict lawsuits.
We attempt to moderate however we reckon this
RépondreSupprimeris not 100 % failsafe.