My favorites | Sign in
Logo
                
Details: Show all Hide all

Today

  • 72 min ago
    PythonAndroidAPI (A description of the Android API available to Python scripts...) Wiki page commented on by stoneyrh   -   great, i love it
    great, i love it

Yesterday

  • 33 hours ago
    FAQ (Frequently asked questions.) Wiki page commented on by wendel.schultz   -   Can I embed this in my own application? I'd like to ship several canned scripts wrapped up in a gui.
    Can I embed this in my own application? I'd like to ship several canned scripts wrapped up in a gui.

Last 7 days

  • Jan 23, 2010
    CrossCompilingLua (A howto for cross compiling Lua for Android.) Wiki page commented on by christop...@gmail.com   -   Hi, is there a simple way (I mean no compilation) to tweak `package.path`? http://www.lua.org/manual/5.1/manual.html#pdf-package.path I was thinking of executing a `.lua` file before any script execution (like /sdcard/ase/boot.lua), and ignore this step if there is no such file found.
    Hi, is there a simple way (I mean no compilation) to tweak `package.path`? http://www.lua.org/manual/5.1/manual.html#pdf-package.path I was thinking of executing a `.lua` file before any script execution (like /sdcard/ase/boot.lua), and ignore this step if there is no such file found.
  • Jan 23, 2010
    issue 183 (ActivityLauncher change has broken ability to launch script ...) reported by charltones   -   What steps will reproduce the problem? 1.Fresh install of latest ASE 2.Install Lua (didn't try with other kinds of scripts) 3.Tap and hold a script, e.g. hello_world.lua 4.Choose start service from the context menu 5.The newly launched service crashes. You can see the stack trace via logcat - a ClassCastException in the AndroidProxy constructor - it is casting the context to an Activity when in this case presumably the context is a Service. What is the expected output? What do you see instead? Not crashing. What version of the product are you using? On what operating system? Latest tip revision of ASE, debugging on Android 1.5 device and emulator Please provide any additional information below. Commenting out the line: mActivityLauncher = new ActivityLauncher((Activity) context, LAUNCHER_ACTIVITY_REQUEST_CODE); means I can launch script as a service again. Problematic revision is: http://code.google.com/p/android-scripting/source/detail?r=3e473a2b5e3495f5ace420bd26b5282f5ded5f63
    What steps will reproduce the problem? 1.Fresh install of latest ASE 2.Install Lua (didn't try with other kinds of scripts) 3.Tap and hold a script, e.g. hello_world.lua 4.Choose start service from the context menu 5.The newly launched service crashes. You can see the stack trace via logcat - a ClassCastException in the AndroidProxy constructor - it is casting the context to an Activity when in this case presumably the context is a Service. What is the expected output? What do you see instead? Not crashing. What version of the product are you using? On what operating system? Latest tip revision of ASE, debugging on Android 1.5 device and emulator Please provide any additional information below. Commenting out the line: mActivityLauncher = new ActivityLauncher((Activity) context, LAUNCHER_ACTIVITY_REQUEST_CODE); means I can launch script as a service again. Problematic revision is: http://code.google.com/p/android-scripting/source/detail?r=3e473a2b5e3495f5ace420bd26b5282f5ded5f63
  • Jan 22, 2010
    CrossCompilingLua (A howto for cross compiling Lua for Android.) Wiki page commented on by charltones   -   I had trouble here, because agcc wasn't in my path. I first downloaded the "official" agcc, but this copy didn't work (bad arm-eabi-gcc path). I then noticed there was an agcc folder in the android-scripting/tools folder. Add that to your path then you can build Lua. {{{ export PATH="ase_src/tools:ase_src/tools/agcc:$PATH" }}}
    I had trouble here, because agcc wasn't in my path. I first downloaded the "official" agcc, but this copy didn't work (bad arm-eabi-gcc path). I then noticed there was an agcc folder in the android-scripting/tools folder. Add that to your path then you can build Lua. {{{ export PATH="ase_src/tools:ase_src/tools/agcc:$PATH" }}}
  • Jan 19, 2010
    InstallingInterpreters (A howto for installing additional interpreters.) Wiki page commented on by johfiner   -   When I click the "add" button to install an interpreter, I only am allowed to choose barcode scanner and shell. There's not a list as there should be. Am I missing something?
    When I click the "add" button to install an interpreter, I only am allowed to choose barcode scanner and shell. There's not a list as there should be. Am I missing something?

Last 30 days

  • Jan 19, 2010
    issue 182 (getInput(password) (Patch included)) reported by benjhay...@google.com   -   I want to be able to prompt for passwords from my scripts. The attached patch adds an optional boolean parameter to the getInput RPC. Builds and runs in my eclipse and emulator. Please let me know if there's anything else I need to do to get this patch submitted. Thank you!
    I want to be able to prompt for passwords from my scripts. The attached patch adds an optional boolean parameter to the getInput RPC. Builds and runs in my eclipse and emulator. Please let me know if there's anything else I need to do to get this patch submitted. Thank you!
  • Jan 19, 2010
    PythonAndroidAPI (A description of the Android API available to Python scripts...) Wiki page commented on by bolli12   -   i am new to this. and i have been assigned work to write scipts to start applications and do things with it.I want to start calculator or calender application using perl on android. has anyone got an idea? where do we get the required API for applications.
    i am new to this. and i have been assigned work to write scipts to start applications and do things with it.I want to start calculator or calender application using perl on android. has anyone got an idea? where do we get the required API for applications.
  • Jan 18, 2010
    issue 91 (Add TCL?) commented on by ralieghhammer   -   I've installed and run scripts in Pats Tcl interp on my Nexus One successfully.
    I've installed and run scripts in Pats Tcl interp on my Nexus One successfully.
  • Jan 18, 2010
    AndroidFacadeAPI (Describes how scripts can interact with Android APIs.) Wiki page commented on by ralieghhammer   -   *Tcl* {{{ package require android set android [android new] set name [$android getInput "Hello!" "What is your name?"] $android makeToast "Hello, $name" }}}
    *Tcl* {{{ package require android set android [android new] set name [$android getInput "Hello!" "What is your name?"] $android makeToast "Hello, $name" }}}
  • Jan 18, 2010
    PythonAndroidAPI (A description of the Android API available to Python scripts...) Wiki page commented on by arne.vagren   -   Should be: "import android; a = android.Android(); a.help()" <br> or on three separate lines
    Should be: "import android; a = android.Android(); a.help()" <br> or on three separate lines
  • Jan 18, 2010
    PythonAndroidAPI (A description of the Android API available to Python scripts...) Wiki page commented on by arne.vagren   -   @itschand03, You might want to try import android a = android.Android() a.help()
    @itschand03, You might want to try import android a = android.Android() a.help()
  • Jan 17, 2010
    PythonAndroidAPI (A description of the Android API available to Python scripts...) Wiki page commented on by Panquisitive   -   I am no good with Java so is it possible to create activities and list activity views and then do the grunt coding in Python and pass lists, results and inputs to/from the activities and python?
    I am no good with Java so is it possible to create activities and list activity views and then do the grunt coding in Python and pass lists, results and inputs to/from the activities and python?
  • Jan 17, 2010
    issue 110 (HTC Hero Soft Keyboard Issues) commented on by Panquisitive   -   Brilliant, getting Python onto Android! really needs GUI to go mainstream. Find Java a pain :) I can confirm the following with onscreen phone keyboard layout in portrait view and qwerty in landscape view on the hero: The landscape 'no line breaks' in text in the editor mode. The trackball producing characters in terminal. The keyboard hiding entry line in landscape mode in terminal when the entry is below the on-screen keyboard. You have to kill the keyboard to see the entered text. (3)The in ability to get the keyboard back in terminal landscape view (switch to portrait press and rotate back again). (5)The landscape 'hold key to get other character' gives letter and character. In portrait mode the XT9 mode predictive text mode does not print word out when selected from selections but if you do individual letters it works. E.g. press 'p' then select 'p' from the choices. ABC mode is very slow and the letter is not picked at the point that another key is pressed, you have to wait for each character so characters can get missed out, in Terminal. Extra finding (may not be a problem). The trackball in portrait mode when the special key is set to the '@'. Pressing the trackball does the same as a new line in Terminal When scrolling in editor view the first press and flick always does not scroll, it returns to start point. However. I can use the 12# key to access characters by long hold and switch to character screen in both landscape and portrait mode in terminal. Thank you ASE 1.6 Firmware: 1.5 Baseband version: 63.18.55.06EU_6.35.06.18 Kernel version: 2.6.27-8dd6deee htc-kernel@and18-2 Build number: 2.73.61.5 146733 CL#61267 Software version: 1.0.0.A6288
    Brilliant, getting Python onto Android! really needs GUI to go mainstream. Find Java a pain :) I can confirm the following with onscreen phone keyboard layout in portrait view and qwerty in landscape view on the hero: The landscape 'no line breaks' in text in the editor mode. The trackball producing characters in terminal. The keyboard hiding entry line in landscape mode in terminal when the entry is below the on-screen keyboard. You have to kill the keyboard to see the entered text. (3)The in ability to get the keyboard back in terminal landscape view (switch to portrait press and rotate back again). (5)The landscape 'hold key to get other character' gives letter and character. In portrait mode the XT9 mode predictive text mode does not print word out when selected from selections but if you do individual letters it works. E.g. press 'p' then select 'p' from the choices. ABC mode is very slow and the letter is not picked at the point that another key is pressed, you have to wait for each character so characters can get missed out, in Terminal. Extra finding (may not be a problem). The trackball in portrait mode when the special key is set to the '@'. Pressing the trackball does the same as a new line in Terminal When scrolling in editor view the first press and flick always does not scroll, it returns to start point. However. I can use the 12# key to access characters by long hold and switch to character screen in both landscape and portrait mode in terminal. Thank you ASE 1.6 Firmware: 1.5 Baseband version: 63.18.55.06EU_6.35.06.18 Kernel version: 2.6.27-8dd6deee htc-kernel@and18-2 Build number: 2.73.61.5 146733 CL#61267 Software version: 1.0.0.A6288
  • Jan 16, 2010
    InstallingInterpreters (A howto for installing additional interpreters.) Wiki page commented on by will.uther   -   ian: I had the same problem (using a rooted phone and ase_16 - not sure if that is important). My solution was to follow ericosur's instructions for perl, but modified for python. - replace references to perl with python - unzip the python_extras in the /data/data/com.google.ase/ dir (as well as the main python zip) - make sure the python executable in /data/data/com.google.ase/python/bin/python has its execute bit set. - I also checked ownership of the newly unzipped files and changed their permissions so they weren't world writable. After that, python seems to run. I still can't get the python scripts to appear - I've unzipped them in /sdcard/ase as it says above, but no luck so far. From my initial bit of debugging, it seems that the original problem was the the python_extras weren't being installed. I don't know why not.
    ian: I had the same problem (using a rooted phone and ase_16 - not sure if that is important). My solution was to follow ericosur's instructions for perl, but modified for python. - replace references to perl with python - unzip the python_extras in the /data/data/com.google.ase/ dir (as well as the main python zip) - make sure the python executable in /data/data/com.google.ase/python/bin/python has its execute bit set. - I also checked ownership of the newly unzipped files and changed their permissions so they weren't world writable. After that, python seems to run. I still can't get the python scripts to appear - I've unzipped them in /sdcard/ase as it says above, but no luck so far. From my initial bit of debugging, it seems that the original problem was the the python_extras weren't being installed. I don't know why not.
  • Jan 15, 2010
    issue 181 (Clipboard (patch included)) reported by benjhay...@google.com   -   I want to be able to get text from and put text into the system clipboard from my scripts. The attached patch adds two RPCs to AndroidFacade: String getClipboard(); void setClipboard(String). It builds and runs on my eclipse and emulator. Please let me know if there's anything else I need to do before this can be committed and released.
    I want to be able to get text from and put text into the system clipboard from my scripts. The attached patch adds two RPCs to AndroidFacade: String getClipboard(); void setClipboard(String). It builds and runs on my eclipse and emulator. Please let me know if there's anything else I need to do before this can be committed and released.
  • Jan 15, 2010
    issue 47 (Launch a short-lived script (i.e. not a service) without dis...) commented on by MeanEYE.rcf   -   Oh, sorry @dantonov. This issue is about short-living script without terminal. So I thought you were addressing the "ability" to close terminal... and continue running in background. My bad! :)
    Oh, sorry @dantonov. This issue is about short-living script without terminal. So I thought you were addressing the "ability" to close terminal... and continue running in background. My bad! :)
  • Jan 15, 2010
    issue 47 (Launch a short-lived script (i.e. not a service) without dis...) commented on by dantonov   -   @MeanEYE.rcf Yes, i know. exit() - last command in my script. I don't expect any activity after exit().
    @MeanEYE.rcf Yes, i know. exit() - last command in my script. I don't expect any activity after exit().
  • Jan 14, 2010
    issue 91 (Add TCL?) commented on by patthoyts   -   I have an version of this which works on my Android 1.6 phone ( HTC Magic ). Binaries at http://www.patthoyts.tk/tclkit/android-arm/ and a patch against the hg tree to enable the ASE side of this.
    I have an version of this which works on my Android 1.6 phone ( HTC Magic ). Binaries at http://www.patthoyts.tk/tclkit/android-arm/ and a patch against the hg tree to enable the ASE side of this.
  • Jan 14, 2010
    issue 180 (Shell PATH has no ":" seperating python and perl paths) reported by kithauler   -   What steps will reproduce the problem? 1. No interpreters installed 2. Install perl 3. Install python 4. Press the "Shell" selection from the interpreter list What is the expected output? $export PATH=$PATH:/data/data/com.google.ase/python/bin:/data/data/com.google.ase/p erl What do you see instead? $export PATH=$PATH:/data/data/com.google.ase/python/bin<no_:_here>/data/data/com.go ogle.ase/perl Notice how the installer didn't put a : between these two paths... What version of the product are you using? On what operating system? ASE r16 Moto Droid Android 2.0.1 Perl 5.10.1 Python 2.6.2 Please provide any additional information below. I'm not sure what problems this causes, but I know that it is not right for a normal Linux environment. Thanks!
    What steps will reproduce the problem? 1. No interpreters installed 2. Install perl 3. Install python 4. Press the "Shell" selection from the interpreter list What is the expected output? $export PATH=$PATH:/data/data/com.google.ase/python/bin:/data/data/com.google.ase/p erl What do you see instead? $export PATH=$PATH:/data/data/com.google.ase/python/bin<no_:_here>/data/data/com.go ogle.ase/perl Notice how the installer didn't put a : between these two paths... What version of the product are you using? On what operating system? ASE r16 Moto Droid Android 2.0.1 Perl 5.10.1 Python 2.6.2 Please provide any additional information below. I'm not sure what problems this causes, but I know that it is not right for a normal Linux environment. Thanks!
  • Jan 14, 2010
    issue 81 (New Feature: Send/receive scripts as email) commented on by MeanEYE.rcf   -   I think the owner should decide.
    I think the owner should decide.
  • Jan 14, 2010
    issue 81 (New Feature: Send/receive scripts as email) commented on by chewychompy   -   This is a feature currently available in r16. Should this be closed?
    This is a feature currently available in r16. Should this be closed?
  • Jan 14, 2010
    issue 47 (Launch a short-lived script (i.e. not a service) without dis...) commented on by MeanEYE.rcf   -   I don't think the Service and Terminal-less application are the same thing. Service is normally something that runs in background but application without terminal will use GUI to communicate with user. My opinion is that this should remain as an issue.
    I don't think the Service and Terminal-less application are the same thing. Service is normally something that runs in background but application without terminal will use GUI to communicate with user. My opinion is that this should remain as an issue.
  • Jan 14, 2010
    issue 47 (Launch a short-lived script (i.e. not a service) without dis...) commented on by chewychompy   -   Issue 1 has already been addressed with the "Start Service" feature. Should this be closed?
    Issue 1 has already been addressed with the "Start Service" feature. Should this be closed?
  • Jan 14, 2010
    issue 179 (Multiprocessing module missing from python) reported by chewychompy   -   What steps will reproduce the problem? 1. running this code. import multiprocessing def worker(num): """thread worker function""" print 'Worker:', num return if __name__ == '__main__': jobs = [] for i in range(5): p = multiprocessing.Process(target=worker, args=(i,)) jobs.append(p) p.start() The code was found here: http://broadcast.oreilly.com/2009/04/pymotw- multiprocessing-part-1.html What is the expected output? What do you see instead? $ python multiprocessing_simple.py Worker Worker Worker Worker Worker Instead a message indicating the Multiprocessing module could not be imported What version of the product are you using? On what operating system? Android 1.6 - r16 of ASE
    What steps will reproduce the problem? 1. running this code. import multiprocessing def worker(num): """thread worker function""" print 'Worker:', num return if __name__ == '__main__': jobs = [] for i in range(5): p = multiprocessing.Process(target=worker, args=(i,)) jobs.append(p) p.start() The code was found here: http://broadcast.oreilly.com/2009/04/pymotw- multiprocessing-part-1.html What is the expected output? What do you see instead? $ python multiprocessing_simple.py Worker Worker Worker Worker Worker Instead a message indicating the Multiprocessing module could not be imported What version of the product are you using? On what operating system? Android 1.6 - r16 of ASE
  • Jan 14, 2010
    issue 47 (Launch a short-lived script (i.e. not a service) without dis...) commented on by MeanEYE.rcf   -   @dantonov About issue no. 1, if you call android.exit() both your script and terminal are killed. You can not longer execute any commands after calling exit().
    @dantonov About issue no. 1, if you call android.exit() both your script and terminal are killed. You can not longer execute any commands after calling exit().
  • Jan 14, 2010
    issue 47 (Launch a short-lived script (i.e. not a service) without dis...) commented on by dantonov   -   1. I've just added "android.exit()" to my Lua-scripts and terminal automatically killed. 2. Long Tap the screen => Shortcuts => ASE => Select your script
    1. I've just added "android.exit()" to my Lua-scripts and terminal automatically killed. 2. Long Tap the screen => Shortcuts => ASE => Select your script
  • Jan 13, 2010
    issue 110 (HTC Hero Soft Keyboard Issues) commented on by finitud   -   I can confirm (3) and (5). From these, (5) is clearly the most annoying, since it prevents the keyboard from being used as usual, and also from typing characters such as accented letters, which are not listed on the "123" input keyboard. Tested on HTC Hero with ROM version 2.73.405.38 and kernel 2.6.27-mck- teknologist-1.91.
    I can confirm (3) and (5). From these, (5) is clearly the most annoying, since it prevents the keyboard from being used as usual, and also from typing characters such as accented letters, which are not listed on the "123" input keyboard. Tested on HTC Hero with ROM version 2.73.405.38 and kernel 2.6.27-mck- teknologist-1.91.
  • Jan 12, 2010
    issue 178 (Unable to import android in fresh install.) commented on by paul.d.bergeron   -   Please close this issue, resolved by reinstalling the python interpreter package 3 times.
    Please close this issue, resolved by reinstalling the python interpreter package 3 times.
  • Jan 11, 2010
    issue 178 (Unable to import android in fresh install.) reported by paul.d.bergeron   -   What steps will reproduce the problem? 1. Install ase 1.6 on droid (not rooted) 2. Run test script of "import android" 3. Script fails with import error, see below: $ export TEMP="/sdcard/ase/extras/python/tmp/" export PYTHONHOME="/data/data/com.google.ase/python" export AP_PORT="48700" export PYTHONPATH="/sdcard/ase/extras/python/:/sdcard/ ase/scripts/" /data/data/com.google.ase/python/bin/python /sdcard/ase/ scripts/test.py $ $ $ $ 'import site' failed; use -v for traceback Traceback (most recent call last): File "/sdcard/ase/scripts/test.py", line 1, in <module> import android ImportError: No module named android $ What is the expected output? What do you see instead? I expect no output, I get an import error. What version of the product are you using? On what operating system? 1.6 on 2.0.1 Please provide any additional information below.
    What steps will reproduce the problem? 1. Install ase 1.6 on droid (not rooted) 2. Run test script of "import android" 3. Script fails with import error, see below: $ export TEMP="/sdcard/ase/extras/python/tmp/" export PYTHONHOME="/data/data/com.google.ase/python" export AP_PORT="48700" export PYTHONPATH="/sdcard/ase/extras/python/:/sdcard/ ase/scripts/" /data/data/com.google.ase/python/bin/python /sdcard/ase/ scripts/test.py $ $ $ $ 'import site' failed; use -v for traceback Traceback (most recent call last): File "/sdcard/ase/scripts/test.py", line 1, in <module> import android ImportError: No module named android $ What is the expected output? What do you see instead? I expect no output, I get an import error. What version of the product are you using? On what operating system? 1.6 on 2.0.1 Please provide any additional information below.
  • Jan 11, 2010
    FAQ (Frequently asked questions.) Wiki page commented on by chewychompy   -   Is there any possibility of python 2.5? I know there are a couple of compatability issues with 2.6 and I'm suffering with one atm.
    Is there any possibility of python 2.5? I know there are a couple of compatability issues with 2.6 and I'm suffering with one atm.
  • Jan 11, 2010
    issue 40 (Add PHP support) commented on by ryanwhowe   -   php support would be very helpfull
    php support would be very helpfull
  • Jan 11, 2010
    issue 2 (Add support for ContentObservers.) commented on by codemaster.rus   -   I'm craving for a listener for incoming SMS/email messages myself... Thanks for all the great work :)
    I'm craving for a listener for incoming SMS/email messages myself... Thanks for all the great work :)
  • Jan 11, 2010
    issue 2 (Add support for ContentObservers.) commented on by dantonov   -   request from CallLog for last called (may be not answered) phone and text to it, would be great. thank you for your work!
    request from CallLog for last called (may be not answered) phone and text to it, would be great. thank you for your work!
  • Jan 11, 2010
    PythonAndroidAPI (A description of the Android API available to Python scripts...) Wiki page commented on by marcjauvin   -   {{{ while 1: print "line1" print "line2" }}}
    {{{ while 1: print "line1" print "line2" }}}
  • Jan 10, 2010
    InstallingInterpreters (A howto for installing additional interpreters.) Wiki page commented on by ian.niko86   -   I'm trying to install the python interpreter. Everytime it says installation unsucessful, but the Python is in the interpreter list. When opened it lists the directory of python and says access denied. Anyone know a way round this?
    I'm trying to install the python interpreter. Everytime it says installation unsucessful, but the Python is in the interpreter list. When opened it lists the directory of python and says access denied. Anyone know a way round this?
  • Jan 09, 2010
    issue 177 (Switch from dicts to named tuples for API results in Python) reported by damonkohler   -   Using named tuples with foo.bar syntax instead of foo['bar'] would make typing on the phone eaiser.
    Using named tuples with foo.bar syntax instead of foo['bar'] would make typing on the phone eaiser.
  • Jan 08, 2010
    issue 176 (pickPhone() or pickContact() do not return any result) commented on by edouard.tisserant   -   Hu... Not sure the patch I proposed alone works... Here is what happens in AndroidProxy.java : public JSONObject pickPhone(JSONArray params) { Intent data = mAndroidFacade.pick("content://contacts/phones"); Sorry being incomplete. Your changes did only fix one part of the problem. Could anyone tell me what to call to get the phone number, and not yet another URI ? Pleaaase :-). Or just a pointer to a usefull doc ?
    Hu... Not sure the patch I proposed alone works... Here is what happens in AndroidProxy.java : public JSONObject pickPhone(JSONArray params) { Intent data = mAndroidFacade.pick("content://contacts/phones"); Sorry being incomplete. Your changes did only fix one part of the problem. Could anyone tell me what to call to get the phone number, and not yet another URI ? Pleaaase :-). Or just a pointer to a usefull doc ?
  • Jan 08, 2010
    InstallingInterpreters (A howto for installing additional interpreters.) Wiki page commented on by luisrodriguezjurado   -   What are the steps to add new interpreters (pascal or others)?
    What are the steps to add new interpreters (pascal or others)?
  • Jan 08, 2010
    issue 176 (pickPhone() or pickContact() do not return any result) Status changed by felix.arends   -   Fixed as of revision 8bf41c1a35. Thanks for reporting.
    Status: Fixed
    Fixed as of revision 8bf41c1a35. Thanks for reporting.
    Status: Fixed
  • Jan 08, 2010
    Revision 8bf41c1a35 (Fixed issue 176: "pickPhone() or pickContact() do not return...) pushed by felix.arends   -   Fixed issue 176 : "pickPhone() or pickContact() do not return any result"
    Fixed issue 176 : "pickPhone() or pickContact() do not return any result"
  • Jan 08, 2010
    Revision 3e473a2b5e (Added the SpeechRecognitionFacade class with an RPC to do sp...) pushed by felix.arends   -   Added the SpeechRecognitionFacade class with an RPC to do speech recognition. Added the ActivityLauncher class responsible for launching an activity and blocking until a result becomes available.
    Added the SpeechRecognitionFacade class with an RPC to do speech recognition. Added the ActivityLauncher class responsible for launching an activity and blocking until a result becomes available.
  • Jan 08, 2010
    issue 176 (pickPhone() or pickContact() do not return any result) Owner changed by damonkohler   -  
    Owner: felix.arends
    Owner: felix.arends
  • Jan 08, 2010
    issue 176 (pickPhone() or pickContact() do not return any result) reported by edouard.tisserant   -   What steps will reproduce the problem? 1. Call pickPhone() or pickContact() from android facade API 2. Pick your Favorite phone number 3. Get empty result (python : {u'error': None, u'id': 1, u'result': None}) What is the expected output? What do you see instead? I would expect the same result as pick("content://contacts/phones") {u'data': u'content://contacts/phones/63#Intent;end'}} What version of the product are you using? On what operating system? Using ase r16 with cyanogen Please provide any additional information below. See proposed patch hereafter. Could someone explain me how do I get the real phone number with result I get from pick("content://contacts/phones") ? --- AndroidFacade.java.orig 2010-01-08 13:48:05.000000000 +0100 +++ AndroidFacade.java 2010-01-08 13:48:36.000000000 +0100 @@ -553,12 +553,12 @@ @Rpc(description = "Displays a list of contacts to pick from.", returns = "A map of result values.") public void pickContact() { - pick("content://contacts/people"); + return pick("content://contacts/people"); } @Rpc(description = "Displays a list of phone numbers to pick from.", returns = "A map of result values.") public void pickPhone() { - pick("content://contacts/phones"); + return pick("content://contacts/phones"); } @Rpc(description = "Starts the barcode scanner.", returns = "A map of result values.")
    What steps will reproduce the problem? 1. Call pickPhone() or pickContact() from android facade API 2. Pick your Favorite phone number 3. Get empty result (python : {u'error': None, u'id': 1, u'result': None}) What is the expected output? What do you see instead? I would expect the same result as pick("content://contacts/phones") {u'data': u'content://contacts/phones/63#Intent;end'}} What version of the product are you using? On what operating system? Using ase r16 with cyanogen Please provide any additional information below. See proposed patch hereafter. Could someone explain me how do I get the real phone number with result I get from pick("content://contacts/phones") ? --- AndroidFacade.java.orig 2010-01-08 13:48:05.000000000 +0100 +++ AndroidFacade.java 2010-01-08 13:48:36.000000000 +0100 @@ -553,12 +553,12 @@ @Rpc(description = "Displays a list of contacts to pick from.", returns = "A map of result values.") public void pickContact() { - pick("content://contacts/people"); + return pick("content://contacts/people"); } @Rpc(description = "Displays a list of phone numbers to pick from.", returns = "A map of result values.") public void pickPhone() { - pick("content://contacts/phones"); + return pick("content://contacts/phones"); } @Rpc(description = "Starts the barcode scanner.", returns = "A map of result values.")
  • Jan 07, 2010
    issue 101 (Additional UI support) commented on by wxlapple336   -   Hi damonkohler, I am an new comer of python on android,I just want to run some automation test on android .can python support ui function ,such as keyup,keydown? Really apprecitate for your work! Hi MeanEYE.rcf, can you share the ui_test.py file? Thanks a lot!
    Hi damonkohler, I am an new comer of python on android,I just want to run some automation test on android .can python support ui function ,such as keyup,keydown? Really apprecitate for your work! Hi MeanEYE.rcf, can you share the ui_test.py file? Thanks a lot!
  • Jan 07, 2010
    FAQ (Frequently asked questions.) Wiki page commented on by djmoh09   -   how do i install the weird *.apk files? there is no great and stunning documentation to find anywhere ? someone help plzz.???? thanks
    how do i install the weird *.apk files? there is no great and stunning documentation to find anywhere ? someone help plzz.???? thanks
  • Jan 07, 2010
    PythonAndroidAPI (A description of the Android API available to Python scripts...) Wiki page commented on by itschand03   -   Is there any document or list containing the APIs which can be called in python. Where are the APIs like makeToast and getInput? I am sorry if this a "DUH" question :(
    Is there any document or list containing the APIs which can be called in python. Where are the APIs like makeToast and getInput? I am sorry if this a "DUH" question :(
  • Jan 07, 2010
    issue 175 (Motorola DEXT Pipe character issues) reported by kerry.humphries   -   What steps will reproduce the problem? 1.when in ASE scripting terminal with qwerty keyboard slid open there is no capability to open the soft-keyboard and no pipe character exists in the keymap. 2. when pressing the ctrl key or the function key(4 squares) on the DEXT no soft keyboard is displayed 3. with the qwerty keyboard closed the soft-keyboard is available when pressing the function key on the DEXT. What is the expected output? What do you see instead? I expect to see the soft keyboard when pressing the function key when the keyboard is slid open What version of the product are you using? On what operating system? os- blur_version.1.1.31.MB200 hardware- Motorola DEXT MB200 version- CHWG2750AA firmware version- 1.5 kernel- 2.6.27 ASE Version- 0.7 alpha
    What steps will reproduce the problem? 1.when in ASE scripting terminal with qwerty keyboard slid open there is no capability to open the soft-keyboard and no pipe character exists in the keymap. 2. when pressing the ctrl key or the function key(4 squares) on the DEXT no soft keyboard is displayed 3. with the qwerty keyboard closed the soft-keyboard is available when pressing the function key on the DEXT. What is the expected output? What do you see instead? I expect to see the soft keyboard when pressing the function key when the keyboard is slid open What version of the product are you using? On what operating system? os- blur_version.1.1.31.MB200 hardware- Motorola DEXT MB200 version- CHWG2750AA firmware version- 1.5 kernel- 2.6.27 ASE Version- 0.7 alpha
  • Jan 06, 2010
    issue 101 (Additional UI support) commented on by MeanEYE.rcf   -   Just pushed ui_test.py along with implementation for ProgressDialog and AlertDialog @Damon :) it's all up to you now...
    Just pushed ui_test.py along with implementation for ProgressDialog and AlertDialog @Damon :) it's all up to you now...