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
GitHub Address: Https://github.com/daleyzou/wobuku这是自己大一学完c++后,在课程实践中写过的一个程序,实现象棋人机对战的算法还是有点难的,自己当时差不多也是写了两个月左右吧!当时看书又有很多问题得不到解决,所以就在网上找了一个视频跟着写。当然,这其中有很多功能都是自己扩展的。I share the video, I hope to be able to help the novice!Video address: Link: https://pan.baidu.com/s/1pIp6UMJ6LXsuJ3GT80NGfw Password: 9k8yNote: If you have readers follow the video to write this chess man-machine battle program, please be sure to understand the principles,It would be better to have a related book handy for any perfec
After downloading the Qt-opensource-linux-x64-5.3.0.run, install the steps:
1. Enabling it to have executive authority
sudo chmod +x qt-opensource-linux-x64-5.3.0.run
2. Installation
sudo./qt-opensource-linux-x64-5.3.0.run
Next is the graphical interface installation, all by default. The reference screenshot is as follows:
Installation complete.
3. Configure the system path
Add in/ETC/BASH.BASHRC:
Export qtdir=/opt/qt5.3.0/5.3/gcc_64Export path= $QTDIR/bin: $PATHExport ld_library_path= $Q
The Java creator pattern is somewhat similar to the factory pattern, but the focus is different. factory models tend to care only about what you want, not about what the specifics of the thing are. The creation of a pattern is relative to the creation of specific details about the thing . To create a character, we are concerned not only with creating a character, but also with regard to his sex, skin color, and name, you can use the
Label:I was had the same problems too, and finally figured out how to solve this. Styne666 gave me a hint. Do the following:
Tools
Options ...
Build Run
Tool Chains
Use the ' Clone ' button to make a copy of the auto-detected MSVC items
In each of the cloned items, you can specify the debugger in the "Debugger" field (e.g. C:\Program files\windows Kits\8.0\ Debuggers\x64\cdb.exe)
After this everything seems ...
Colby {Edit} I should further mention so if
Use OpenCV library in Qt creator (successful compilation under Windows 7 system)
Compiling OpenCV2.0
1 Download tdm-mingw-1.908.0-4.4.1-2 and install, install complete add bin to system path.
2 Installing Opencv2.0 Windows version
3 Installation CMake
4 Open CMake, configure source and target path, select MinGW makefiles, and generate target makefile
5 go to set target path, make until all libraries are generated
Configuring QT
The cost tracking application was created using the Wijmo5 and Ionic framework to build a Hybird app. We are based on the Mobile first! Wijmo 5 + Ionic framework: Hello world! "Environment, you will complete the cost tracking app build in this tutorial. The following code structure is the result of this tutorial, please create the files and directories beforehand. www/-->-->/-->/-->-->-->/-->/ -->/-->/--Ang
$ionicLoading is a ionic default load interaction effect. Inside the content can also be modified in the template.UsageAngular.module (' Loadingapp ', [' Ionic ']). Controller (function($scope, $ionicLoading) { function() { $ionicLoading. Show ({ ' Loading ... ' }); }; function () { $ionicLoading. Hide (); };});MethodDisplays a load effect.Show (opts)?Hides a load effect.Hide ()?Instance
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
Ionic default tabs template, Android at the top, iOS below. Modify the configuration in Www/js/app.js, add a variable, and modify the corresponding property:
. config (function ($stateProvider, $urlRouterProvider, $ionicConfigProvider) {$ IonicConfigProvider.platform.ios.tabs.style (' standard ');
$ionicConfigProvider. Platform.ios.tabs.position (' bottom ');
$ionicConfigProvider. Platform.android.tabs.style (' standard ');
$ionicConfigPro
Recently in the process of organizing the project's internationalization JSON file, feel this need to sum up.
At present, we are using ionic to do the project, the previous search on the Internet, is the direct use of angular translate services, with two JSON files, a Chinese bag, an English bag, the results in the ionic serve when no problem, but packaged in the mobile phone when the run is not workable ,
First create a Ionic project, add the camera plugin
$ ionic Cordova Plugin Add Cordova-plugin-camera
$ npm Install--save @ionic-native/camera
Introducing Plug-ins in App.module
Then write the call function in the corresponding TS file
Getpicturebycamera () {Const Options:cameraoptions = {quality:100,//Picture quality destinationtype:this. Camera. DestinationT
I. ADB plugin
Of course you can use Win+r to open the cmd window to use Logcat, but it is very troublesome, this you can set shortcut keys. Soon.
1. First you need to have adb this command, download the Android platform tools inside will have
2. Open Webstorm, File>settings>tools>externel tools
Program:e:\android\sdk\platform-tools\adb.exe
Parameters:shell "Logcat | grep CONSOLE "
3. I am here to crawl the HTML5 application inside the JS in the console printing information, so is the grep
Recent period of time in the circle of friends, in the top right corner of the avatar to add a red bottom white number, so that a lot of obsessive-compulsive students point a stop, deeply admire the invention of the girl, too witty. But it can't be customized, it's a mishap ....This is in the circle of friends:This is easy to write in the Android program, using open source project Viewbadger can achieve this effect, I wrote a simple demo program open source, interested friends can down, it can c
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.