Accessing iPhone's Contact List via mobile browser - iphone

Is there a way to access iPhone's Contact List via browser like Safari?
I researched Phonegap for this permission, but I think it's not possible via Phonegap.

Yes, it is possible (at least it was possible in iOS 4.2.1 and 4.3), but you have to be quite a bit of a hacker to achieve it ;)

Related

Is there a way to access iphone's browser history and app history

I dont know whether iam asking a right question..,kindly give your valuable advice.
I want to know:
Is it possible to access iPhone's browser history in our code?
Is there any way to access app histories (means; which apps i opened recently & what time.)
waiting for your valuable reply.. Thanks.
App History can be accessed via a few methods. There are ways using Private APIs, but if you are aiming of the App Store that is probably not a good idea.
Here is a UIDevice category to get the Processes currently running on your phone using Public APIs. You have to figure out which app matches which process name, but I have found that it is usually pretty straightforward (e.g. Facebook is Facebook).
For your Both Questions.. No as Apps are sandboxed in ios.
How to access iPhone Safari History in an App?
Getting safari history from phone
How to access Safari history from iPhone App using Private Frameworks
We can find the history.plist in /var/mobile/Media/Safari/ and this we can read in jailbreaken iPhone. And You dont have a way to access app histories either.
There is a History.plist located at /private/var/mobile/Library/Safari for the jailbroken device only.
The history is stored in a property list outside of your applications sandbox and you cannot access it.

Access mobile device camera from a grails application using jquery mobile

I have a grails application using jquery mobile. I am hoping to find some way to access the camera on the devices. I thought about using flash to grab the webcam but that obviously wont work on Apple devices.
Does anyone know of a way to do it and keep it all browser based? I am hoping that there is a plugin somewhere or maybe html5 has some magic in there that supports it.
I have researched this quite a bit (although about six months ago) and there is no API in the Mobile Safari browser for accessing a device's camera.
You have to have a native application for this type of functionality. For instance PhoneGap lets you use a device's camera: http://docs.phonegap.com/en/1.4.1/phonegap_media_capture_capture.md.html#Capture

HTML5 optimized for iPhone

I have a software that eventually will have some reports to be accessed via iPhone.
Once I am not willing to develop an iPhone app, I´d like to make these reports accessible via iPhone Safari browsers.
GMail in iPad uses HTML 5, so I guess I can do the same.
My question is where can I find some resources to learn best practices doing so and how can I test it in a PC computer.
Thanks
Here is a similar answer I've given: Exclusive CSS for iPhone/Android
For testing you can use Chrome or Safari, as they are both webkit browsers (which is what the iPhone uses). Safari can even render as the iPhone user agent.
Hope this helps.
Please take a look at PhoneGap, I think that is what you are looking for.
You can emulate the program in xCode, but you will need an Apple for that. For PhoneGap also..
From the app architecture view-point you should also consider introducing app-specific optimization such us:
Simplify the app (show only what you need for mobile)
Minimize Application and Data Size

Aggregate Images into a Single Composite Resource (Sprites)

Include Background Images Inline in CSS Style Sheets

Keep DOM Size Reasonable

Ensure Paragraph Text Flows

Avoid Redirects

How to create an iPhone app that interacts with my website?

What I want to do is to make an iPhone application for my website similar to the photofunia. The users will be able to select an effect from a list, and then upload their own photo. Then the result will be shown in the browser where the user can save the image and/or publish to website like facebook, etc.
What software can I use to do that? Phonegap, appcelerator, etc? Can some of these help?
Thanks.
First of all, you may be able to make an iPhone app using Adobe Flash and the Adobe Packager for iPhone.
The other option is to get a Mac and Learn Objective-C.
There is no "easy" solution here.
Create a webservice for your website and try to use that in your iPhone Application
Of course I know there is no "easy" solution, but I'm almost sure there are other options for making iphone apps, instead of using Objective-C.
I only don't know the name of the tools.
Flash doesn't works. Adobe Air currently doesn't offer a way to access the camera roll on the ios.

Is the list of Apps on my iphone available for reuse in a different display?

I have an idea to use the apps on my iphone as a list for a different way to launch the program. But I have no idea if I can see the apps in something I can display? Is this possible? If it is possible, can I launch the listed app from my app? What do I need to access to get this done?
There is no way using the official SDK to enumerate the list of applications the user has installed.
Unofficially, with a jailbroken phone you can check the contents of the applications folder.
It is true there is no specific way to do this with the normal SDK. However if specific apps you had used URL schemes you can invoke them programatically. Google maps, mail, safari, sms have it. Any application can choose to implement their own custom one. This obviously doesn't help with any random app but if you have specific apps your targeting you might be able to integrate that way.