Coder Social home page Coder Social logo

android-scripting's People

Contributors

damonkohler avatar igor-karp avatar meaneye avatar p5p avatar pdubroy avatar raaaar avatar

Watchers

 avatar

android-scripting's Issues

Run ASE on emulator

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

Add direct link to Text-To-Speech Library's Marketplace page.

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

Add Perl support

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

Add Groovy support

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

Decrease the size of the Python distribution.

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

sayweather.py fails if space in location

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

TTS not installed.

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

Barcode for download

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

Programmatic way of listing RPC calls available

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

Can't change font size and color

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

Add PHP support

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

User-created script repository

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

Add Ruby support.

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

Allow interpreters to be downloaded selectively within ASE.

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

Perl Support

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

New script templates.

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

Python help() method doesn't work

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

ASE Facade as Service

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

ASE hangs when run on the Android emulator

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

Support for soft keyboard in 1.5 on an HTC Magic

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.