1. #81
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    498
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      0  

    Default


    That's true also! Android 3 is a nightmare for HTML5.

    I'd still keep to the method I put above though if you can.

  2. #82
    Sencha User
    Join Date
    May 2012
    Location
    Glasgow, UK
    Posts
    17
    Vote Rating
    0
    henry.wilson is on a distinguished road

      0  

    Default


    Thanks for the advice Shepsii

    To reply to your questions...

    For packaging to iPad I've been using sencha build app native (with appropriate settings). This works fine and I've had no problems with the iPad version.

    For packaging to Android I've been running sencha package build packager-android.json

    I guess as you say Android doesn't support the Loader so I'll have to look at the process you outlined using Phonegap. I'll look into it as/when I have time (the iPad was the priority for the project, I'm now just doing this for fun cos it'd be neat to see it running on both platforms!)

  3. #83
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    498
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      0  

    Default


    Ext.Loader should be fine on Android (non v3) and iPad - but it should be irrelevant apart from the micro loader when you get to production.

    There are plenty other issues with Android v3 apart from Ext.Loader too!!

    Phonegap won't help with this problem, but it should help with keeping data persistent in the app from load to load. Have you not experienced any problems with this on the iPad? Make sure the iPad is on at least iOS 5.1 as I believe this is when these horrible bugs with data persistence first came in.

  4. #84
    Sencha User
    Join Date
    May 2012
    Location
    Glasgow, UK
    Posts
    17
    Vote Rating
    0
    henry.wilson is on a distinguished road

      0  

    Default


    The iPad in question isn't mine and I don't have it to hand to check the iOS version but I didn't have any trouble with it - I wanted to ensure the data was persisted correctly after shutdown and load of the app so I did a full iPad restart after a sync and the data was still there. Will keep an eye out for this though, definitely worth bearing in mind.

    Thanks again for all your help and insight!

  5. #85
    Sencha User
    Join Date
    Mar 2012
    Posts
    28
    Vote Rating
    0
    gcw07 is on a distinguished road

      0  

    Default


    shepsii have you had success building your apps with phonegap? I mean I can get mine to build fine with phonegap, but if I include the actual cordova.js file, it just doesn't work. I'm sure I'm doing something wrong, but so far have had no luck figuring out what I need to do to include the js file because everytime I do it just loads a white screen when you access the app.

  6. #86
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    498
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      0  

    Default


    I haven't tried yet.

    My advice would be to either wait til I sort it in a couple weeks (haha!) or first try to package a non-sqlite st2 app, then the basic sqlite demo, then your app. I have read elsewhere that the correct phonegap version to use is 1.6.1, apparently 1.7 does not play nice with st2. Is this perhaps what's going on with your build?

  7. #87
    Sencha User
    Join Date
    Mar 2012
    Posts
    28
    Vote Rating
    0
    gcw07 is on a distinguished road

      0  

    Default


    Oh, the problem isn't with the sqlite proxy at all. In fact that works great. I just can't get it to work when including the phonegap javascript file. If you don't include that in the package build, everything works fine in the app it builds. Luckily I don't need access to anything that exists within the phonegap javscript file, so it isn't a huge deal, but just could never figure out how to get it working with their file included (just in case I needed the features it supports in the future).

  8. #88
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    498
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      0  

    Default


    Ok, but without the access to stuff like camera, contacts etc it works fine? Would you mind sharing a copy of the package with the sqlitedemo? Or is it really so easy I need to stop worrying about it?!

  9. #89
    Sencha User
    Join Date
    Mar 2012
    Posts
    28
    Vote Rating
    0
    gcw07 is on a distinguished road

      0  

    Default


    Yeah, I didn't need access to any of those things and it works fine. I haven't tried packaging up the sqlitedemo and running it through phonegap yet. Really I just did a simple "package" build on my app and then uploaded that to the build.phonegap.com site. I don't think you will need to worry about it that much. The one change I did make was to this line in the Connection file:

    me.dbConn = openDatabase(me.dbName, me.dbVersion, me.dbDescription, me.dbSize);

    changed to:

    me.dbConn = window.openDatabase(me.dbName, me.dbVersion, me.dbDescription, me.dbSize);

    Not sure if that was needed or not, just read it in the phonegap docs so went with it and it made it work. Now I've only tested my app on iOS. For all I know it doesn't work with Android or Windows Phone.

  10. #90
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    498
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      0  

    Default


    Awesome. I very much suspect it will work with Android; I deployed a jqmobile app with a sqlite db using phonegap last year.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi