Where to start when developing an app for a website - iphone

I am planning on developing an iPhone App for a website, powered by Wordpress.
Where can/should I start codewise when developing an app for such sites?
Should I use Wordpress' API, or should I access the (MySQL) database directly?
I am very open for ideas.
Thank you.

how about taking a look at the WordPress Iphone Open Source project?
// Jakob

One option would be to set up a plugin and use that as an interface between the app and your site.

Related

iOS library to detect app stats

Is there any iOS library which detects various user stats within the app like time spent on a view, number of times app was activated etc.? Any suggestions will be most welcome.
Thanks.
There is an open source project on github:
https://github.com/Countly/countly-sdk-ios
There are many stats SDKs based on web server.
Maybe you can use the google analytics sdk here
or localytics sdk here
I don't know of any native library, there are allot of simple API's to do this. You could however, if you wanted to do it yourself, use some of app delegates methods to log statistics to a plist. But that isn't really the best option. Honestly, Google Analytics on a blank UIWebView page would be an effective and easy solution.
You can use the Flurry analytics sdk here to detects various user stats
**www.flurry.com**

iPhone: Access Camera and Album from Web app

I want to develop a web app using html5, js. One of the feature is to launch device Camera and record video, take a picture and access photo album. Is it possible to access via web app if i develop? I saw in the forums that, it is saying not possible in some places and it is possible in some places. I would like to know, is it really possible to access directly camera and album etc. ?
Please suggest!
Thank you!
It's not possible to access phone camera using Web app, as the "Web APP" typically runs in the browser of device.
Though there are some frameworks (like Phonegap) allows you to embedd your web app into native container. With this approach and added libraries from such framework you can access some of those native API's and Device Hardware.
One Possible solution is,
Create one app and distribute it using app store
using your webapp, you can connect to above app using url-scheme
http://code.google.com/p/iphone-photo-picker/
go to above link, where you can find complete code for it.

How To Make iPhone App Into A Web App

If I make a iPhone app, like a grade manager. What technologies are necessary to make it into a web app.
This includes reading the data from iPhone app in the web app portal (not necessarily editing from web app as of now).
I think I need to transition from using plists to using MYSQL?
Probably you need to this:
http://www.phonegap.com/
it's an Open Source Mobile Framework That Supports iOS and other platforms.
Hope it will give you a guide.
The best approach would probably be to write a web app that can communicate with the iPhone app, not "converting" the iPhone app to run on the web.

problem regarding iphone Web App

I need to create a web app on iphone. How to go about it?
there you are: http://gigaom.com/apple/how-to-create-an-iphone-web-app/
A search on Google for 'Webapp Tutorial' can do magical things.
Edit:
This one for HTML5
http://sixrevisions.com/web-development/html5-iphone-app/
Look at the Wink Toolkit. Very useful for developing Mobile WebApps.

Can a hosted application leverage the PhoneGap API?

I am building a hosted mobile application so I can write once and deploy to many mobile platforms. My plan is to write a native application with a single screen that is a browser that navigates to my hosted application. Of course this is so our application is in the App Store, Android Market, etc.
Is it possible to use the PhoneGap JavaScript so my hosted applications can use local APIs? For example, I would like to be able to upload pictures taken from the camera.
Short answer: no.
More information: PhoneGap: It's possible to use only the phonegap.js and it's functions only in a Website (doesn't want an App only a Webpage)?
Short answer
No. You need to add pctures upload logic in each framework
In addition to what has been answer it will also depend on your application store offering. If you're intending to offer the app in the iPhone App Store, these kind of apps aren't permitted. In the guidelines it states that apps that basically launch a browser or UIWebView will be rejected.
Additionally, you could always create the app as a "home screen" app, that runs without the chrome, etc on the iPhone. Hope this helps.