clear to understand,We can set the static variable in the desired class, and then pass the object in the constructor of the Reactmodule class.
public static Reactcontext Mreactcontext;
EventName This parameter, is the name of the event.
Paramss This parameter is an argument to the event.
2 Java-side Send message
We want to invoke the Java side of the JS method, that is, through the message to determine which method to call, with the previous
--hot " }, " keywords ": [], " author ":", "license": "ISC"}// index.htmlsrc= "http://localhost:8080/ Bundle.js ">//Note src Properties v. New Webpack.config.js fileCreate a new Webpack.config.js file under the project directory with the following contents:Module.exports = { entry: + "/app/main.js",// The only entry file output that has been mentioned several times : { + "/build",// The place where the files are packed after filename : "bundle.js"// file name of the output file a
Preparatory work1. You need a Mac computer. (This is not nonsense?) What I'm using is air~~ poor. )2. The environment in which I operate the computer system isVersion 3.xcode: 8.0 official editionRequired Software1.HomebrewHomebrew, a Package manager for Mac Systems, is used to install Nodejs and some other required tool software.Open Terminal, execute" $ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) "If you are in the
is 23.0.3, but reactnative build.grade file buildtoolsversion is 23.0.1, So change the value to correspond to the line.Well, it's over, and it's a service.React-native startHe's going to open a local HTTP service with a port number of 8081, Http://localhost:8081/index.android.bundle?platform=androiddev=truehot=false minify=false Open this address if you can see the JS code, it means that the service started successfully, such asAnd then run the app o
H.join (IPP, PF), ' WB '). Write (by)After the installation finishes Packagecontrol, open the package control for the Preferences toolbar of sublime Text3 to install the Add Package command so that the plugin can be installed through the3.2.2 Installing the Emmet pluginGo to the package Control and select the install Emmet installation to see the lower left corner when the Emmet V8 engine installation is completeRestart Sublime TEXT3 input div#test save it as an HTML file after you press the TA
For more information about the setup steps of the Ionic environment, see ionic setup steps.System Environment: Windows1. download
Download node. js until the next download is complete.2. test whether the installation is successful:
Input in cmdNode-vIf the version is outpu
problem, a Webpack package is not the overall installation, Webim the use of the local installation, only the project to refer to the local module is very convenient, there will not be too many inexplicable strange conflict;can be resolved in the following ways:① installs the Webpack as a global module with the NPM install-g command, and then uses the Webpack command.② since to local, that is directly local use, after analysis, call Webpack command is actually a CMD batch, view batch processing
One of the Cordova3.x series is environment setup and Common commands, one of the cordova3.x series.
Solemnly declare that the knowledge points involved in this series of blog articles are obtained from others' blogs, which are summarized by hands-on practices. Many operation details are omitted to consolidate what they have learned, in the future, we will launch a series of blog posts on Cordova.
I. Some
Selenium + python Development Environment setup, seleniumpython
Introduction to web debugging tools and development environment setup
Python and selenium development environment:
1. Download python software: https://www.python.org/
After the download is complete, install it
The Appium is an open source mobile automation testing framework that supports both Android and iOS.Appium executes the test script based on the Webdriver protocol.Today, such as fried leftovers, Introduction to build Appium Android environmentNeed:
Appium Windows Edition, current version is 1.4 https://bitbucket.org/appium/appium.app/downloads/
Android SDK, download for yourself
Selenium Selenium-server-standalone-2.46.0.jar
Java-client
Node
your own.
Virtual Machine environment Configuration:
Because the simulator of Android is very slow to start, the external simulator performs well. I used the startup time for 10 seconds to facilitate development. Download the SDK if necessary.
Http://blog.csdn.net/psvoldemort/article/details/17165265
3. Create a phonegap project file:
Cordova create Hello com. example. Hello helloworld
Hello is the folder name, Com. example. Hello is the package
that there is nohttpprefix. It could be localhost .or 192.168.11.195, here I am usinglocalhostas shown in the following:9.Find C:\inetpub\wwwroot\arcgis_js_v39_sdk\arcgis_js_api\library\3.9\3.9compact\js\dojo\dojo\ Dojo.js files, using Notepad or EditPlusOpen, ctrl+f.combine keys to find [Hostname_and_path_to_jsapi]and replace with 3.9compact/, of which for machine name or machineIP, withouthttpprefix. It could be localhost .or 192.168.11.195, here
Build a php development environment-laravel framework, apache server, git version control, and laravelgit. Php development environment setup-laravel framework, apache server, git version control, laravelgit this article mainly describes how to install the backend php in the development environment before the project, t
This article describes how to build a Windows _ x64 environment.
The file address is as follows:
Http://pan.baidu.com/s/1nv0IHhn (ylk7)
1. download the development tool 0.7.0 _ x64
After the installation is complete, open the program and scan the code to log on.
2. download the development tool 0.9.092300 _ x64.
Note: If the version is 0.9.092300 or earlier than this version, the program will be displayed in white.
Install (covering 0.7.0), d
001-Cocos2dx-2.1.3 environment setup-windows1. Install vs20122. Download cocos2dx2.1.3, decompress the package, and install the vs template.The installation method must be in the dZ release of cmd? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> vc9bQo6xjZLW91eK49sS/material =" http://www.2cto.com/uploadfile/Collfiles/20141015/2014101508454920.png "alt =" \ ">3. Start vs to create a
, Address: http://ant.apache.org/bindownload.cgi, and configure the environment variables. 3) Download node. js, Address: http://nodejs.org/download/, select Windows Installer (. msi) to download the installation. 4) Unzip the Cordova-3.4.0-src.zip, find the Cordova-android.zip, and extract to the root of the D drive. 5) from the command line into the bin directory of Cordova-android, execute create d:\html
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.