
Android
文章平均质量分 81
pangPython
任何事做上10年以上总会有起色
展开
-
adb命令
adb devices 查看设备adb install 安装软件adb uninstall *.apk 卸载软件 adb uninstall -k *.apk 卸载软件,保留配置文件和缓存文件adb push 电脑文件 手机目录(sdcard/) 发送文件到手机(此命令适合于刷机时,手机无法开机,只能进入recovery模式,使用该命令把刷机包推送到手机上,再进行卡刷)adb p原创 2015-10-05 23:05:37 · 516 阅读 · 0 评论 -
PHP后端android项目(三)APP主界面九宫格
PHP后端android项目(三)APP主界面九宫格代码:https://code.youkuaiyun.com/u012995856/androidpro/tree/master参考:http://www.cnblogs.com/yourancao520/archive/2011/11/22/2259532.html效果:界面布局:activity_main.xml使用网格布局布局主界面<?xml versi原创 2016-12-25 17:25:21 · 1320 阅读 · 0 评论 -
PHP后端android项目(一)安卓端请求SAE云端json数据
效果: 代码: android: https://code.youkuaiyun.com/u012995856/sae_php_android-android/tree/master php: https://code.youkuaiyun.com/u012995856/sae_php_android-php/tree/master工具: SAE新浪云、AFinal-android开发框架、androi原创 2016-09-02 17:13:14 · 603 阅读 · 0 评论 -
在你的android APP中集成JPush极光推送
效果: 手机上: JPush后台: 官方文档有教程,但感觉含糊不清. 集成有两种方式,使用gradle或者手工拷贝jar包so文件修改AndroidManifest.xml文件 这里使用gradle方式,简单,流行。 1.在JPush官网新建APP应用 使用账号登录,新建应用 此处的应用名称随便填写,但是包名要和自己的APP统一,下见 图中2处文件, 第一原创 2016-12-15 17:33:16 · 1229 阅读 · 0 评论 -
编译ionic应用时遇到“To run dex in process, the Gradle daemon needs a larger heap.”
报错:To run dex in process, the Gradle daemon needs a larger heap.It currently has approximately 910 MB.For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB.To原创 2016-09-20 14:18:21 · 4302 阅读 · 0 评论 -
Ubuntu16.04搭建ionic开发环境
参考ionic中文官网 http://www.ionic.wang/start-index.html先决条件:注:以下命令除有sudo说明外都是在普通用户权限下执行要有nodejs环境.sudo apt install nodejs做软链接(ionic脚本命令中nodejs的命令是nodejs而ubuntu安装后命令是node)sudo ln -s `which nodejs` /usr/原创 2016-06-04 19:13:53 · 2893 阅读 · 0 评论 -
ionic-Android-icon图标-splash启动页-常用尺寸(像素)
drawable-hdpi-icon 72*72drawable-ldpi-icon 36*36drawable-mdpi-icon 48*48drawable-xhdpi-icon 96*96drawable-xxhdpi-icon 144*144drawable-xxxhdpi-icon 192*192启动页横屏 高×宽 - drawable-land-hdpi-screen原创 2016-06-24 20:39:48 · 6871 阅读 · 1 评论 -
ionic提示/usr/bin/env: node: 没有那个文件或目录
更改/usr/local/bin/ionicvim ionic把开头的!/usr/bin/env node改成!/usr/bin/env nodejs原创 2016-06-03 16:06:21 · 1109 阅读 · 0 评论 -
Android开发笔记1
记录一些自己的学习心得,自学开始于14年暑假参加齐鲁软件比赛1、新建一个Activity就需要在AndroidManifest.xml文件中注册一下,否则app会闪退2、需要哪个activity作为第一启动就在AndroidM文件中此activity节点中加入 3、界面xml文件中需要显示原创 2016-02-20 17:09:59 · 340 阅读 · 0 评论 -
Why build CyanogenMod yourself?
Why build CyanogenMod yourself?· You never, ever have to wait for a nightly.· You can add or remove as-yet uncommitted features with ease.· You learn how Android works under the hood.安卓底层如何工作翻译 2016-02-09 22:58:13 · 410 阅读 · 0 评论 -
安卓刷机脚本阅读1
这是一个刷机包的刷机脚本ui_print("Powered By Disk");ui_print("UpDate use about 5 min");ui_print("Please Wait£?");//ui_print是打印输出函数,把引号中的内容在手机屏幕显示,recovery模式刷机显示的文字就是这些show_progress(0.1, 0);//显示进度(当前进度,总进度)u原创 2015-10-15 15:42:53 · 1599 阅读 · 0 评论 -
PHP后端android项目(二)登录界面
PHP后端android项目(二)登录界面代码:https://code.youkuaiyun.com/u012995856/androidpro/tree/master效果:xml文件布局: Android Studio IDE用户体验很好.每项功能都便于开发者.activity_login.xml<?xml version="1.0" encoding="utf-8"?><RelativeLayout原创 2016-12-25 17:08:40 · 1700 阅读 · 0 评论