Good day/night everyone. I am looking to go into mobile app development and made some research. I found out that you could use javascrpt, html5 and css to develop applications using phonegap. I also found out that dreamweaver supports phonegap and android sdk as plugins. My question now is, if I want to develop an android app in dreamweaver, am I to use the android native code or will I use html5, css and javascript that phonegaps uses. Thanks.
Phonegap only support for HTML, CSS, and JavaScript. If you want add native functionality into hybrid app such as barcode scanner, camera or similar with that, you need to use cordova.exec.
Below is a list of phonegap plugin.
https://cordova.apache.org/
You can integrate native functionality into hybrid app also.
iOS: http://blog.revivalx.com/2014/03/10/androidios-adding-native-functionality-to-hybrid-application-with-apache-cordova-plugin/
android: http://blog.revivalx.com/2014/03/11/ios-adding-native-functionality-to-hybrid-application-with-apache-cordova-plugin/
Dreamweaver is web editing software, so you would use it for PhoneGap applications. If you want to do native development you will want to use Eclipse or Android Studio so you can compile the native code.
Related
I'm planning to make a Webapplication for Web with should also work as PWA and TWA (on iOS and Android).
Now i'm evaluating if i can use some features like camera, geolocation, accelerometer, notifications and some more.
I tryed to make a demo project with CapacitorJS and wondering why i need to add native platforms to target and why there is a seperate folder "android".
I just want to create one Website/PWA which should run as Website, on iOS and Android (in Browser) and not start a second or third seperate project for iOS and Android.
How can i use CapacitorJS to target the Web and when the website is called from iOS/Android than the native functions from iOS/Android are used?
You can't use the native code in a TWA or PWA, that's the whole point of the native platforms, to use native code when the web don't have a proper equivalent.
With Capacitor you use the same code for web, native iOS and native Android, is up to you if you want to use native iOS and native Android or not, but to use it you have to publish the app on the App store and Play store, the PWA will always use web APIs.
I want the description of features which can work fine in a native app(android), but not in cordova app as in used with android as a platform. In other words features of android which are not supported in cordova(android) application.
I guess you will find hardly any features, which native app can do and cordova app can't do. As main reason is "Cordova app is a native app", just with a full screen web view rendering HTML content.
For more info check Cordova site and quora thread.
There are plugins available to access different features.
If you are in conflict which to use read this answer.
I heard that phonegap and appcelerator develop android and IOS by using html javascript and css .but i confused can it implement all functionality that we do by using pure android development like HTTP requests ,Bluetooth connection apps and sqlite DB connection apps and also android and IOS games.Is it possible to do these kind apps by using phonegap or appcelerator. what are the limitations of these frame work.
Thank you
For Appcelerator, the answer is that there are some native functions on each platform that you cannot use directly from Appcelerator. You can definitely use sqlite on both platforms.
Both Phonegap and Titanium are free for developing mobile application and to develop apps using Titanium, you should need basic knowledge in javascript since it is simple javascript combined with Titanium API while we can use most of web technologies like HTML, Javascript, CSS etc. It's purely depend on what type of application you want to create. More simply if you want to create simple app that does not contain graphs and drawings you can simply use Titanium but if your app contains graphs you should use Phonegap.
Please refer the following links. Each can answer your question.
Comparing Titanium And Phonegap - Appcelerator blog
Titanium and Phonegap
Comparison Between Corona Phonegap Titanium
Phonegap vs Titanium
Phonegap or Appcelerator Implementation
Doubts on using Phonegap and Titanium
Appcelerator Titanium vs. Phonegap: Which is the better Mobile Development Platform?
Xamarin 2.0 vs Appcelerator Titanium vs PhoneGap
You can see the pricing and plans below:
Titanium Plans and Pricing
Phonegap build pricing plans update
Do I need to install Phonegap libraries or is it enough to copy them to a place where the app scripts stay?
I am developing an app in javascript,html,jquery,css php ect using Dreamweaver on Windows. I want to use cordova-2.0.0 which is the last version of Phonegap for uploading pictures from an album or from capturing them. I have grabbed the full example from http://docs.phonegap.com/en/2.0.0/cordova_camera_camera.md.html#Camera This code requires src="cordova-2.0.0.js" and the problem is I do not know if I should install Phonegap or copy its libraries to a place that the sample script can see them.
I haven't done it without xcode so maybe not the best answer however you could try IBM Worklight which is an eclipse based IDE that has PhoneGap or alternatively would be to look at something like Sencha Touch which has native development capabilities in HTML5 as well.
You copy the PhoneGap libraries to a suitable location and then you import the files into your application project. PhoneGap homepage provide details on how to do this.
Since you don't want to use Xcode, I'm assuming it is because you are using Windows. Have you seen this guide about creating Phonegap iOS apps?
Detailed Guide for setting up building iOS apps without a Mac
EDIT: If you are trying to create a web app that is accessed from Safari, and you are trying to upload photos, then you should probably read this question
What all possible support is there from open source world for building web based application for mobile/ipad touch screen?
I was going through http://jquerymobile.com/.. is it good plugin to develop web based application for mobile/ipad touch screens? Has any one used that..is it easy to customize?
what are the major challenges faced in using this?
Any other good tool/plugin for my development work?
PhoneGap is a framework to wrap your HTML5 app in a WebView, so you are able to deploy it like a native app. PhoneGap supports iOS, Android, Windows Phone, Bada, Symbian, Blackberry and WebOS.
Getting started with PhoneGap
jQuery Mobile is a Javascript framework for UI design of apps for mobile touch devices.
Getting started with jQuery Mobile
It is nice and easy to use for simple apps. jQuery Mobile is also themable and you can customize it with your own CSS.
If you want to deploy your web app as a native app in app stores, PhoneGap is the way to go, but you can also deploy your web app with jQuery Mobile UI on a web server, if you want it to be accessible online.
jQuery Mobile Docs:
PhoneGap is an HTML5 app platform that allows developers to author
native applications with web technologies and get access to APIs and
app stores. Applications are built as normal HTML pages and packaged
up to run as a native application within a UIWebView or WebView (a
chromeless browser, referred to hereafter as a webview).
PhoneGap Wiki:
jQuery Mobile: Touch-Optimized Web Framework for Smartphones & Tablets
A unified user interface system across all popular mobile device
platforms, built on the rock-solid jQuery and jQuery UI foundation.
Its lightweight code is built with progressive enhancement, and has a
flexible, easily themeable design.
Seriously cross-platform & cross-device
jQuery mobile framework takes the "write less, do more"
mantra to the next level: Instead of writing unique apps for each
mobile device or OS, the jQuery mobile framework will allow you to
design a single highly branded and customized web application that
will work on all popular smartphone and tablet platforms. Device
support grid
Touch-optimized layouts & UI widgets
Our aim is to provide tools to build dynamic touch interfaces that
will adapt gracefully to a range of device form factors. The system
will include both layouts (lists, detail panes, overlays) and a rich
set of form controls and UI widgets (toggles, sliders, tabs).
Phonegap is another option. Which works for several platforms
We have used jQueryMobile as well as Sencha touch for developing web applications for touch screens.
Sencha Touch is the leading MVC-based JavaScript framework for building cross-platform mobile web applications. Sencha Touch leverages hardware acceleration techniques to provide high-performance UI components for mobile devices. New developers will appreciate the availability of Sencha Architect, a GUI tool that helps create interfaces as easy as drag and drop.