作者skyblue2021 (空虚的人生)
看板java
标题[J2ME] Application not authorized to access the restricted API
时间Tue Jun 23 17:02:10 2009
目前小弟所写的手机程式中包含了好几个class
其中某一个class C在使用class B时没有问题
(ex:
B b;
b = new B() ;
b.bbb() ; )
但是C再使用class A(class A extend MIDlet)中某一个methid aaa()时却出现了问题
(ex:
A a;
a = new A() ;
a.aaa() ; )
问题发生点在於a = new A() ;这里产生了
Application not authorized to access the restricted API 错误
两个class(A和B )皆为public,method也都是public
两个class的差别只在於A extend MIDlet而B不是
不知道为什麽会出现这样的问题?
而这个问题又该如何解决呢?
感激不进m(_ _)m
--
如果我手上这颗石头能打中那盏路灯,那麽,我就会是你的天使
幸福不会这麽轻易的被证明,天使也是....
因为那颗拇指大的石头,
结结实实的打在台湾大哥大女孩的头上。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.123.107.219