cahakgeorge / android-python27 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-python27
Automatically exported from code.google.com/p/android-python27
Is there a way to stop the Python Script Service?
The Python Script Service just keep running in background after my python
script finished.
Original issue reported on code.google.com by [email protected]
on 5 Jun 2012 at 12:17
Is it possible to stop all services (both foreground and background) as soon as
script ends?
Original issue reported on code.google.com by [email protected]
on 13 Jul 2012 at 11:25
Is it possible to change the the grey titlebar where there's the text "SL4A
Title" ?
Original issue reported on code.google.com by [email protected]
on 14 Jul 2012 at 10:54
What steps will reproduce the problem?
1. Install PythonAPK.apk
2. Run PythonAPK and choose install
What is the expected output? What do you see instead?
Expect to see toast. Actually see error stating that the application unexpectly
stopped.
What version of the product are you using? On what operating system?
GoogleTV by Sony.
Please provide any additional information below.
Tried both pre-built PythonAPK.apk downloaded here, and PythonAPK.apk built
from source. In additional test, I found that SL4A and python-for-android do
not work either.
Original issue reported on code.google.com by [email protected]
on 5 Jun 2012 at 10:21
What steps will reproduce the problem?
1. Install Necessitas
2. Import into Eclipse PyDroid project
3. Build path / Configure build path
4. Project Clean / Build Project
What is the expected output? What do you see instead?
No Eclipse errors, 9 errors on QtActivity.java:
The method onServiceConnected(ComponentName, IBinder) of type new
ServiceConnection(){} must override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 178 Java
Problem
The method onClick(DialogInterface, int) of type new
DialogInterface.OnClickListener(){} must override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 167 Java
Problem
The method onClick(DialogInterface, int) of type new
DialogInterface.OnClickListener(){} must override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 122 Java
Problem
The method onClick(DialogInterface, int) of type new
DialogInterface.OnClickListener(){} must override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 230 Java
Problem
The method onServiceDisconnected(ComponentName) of type new
ServiceConnection(){} must override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 213 Java
Problem
The method run() of type new Runnable(){} must override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 204 Java
Problem
The method loaderReady(Bundle) of type new IMinistroCallback.Stub(){} must
override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 200 Java
Problem
The method onClick(DialogInterface, int) of type new
DialogInterface.OnClickListener(){} must override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 366 Java
Problem
The method onClick(DialogInterface, int) of type new
DialogInterface.OnClickListener(){} must override a superclass
method QtActivity.java /PyDroid/src/org/kde/necessitas/origo line 350 Java
Problem
What version of the product are you using? On what operating system?
Eclipse Juno Service Release 1, Windows 7
Please provide any additional information below.
I would like to develop a simple Pyqt application for Android,
so I started from the PyDroid template.
Before I had successfully imported, built and tested on Android the
PythonAPK project.
Original issue reported on code.google.com by [email protected]
on 3 Nov 2012 at 7:51
What steps will reproduce the problem?
1. install the apk with the script included (android-python27)
2. run it, it will sometimes work partailly.. the first time i ran it it worked
fine... but then stopped.
3. android service and/or my program crashes.
What is the expected output? What do you see instead?
all unread and read sms texts are collected from my android phone
(droid.smsGetMessages(0) and droid.smsGetMessages(1) ) and then sent to my
other phone as specified by number i give (using smsSent('01115555555555','foo')
Expected: i receive the sms messages from the device program is installed on,
to the phone with the number i provided.
INSTEAD: i may get one sms from the device installed on, or a may get a few...
but usually nothing, I get an android system error "Unfortunately, program has
stopped"
What version of the product are you using? On what operating system?
I am using android-python27 cloned, and it works for all my apps. on Ubuntu
(11.10 i think), and running the apk install on my samsung galaxy s2.
Please provide any additional information below.
I will attach the apk file, as well as the manifest. I'm assuming that perhaps
my manifest isn't set up exactly right?
Note: the majority of the code in hello.py is parsing the sms's, this all works
correctly.. the issue is with the sendSms call. Can you please help?
Original issue reported on code.google.com by [email protected]
on 5 Nov 2012 at 6:24
Attachments:
What steps will reproduce the problem?
1. Open PythonAPK.
2. Tap the Home button. Press and hold Home to get list of Recent apps.
3. Tap PythonAPK.
Instead of returning to the running instance of PythonAPK, it restarts the app,
stopping current actions and losing variable states. Particularly problematic
on Gingerbread, but reproducible on ICS with the Recent Apps button.
What is the expected output? What do you see instead?
Using Home/Recent should return to the current running instance of PythonAPK.
Instead, the app is restarted. Details below.
What version of the product are you using? On what operating system?
Latest; Windows.
Please provide any additional information below.
Using the BACK key to return to the PythonAPK, say from the browser, works
fine: it returns to the already running instance (logcat: "moveTaskToBack").
Likewise tapping the PythonAPK icon from the homescreen. When attempting to use
Home/Recent, the logcat reveals:
V/sl4a.FutureActivity:50(1035): FutureActivity created.
W/sl4a.FutureActivity:59(1035): FutureActivity has no task!
I/ActivityManager(181): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] cmp=com.android.python27/.ScriptActivity } fr
om pid 1035
I/Process (1035): Sending signal. PID: 1045 SIG: 9
D/PythonAPK(1035): Killed process 1045
The process "com.android.python27" then dies, and a restart is scheduled in
5000ms. The issue appears to relate to FutureActivity.java, where the code
behind the log entries is found.
I would be grateful for any suggestions as to how to fix/avoid this issue, as
the restarting process can be disrupting/confusing to users, and cause some
freezing of the Android interface.
Original issue reported on code.google.com by [email protected]
on 7 Dec 2012 at 2:28
Removed } from lines 25 and 27, to make bash working :)
Original issue reported on code.google.com by [email protected]
on 10 Nov 2012 at 12:32
What steps will reproduce the problem?
1. Run Eclipse
2. go to File->Import,
What do you see instead?
Archive for required library:
'libs/armeabi/libcom_googlecode_android_scripting_Exec.so' in project
'PythonAPK' cannot be read or is not a valid ZIP file
What version of the product are you using? On what operating system?
Win7
Original issue reported on code.google.com by [email protected]
on 25 May 2012 at 11:13
What steps will reproduce the problem?
1. Including MS Access database file in my_python_project.zip
2. Create an apk file using eclipse
3. Run on emulator/samsung galaxy tab
What is the expected output? What do you see instead?
The app need to run on the Galaxy tablet and create a text file with desired
results(summary). The app crashes instead.
What version of the product are you using? On what operating system?
Samsung Galaxy tab. Android( Honeycomb Sandwich)
Please provide any additional information below.
I am accessing microsoft access DB in my python scripts. I included my database
file along with my_python_project.zip file. The python apk file installs but
crashes later on. Please suggest suitable ways of including MS Access database
in python apk file.
Original issue reported on code.google.com by [email protected]
on 16 Oct 2012 at 7:49
Added to print the script result
Original issue reported on code.google.com by [email protected]
on 27 Sep 2012 at 2:12
What steps will reproduce the problem?
1.Place python_scripts_r13 contents into res/raw/my_python_project.zip
2.Rename test.py to overwrite hello.py
3.Install and attempt to run
What is the expected output? What do you see instead?
The full test sequence should begin, instead it fails silently with the
following logcat output http://pastebin.com/C80tUMA3
What version of the product are you using? On what operating system?
Revision a7101e615939 (latest at the moment)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 15 Jun 2012 at 11:12
What steps will reproduce the problem?
1. edit hello.py and add anything, even simply:
droid.webViewShow('http://google.com')
2. zip the new hello.py as my_python_project.zip
3. recompile with new zip and install on phone
What is the expected output? What do you see instead?
It should run just like the original hello.py, but this time open a webView and
display google.com
What version of the product are you using? On what operating system?
the current download. Windows and Ubuntu.
Please provide any additional information below.
I have also tried dropping python 2.6 zip + extras, renaming globalvars, etc..
same problem. the steps above (1,2,3) produce the problem on the simplest
level. why doesn't webViewShow() work?
Also, the script I'm wanting to compile to apk imports urllib2, mimetypes, os,
simplejson, and many other modules. I have it running as an apk just fine on
platform 1.6 where you must also download the interpreter separately, but it's
losing everyones interest because people get confused if they have to download
the app, then the python interpreter, then back to the downloads folder to
re-try installing the app.
Please help me.
Thx.
Original issue reported on code.google.com by [email protected]
on 8 Oct 2012 at 4:55
What steps will reproduce the problem?
1.Create .apk, install on the phone
2.Run Python command line
3.import md5,
4.import sha1
What do you see instead?
File "<stdin>", line 1, in <module>
File "/home/tony/Desktop/xcross/android-python27/python-build/build/lib/python2.7/md5.py", line 10, in <module>
ImportError: cannot import name md5
What version of the product are you using? On what operating system?
1. Moto Spice, Adroid 2.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Jul 2012 at 12:08
What steps will reproduce the problem?
1. Bundle the attached file cam.py into apk
2. Run this on an Android phone
What is the expected output? What do you see instead?
Camera app should be launched. Instead, application crashes.
What version of the product are you using? On what operating system?
Tried this on Eclipse 3.7.2 on Ubuntu and Windows XP
Please provide any additional information below.
When the same script file is executed from "sl4a" app on the phone, camera app
is launched and I am able to click and store images on the sdcard successfully.
Please let me know how this issue can be resolved.
cam_logcat_output - Error messages in logcat.
cam.py - Source File
Original issue reported on code.google.com by [email protected]
on 13 Jun 2012 at 10:07
Attachments:
How to add new module without setup ex: PIL and pygame.
Original issue reported on code.google.com by [email protected]
on 27 Dec 2012 at 7:03
Add PyCrypto module
Original issue reported on code.google.com by [email protected]
on 5 Oct 2012 at 7:21
What steps will reproduce the problem?
1. Install and Run PythonAPK.apk
2. Check /sdcard/com.android.python27/hello.py.log
What is the expected output? What do you see instead?
The file exists, but is zero length. I expect to see output to be written here.
In Process.java line 118, the instream gets written into the log file?
What version of the product are you using? On what operating system?
Nexus Galaxy, Android 4.0.4
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 14 Jun 2012 at 7:12
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.