草庐IT

fine-uploader

全部标签

Android 6.0 "gps"位置提供者需要ACCESS_FINE_LOCATION权限

我已在我的list中定义了使用gps的所有前提。喜欢"使用权限android:name="android.permission.ACCESS_FINE_LOCATION"/>"使用权限android:name="android.permission.ACCESS_COARSE_LOCATION"/>每次我尝试在Android6.0上打开此Activity时,它都会停止并显示此logcat消息。但适用于某些手机。有人可以帮我弄清楚并提供解决方案吗?几天来我一直在试图弄清楚这个问题,以及如何解决它。FatalException:java.lang.RuntimeException:Unab

android - ACCESS_FINE_LOCATION 权限通过 Ionic 移动应用程序中的使用功能进行更新

我最近收到来自Google的通知,要求更新我们声明在应用内使用原生地理定位的方式。在Ionic(v1)中,安装了cordova-plugin-geolocation2.3.0“Geolocation”。在AndroidManifest.xml中声明的行:Google告诉我们改用:有什么干净的方法可以将它插入到AndroidManifest.xml中吗?应该带钩子(Hook)吗?我应该等待cordova-plugin-geolocation更新插件以满足Google的建议吗? 最佳答案 cordova-plugin-geolocati

php - 使用 REST 服务 core_files_upload 上传文件到 Moodle

我正在开发一个Android应用程序,它将使用Moodle提供的REST网络服务core_files_upload将内容上传到我的Moodle安装中用户的私有(private)文件。core_files_upload采用以下参数:contextidcomponentfileareaitemidfilepathfilenamefilecontentMoodleWeb服务的文档不是很详细,所以我从Moodle论坛和Google搜索中拼凑了一些我能找到的东西,但我觉得我已经走到了死胡同。从示例中我看到参数采用以下值:contextid:int-notsurewhetherthisistheu

android - 客户端必须具有 ACCESS_FINE_LOCATION 权限才能在 android 6 中请求 PRIORITY_HIGH_ACCURACY 位置

我最近在android版本6.0的设备上遇到了一个问题我遇到以下崩溃java.lang.SecurityException:ClientmusthaveACCESS_FINE_LOCATIONpermissiontorequestPRIORITY_HIGH_ACCURACYlocations.atandroid.os.Parcel.readException(Parcel.java:1627)atandroid.os.Parcel.readException(Parcel.java:1579)atub.a(:com.google.android.gms.DynamiteModulesB

android - Play 商店错误 "You uploaded an APK that is signed with an insecure certificate"

我正在尝试将使用Unity3D开发的游戏上传到PlayStore。我已经使用Unity的内置方法和所有必需的参数对apk进行了签名,但是在尝试将APK上传到Play商店时出现此错误YouuploadedanAPKthatissignedwithaninsecurecertificate.RSAorDSAkeysizemustbeatleast2048bits. 最佳答案 现在有同样的错误...也是新应用...看来我们需要手动创建击键cd"C:\ProgramFiles(x86)\Java\jre6\bin"(whereJavains

android - {"error": {"message" :"(#324) Requires upload file" ,"type" :"OAuthException" ,"code":324}}

privatevoidpostToWall(Stringmsg){Bundleparameters=newBundle();//parameters.putString("method","stream.publish");JSONObjectattachment=newJSONObject();try{byte[]data=null;Bitmapbi=BitmapFactory.decodeResource(getResources(),R.drawable.bluerib);//Bitmapbi=//BitmapFactory.decodeFile("http://demos.co

java - 获取意外的 JDWP 错误 : 103 while trying to upload an image using retrofit to an api server android?

我在尝试使用改造多部分在api服务器上上传图像时收到以下103错误消息,api收到apitoken“_method”:“PUT”和图像url作为参数,在响应时收到完整的JSON但带有先前或默认的图像链接,当前选择的图像不会上传,其他一切都是可选的,任何帮助将不胜感激,下面列出了代码谢谢。此外,主要方法是POST,但“_method”:“PUT”参数可让您上传图像,如果没有_method,它将成为POST消息,除此之外的所有其他参数都成为强制性参数,请检查图像。com.sun.jdi.InternalException:UnexpectedJDWPError:103接口(interfac

android - Phonegap 的 FileTransfer.upload() 在 Android 上抛出错误代码 3

我正在努力将图片上传到服务器。我能够使用iOS成功上传图像,但是当我在android上尝试时,我收到错误代码3。目前使用phonegapcordova1.8.1。我已经尝试在参数中添加trueupload(filePath,server,successCallback,errorCallback,options,**true**);并添加这个options.chunkedMode=false;我的AndroidManifest文件包含:我的cordova.xml文件包含:我错过了什么吗?谢谢 最佳答案 问题可能不在Phonegap中

android - 尽管在 list 文件中指定了权限,但 ACCESS_FINE_LOCATION SecurityException

我的应用正在尝试访问设备的位置,并且我在AndroidManifest.xml中包含了以下内容:我已经按如下方式实现了GoogleApiClient.ConnectionCallbacks以访问位置服务:publicclassBackgroundLocationServiceimplementsGoogleApiClient.ConnectionCallbacks,GoogleApiClient.OnConnectionFailedListener{privatestaticfinalStringTAG=BackgroundLocationService.class.getSimple

java - 带有服务器端 php 的 Android 文件 uploader

几个小时以来,我一直在寻找解决方案,但我找不到。基本上,我想从我的android设备上传文件到http网站。但是,我不知道该怎么做。我在设备上使用java,我想在服务器端使用PHP。我只想上传文件,而不是在服务器上对它们做任何花哨的事情。任何人都可以提供我需要的代码和/或良好的链接吗?我在这方面几乎没有经验,我很茫然。谢谢,NS附言。我没有PHP编码经验。 最佳答案 是的,所以我找到了Java方面的东西。这行得通,所以...是的。publicclassUploaderextendsActivity{privateStringTag=