【未解决】android项目中代码中如何获得对应的项目名
crifan 12年前 (2013-11-08) 2706浏览 0评论
【背景】 希望在代码中输出log。 之前已经实现了log的功能: 【记录】给Android中添加log日志输出到文件 但是默认输出的位置是 sd卡的根目录 导致: 程序运行多次后,在sd卡根目录下生成了太多的log文件,很乱。 希望: 修改log部分...
工作相关的技术文章
crifan 12年前 (2013-11-08) 2706浏览 0评论
【背景】 希望在代码中输出log。 之前已经实现了log的功能: 【记录】给Android中添加log日志输出到文件 但是默认输出的位置是 sd卡的根目录 导致: 程序运行多次后,在sd卡根目录下生成了太多的log文件,很乱。 希望: 修改log部分...
crifan 12年前 (2013-11-08) 9642浏览 1评论
【问题】 使用代码: //Method2: detect supported usb serial from android usb serial driver UsbManager mUsbManager = (UsbManager) g...
crifan 12年前 (2013-11-08) 3025浏览 0评论
【背景】 折腾: 【已解决】android程序运行出错:UsbManager(4294): exception in UsbManager.openDevice,java.lang.SecurityException: User has not gi...
crifan 12年前 (2013-11-08) 5511浏览 1评论
【问题】 折腾: 【未解决】Eclipse的ADT中调试Android程序时给jar包添加源码以便源码级调试 期间,注意到: 当看不到Class File Editor中可以显示让自己选择源码的是,就有对应的: The Jar of this ...
crifan 12年前 (2013-11-07) 10562浏览 1评论
【问题】 折腾: 【已解决】android程序运行出错:UsbManager(4294): exception in UsbManager.openDevice,java.lang.SecurityException: User has not gi...
crifan 12年前 (2013-11-07) 5278浏览 1评论
【背景】 【记录】有空去试试Jython 中的问题: 抱歉打扰一下,请问如果我用jython解析完python后,生成的字节码到了什么地方呢?呃我参照了Using jython的文档没有找到解决办法,在盘中搜索我原.py文件的文件名也没有找到,...
crifan 12年前 (2013-11-07) 4401浏览 0评论
【问题】 折腾: 【已解决】找到Jython编译py文件所生成的二进制的class文件 期间: 找到jython安装路径: D:\tmp\dev_install_root\jython2.5.3 结果其下没有希望的Tools目录。 更没有: T...
crifan 12年前 (2013-11-07) 2792浏览 0评论
【问题】 折腾: 【已解决】虽已安装了jython后但找不到jythonc.py 期间,需要获得Python文件所在的当前文件夹。 【折腾过程】 1.参考: How to get full path of current directory in P...
crifan 12年前 (2013-11-07) 4410浏览 0评论
【背景】 在折腾一个android的app。 期间用到了USB Host,外接一个USB外设(USB转串口) 导致android设备中,没法再用usb口去调试了。 后来听说可以通过wifi调试,所以去试试。 【折腾过程】 1.通过wifi调试andr...
crifan 12年前 (2013-11-07) 2429浏览 0评论
【背景】 android项目,在res/xml下面有对应的, 之前是为了 android.hardware.usb.action.USB_DEVICE_ATTACHED 而去写的intent-filter的action对应的meta-data对应的r...