[PhoneGap] Droidgap and Lawnchair

62 views
Skip to first unread message

delasare

unread,
Apr 20, 2010, 1:52:34 PM4/20/10
to phonegap
Started working with Droidgap and Lawnchair this week. All seems well
and good, but I am having an issue where the locally stored data does
not seem to persist. I am using DOM storage and building to Android
2.0/2.1. Maybe I am mis-understanding DOM storage. Should the data
still be available when I close and restart the app or is the data
stored per session? Is DOM storage the best way to go on Android or
should I be looking at using Lawnchair's Webkit adapter? Any insight
or direction would be appreciated. I'm only storing small values (a
password and a url) so something simple would be ideal, I think.


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

For more info on PhoneGap or to download the code go to www.phonegap.com

delasare

unread,
Apr 22, 2010, 11:24:13 AM4/22/10
to phonegap
Anyone have any thoughts on this?


On Apr 20, 1:52 pm, delasare <ron.delasa...@gmail.com> wrote:
> Started working with Droidgap and Lawnchair this week. All seems well
> and good, but I am having an issue where the locally stored data does
> not seem to persist. I am using DOM storage and building to Android
> 2.0/2.1. Maybe I am mis-understanding DOM storage. Should the data
> still be available when I close and restart the app or is the data
> stored per session? Is DOM storage the best way to go on Android or
> should I be looking at using Lawnchair's Webkit adapter? Any insight
> or direction would be appreciated. I'm only storing small values (a
> password and a url) so something simple would be ideal, I think.
>
> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/phonegap?hl=en?hl=en

Joe Bowser

unread,
Apr 22, 2010, 12:48:36 PM4/22/10
to delasare, phonegap
Hey

DOM Storage doesn't exist in Android until 2.1.  Also, Google didn't document this fact well, which makes writing Web Apps for Android even more difficult.  I would look at the WebKit adapter.

Joe

delasare

unread,
Apr 28, 2010, 3:06:13 PM4/28/10
to phonegap
Thanks Joe.

I tried the Webkit adapter. But it just seems to hang in the Simulator
on and on the device. Works fine in Safari. Any thoughts on what the
issues is.
I'm building against Android 2.1.


On Apr 22, 12:48 pm, Joe Bowser <bows...@gmail.com> wrote:
> Hey
>
> DOM Storage doesn't exist in Android until 2.1.  Also, Google didn't
> document this fact well, which makes writing Web Apps for Android even more
> difficult.  I would look at the WebKit adapter.
>
> Joe
>
>
>
> On Thu, Apr 22, 2010 at 8:24 AM, delasare <ron.delasa...@gmail.com> wrote:
> > Anyone have any thoughts on this?
>
> > On Apr 20, 1:52 pm, delasare <ron.delasa...@gmail.com> wrote:
> > > Started working with Droidgap and Lawnchair this week. All seems well
> > > and good, but I am having an issue where the locally stored data does
> > > not seem to persist. I am using DOM storage and building to Android
> > > 2.0/2.1. Maybe I am mis-understanding DOM storage. Should the data
> > > still be available when I close and restart the app or is the data
> > > stored per session? Is DOM storage the best way to go on Android or
> > > should I be looking at using Lawnchair's Webkit adapter? Any insight
> > > or direction would be appreciated. I'm only storing small values (a
> > > password and a url) so something simple would be ideal, I think.
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "phonegap" group.
> > > To post to this group, send email to phon...@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > phonegap+u...@googlegroups.com<phonegap%2Bunsu...@googlegroups.com>
> > > For more options, visit this group athttp://
> > groups.google.com/group/phonegap?hl=en?hl=en
>
> > > For more info on PhoneGap or to download the code go towww.phonegap.com
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "phonegap" group.
> > To post to this group, send email to phon...@googlegroups.com
> > To unsubscribe from this group, send email to
> > phonegap+u...@googlegroups.com<phonegap%2Bunsu...@googlegroups.com>

delasare

unread,
Apr 29, 2010, 10:52:25 AM4/29/10
to phonegap
I am getting an error when I create the Lawnchair data store that says
"Cannot call method 'transaction' of null. Is "transaction" not
supported on Android or is it an issue with the Adapter that I am
using?


On Apr 28, 3:06 pm, delasare <ron.delasa...@gmail.com> wrote:
> Thanks Joe.
>
> I tried the Webkit adapter. But it just seems to hang in the Simulator
> on and on the device.  Works fine in Safari. Any thoughts on what the
> issues is.
> I'm building against Android 2.1.
>
> On Apr 22, 12:48 pm, Joe Bowser <bows...@gmail.com> wrote:
>
>
>
> > Hey
>
> > DOM Storage doesn't exist in Android until 2.1.  Also, Google didn't
> > document this fact well, which makes writing Web Apps for Android even more
> > difficult.  I would look at the WebKit adapter.
>
> > Joe
>
> > On Thu, Apr 22, 2010 at 8:24 AM, delasare <ron.delasa...@gmail.com> wrote:
> > > Anyone have any thoughts on this?
>
> > > On Apr 20, 1:52 pm, delasare <ron.delasa...@gmail.com> wrote:
> > > > Started working with Droidgap andLawnchairthis week. All seems well
> > > > and good, but I am having an issue where the locally stored data does
> > > > not seem to persist. I am using DOM storage and building to Android
> > > > 2.0/2.1. Maybe I am mis-understanding DOM storage. Should the data
> > > > still be available when I close and restart the app or is the data
> > > > stored per session? Is DOM storage the best way to go on Android or
> > > > should I be looking at usingLawnchair'sWebkit adapter? Any insight
Reply all
Reply to author
Forward
0 new messages