SVG images in an iPhone application - iphone

I'm looking for a small tutorial that can help me use svg images in iphone application. I'm trying to learn about svg format, and would love to know if there is relevant material from apple out there? particularly, w.r.t. iPhone.
Are there any open source libraries, or frameworks in iPhone SDK 3.0+ for SVG?
Any help is appreciated. Thanks.
Mustafa

The UIWebView class will render SVG files.
To demonstrate this, put your SVG file on the web somewhere and view it with Mobile Safari.
If you need a tutorial on how to use UIWebView, search Google on "UIWebView tutorial".

You might want to check out this project:
https://github.com/splashdust/SVGQuartzRenderer
It enables you to at least get past UIWebView.

Related

Phone gap integration in iOS

i have developed iphone application almost, but for some screen i need to use already made functionality in java scripting, so i thought of using Phone gap, will it be possible to add this in already present project .
suggest me with your expert answers
thank you .
I think that is not possible to integrate phonegap with native app.
My suggestion if you just need to use javascript, html and css in your native app why are you looking for Phonegap ? Use UIWebView instead.

Optical character recognition on the iPhone

Is it possible on an iPhone app to take a picture and extract an string from the picture? We'd like to make our app to look for a serial number on a database (very long number) without the user having to type it.
Is there any Cocoa/Objective-C API for this or any C/C++ library that can be used in an iPhone app?
Thanks in advance!
You can have a look at the tesseract-ocr project. It's not actually made to use on an iPhone but I believe others have made great use of it on the iPhone.
Here is a demo that makes use of the tesseract ocr engine.
I was looking for something similar and came across ABBYY's mobileOCR solution
I've not used it yet and have no idea how much it is but you should be able to integrate it into your app by all accounts.
I have this in my bookmarks: http://code.google.com/p/zxing/
It has iPhone, Android and Java code to deal with image capture and bar codes.
I haven't test it yet.
Here's another implementation of Tesseract on the iPhone: http://robertcarlsen.net/dev/pocket-ocr
Tesseract-OCR now has iOS version:Tesseract-OCR-iOS

Is it possible to tell iphone 4 to use #2x graphics in a web page

I'm building an iOS centric web page using HTML5, CSS3 and Javascript with jQuery and jQTouch.
I've searched for the possibility of including #2x graphics so iPhone 4 can use it, but haven't found any information about this.
Is this possible or not? Anybody know?
Sure is:
http://flowz.com/2010/07/css-image-replacement-for-iphone-4-high-dpi-retina-display/

my own epub rendering application in iphone possible?

I am required to make a app that renders epub format book in iPhone. Is it possible ? I know I can render PDFs using webView. how can I render epub formats ? is there any apple restrictions ?
thanks
Its is possible I have been working on one for about a month now.
Take a look at:
http://groups.google.com/group/leaves-developers/browse_thread/thread/27e4bf5ff3c53113

Any suggestion IF I need to write an iPhone/iPad app to show HTML5 content?

Is there any reference about writing an application on iPad/iPhone to show HTML5 content ?
Any reference book
Sample source codes
Which components should I use ?
Million Thanks.
There already is an app on the iPad and iPhone for showing HTML5 content: Safari.
If you want to show specific HTML5 content within an app, just use a UIWebView.
Building iPhone Apps with HTML, CSS, and JavaScript