Showing posts with label ipad. Show all posts
Showing posts with label ipad. Show all posts

Friday, August 24, 2012

How to resolve IPhone 3 HTML5 canvas fillText not working

I am writing a HTML5 canvas applications which has some text in it to be written by the fillText command. This worked well in Safari, Firefox, Ipad but would not work in Iphone 3. Then I found the solution in this discussion:

iPhone/iPad HTML5 Canvas fillText problem.

Downloaded  strokeText.js and implemented with success as per instructions given in the downloaded document. It works now in Iphone 3 along with Safari, Firefox, Opera and even IE9!

HTML

<script src="js/strokeText.js" type="text/javascript"></script>


Javascript



set_textRenderContext(context);

if (check_textRenderContext(context)) {
context.strokeText(text, text_xoffset, text_yoffset, font_size);
}

Sunday, August 19, 2012

JQuery Mobile Interesting Links to get started

If you are looking for a good platform to design applications for Iphone, Ipad, Android and Windows phone, you should definitely consider a browser based approach using JQuery Mobile. Jquery Mobile has very good user interface and page transition mechanisms.

Jquery Mobile 1.2. 0 Alpha has been released.

Jquery Mobile Docs has excellent documentation

Quick start guide is a good place to start.

Eric Sarrion has an excellent  The jQuery Mobile tutorial which has lot of useful information about how to construct basic pages, buttons, sliders etc.

10 handy jQuery mobile tips and snippets to get you started has excellent tips.

You can also look at 50 jQuery Mobile Development Tips.