最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

MobilePlatform

【未解决】android项目中代码中如何获得对应的项目名

【未解决】android项目中代码中如何获得对应的项目名

crifan 11年前 (2013-11-08) 2690浏览 0评论

【背景】 希望在代码中输出log。 之前已经实现了log的功能: 【记录】给Android中添加log日志输出到文件 但是默认输出的位置是 sd卡的根目录 导致: 程序运行多次后,在sd卡根目录下生成了太多的log文件,很乱。 希望: 修改log部分...

【已解决】android中如何拼接路径

【已解决】android中如何拼接路径

crifan 11年前 (2013-11-08) 6146浏览 0评论

【背景】 折腾: 【已解决】android项目中代码中如何获得对应的项目名 期间,需要去拼接路径。 【折腾过程】 1.看了一堆,参考: Does Java have a path joining method? [duplicate] 去试试: ...

【已解决】Android的ADT调试期间出现提示:The Jar of this class file belongs to container 'Android Dependencies' which does not allow modifications to source attachments on its entries

【已解决】Android的ADT调试期间出现提示:The Jar of this class file belongs to container ‘Android Dependencies’ which does not allow modifications to source attachments on its entries

crifan 11年前 (2013-11-08) 6002浏览 1评论

【问题】 折腾: 【未解决】Eclipse的ADT中调试Android程序时给jar包添加源码以便源码级调试 期间,注意到: 当看不到Class File Editor中可以显示让自己选择源码的是,就有对应的: The Jar of this ...

63 queries in 0.159 seconds, using 21.97MB memory