惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
M
MIT News - Artificial intelligence
Engineering at Meta
Engineering at Meta
云风的 BLOG
云风的 BLOG
博客园 - 叶小钗
Jina AI
Jina AI
Last Week in AI
Last Week in AI
The Cloudflare Blog
博客园 - 【当耐特】
Stack Overflow Blog
Stack Overflow Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
博客园_首页
I
InfoQ
G
Google Developers Blog
Martin Fowler
Martin Fowler
Recent Announcements
Recent Announcements
H
Help Net Security
U
Unit 42
Blog — PlanetScale
Blog — PlanetScale
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
IT之家
IT之家
Microsoft Security Blog
Microsoft Security Blog

博客园 - homegis

关于开源GIS和商业GIS的讨论 B树索引学习 cordova 开发 ios app 简要流程 3D开源推荐:3DWebExplorer 3D开源推荐:全球卫星地图 Esri-Satellite-Map 空间网络分析开源环境的安装方法 Computing Aggregate Queries in Raster Image Databases Using Pre-Aggregated Data Cheetah:A High Performance, Custom Data Warehouse on Top of MapReduce 【转】 Ubuntu内核编译 Fuzzy C-Means Clustering【转】 【转】什么是数据驱动编程 DISPLAY connection problem when using ENVI/IDL in X Terminal LINUX 上 ENVI 4.7 安装步骤,IDL 调用方式 图论——网络最大流和最小截 Gfarm 安装(已测试) [转]多表连接的三种方式详解 HASH JOIN MERGE JOIN NESTED LOOP VS2005 调用 IDL7.1 方法 [转] 如何下载Google Earth中的卫星影像 【转】Envi调用MODIS Reprojection Tool(MRT)对MODIS产品进行批处理拼接、重投影、裁切 - homegis
cordova 开发 android app 简要流程
homegis · 2016-06-23 · via 博客园 - homegis

1. 安装cordova:npm install -g cordova --registry=https://registry.npm.taobao.org

2. 创建cordova工程:进入工作目录下执行 cordova create hello com.example.hello HelloWorld,
第一个参数hello,指定目录名称。
第二个参数com.example.hello类似C#的命名空间,或Java的包名。
第三个参数指定了应用程序的显示标题。

3. 增加android支持:进入工程目录,执行cordova platform add android

4. 导入eclipse工程:
启动eclipse,右击[package explore]空白处,选择新建,选择用已存在代码创建android项目,选中我们要导入的工程目录,在导入工程窗口我们会发现有两个工程,一个是我们创建的工程,另一个是新版Cordova的类库

若出现错误:he container 'Android Dependencies' references non existing library 'D:\Dev-tool\xkcoa\platforms\android\CordovaLib\bin\cordovalib.jar'

拷贝已下载的cordovalib.jar到platforms\android\CordovaLib\bin目录。

5. 接入测试手机,利用eclipse编译工程MainActivity,运行测试即可。