Here I was thinking I had got a good grasp of JQuery Mobile enough to go ahead and integrate it with CakePHP.
My mobile development had taken a bold leap forward in terms I couldn’t be less than happy for.
So after getting my hands and head wrapped up around the structure of JQuery mobile, I felt I was in the “common yeah, let’s do this” moment – speaking in the Tony Robins tone here :)…
I loaded up the site in my mobile emulator and straight up it was looking sharp and tidy :).
But then I wanted to be sure it was alright so I loaded in my Samsung Galaxy phone. Okay it still was looking cool and I was about super excited about this.
Finally, I remembered my old Blackberry phone exists. And knowing that most young people around here have the older Blackberry OS5 phones, I decided to give it a shot.
The result was nerve-rending. My wonderful new mobile site loaded alright. Yes, up to only the preloader gif image!
I tweaked headers and disabled all custom scripts. Once it would work and at another try it would just hang up at the preloader.gif image.
After almost 6 combined hours of nerve-wrecking pondering, hair-pulling, and knocking my head against the wall I finally decided to try offloading some content from the page.
I removed a bit of this and a bit of that. Each time uploading the new changes, and refreshing my Blackberry phone’s browser. (Yes, I was a bit too lazy to set up a local DNS server that would allow me access my local site from my Blackberry phone…)
Finally, I found it. A simple search form. Eureka!
After removing the form and returning I discovered that without the form the site loaded up pretty good.
To cut the chase, I reduced the size of the form and transferred it to another page. The original form still won’t load properly so I’m yet to find out what part of that form is responsible for giving JQuery mobile such terrible hiccups.
- What Exactly is this JQuery Mobile that they use for Mobile Application Development? (doctorfox.wordpress.com)
- jQuery and PhoneGap: Ready yet? (savingyourtime.wordpress.com)
- How to properly use asp.net web forms with jquery & jquery mobile? (stackoverflow.com)
- select only one object via jQuery and submit it with a form (stackoverflow.com)