SL4A has migrated to github: https://github.com/damonkohler/sl4a
xulunfan / android-scripting Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-scripting
Automatically exported from code.google.com/p/android-scripting
SL4A has migrated to github: https://github.com/damonkohler/sl4a
Please add load and save function to load ad save all script files of ASE
on /sdcard
Thanks you very much
Original issue reported on code.google.com by [email protected]
on 11 Jun 2009 at 4:08
Perl is the script language which has been ported to most modern platforms.
Android should be included http://perldoc.perl.org/perlport.html#PLATFORMS
Original issue reported on code.google.com by [email protected]
on 9 Jun 2009 at 1:57
What about perl support...?
If you'd give me pointers how to put Perl in this app I can have a look at
it...
Gr.
Robin
Original issue reported on code.google.com by robin.vossen
on 9 Jun 2009 at 3:05
http://groups.google.com/group/android-scripting/browse_thread/thread/cc55a44668
a09345#
There should be a place on this site where people can download/share other
people's scripts. Perhaps the moderator can post some good ones.
Original issue reported on code.google.com by [email protected]
on 14 Jun 2009 at 6:23
This should be possible with http://www.caucho.com/resin-3.0/quercus/
Original issue reported on code.google.com by darktempler
on 11 Jun 2009 at 5:54
Compass data is not returned from the sensors API.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2009 at 8:47
It would be good to at least link to the project wiki inside ASE.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 3:17
Save a script with no file extension.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 3:12
It would be nice to split the daemon package and the language support packages.
I, for one, have debian installed and already running a python environment
with many extensions installed. I'd prefer to install just the "service"
part of ASE, copy android.py to my site-packages directory and integrate it
into existing scripts I'd keep ASE running on a fixed port and start
modifying existing scripts to utilize the ASE service.
For the same reason, I'd make the AP_PORT user-configurable (choose between
having a fixed port or a random one selected by bind as it is now).
Original issue reported on code.google.com by [email protected]
on 15 Jun 2009 at 12:14
Currently this is rather difficult. Storing libraries and such on the SD
card would make it easier. Or, maybe just allow imports from the SD card?
Original issue reported on code.google.com by [email protected]
on 1 Jun 2009 at 8:09
Along with the save button, there should be a "save and run" button that drops
you back into the
editor after executing the current code.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2009 at 8:43
Currently, user created scripts are deleted when ASE is uninstalled. Script
should probably be stored on the SD card and persisted instead.
Original issue reported on code.google.com by [email protected]
on 8 Jun 2009 at 9:51
What steps will reproduce the problem?
1. Open the Python interpreter
2. Type in help(<favorite_method_name>)
What is the expected output? What do you see instead?
I expect to see helpful and friendly Python help. I see an error instead:
IOError: [Errno 2] No usable temporary directory found in ['/tmp',
'/var/tmp', '/usr/tmp', '/']
Is this circumventable by having some config option to the tempfile module,
or by mounting a tmpfs?
What version of the product are you using? On what operating system?
ase-0.7 alpha, t-mobile g1 1.5
Please provide any additional information below.
Yeah, I actually use this method quite a bit. Python's introspection
features make learning a new lib or API much less like crawling around in
the dark, even if many of the calls are just caught by __getattr__.
Original issue reported on code.google.com by jtolds
on 9 Jun 2009 at 9:33
What is the expected output? What do you see instead?
A link somewhere to the correct TTS library, even if it's a link on the help
wiki.
What version of the product are you using? On what operating system?
1.5, T-Mobile G1 (HTC Dream)
Please provide any additional information below.
It's not obvious which TTS library needs to be installed. More than one
possible solution shows up when searching for "TTS", and the correct solution
does not explicitly say "TTS" in the name.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2009 at 4:48
Either JRuby or a cross-compiled Ruby for Android would work. An interface
to the AndroidProxy is already written for use with a cross-compiled version.
Original issue reported on code.google.com by [email protected]
on 12 May 2009 at 10:48
What steps will reproduce the problem?
1. Open Python terminal
2. Menu -> Preferences -> Font size / Colors
3. Change font size and colors
4. Back to terminal
What is the expected output? What do you see instead?
Larger font size and different color.
The font size and color is not changed.
What version of the product are you using? On what operating system?
ASE 0.7 alpha,
ADP1, Firmware 1.5, Kernel version 2.6.27-00393-g6607056
Please provide any additional information below.
I had also installed "Terminal Emulator", and I can change font size as well.
Original issue reported on code.google.com by [email protected]
on 13 Jun 2009 at 1:35
This seems possible with the Lua library. Please add the same feature for
Python.
Original issue reported on code.google.com by [email protected]
on 12 Jun 2009 at 8:01
This is useful for Locale's default settings configuration. It would be
possible to write a lua script to do this easily (it has a killallmine
function already defined in the android package).
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 8:42
When running a script in a terminal, if the orientation changes. the
terminal will be restarted and the script will be run again.
Original issue reported on code.google.com by [email protected]
on 8 Jun 2009 at 9:38
Since installation detection is very naive, the "installing beanshell"
spinner always shows up for an instant.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 10:24
The intent is for the service notification to persist as long as the
service is running.
Original issue reported on code.google.com by [email protected]
on 8 Jun 2009 at 9:57
What steps will reproduce the problem?
1. Installing ASE and opening the shell.
2. Trying to hit the soft return key.
What is the expected output? What do you see instead?
The return key should enter the input.
What version of the product are you using? On what operating system?
Using 1.5 on a HTC Magic.
Please provide any additional information below.
Original issue reported on code.google.com by Matthew.Horsnell
on 9 Jun 2009 at 11:51
When creating a script, it's not obvious what the text boxes are for.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 3:11
It is possible to send SMS'es from Python, but it is not possible to make a
phone call. Please extend the library.
Original issue reported on code.google.com by [email protected]
on 12 Jun 2009 at 8:02
This may require an API change that separates starting from speaking so the
prompt to install can be enabled.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 3:20
It should be possible to handle incoming calls and SMSes with ASE. Current
libraries do not support either functionality, which is pretty critical to
the functioning of a phone. Please extend ASE to support this feature.
Original issue reported on code.google.com by [email protected]
on 12 Jun 2009 at 8:03
The 0.2 alpha of ASE is 4+MB due to the addition of Python. This could
conceivably double with the addition of Ruby. Instead of distributing ASE
with all scripting languages, it makes more sense for the user to be able
to download the interpreters they like from within the application.
Original issue reported on code.google.com by [email protected]
on 1 Jun 2009 at 8:35
Importing termios fails.
Original issue reported on code.google.com by [email protected]
on 6 Jun 2009 at 1:37
It would be super nice if there was a way of programmatically listing what
RPC calls are available. For instance,
http://code.google.com/p/android-scripting/source/browse/trunk/python/ase/androi
d.py
does not list a "speak" method, and yet __getattr__ catches it and makes it
function as if it exists.
The dir() method in python is super useful. I don't know that you want to
modify it's behavior, but it would be nice if there was a way of querying
for a list of all available RPC calls.
Original issue reported on code.google.com by jtolds
on 9 Jun 2009 at 9:35
This should be possible with Rhino.
Original issue reported on code.google.com by [email protected]
on 12 May 2009 at 10:47
1. Run a script w/o a terminal window
2. Run a script from a desktop shortcut directly
Original issue reported on code.google.com by [email protected]
on 13 Jun 2009 at 4:55
What steps will reproduce the problem?
1. Installing ASE
2. Running ASE
3. Selecting scriptsaytime.py
What is the expected output?
Presumably it should speak the time.
What do you see instead?
Blue shell, error message "Could not find platform independent
libraries...TTS not installed"
What version of the product are you using? On what operating system?
Using an HTC Magic, Android OS Vanilla Revision 1.5.
Please provide any additional information below.
Original issue reported on code.google.com by Matthew.Horsnell
on 9 Jun 2009 at 12:59
Include in the documentation a QR code link to make it easier to get the
apk, like the one here:
http://phandroid.com/wp-content/uploads/2009/06/qrase.png
Original issue reported on code.google.com by [email protected]
on 9 Jun 2009 at 9:31
Since ASE basically is an advanced terminal emulator, it might as well
expose a standard terminal.
Original issue reported on code.google.com by [email protected]
on 8 Jun 2009 at 9:47
It should be possible to invoke scripts when certain events occur (like
receiving an SMS, email, or phone call).
Original issue reported on code.google.com by [email protected]
on 12 May 2009 at 10:45
What steps will reproduce the problem?
1. installed .apk on android emulator
2. hit ase icon
3. choose any example or choose terminal
What is the expected output? What do you see instead?
python,lua,bean shell/terminal excuted
instead, just get a blank screen on emulator.
What version of the product are you using? On what operating system?
ase-0.7 alpha, eclipse 3.4, android develop tools 0.9.1 on gentoo linux.
Please provide any additional information below.
excuted from adb shell
#data/data/com.google.ase/python/bin/python
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 2.6.2 (r262:94:99M, Jun 4 2009, 13:56:43)
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import android
>>> droid = android.Android()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/data/data/com.google.ase/python/lib/python2.6/android.py", line
28, in __init__
self.conn = socket.create_connection(('localhost', PORT))
File
"/home/damonkohler/ase_src/python/src/android/python/lib/python2.6/socket.py",
line 512, in create_connection
socket.error: [Errno 111] Connection refused
Original issue reported on code.google.com by [email protected]
on 10 Jun 2009 at 3:44
Scripts should be able to work like normal activities that can have a result.
Original issue reported on code.google.com by [email protected]
on 2 Jun 2009 at 4:48
It would be great if Groovy could be used for scripting Android apps.
I'm not referring to precompiling Java to class files and retrofitting them
for Dalvik VM, rather the ability to generate Dalvik VM-compatible bytecode
at runtime.
Original issue reported on code.google.com by [email protected]
on 14 Jun 2009 at 10:04
It would be useful for scripts to be able to parse any extras provided with
the intent that launched them.
Original issue reported on code.google.com by [email protected]
on 2 Jun 2009 at 10:39
i just want python in android.
Original issue reported on code.google.com by [email protected]
on 9 Jun 2009 at 2:59
ASE should ship with some reference or way of easily discovering the APIs
on the phone.
Original issue reported on code.google.com by [email protected]
on 13 May 2009 at 7:46
Hi,
I tryed to run ASE on emulator, but it does not work. A message in a dialog
appears : "Sorry! Activity ASE(in applicaton ASE) is not responding"
- I downloaded source code with following command in a terminal:
-------------------------------------------------------------------------
$ svn checkout http://android-scripting.googlecode.com/svn/trunk/
android-scripting-read-only
-------------------------------------------------------------------------
- I downloaded android source like it is explained in
http://source.android.com/download
- I downloaded android sdk from :
http://developer.android.com/sdk/1.5_r2/index.html
- I compiled android source
- I run ./fix_android_sdk.py on android source (myandroid folder) and
android sdk (android-sdk folder)
----------------------------------------------------------
./fix_android_sdk.py ../../myandroid ../../android-sdk
----------------------------------------------------------
- I included ASE project in eclipse with 'import' -> 'existing project into
workspace'
- I change build path to integrate TTS_library_stub_1.4_market.jar
When I run it, in Logcat, I have the following error message :
----------------------------------------------------------------------
Reading entry res/raw/bsh.zip failed
Failed to extract entry
java.io.FileNotFoundException: /data/data/com.google.ase/bsh.zip
...
----------------------------------------------------------------------
In addiction, when I click on list item, nothing happen.
Is my procedure wrong?
Thanks for your help.
Cecilia
Original issue reported on code.google.com by [email protected]
on 12 Jun 2009 at 3:02
It's probably not necessary to run the interpreters in a shell.
Original issue reported on code.google.com by [email protected]
on 7 Jun 2009 at 9:56
Locale has a developer API (http://www.twofortyfouram.com/developer.html)
and would make an excellent platform for automatically executing scripts.
Original issue reported on code.google.com by [email protected]
on 12 May 2009 at 10:44
Currently a script terminal stays open even after the scripts exits (which
is often desirable). It would be nice to have an ability to make the
activity exit.
Original issue reported on code.google.com by [email protected]
on 2 Jun 2009 at 4:47
When creating a new script, it would be nice to be prompted which language
to create it for and then insert default content.
Original issue reported on code.google.com by [email protected]
on 4 Jun 2009 at 3:12
What steps will reproduce the problem?
1. run sayweather.py in the UK
2. if postcode has a space ie "EH1 1" urllib fails
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
easily fixed by editing line 34 to escape the spaces:
- url = WEATHER_URL % (location, hl)
+ url = WEATHER_URL % (location.replace(' ','%20'), hl)
Original issue reported on code.google.com by [email protected]
on 9 Jun 2009 at 11:35
This probably has to do with the piped streams.
Original issue reported on code.google.com by [email protected]
on 13 May 2009 at 7:44
Ideally this will be CPython, cross-compiled for Android.
Original issue reported on code.google.com by [email protected]
on 12 May 2009 at 10:47
The binaries have already been stripped and are built with -Os. The pure
Python libraries are compressed pyc files. There's probably still more that
can be done to reduce the overall size.
Original issue reported on code.google.com by [email protected]
on 29 May 2009 at 3:27
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.