您的位置:首页 > 移动开发

Hybrid Apps:Hybrid Debuging

2015-09-08 17:03 323 查看
Today,I wanna write a english blog.Sounds crazy.

How to debug a hybrid app.It is a big deal.But I will tell you how to do it.

First,I introduce a hybrid framework for you.

ionic


Ionic is the beautiful, open source front-end SDK for developing hybrid mobile apps with web technologies.

First, install Node.js.
Then, install the latest Cordova and Ionic command-line tools.

$ sudo npm install -g cordova ionic

Second,Create an Ionic project using one of our ready-made app templates, or a blank one to start fresh.

$ ionic start firstApp sidemenu

Finally,

Use the Ionic tool to build, test, and run your apps (or use Cordova directly). Make sure to substitute ios with android to build for Android.
$ cd myApp
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios

Then, try Ionic View to
share your apps with testers and clients, or to easily test on new devices.

$ ionic upload


Ionic View makes it easy to share your Ionic and
Cordova apps with clients and testers around the world, all without ever going through the App Store.

introduction:https://itunes.apple.com/us/app/ionic-view/id849930087?ls=1&mt=8

Second,I introduce some powerful tools for you.
1.Apache Ripple™

Apache Ripple™ is a web based mobile environment simulator designed to enable rapid development of mobile web applications for various web application frameworks, such as Apache
Cordova™ and BlackBerry® WebWorks™. It can be paired with current web based mobile development workflows to decrease
time spent developing and testing on real devices and/or simulators.

It is free software, licensed under the Apache License, Version 2.0.

Installing Ripple from npm

sudo
npm install -g ripple-emulator

then

[b]ripple
emulate


[/b]




Also,you
can use ionic CLI.

ionic serve

2.GapDebug,
another mobile debugging tool


[b]you
can be browsed via the web here.


[/b] https://www.genuitec.com/products/gapdebug/
3.The
PhoneGap Developer App


you can be browsed via the web here.

http://app.phonegap.com/
OK,that is all.Next time,I will show you more powerful tools.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: