码迷,mamicode.com
首页 >  
搜索关键字:mystra    ( 315个结果
Android - Activity类和Manager类的更新通信
Activity类和Manager类的更新通信本文地址: http://blog.csdn.net/caroline_wendyActivity类和事件管理(Manager)类之间需要进行通信,可以把更新的数据,及时显示在界面。在更新的管理类StepCounterManager中设置一个接口调用;保证每一次更新,都会调用这个接口。mTest.test(context);在管理(Manager)类内...
分类:移动开发   时间:2014-11-25 23:42:31    阅读次数:230
Android - 插入数据库(SQLite)错误
插入数据库(SQLite)错误本文地址: http://blog.csdn.net/caroline_wendyError: android.database.sqlite.SQLiteException: no such table: step (code 1): , while compiling: INSERT INTO step(duration,date,counter) VALUES ...
分类:移动开发   时间:2014-11-22 23:12:30    阅读次数:223
Android - 通过Intent启动Activity
通过Intent启动Activity本文地址: http://blog.csdn.net/caroline_wendy为了动态关联Activity界面,使用Intent启动,可以灵活绑定。在Intent静态类中,定义Intent的内容:public static final String ACTION_HOME = "me.cxxxyx.CxxxyxIntent.ACTION_HOME";然后通过...
分类:移动开发   时间:2014-11-20 09:08:46    阅读次数:219
Android - 渠道号(vender)
渠道号(vender)本文地址: http://blog.csdn.net/caroline_wendyAndroid的apk发布,需要统计各个渠道(vendor)的激活数,就可以使用vendor.txt内渠道号进行统计。因此,在正式版本中,一定要添加Android渠道号,才可以发布;给其他公司修改版本bug之后,返回应用apk时,一定要检查渠道号(vendor.txt)是否添加,同时检查配置(a...
分类:移动开发   时间:2014-11-20 09:07:38    阅读次数:194
Android - CharSequence和String的比较和转换
CharSequence和String的比较和转换本文地址: http://blog.csdn.net/caroline_wendyCharSequence转换String:str = cs.toString();String转换CharSequence:cs = str;CharSequence和String类型的比较:cs.toString().equal(str);具体: ...
分类:移动开发   时间:2014-11-20 07:59:40    阅读次数:368
Android - 警告:it is always overridden by the value specified in the Gradle build script
警告:it is always overridden by the value specified in the Gradle build script本文地址: http://blog.csdn.net/caroline_wendy警告:This minSdkVersion value (8) is not used; it is always overridden by the value s...
分类:移动开发   时间:2014-11-20 07:58:07    阅读次数:243
Android - 设置adb的usb连接配置
设置adb的usb连接配置本文地址: http://blog.csdn.net/caroline_wendy把需要测试的手机连接入电脑,通过系统查找USB连接配置,找到厂商ID:把ID添加进adb_usb.ini;使用命令:vi ~/.android/adb_usb.ini 如:0x2717 0x9bb5使用adb命令:adb kill-server adb start-server可以方便And...
分类:移动开发   时间:2014-11-20 07:57:25    阅读次数:193
Android - 错误:Unable to instantiate application
错误:Unable to instantiate application本文地址: http://blog.csdn.net/caroline_wendy错误:java.lang.RuntimeException: Unable to instantiate application me.chunyu.paddoctor.ActivityJava运行时异常,不能实例化应用:XXX.原因:的”and...
分类:移动开发   时间:2014-11-20 07:57:18    阅读次数:191
Android - 返回上一个界面finish()方法
返回上一个界面finish()方法本文地址: http://blog.csdn.net/caroline_wendyAndroid可以使用finish()方法,实现函数返回的功能,当不是Activity内部调用时,需要使用getActivity()方法的返回值Activity调用。如实现了一个提示框(AlertDialog),包含两个按钮,返回和设置;一个是跳转定位服务设置界面,一个是返回上一级界...
分类:移动开发   时间:2014-11-18 09:12:11    阅读次数:300
Android - 位置定位(Location)服务(Service)类的基本操作
位置定位(Location)服务(Service)类的基本操作本文地址: http://blog.csdn.net/caroline_wendy定位服务,可以确定移动设备的地址,在地图相关服务中,经常会使用GPS和移动相关的定位服务,GPS较为精准。根据常用的定位服务功能,又添加网络检测和Wifi检测,和启动相关界面进行测试的功能。代码:import android.content.Context...
分类:移动开发   时间:2014-11-18 01:41:52    阅读次数:259
315条   上一页 1 ... 10 11 12 13 14 ... 32 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!