草庐IT

user_permissions

全部标签

android - "User is online"安卓 Material 设计的绿点图标

我在哪里可以找到用于MaterialDesignAndroid的显示“用户在线”的绿色小点图标?注意:我不认为它在这个https://material.io/tools/icons/?style=baseline中可用还有这个https://materialdesignicons.com/网站。 最佳答案 试试这个输出USELIKETHIS输出 关于android-"Userisonline"安卓Material设计的绿点图标,我们在StackOverflow上找到一个类似的问题:

android - 通过 user_link 打开用户 Facebook 页面时出现问题

我得到this尝试打开用户的Facebook页面时出现错误消息。奇怪的是,如果我和该用户有共同的friend,页面加载没有问题,但我不认为这是默认行为,否则我无法理解user_link权限的含义。Facebook已批准user_link权限,我已通过AppReview。我从开发者帐户将应用程序调用的API版本更改为v3.1。我获取user_link的方式LoginManager.getInstance().logInWithReadPermissions(this,Arrays.asList("user_gender","user_link"));LoginManager.getIns

c# - 权限拒绝 : requires android. permission.READ_PHONE_STATE

我试图在我的Android应用程序中检测电话,但在接听电话时收到以下消息:08-2315:16:04.685VodafoneVFD600Warning850BroadcastQueuePermissionDenial:receivingIntent{act=android.intent.action.PHONE_STATEflg=0x10(hasextras)}tocom....LogCallsrequiresandroid.permission.READ_PHONE_STATEduetosenderandroid(uid1000)08-2315:16:04.549VodafoneVF

nginx启动失败(bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket…permissions)

nginx启动失败,端口被占用nginx启动失败(bind()to0.0.0.0:80failed(10013:Anattemptwasmadetoaccessasocketinawayforbiddenbyitsaccesspermissions))在Windows安装了下nginx启动失败,报错nginx:[emerg]bind()to0.0.0.0:80failed(10013:Anattemptwasmadetoaccessasocketinawayforbiddenbyitsaccesspermissions)原来是nginxlisten的80端口被占用cmd输入命令netstat-

android - BlueStacks 上的 Google Play 服务安装失败 : Incompatible with other application(s) using the same share user ID

由于“与使用相同共享用户ID的其他应用程序不兼容”,在BlueStacks上安装GooglePlay服务失败。我究竟做错了什么?感谢您的宝贵时间。 最佳答案 这个问题困扰我很久了,之前的回答对解决问题基本没有帮助。我现在找到了一个解决方案,我将分享。它与前面的答案描述的基本步骤相同,但使用了一种删除Google服务框架和下载链接的故障安全方法。使用TitaniumBackup删除GoogleServicesFramework(TitaniumBackup>Backup/Restore>GoogleServicesFrameworkx

java - 标记 <uses-permission> 缺少必需的属性名称

我收到此错误,我几乎更改了所有设置墙纸以设置wallpapermanager和trgetsdk,并且还设置了min。仍然没有找到如何删除list错误的解决方案。已为set_Wallpaper添加权限。[2015-01-1707:51:51-com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper]解析器异常C:\Workspaces\MakingFun\AndroidMe\AndroidManifest.xml:元素类型“uses-permission”必须由匹配的结束标记终止“”。[2015-01-1707:

android - Cordova Phonegap - Android 地理定位显示错误 : Application does not have sufficient geolocation permissions error

在浏览器和iOS平台上,该位置运行良好并显示所需数据。在Android上它显示当前错误:Applicationdoesnothavesufficientgeolocationpermissionserror资源/Config.xml:HelloCordovaAsampleApacheCordovaapplicationthatrespondstothedevicereadyevent.ApacheCordovaTeamAndroid/res/xml/config.xmlHelloCordovaAsampleApacheCordovaapplicationthatrespondstoth

安卓棉花糖 : How to allow Runtime Permissions programatically?

我正在开发一个需要一些系统权限的应用程序,但是在AndroidMarshmallow上安装时不再自动授予这些权限。我想在运行时请求这些权限并运行某种自动化来授予它们,而无需用户在系统权限对话框出现时点击“允许”按钮。我怎样才能做到这一点?在Marshmallow和更高版本中有什么办法可以做到这一点吗? 最佳答案 对于Marshmallow或更高版本的权限不会在安装时授予,必须在运行时需要时请求(如果之前未授予。)为此,您需要运行ActivityCompat.requestPermissions()在您的Activity中弹出系统权限

安卓购物车 : How to keep products when user exit from app?

我正在开发像flipkart或amazon这样的电子商务应用程序,我需要将产品保留在购物车中,即使用户不小心退出了应用程序并且我遵循教程http://www.androiddom.com/2011/06/android-shopping-cart-tutorial-part-2.html谁能告诉我如何在退出应用程序后存储产品? 最佳答案 Androidprovidesseveraloptionsforyoutosavepersistentapplicationdata.Thesolutionyouchoosedependsonyou

android - 无法解析 GOOGLE_FIT_PERMISSIONS_REQUEST_CODE

我在AndroidStudio中使用GoogleFitAPI,并且关注thistutorial,但发生错误,说:cannotresolvethesymbol.我已经为此搜索了解决方案,但找不到。我还将依赖项放在我的模块gradle上,如他们网站上所述。GOOGLE_FIT_PERMISSIONS_REQUEST_CODE这是我从上述链接复制的代码:publicclassMainActivityextendsAppCompatActivity{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(s