PhoneGap and Jquery Mobile – A Truly Winning Combination
Published on Sep 11, 2012
Any regular readers of jQuery tutorial may have noticed that I finally got around to updating and adding a new book under "My Books" on the right-hand side of the screen. Yes, I not-so recently published my third book (and second with O'Reilly) earlier this year.
The book is called 20 Recipes for Programming PhoneGap – Cross-Platform Mobile Development for Android and iPhone. Throughout this book, I get you up and running quickly using the PhoneGap API along with the Jquery Mobile API to take care of the pesky mobile design issues. On occasion you may get errors like How to check for undefined in JavaScript so hopefully this will help.
Much like I did when I released my MVC 3.NET book, I provided a free chapter from the book for my readers. Well here is an excellent recipe sample from my PhoneGap book. The goal of this recipe is to provide a standard approach to automatically fire (or trigger) a JavaScript function when a PhoneGap page has loaded – either on initial launch or after the user has navigated within the application.
Random Funny Technology Videos
Published on Jan 27, 2011
Amazing iPod Trick
Roombas Hack to Play Pac-Man
Image Translating iPhone App
Facebok Profile Picture Hack Tutorial
Random Funny Technology Videos
Published on Jan 27, 2011
Amazing iPod Trick
Roombas Hack to Play Pac-Man
Image Translating iPhone App
Facebok Profile Picture Hack Tutorial
iPhone Apps Randomly Crashing?
Published on Feb 4, 2010
Today at work I was advancing one of our iPhone applications. It's a pretty basic application, has a menu which displays some data from the web via XML; all of that fun stuff.
On occasion, I would try to push a view controller and the application would randomly crash, e.g.:
-(void) showMainMenu {
[mainNavigationController pushViewController:mainMenuViewController animated:YES];
}
iPhone Apps Randomly Crashing?
Published on Feb 4, 2010
Today at work I was advancing one of our iPhone applications. It's a pretty basic application, has a menu which displays some data from the web via XML; all of that fun stuff.
On occasion, I would try to push a view controller and the application would randomly crash, e.g.:
-(void) showMainMenu {
[mainNavigationController pushViewController:mainMenuViewController animated:YES];
}
ActivityIndicator with a UIWebView
Published on Apr 15, 2009
Reset UINavigationController
Published on Apr 6, 2009
Scroll a UIWebView
Published on Apr 4, 2009
Transparent UIWebView
Published on Apr 2, 2009
UINavigationController Background Color
Published on Mar 31, 2009