我创建了 Sencha touch 应用程序 i wont 创建该应用程序的 APK 文件 i 下载 sencha sdk 工具, 现在配置使用 sencha- sdk 工具创建 APK 文件所需的步骤
pl 帮助我使用 sencha- sdk 工具创建APK 文件
我创建了 Sencha touch 应用程序 i wont 创建该应用程序的 APK 文件 i 下载 sencha sdk 工具, 现在配置使用 sencha- sdk 工具创建 APK 文件所需的步骤
pl 帮助我使用 sencha- sdk 工具创建APK 文件
您可以使用电话加普和日食来创建本地 Apk 。
http://wiki.phonegap.com/w/page/3086272/phonegap-and midd-eclipse-quickstart
您也可以创建没有 sencha sdk 工具的 Apk, 如下
遵循步骤
1. 加入https://building.phonegap.com/"rel=nofollow>
2. 在您的 PC 中创建一个包含两个新文件夹的新文件夹, 即“ 资产” 和“ 测试” 。
- 在"资产"中,移动所有你所接触的代码
4. 在文件夹根根中,移动您的图标( 应用程序) 、 索引. html 文件( 在 encha touch 应用程序中使用的相同索引) 和 “ config. xml ”
5- 添加您的主文件夹到 zip 上传到 phonegap 。
6. 最后,你还获得安装机、窗户电话、黑莓、ios、symbian和webos的安装器。
https://building.phonegap.com/docs/config-xml" rel=“no follow”>https://building.phonegap.com/docs/config-xml
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "Name mobile"
version = "1.0.0">
<name>name Mobile</name>
<description>
</description>
<author href=""
email="">
cmujica
</author>
<gap:platforms>
<gap:platform name="android" minVersion="2.3" />
<gap:platform name="webos" />
<gap:platform name="symbian.wrt" />
<gap:platform name="blackberry" project="widgets"/>
</gap:platforms>
<icon src="icon.png" gap:role="default" />
<gap:splash src="assets/images/bg-blue.png" />
<feature name="http://api.phonegap.com/1.0/network"/>
<!-- sample preference specification -->
<!-- <preference name="autorotate" value="false" readonly="true"/> -->
</widget>
我更喜欢在昏迷状态下指挥
只需为应用程序创建密钥仓库
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name
-keyalg RSA -keysize 2048 -validity 10000
将我替换为您的应用程序名 。
确保从那里创建密钥存储器的复制位置, 然后将其放入应用程序中, 然后更新软件包r.json, 并给密钥存储处命名, 名称应该与您所复制的类似 。
创建本地服务器以外的构建文件夹, 并给出任何名称, 然后更新软件包r.json 中的文件夹名称 。
现在,在您的昏迷提示时, 转到应用程序和类型
sencha package build packager.json
您将在构建文件夹中获取一个软件包 。
从Sencha Touch到Android Apk的简单快捷方式使用生成的默认应用程序。
Pre-req: 1) Ant: Configure ANT_HOME and append to Path as %ANT_HOME%in; 2) Java: Configure JAVA_HOME and append to Path as %JAVA_HOME%in; 3) Ruby 4) Android SDK (If Android SDK is unzipped at C:MobileAdtBundle, then your sdk home is C:MobileAdtBundlesdk i.e till the sdk folder) 4.1) Append to Path as C:MobileAdtBundlesdk ools;C:MobileAdtBundlesdkplatform-tools; 4.2) Download the required Android API by running the C:MobileAdtBundleSDK Manager.exe , in my case it was androidAPILevel=14 i.e. Android 4.0 5) Certificate Generation: (Run the below command from the command prompt in your JAVA_HOMEin location. Please note its important to specify the path where the certificate will be stored, in my case its C:myapp.keystore) keytool -genkey -v -keystore C:myapp.keystore -alias myapp_alias -keyalg RSA -keysize 2048 -validity 10000
Steps: 1) Generated a new app using the following command from my Touch Directory location, in my case C:Mobile ouch-2.3.1 sencha generate app MyApp ../MyApp
{ "applicationName":"MyApp", "applicationId":"com.mycompany.myapp", "bundleSeedId":"KPXFEPZ6EF", "versionString":"1.0", "versionCode":"1", "icon": { "36":"resources/icons/Icon_Android36.png", "48":"resources/icons/Icon_Android48.png", "57":"resources/icons/Icon.png", "72":"resources/icons/Icon~ipad.png", "114":"resources/icons/[email protected]", "144":"resources/icons/[email protected]" }, "inputPath":"./", "outputPath":"C:Mobile", "configuration":"Debug", "platform":"Android", "deviceType":"Universal", "certificatePath":"C:Mobilemyapp.keystore", "certificateAlias":"myapp_alias", "certificatePassword":"android", "provisionProfile":"", "notificationConfiguration":"", "sdkPath":"C:MobileAdtBundlesdk", "androidAPILevel":"14", "permissions":[ "INTERNET", "ACCESS_NETWORK_STATE", "CAMERA", "VIBRATE", "ACCESS_FINE_LOCATION", "ACCESS_COARSE_LOCATION", "CALL_PHONE" ], "orientations": [ "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" ]
3) Go to your generated app on the command prompt and run the following command sencha app build native
4) Congrats, ur MyApp.apk is avl at Generated App folder ative-package-mobileMyApppackager.jsonMyApp.apk
I am using ExtJS 3 here. I would like to populate a formpanel from database with fields to be submitted. Basically, I don t know witch fields my form will have and I want to generate all formpanel ...
I am planning to use Ext JS for a large application. The application s features are role based. When user login, they only see menu and screen features related to them. My server side technology will ...
I have a Panel layout with a TreePanel in one region. A user clicks on an node in the tree and a TabPanel should be displayed in another region with information, editing tools etc. for that tree node....
I have some issues with Json result and embed it within the html of the Extjs Panel. Here s that I have managed to get so far. myPanel is embedded within a mainPanel, and I have some shows/hide of ...
I am using ExtJS. One of the textfield made with ExtJS component should allow comma separated number/opeator strings (3 similar examples) like 1, 2-3, 4..5, <6, <=7, >8, >=9 >2, 3..5,...
I need to keep certain data ( in a grid) up to date and was gonna do a poll to the server every 15 seocnds or so to get the data and refresh the grid, however it feels a bit dirty ( the grid will have ...
All the ExtJS documentation and examples I have read suggest calling superclass methods like this: MyApp.MyPanel = Ext.extend(Ext.Panel, { initComponent: function() { // do something MyPanel ...
Is it possible to have two headers in Ext JS grids? I have to show my grid as grouped data.. for example product types and products. In my case I need a grid like this: Field | Product Type A ...