Closed GoogleCodeExporter closed 9 years ago
Need to convert filename to string?
W/Bundle ( 2516): Key com.googlecode.android_scripting.extra.SCRIPT_PATH
expected String but value was a java.io.File. The default value <null> was
returned.
Original comment by spence...@gmail.com
on 14 Sep 2010 at 11:15
I believe it's related to this, from the changelog: " To deal with the new
folder support, full script paths are passed around as File objects instead of
just the script name as a String." It seems not everything was adapted to use
File objects.
Original comment by alex.mih...@gmail.com
on 15 Sep 2010 at 7:52
This also affects the Live Folder (which crashes my launcher (both stock Home
and Launcher Pro)).
Original comment by magnificent.tears
on 15 Sep 2010 at 7:10
I got FC running any bash script from desktop widget on Evo4g with Froyo
inside. Thanks.
Original comment by skosenko
on 15 Sep 2010 at 7:16
Also reproduces with SL4A v2, Android 1.6 and LG GT540 Optimus.
Original comment by part1zan...@gmail.com
on 17 Sep 2010 at 5:12
I've got the same problem with a HTC Hero (Cyanogenmod nightly 819) and HTC
legend (2.1 with sense) both running sl4a r2
Original comment by thejacka...@gmail.com
on 17 Sep 2010 at 9:07
I checked the code, and found that the class
'com.googlecode.android_scripting.activity.ScriptManager' is setting the script
path extra with the file's absolute path, while
com.googlecode.android_scripting.IntentBuilders is setting it to the File
object.
As it seems, all other methods expect a String contained in that extra.
So, here is a patch that modifies IntentBuilders to put the absolute script
path instead of the file object.
Original comment by oli.sa...@gmail.com
on 20 Sep 2010 at 2:54
Attachments:
Issue 433 has been merged into this issue.
Original comment by damonkoh...@gmail.com
on 25 Sep 2010 at 9:35
Issue 447 has been merged into this issue.
Original comment by damonkoh...@gmail.com
on 27 Sep 2010 at 10:56
Oh, just spent 30minutes getting the log and now I find this issue here ;-)
my stats:
HTC desire, froyo 2.2, SL4A r2
Original comment by oer...@gmail.com
on 27 Sep 2010 at 1:08
Same problem.
Motorola Droid 2, Froyo 2.2, SL4A r2.
Going to try oli's patch.
Original comment by seabre...@gmail.com
on 27 Sep 2010 at 8:49
Hey everybody,
I built sl4a_r2 with the patch given by oli.samyn.
It works great so far! Exciting stuff!
You can download the apk I built here:
http://dl.dropbox.com/u/1720529/ScriptingLayerForAndroid_r2_withissue432patch.ap
k
Original comment by seabre...@gmail.com
on 29 Sep 2010 at 4:23
[deleted comment]
I uninstalled my old version of SL4A, installed seabre986's, deleted my old
shortcut and recreated it. Result: Works perfectly. Thanks seabre986!
Original comment by tjho...@gmail.com
on 30 Sep 2010 at 6:51
ScriptingLayerForAndroid_r2_withissue432patch.apk works fine, please merge into
SL4A.
Original comment by oer...@gmail.com
on 30 Sep 2010 at 6:55
Original comment by damonkoh...@gmail.com
on 11 Oct 2010 at 1:27
Original issue reported on code.google.com by
alex.mih...@gmail.com
on 14 Sep 2010 at 5:44Attachments: