[android-developers] Re: WebView + Gears

2009-06-29 Thread Mark Murphy

Evan Ruff wrote:
> 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.

Ah.

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

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

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



[android-developers] Re: WebView + Gears

2009-06-29 Thread Evan Ruff

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

On Jun 29, 8:36 am, Mark Murphy  wrote:
> Evan Ruff wrote:
> > 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() ?
>
> 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.
>
> > 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.
>
> You're very welcome!
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Development Wiki:http://wiki.andmob.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: WebView + Gears

2009-06-29 Thread Mark Murphy

Evan Ruff wrote:
> 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() ?

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.

> 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.

You're very welcome!

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

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

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



[android-developers] Re: WebView + Gears

2009-06-29 Thread Evan Ruff

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

On Jun 29, 7:03 am, Mark Murphy  wrote:
> Evan Ruff wrote:
> > I was wondering if I can use the Gears Toolkit within WebView? I heard
> > a nasty rumor that it was not available in WebView.
>
> 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
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: WebView + Gears

2009-06-29 Thread Mark Murphy

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

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

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