Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Offline Webapp Resources

I just made an offline card game webapp for iPhone and Android When doing this, I went entirely off of the abundant iPhone offline webapp information on the web. However, it seems to work perfectly on Android with one exception. When I open it after killing the web connection, it states an error about not being able to connect. After canceling, it works just fine.

My question is this: has anyone found any decent resources specifically regarding Android offline web apps? Or is this simply a hack? The iOS devices seems to support this in a more intuitive way.

UPDATE: I had forgotten about this issue that I posted about. This seems to have been resolved for a while. I think it may have been fixed in Android 2.1. I just seemed to have not noticed that there was no error message. However, it still does not run HTML 5 webapps as cleanly as iOS in that the nav bar is still present when running from a desktop bookmark.

like image 942
Just a guy Avatar asked Nov 05 '22 05:11

Just a guy


1 Answers

After messing with this stuff for a bit, the iPhone/iOS stuff seems to work fine. It might be because the android browser is webkit based. But for whatever reason, the file manifest is respected

Bottom line, iPhone HTML5 mobile app documentation seems to work fine for Android.

Here's a quick example that runs on both:

http://www.davidgranado.com/demos/make_a_set_mobile/

Here are the rules:

http://www.davidgranado.com/2010/11/make-a-set-game/

like image 68
Just a guy Avatar answered Nov 09 '22 03:11

Just a guy