bl4d3
bl4d3

Reputation: 345

phoneGap/Titanium developing

I was looking into PhoneGap and Titanium framework, and I did not clearly understand how to they work, let's suppose I have already developed an app for android or iphone, can I run this app on another mobile with a different OS with PhoneGap or Titanium help?

Or I have to develop again my app with PhoneGap/Titanium framwork? In this case I have full support at all the features like thread, JSON or XML parsing and so on? Thank you

Upvotes: 1

Views: 1479

Answers (4)

dmarges
dmarges

Reputation: 361

To answer the first part of your question, no, you would not be able to take a developed app and use PhoneGap or Titanium to run the app on another device.You would have to write the app in either the PhoneGap or Titanium Framework and then build the application to the devices you want to support through the tools that each give you.

For example, you would write your code in JavaScript(Titanium) or HTML/CSS/JavaScript(PhoneGap), then use the app's build tool to create the file that would be released onto the phone.

Upvotes: 0

anticafe
anticafe

Reputation: 6892

Titanium has full support for JSON or XML parsing. You can see Titanium examples - Kitchen Sink - for more details.

Upvotes: 1

Robby Pond
Robby Pond

Reputation: 73484

The idea behind phone gap is that you can take a browser based client app that is written in html/css/javascript and use phonegap to gain access to some native mobile hardware like contacts, gps, accelerometer, etc. Phonegap allows you also to build this web app for different mobile devices all using the same web app code.

Upvotes: 0

Dan Ray
Dan Ray

Reputation: 21893

PhoneGap basically takes a client-side web app (HTML, CSS, JavaScript) and wraps the whole thing in a native device's web view control. You can hook to some of the device's native functions, but as you can guess, it's pretty limited compared to native development. But easy, and brings in a whole range of skills that a lot of people already have. That's really the appeal of PhoneGap.

Titanium is also html/javascript oriented, but it actually claims to compile to native code. Their sample "kitchen sink" app demos quite a lot of the native APIs, at least for the iPhone. I doubt you'd be able to deal directly with threading, but JSON for sure, and I'd think XML as well.

Upvotes: 3

Related Questions