首页 新闻 会员 周边

安卓中tohexstring无法再MainActivity类中使用

0
悬赏园豆:50 [待解决问题]

问题如题,错误提示如下:

The method tohexstring(int, Object...) in the type Context is not applicable for the arguments (byte[], String)

初学安卓,请教了。

adrianlamo的主页 adrianlamo | 初学一级 | 园豆:152
提问于:2013-10-06 22:09
< >
分享
所有回答(1)
0

参数不对吧。

angelshelter | 园豆:9887 (大侠五级) | 2013-10-07 09:05

好像不是参数的问题,MainActivity类是有些函数不可以使用,但是具体也不清楚。

支持(0) 反对(0) adrianlamo | 园豆:152 (初学一级) | 2013-10-07 09:53

@adrianlamo: 一般的能弹出提示的,都能用。有一些方法,子类没有实现。它会在运行时弹出说xxx方法没有实现。

支持(0) 反对(0) angelshelter | 园豆:9887 (大侠五级) | 2013-10-07 10:22
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册