Hey Mark!

Mark Murphy wrote:
>
> Dump the "window." -- just reference FileUtil directly.
>
>   
>> Then I displayed all members of the window object and my "FileUtil" is 
>> missing.
>>     
>
> It's not supposed to be there. You do not get an actual Javascript
> object from addJavascriptInterface().
>
> It is a bit more like you get a new Javascript keyword -- you can write
> "FileUtil.read()", and the Javascript interpreter will interpret it, but
> there is no FileUtil object.
>   


Ah, i see! That's why it is called addJavascriptINTERFACE() and not 
addJavascriptObject ;)

I am trying to create a file on the sd card from the website and i was 
testing on my phone that was connected to the notebook with an usb cable 
and the usb sharing was activated. and it seems if all this is true i 
cannot write to the sd-card! took my quite a while to find out about that.


Thanks for your hints!
Anton


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to