Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can phonegap/cordova use native GUI?

Might sound stupid but can phonegap/cordova use the devices native GUI? I know its a web wrapper but i understand that you have access to some native calls ( like camera/contacts etc )

Thanks

like image 967
DanielJ Avatar asked Jan 26 '13 16:01

DanielJ


People also ask

How Cordova works internally?

Cordova acts as a container for the app that you write using web technologies. When the app is compiled, your code actually stays intact. The compiler just takes your code and makes it available to the web view for rendering. If you've ever opened an HTML file in a browser, that's basically the same thing.

What is the use of Cordova in Ionic?

Apache Cordova is an open source native runtime that allows developers to build native mobile apps with HTML, CSS, and JavaScript. Similar to Capacitor, Ionic's own native runtime, Cordova allows developers to access native device features, such as camera, keyboard, and geolocation, using a system of plugins.

How does Cordova work on Android?

Cordova takes your web application and renders it within a native WebView. A WebView is an application component (like a button or a tab bar) that is used to display web content within a native application.

What is Cordova platform?

It allows you to use standard web technologies - HTML5, CSS3, and JavaScript for cross-platform development. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's capabilities such as sensors, data, network status, etc.


2 Answers

AppGyver Steroids unites PhoneGap and Native UI very neatly.

Basically, with Steroids you can very easily add things like native tabs, native navigation bar, native animations and transitions, native modal windows, native "Facebook style" drawer/panel etc. to your PhoneGap app.

Here's a demo of how it works: http://youtu.be/oXWwDMdoTCk?t=20m17s

like image 100
Young Kasey Avatar answered Sep 22 '22 02:09

Young Kasey


You can check Project Ace, I think it's your best bet for (ios & android cordova-phonegap apps) until now, and it's backed by Microsoft.

Some Pros:

  • Great flexibility and independent,
  • Invoke native code,
  • Mix and match native components with html,
  • Write platform specific code (ios & android),
  • Great docking system for ui design and layout management,
  • Create Android Widgets,
  • Great documentation,
  • Works with any mobile hybrid framework (e.g Ionic).

Update: As of December 2016, this project is no longer maintained by Microsoft.

But is still on github and of course it's open-source.

like image 43
Lidakis Manolis Avatar answered Sep 23 '22 02:09

Lidakis Manolis