在j2me中以编程方式访问应用程序权限 [英] Access app permissions programatically in j2me

查看:172
本文介绍了在j2me中以编程方式访问应用程序权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我可以在启动它之前设置j2me应用程序的权限,问第一次或其他什么用于SMS,读取和写入。我想要做的是如何在从应用程序内部启动应用程序后访问这些选项(无论我的应用程序未签名)。我只是想以实用的方式访问这些权限,我试着看几个例子,但它们有很大不同,有人知道吗?谢谢

I know I can set permissions of a j2me application before launching it ask first time or whatever for SMS, Read and Write. What I want to do is how can I access these options after launching the application from inside the app (no matter yet my app is not signed). I just want to get access to these permissions pragmatically, I tried to see few examples but they differ a lot, does anybody know about this? Thanks

推荐答案

想通知在J2me应用程序中无法获得权限设置,最好也是唯一的解决方案就是签名你的应用程序和启动它将要求权限。

Figured it out that it's not possible to get permissions settings inside J2me application, the best and only solution is to SIGN your application and on start it will ask for permissions.

这篇关于在j2me中以编程方式访问应用程序权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆