Project Development Code
Developed using SASS as a CSS precompiled tool, using the Sass file in the scss suffix format
Development tools recommended Unified use of Phpstorm, recommended to use the latest version Phpstorm 9 to support more features
Phpstorm install ionic and Angluarjs plug-ins to automatically recognize the syntax, to assist the rapid development of the browser unified use of Google kernel browser as interface Debuggin
After the project is finished, the next step is to package the operation, then directly say Android packaging operationsGenerate a signing certificateKeytool-genkey-alias vincentguo-keyalg rsa-validity 20000-keystore vincentguo.keystore# Description: #-genkey generate Key #-alia s Vincentguo alias vincentguo#-keyalg RSA uses RSA algorithm to sign encryption #-validity 20000 expiration 2000 Days #-keystore Vincentguo.keystoreBuild Package APKIonic Build Android-releaseSignature APKJarsigner-verbo
Ionic react-native and native development mobile app that's good?How to choose the mobile terminal development? Here is a look at the ionic,react-native,native of my eyes three types of mobile development selection comparison. you are welcome to add One, cross-platform featuresIonic:Write once, run anywhere (one development, running anywhere, learning low cost will be HTML CSS JS can learn)Does not involv
First, introduce the ionicIonic is an open source, free code base for the development of hybrid mobile applications. You can optimize the performance of HTML, CSS, and JS, build efficient applications, and can also be used to build optimizations for sass and Angularjs. Ionic will be a trusted framework.Second, how to install(1) Install the correct NODEJS versionTossing for two days, has been prompted Xmlbuilder error. A variety of Baidu and Google, on
First write, write Bad please forgive mePhysical keyboard mapping process:Mobile/SYSTEM/USR/KEYLAYOUT/*.KL: The kernel maps keycode to a meaningful stringKeycodelabels.h:framework map strings to KeyEvent KeyCodeFrameworks/.../res/values/attrs.xml-main parts: Android.jarFirst, the problem description:When the tablet connection on the Bluetooth scanner (external physical keyboard), you can not eject the soft
Use ionic to compile HTML5 in winndows environment to Android (Network is best to visit foreign websites) 1. Prepare Android Operating Environment (Baidu) Configure path=d:\mysoftware\ adt-bundle-windows-x86_64-20140321\sdk\platform-tools; D:\mysoftware\adt-bundle-windows-x86_64-20140321\sdk\tools 2. Install node. JS (node. JS is a tool that installs after installation with Ionic) 3.npminstall-gcordova
) {.}). Error (function(d,s) {...});
Routing mechanism: state machineFor the view route, Ionic does not use the ANGULARJS routing module (Ng-route), but instead uses the Ui-route module of the Angular-ui project. Ionic.bundle.js has packaged the Ui-route module, so we don't need to introduce it separately.Unlike routing mechanisms, which are usually based on URL matching, Ui-route is a state machine-based navigation:You can assume that a view ele
How does H5 implement mobile app (mobile Web App )? Image carousel? Ionic, MUI,
Mobile Web AppCross-platform developmentUsers do not need to go to the store to download and install the AppApps can be published at any timeOnly one development project is requiredYou can use HTML5, CSS3, JavaScript, and server-side languages (PHP, Ruby on Rails, Python)1
MUI-lightweight APP frameworkQuick experience
Quickly get up and running with a mui app.1. Download t
learning and finishing---Design and development Environment Building (Android)
Install node
Installing the Android SDK
Install Python (what may be used to install the NPM plugin later)
Install CNPM (NPM Greater China version, install node after command line: NPM install-g cnpm)
Extended ReadingBuild the development environment and create the projectCreate a Ionic project1 Ionic St
learning and finishing---Design and development Environment Building (Android)
Install node
Installing the Android SDK
Install Python (what may be used to install the NPM plugin later)
Install CNPM (NPM Greater China version, install node after command line: NPM install-g cnpm)
Extended ReadingBuild the development environment and create the projectCreate a Ionic project1 Ionic St
(); System.exit (0); } return true; } Return Super.onkeydown (KeyCode, event);}But in the HTML5 application that uses Cordova, things are not so simple, first webview takes over the event of the return key, you can't handle the return key in the Java layer or it's not that easy, unless you change the code of the Cordova framework, but it's obviously inappropriate. will lead to maintenance problems and do not conform to general development specifications. Even i
New Project
Select the appropriate page schema from the project's functional architecture diagram, where the Tab,ionic new project is selected, and the default template is tab.
$ ionic start TongeNewsCreating Ionic app in folder C:\Users\Tonge\Source\Repos\TongeApp based on tabs projectDownloading: https://github.com/driftyco/
Our ionic program, sometimes need to run in the background, this time we need to refer to Cordova-plugin-background-mode, the current version of 0.7.2. However, there is a problem with using this version of plugin on iOS devices today.This problem currently has the following 2 solutions.
1. Visual Studio Code opens the Ionic project, opens the terminal, runs the command:
Recently in the project, a selection box was encountered that required a date. Find a lot on the Internet, very laborious. The Ionic plug-in needs to be bower again, and the command is:
Bower Install Ionic-datepicker--save
Download complete you can see the DatePicker file below your Lib directory, introduce in index
Can be used, note to inject in the module
angular.module (' Starter.controllers ', ['
Development environment is Windows,ubuntu + mac Similarly, test platform for Android,ios the same.
1. Install Node.js
https://nodejs.org/dist/v4.4.5/http://nodejs.org/download/
2. Set up NPM mirrors
NPM Config Set Registry https://registry.npm.taobao.org
3. Install Cordova+ionic
NPM install-g Cordova IonicNPM update-g Cordova Ionic//update
4. Create App Project
Super.onkeydown (KeyCode, event);
}
But in the HTML5 application that uses phonegap, things are not so simple, first webview take over the event of the return key, you can't process the return key in the Java layer, unless you change the code of the Cordova framework, but this is obviously inappropriate, it will bring maintenance problems, Also does not conform to the general development specifications. Even if we can modify the Cordova source code, at the same time processing good press th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.