Nik
Nik

Reputation: 41

Android, Iphone app with JS and HTML

I have read some post about apps programming for Iphone and Android, but I have one question. Is it posible when there is a mobile website optimized for mobile phones, that I can create apps for Iphone, Android, Win 7 and Blackberry, that only statrts the browser as instance and display the mobile website? What do you think, is this ok? Do you have any ideas or examples for that kind of apps? I mean this is not an app, that should be has access to the hardware of the phone, only web app.

Thanks Nik

Upvotes: 0

Views: 799

Answers (3)

yan.kun
yan.kun

Reputation: 6908

O'reilly has a fantastic article about this:

http://building-iphone-apps.labs.oreilly.com/

This is a little bit directed to iPhone only, but will give you a good overview about the topic and possibilities.

Upvotes: 0

Toastor
Toastor

Reputation: 8990

This would work. You could create an app that consists merely of a webview into which you load your content. The content could be loaded over the mobile network or be stored locally.

However most users (including yours truly) strongly dislike apps that merely present a single website to the user, because of the long delays if the content is loaded over the mobile network every time and because the UI is, in many cases, very different to what the he or she is used to from native apps.

Most users fail to see the need for a specialized app just to visit a website which they could as well keep as a favorite in their mobile browser. On the iPhone, you may even add favorite websites as icons on your homescreen, so there is no need for apps presenting a single website at all.

Upvotes: 1

Erich Kitzmueller
Erich Kitzmueller

Reputation: 36977

It's not only possible, such things are already done. One example I know of is cookd, a restaurant guide for Vienna. But there are some constraints; for example, cookd requires GPS data for the "Nearby" option; on my Android phone (HTC Legend), this is possible when I open the web page directly in the browser (the browser asks if I want to allow cookd.com to get this info); but the same webpage, running in an application that does nothing more than display the browser component, cannot do that. To fix that, they would have to build GPS reception into the app and forward this info to the browser component.

Upvotes: 0

Related Questions