Iphone web application - iphone

I am developing a iphone web application. I already have a website designed using php and mysql. how I can convert this website to compatile for iphone.
pls share your thoughts.
Thanks

If it's specifically designed for the iPhone, then you can simply load it up onto one and develop accordingly. If your site is primarily desktop oriented, then you could:
Do nothing. The iPhone is designed for non-iPhone-aware web sites, and so your's will probably work just like that. In practice a little tweaking will probably make things much better.
Build a parallel site, custom-made for the iPhone, and use browser-detection to redirect to that site when an iPhone comes knocking.

Related

Running iOS Apps on Flash

I wrote an app for iOS on iPhone and iPad. I would like to make the app (a children's game) I wrote available on my website through Flash. I don't know if this is possible...
Would I just have to write the application in another language? I can't find any tools that would help me make it available.
If you wrote your app in HTML5, then you can make it available to your website, but if written with obj C, I highly doubt there is any easy way out solution beside re-write the app in another language.
There are no tools to make an iOS application run through Flash Player.
Probably your best bet on writing an application that will run as a native app and within the web is to pursue writing a web application optimized for smartphones. This way you could use a UIWebView to run it within a native application (and thus still have it in the App Store) but also make it available via the web. You could even consider leveraging tools like Phonegap to help with this. But of course this means re-writing your application.

iPhone app programming

I've built a few iPhone web apps using HTML, CSS, JavaScript, jQuery, PHP, and SQL Queries. However, I haven't found a way to access the camera with a web app. If you know of a way to do that, please tell me what to use and how to use it. If there is no way to access the camera with a web app, I realize I'll have to make a regular app. What languages should I start to learn? Instagram is a website, so I'm not entirely sure how they did what they did.
So my question is, if I wanted to built an app similar to instagram (where I could access the camera), where should I begin?
What languages should I learn?
Thanks ahead of time.
PhoneGap might be the right tool for you.
PhoneGap is an HTML5 app platform that allows you to author native
applications with web technologies and get access to APIs and app
stores.
See this reference on its camera API.

How make my website like iphone appearence

which control should i use to make my company's website to iphone look ...
so that when it open it iphone then it look a different that it look in normal browser...
actually i am an iphone developer and i have to give this answer to the web designer of my group...
There's also a great WordPress plugin called WPtouch which I've seen a lot of blogs use. That is, if most of your company's site is a WordPress blog...
Have a look at http://www.jqtouch.com/ or http://code.google.com/p/iui/ or one of the similar toolkits available for doing iPhone web applications.
The actual detection of an iPhone browser depends on your backend framework. A bit more information can be found in this question

Will a Safari-based app for iPhone be accepted to the iTunes store?

I'm about to begin development of an iPhone app. The app itself is fairly basic, and I want a speedy turnaround time.
I'm a web developer myself, specialising in traditional web technologies such as PHP/MySQL; I have no experience in Objective-C.
My plan was to create a very basic iPhone app that is just a Safari service that passes some basic variables to a URL. That URL is the app built in PHP and housed on my servers, this way I can create the app very quickly without needing to outsource anything.
My question is whether apps of this nature would be accepted into the iTunes store, or would they be out-right rejected? Anyone's experiences or comments are very welcome.
Thanks
It could go either way, but mind bullet 12.3 from the App Store Review Guidelines:
12.3 Apps that are simply web clippings, content aggregators, or a collection of links, may be rejected
In my opinion, a simple UIWebView wrapper around your web site comes close to the definition of a simple web clipping. Your approval may very well hinge on your luck in drawing a sympathetic reviewer.
It really depends upon your application...These kinds of application have been approved in the past but again I am saying that it depends on many factors.
Try to test your app in every possible manner and also keep in mind the memory issues.
Best of luck!!!
Should be fine - its called a web app and there is software out there that will do just this for you.
All you need to do is to make a UIWebView and put your web app into it.
Also look at http://jqtouch.com. That gives you some idea of what you can do web-side. :)
http://www.netbiscuits.com/559
Native Hybrid Apps
Native apps can interface more deeply
with the mobile handset modules and
sensors to create an even richer
mobile user experience. Netbiscuits
provides pre-build native apps
frameworks for all major mobile
operating systems to be easily
customized for the needs of
enterprises.
Get "2in1" by combining the power of
mobile websites and native apps by
wrapping mobile websites into hybrid
apps and list them easily in all major
app stores of providers like Apple,
Nokia, Google or Samsung to open a new
mobile distribution channel. The
benefits of this approach are fast
time to market, minimized development
and maintenance efforts and maximum
mobile cross-platform technology
coverage.
Yes, it will be accepted as long as you stick with HTML, CSS, JS and Obj-C on the client side. You still need to wrap it in an iPhone app. In my experience, the best way to this is to use http://www.phonegap.com/ or a similar framework.
You'll have the option of deploying you app through iTunes or as a regular web app (you users will be able to create a link to your web app right on their springboards)
It SHOULD be accepted, granted you test test test and make it look just like a native application. Also you'll have to make sure that your server is never down, or if the application can't reach it just display an error message. You also have to keep in mind that there are a lot of iPod Touch users, and they don't have access to the internet all the time. Which means that chances are you'll get a BUNCH of 1 star reviews

Iphone App vs. Offline Web App. Which way is the smartest?

I think about starting from scratch building a small application fullfilling two technical requirements:
should be usable on iPhone
should work offline
There are two obvious alternatives here to choose between
A real iPhone application with offline capabilities
A web app using HTML5 offline, Google Gears or similar
Having no iPhone app development experience (I don't own an iPhone), i wonder which way would be the easiest to go?
What are the learning curves for building offline HTML vs building an iPhone app?
Honestly, it depends what your app is going to do.
MobileSafari supports all the HTML5 offline stuff, so you could store data in a clientside SQL database, cache the application clientside, etc... The mobile Gmail app is probably the most notable example of that, giving you full-featured access to your Gmail even when offline. You can also use geolocation through JavaScript APIs that were added in 3.0. Web Clips let your web app share the home screen with native applications too. There is more on using web apps on the iPhone on this Stack Overflow post.
Obviously, doing a Web app will be of interest to people who like dealing with HTML, CSS, and JavaScript (and possibly whatever language is running server-side). It is possible to do really neat stuff with offline Web apps, but its performance won't be as good as that of native apps, especially on pre-3GS devices.
Developing a native application will require you to learn Objective-C (or C# as soon as Mono Touch is available to the masses) and pay a $99 fee to be allowed to test on-device and deploy to App Store. A lot more of the system is exposed to you through the various APIs, such as the camera, compass, multitouch, and so on.
Objective-C is pretty simple to pick up if you're familiar with Java; you only really need to get used to the square bracket syntax and memory management and then it's pretty straight-forward.
Then there are the hybrid systems, like PhoneGap, which expose more of the device's APIs, provided the Web app runs in a special container app. It is also crossplatform, so you could also deploy the app on Android and BlackBerry if you wanted to. This still requires you to pay the App Store fee, but if you're more familiar with Web development, this gives you the best of both worlds.
I can't tell you too much about HTML apps in general, but I can tell you that the API for the UIWebView is extremely minimal, and of course there is much less you can do than in a native iPhone application.
An HTML5 offline app would have security issues as you would have to hard code your oauth secret into code that anyone could see ( by clicking view source, or inspecting in Firebug ). You could simply use http auth, but then you get the ugly "from API" credit with every tweet sent from your app, and also that ugly http auth popup from the browser.