Mahadevan Sreenivasan
Mahadevan Sreenivasan

Reputation: 1132

Mixing pieces of Phonegap to native app

We have a requirement where we need to generate FORM like UIs in some areas of our app. For this we are considering writing a layer using phonegap / titanium etc so that the same can be used for iOS / Android. With Phonegap I understand that I can include a CDVWebView using Cleaver that will display all the forms.

My question is, is there any way to embed a custom native view ( say a custom UIView which shows a graph ) inside the phonegap view?

Upvotes: 0

Views: 461

Answers (1)

xdumaine
xdumaine

Reputation: 10349

You can implement this as a plugin, so that something on your PhoneGap view triggers the display of the native view, but you can't really embed it in the phonegap view because the phonegap view is just rendered html inside a webview. What you'd get is something like a child view or popover.

Upvotes: 1

Related Questions