跳到主要內容

發表文章

目前顯示的是 8月, 2014的文章

Debug IOS apps built with Cordova

IOS - Safari remote debugging works on OS X and IOS6 higher Enable web inspector on IOS device or simulator. Safari > Advance Web Inspector Enable developer mode in Safari Safari Preference > Advanced Tab > Check Show Developer Mode in Menu Bar. Connect IOS device to PC Open the APP you want to debug Go to developer mode and debug now.

Build a hybrid app with no mobile platforms native development

I recently worked on a project to build a website with Bootstrap & jQuery. After that I used almost the same webpages to create a mobile app in iOS and Android with "Cordova". What is Cordova ? Cordova is a popular Apache Foundation open source project, providing a set of device APIs to allow mobile application developers to access native device functions—such as the camera or the accelerometer—from JavaScript. It allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. Getting start with Cordova The Command-Line Interface in Mac OS Setting up Download and install Node.js Download and install a git client Install Cordova Cli(on OS X and Linux) : $ sudo npm install -g cordova Create the App $ cordova create foldername com.example.hello AppName {AppName} is the same as the certificate name of App {foldername} is the same as the direct...