WebView + Gears

by Evan Ruff » Mon, 29 Jun 2009 10:52:40 GMT


Sponsored Links
 Hey guys,

I was wondering if I can use the Gears Toolkit within WebView? I heard
a nasty rumor that it was not available in WebView.

If Gears is not available, what other storage mechanisms/paradigms are
recommended?

Thanks!

Evan
--~--~---------~--~----~------------~-------~--~----~



WebView + Gears

by Mark Murphy » Mon, 29 Jun 2009 19:04:02 GMT


 


At least as of Android 1.1, it was not available in WebView, and I am
not aware that situation has changed.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/books.html 

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


WebView + Gears

by Evan Ruff » Mon, 29 Jun 2009 20:29:50 GMT


 Huh, that seems kind of like a curious decision.

So, in order to use WebView and have persistent storage, I have to use
the Javascript -> Android Interface specifically, then either expose
standard getDB, executeStatement, getResultSet in
WebView#addJavascriptInterface() ?

Also Mark, thanks for all your help. I really appreciate you answering
my questions so quickly! I have to say that without your help the
learning curve for Android Development would be insurmountable.

E





--~--~---------~--~----~------------~-------~--~----~



WebView + Gears

by Mark Murphy » Mon, 29 Jun 2009 20:40:46 GMT


 


Well, I'd wrap the APIs in my own business rules, for input validation
and such, rather than expose the raw Android APIs.

And once the Android edition of WebKit is up on HTML5, I imagine you'll
get much of Gearsy goodness without the need for the plugin.

As to why the plugin is not available for WebView, I have no idea.


You're very welcome!

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android Development Wiki:  http://wiki.andmob.org 

--~--~---------~--~----~------------~-------~--~----~



WebView + Gears

by Evan Ruff » Mon, 29 Jun 2009 20:42:58 GMT


 Well, the whole point was kind of to be able to take my exisiting GWT/
Gears Application and fire it down into a WebView Component to gain
more control over the chrome, resource loading, etc.

It doesn't look like that's really going to work with this
implementation!

E





--~--~---------~--~----~------------~-------~--~----~



WebView + Gears

by Mark Murphy » Mon, 29 Jun 2009 21:22:39 GMT


 


Ah.


Yeah, probably not. Long-term, HTML5 will probably be the answer.
Short-term, you're looking at coding changes.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Need help for your Android OSS project?  http://wiki.andmob.org/hado 

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to draw a border like each row in a list view

> Hi,

Add a 1px high View with a suitable background color or gradient in
between each of your other widgets in the LinearLayout.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 

2. Beta build of Android Eclair with support for BeagleBoard

Hi All,

Embinux team has released beta build of Android Eclair. This build
supports BeagleBoard.
The release notes, porting guide, download and compilation instructions
are available from
 
http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board

platform (BeagleBoard / EVM) and Android build (Cupcake / Donut / Eclair).


 - Embinux Team


-- 
Embedded and Wireless Services (EMBINUX group)
SQLStar International Limited
Email : www.sqlstar.com www.embinux.com http://labs.embinux.org
http://twitter.com/embinux

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Video playing error : video from a URL

4. Porting H.264 to android framework

5. Watch DVB in Android

6. Masih ada 10 nih google wave

7. What's CTS?