具体做法如下:
1. 设置FLAG_PERSISTENT:在AndroidManifest.xml文件中,加入android:persistent="true" ;
2. 设置FLAG_SYSTEM:将你写的应用程序放到/system/app/目录下即可。具体操作如下:
A. 使用Cygwin或cmd进入你工程所在的bin目录中,然后执行如下两条命令:
adb re...
分类:
移动开发 时间:
2014-09-13 21:32:15
阅读次数:
253
刚开始设置Eclipse+Cygwin在Windows下编写LinuxC程序代码,会遇到如下图的问题:解决的办法是:在执行Launcher的时候,先执行Ctrl + b,然后再执行Launcher。
分类:
系统相关 时间:
2014-09-13 21:26:25
阅读次数:
242
installing the Devel\gettext package should solve your problem. git-submodule requires that. Unfortunately this is not marked as dependency.附apt-cyg工具...
1 G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_deque.h 完整列表 2 /* 3 * 4 * Copyright (c) 1994 5 * Hewlett-Packard Company 6 * 7 * P...
分类:
其他好文 时间:
2014-09-10 15:37:01
阅读次数:
214
1 G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_map.h 完整列表 2 /* 3 * 4 * Copyright (c) 1994 5 * Hewlett-Packard Company 6 * 7 * Permission...
分类:
其他好文 时间:
2014-09-10 15:28:50
阅读次数:
258
1 G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_vector.h 完整列表 2 /* 3 * 4 * Copyright (c) 1994 5 * Hewlett-Packard Company 6 * 7 * Permiss...
分类:
其他好文 时间:
2014-09-10 15:26:00
阅读次数:
258
时间关系,linux环境下的配置过程先放着,有时间会一并整理出来···现在就先从老师给的cygwin环境开始。开始之前需要先准备以下文件:1. 老师给的Cygwin_setup.rar,没有的可以到http://dl.vmall.com/c0cu5yxa2i下载2. 老师给的cygwin.rar,这...
在网站下载源代码http://www.xiph.org/downloads/解压然后打开cygwin配置CXX=arm-linux-androideabi-g++.exe LD=arm-linux-androideabi-ld.exe AR=arm-linux-androideabi-ar.exe ...
分类:
移动开发 时间:
2014-09-07 19:43:55
阅读次数:
238
From:http://www.cnblogs.com/killerlegend/p/3960112.htmlAuthor:KillerLegendDate:2014.9.7打开mintty,输入下列命令即可.chere -i -t mintty之后,鼠标右键将会显示一个Bash Prompt He...
一、环境需准备的材料:1.VS2012,下载地址:官网2.cocos2d-x和cocostudio,下载地址:官网3.eclispe,我用的是:adt-bundle-windows-x86_64-20140321(最新版)4.NDK:android-ndk-r9d5.cygwin,官网下载6.pyt...