开发者

is it possible to skin the application based on the target mobile device using phonegap?

We are planning to use phonegap for our application development and doing POC. I want to k开发者_JS百科now whether it is possible to skin the application based on the target mobile device using phonegap?


I'm still very much new to PhoneGap, but I believe this is possible. PhoneGap has a Device Object, which gives some nice insight into the target device. Through a combination of the Device Platform and Device Version properties, you should be able to gather what you need.

Keep in mind though that with PhoneGap, you're not creating one app that will then magically work on all devices. You'll still be using Xcode to create an iPhone version, Eclipse to create an Android version, etc. So it may or may not be easier to manually swap out files based on platform, as opposed to doing so programmatically.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜