J jcmartini Member Licensed User Longtime User Jul 27, 2020 #1 Hello, Could somebody give us some guidelines for the permissions in Sdk version 29 (Android 10). It seems that they have all changed !...
Hello, Could somebody give us some guidelines for the permissions in Sdk version 29 (Android 10). It seems that they have all changed !...
Pendrush Well-Known Member Licensed User Longtime User Jul 27, 2020 #2 android.jar / targetSdkVersion / minSdkVersion There are several versioned components that affect the compilation process and the runtime behavior of our apps. The purpose of this tutorial is to explain the differences between them and help you choose which version to use. Each Android version is mapped to an api level. You can see this... www.b4x.com Upvote 0
android.jar / targetSdkVersion / minSdkVersion There are several versioned components that affect the compilation process and the runtime behavior of our apps. The purpose of this tutorial is to explain the differences between them and help you choose which version to use. Each Android version is mapped to an api level. You can see this... www.b4x.com
Erel B4X founder Staff member Licensed User Longtime User Jul 27, 2020 #3 Exactly like done in Android 6, 7, 8 and 9. Runtime Permissions (Android 6.0+ Permissions) Upvote 0
J jcmartini Member Licensed User Longtime User Jul 29, 2020 #4 It seems not: I am using the example of FTP server you gave us. When I put targetSdkVersion="29" in the project manifest file. It does not work. In the FTP client (under W10 and Winscp) I received the following messages: 1) Connection to 192.168... 2) Connected 3) session starting 4) List of the remote directory Then the error msg: List of the remote folder is not possible. When I put targetSdkVersion="28" in the project manifest it works fine. Any idea ? Upvote 0
It seems not: I am using the example of FTP server you gave us. When I put targetSdkVersion="29" in the project manifest file. It does not work. In the FTP client (under W10 and Winscp) I received the following messages: 1) Connection to 192.168... 2) Connected 3) session starting 4) List of the remote directory Then the error msg: List of the remote folder is not possible. When I put targetSdkVersion="28" in the project manifest it works fine. Any idea ?
Erel B4X founder Staff member Licensed User Longtime User Jul 29, 2020 #5 Runtime permissions work exactly the same. There are new restrictions which are listed in the tutorial linked in post #2. First step is to find the full error message in the device logs. Upvote 0
Runtime permissions work exactly the same. There are new restrictions which are listed in the tutorial linked in post #2. First step is to find the full error message in the device logs.
J jcmartini Member Licensed User Longtime User Jul 29, 2020 #6 You are right it's not a problem of permission. The msg is not very clear and it's happend only with sdk 29. Attachments log.png 10.9 KB · Views: 564 Upvote 0
You are right it's not a problem of permission. The msg is not very clear and it's happend only with sdk 29.
Erel B4X founder Staff member Licensed User Longtime User Jul 29, 2020 #7 Please post text. Not screenshots. Upvote 0
J jcmartini Member Licensed User Longtime User Jul 30, 2020 #8 Sorry, I didn't find how to copy several lines from the log.... Upvote 0
DonManfred Expert Licensed User Longtime User Jul 30, 2020 #9 jcmartini said: Sorry, I didn't find how to copy several lines from the log.... Click to expand... rightclick and select Copy all to Clipboard Upvote 0
jcmartini said: Sorry, I didn't find how to copy several lines from the log.... Click to expand... rightclick and select Copy all to Clipboard
J jcmartini Member Licensed User Longtime User Jul 31, 2020 #10 These remarks do not solve my problem.... Upvote 0
DonManfred Expert Licensed User Longtime User Jul 31, 2020 #11 jcmartini said: These remarks do not solve my problem.... Click to expand... You are making it very difficult to help you. You are not providing enough information, not providing a small example which shows the problem. You are not providing any full stacktrace. You are even not proving any related code. How could we help? Upvote 0
jcmartini said: These remarks do not solve my problem.... Click to expand... You are making it very difficult to help you. You are not providing enough information, not providing a small example which shows the problem. You are not providing any full stacktrace. You are even not proving any related code. How could we help?
Pendrush Well-Known Member Licensed User Longtime User Jul 31, 2020 #12 DonManfred said: How could we help? Click to expand... You have to buy something like this ? Upvote 0
N Num3 Active Member Licensed User Longtime User Aug 3, 2020 #13 Could it be: B4X: Copy Dim mylist as List mylist.Initialize '<----- Maybe the "hint" LIST must be initialized in the log means this? Upvote 0
Could it be: B4X: Copy Dim mylist as List mylist.Initialize '<----- Maybe the "hint" LIST must be initialized in the log means this?
TILogistic Expert Licensed User Longtime User Aug 3, 2020 #14 tips: Privacy changes in Android 10 | Android Developers This document outlines the privacy-related features and behavior changes introduced in Android 10 (API level 29), focusing on enhanced user control over data and app capabilities. developer.android.com Android 10 for Developers | Android Developers This document highlights the key features and developer-focused enhancements introduced in Android 10, focusing on mobile innovation, privacy, security, and digital wellbeing. developer.android.com Upvote 0
tips: Privacy changes in Android 10 | Android Developers This document outlines the privacy-related features and behavior changes introduced in Android 10 (API level 29), focusing on enhanced user control over data and app capabilities. developer.android.com Android 10 for Developers | Android Developers This document highlights the key features and developer-focused enhancements introduced in Android 10, focusing on mobile innovation, privacy, security, and digital wellbeing. developer.android.com
J jcmartini Member Licensed User Longtime User Aug 9, 2020 #15 Hello, I'm back from vacation... I give you the Erel's example. The only change I did, is adding permission of "PERMISSION_WRITE_EXTERNAL_STORAGE" in main module. As I told you: it works fine with sdk28 and Android 10 but not with sdk29 and Android 10. Any idea ? Attachments FTPServer.zip FTPServer.zip 14 KB · Views: 362 Upvote 0
Hello, I'm back from vacation... I give you the Erel's example. The only change I did, is adding permission of "PERMISSION_WRITE_EXTERNAL_STORAGE" in main module. As I told you: it works fine with sdk28 and Android 10 but not with sdk29 and Android 10. Any idea ?
DonManfred Expert Licensed User Longtime User Aug 9, 2020 #16 jcmartini said: Any idea ? Click to expand... 1. You did not implemented the permissions correctly. 2. As your are using File.DirRootExternal you NEED to use Runtimepermissions when using TargetSDK 23+ which you are not. Attachments FTPServerEdited.zip FTPServerEdited.zip 14.1 KB · Views: 413 Last edited: Aug 9, 2020 Upvote 0
jcmartini said: Any idea ? Click to expand... 1. You did not implemented the permissions correctly. 2. As your are using File.DirRootExternal you NEED to use Runtimepermissions when using TargetSDK 23+ which you are not.
TILogistic Expert Licensed User Longtime User Aug 9, 2020 #17 jcmartini said: Hello, Could somebody give us some guidelines for the permissions in Sdk version 29 (Android 10). It seems that they have all changed !... Click to expand... DonManfred said: 1. You did not implemented the permissions correctly. 2. As your are using File.DirRootExternal you NEED to use Runtimepermissions when using TargetSDK 23+ which you are not. Click to expand... Just to comment on something missing from DonManfred correction targetSdkVersion in manifest: <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="29"/> Click to expand... Route configuration: Android.jar C:\Android\platforms\android-29\android.jar Click to expand... Optional: I recommend doing Jetifier Clear Proyect and use Java11 in Route configuration Javac.exe: C:\Java\java-11.0.1\bin\javac.exe Click to expand... Regards, Upvote 0
jcmartini said: Hello, Could somebody give us some guidelines for the permissions in Sdk version 29 (Android 10). It seems that they have all changed !... Click to expand... DonManfred said: 1. You did not implemented the permissions correctly. 2. As your are using File.DirRootExternal you NEED to use Runtimepermissions when using TargetSDK 23+ which you are not. Click to expand... Just to comment on something missing from DonManfred correction targetSdkVersion in manifest: <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="29"/> Click to expand... Route configuration: Android.jar C:\Android\platforms\android-29\android.jar Click to expand... Optional: I recommend doing Jetifier Clear Proyect and use Java11 in Route configuration Javac.exe: C:\Java\java-11.0.1\bin\javac.exe Click to expand... Regards,
ilan Expert Licensed User Longtime User Sep 2, 2020 #19 i had problems too with targeting sdk29. its so hard to work with google they make so many changes each time they update their SDK and we need to update all apps. with ios, i have fewer issues. why is google making our life so hard?! Upvote 0
i had problems too with targeting sdk29. its so hard to work with google they make so many changes each time they update their SDK and we need to update all apps. with ios, i have fewer issues. why is google making our life so hard?!
tuhatinhvn Active Member Licensed User Longtime User Sep 2, 2020 #20 When target SDK 30, DirRootExternal will be blocked, Google changed very much , make developer very hard! Upvote 0
When target SDK 30, DirRootExternal will be blocked, Google changed very much , make developer very hard!