View previous topic :: View next topic |
Author |
Message |
mol2 Occasional Visitor
Joined: Aug 29, 2005 Posts: 35
|
Posted: Wed Jan 13, 2021 6:26 pm Post subject: |
|
|
Still not working on Samsung S10e running Android 10. |
|
Back to top |
|
|
FrequentFlyer Lifetime Member
Joined: Jun 12, 2006 Posts: 964 Location: London
|
Posted: Fri Mar 12, 2021 10:11 am Post subject: |
|
|
I miss CA do much, I'm going to buy another phone. Question. What is the last Samsung phone that will run CA ? Thanks. |
|
Back to top |
|
|
Kremmen Pocket GPS Verifier
Joined: Mar 03, 2006 Posts: 7137 Location: Reading
|
Posted: Fri Mar 12, 2021 10:21 am Post subject: |
|
|
It's hit and miss but you need a phone that's going to stick on Android 9 (Pie) and not update. My guess would be a Galaxy S7.
I've been looking at a decompiled CA in a few APK tools and it looks like the issue is AndroidX and the new API's.
There are 2 lines that need adding into the .gradle then Android Studio may be able to convert the code.
I can't get in too deep because not all the support files are available but the error seems to be the way AndroidX handles the 'filename.9.png' initial splash screen.
Android uses the '*.9.png' as an instruction to resize the splash screen to the phones screen size.
This is where it seems to be falling over. _________________ DashCam:
Viofo A119 V3 |
|
Back to top |
|
|
MaFt Pocket GPS Staff
Joined: Aug 31, 2005 Posts: 15297 Location: Bradford, West Yorkshire
|
Posted: Sat Mar 13, 2021 2:12 pm Post subject: |
|
|
FrequentFlyer wrote: | I miss CA do much, I'm going to buy another phone. Question. What is the last Samsung phone that will run CA ? Thanks. |
My OnePlus 5 running Android 10 runs the app fine. As does my recent Huawei P30 Lite NE (Android 10).
I know it fails on Pixel 2 running Android 11.
Aside from that, I don't know cos I don't use Samsung...! |
|
Back to top |
|
|
MaFt Pocket GPS Staff
Joined: Aug 31, 2005 Posts: 15297 Location: Bradford, West Yorkshire
|
Posted: Sat Mar 13, 2021 2:16 pm Post subject: |
|
|
Kremmen wrote: | Android uses the '*.9.png' as an instruction to resize the splash screen to the phones screen size.
This is where it seems to be falling over. |
Interesting. The 9-patch files (*.9.png) are still valid in the Android SDK so it may be how Samsung's version of Android 10 specifically handles the file?!
Unless the error is just AFTER the 9-patch file loads and that file is the last thing that successfully loads and gets logged?
MaFt |
|
Back to top |
|
|
Kremmen Pocket GPS Verifier
Joined: Mar 03, 2006 Posts: 7137 Location: Reading
|
Posted: Sat Mar 13, 2021 5:32 pm Post subject: |
|
|
Could be.
I'm also suspicious of how AndroidX handles map files, which could be the next thing it does. On my Android 9 tablet, after the splash it loads the map.
Sadly I'm no Android expert.
One thing I did find is using the Android Studio AVD which mimics an Android phone for testing, that also falls over, but I did set it to mimic a Pixel2 which is the default. _________________ DashCam:
Viofo A119 V3 |
|
Back to top |
|
|
Leo_A Regular Visitor
Joined: Jan 10, 2017 Posts: 157
|
Posted: Mon Mar 15, 2021 7:42 pm Post subject: |
|
|
Starting from Android 9, if the app uses Google Maps, its manifest must include the following line
Code: | <uses-library android:name="org.apache.http.legacy" android:required="false" /> |
in the application section.[/quote] |
|
Back to top |
|
|
Kremmen Pocket GPS Verifier
Joined: Mar 03, 2006 Posts: 7137 Location: Reading
|
Posted: Tue Mar 16, 2021 4:59 am Post subject: |
|
|
Interesting.
I've had a clearout so I'll reinstall the bits I need to get at the manifest.
In the main the AndroidManifest.xml is read only but APKLab via Visual Studio code does allow editing. _________________ DashCam:
Viofo A119 V3 |
|
Back to top |
|
|
Kremmen Pocket GPS Verifier
Joined: Mar 03, 2006 Posts: 7137 Location: Reading
|
Posted: Tue Mar 16, 2021 6:33 am Post subject: |
|
|
Line inserted.
Still works on tablet under Android9 but won't run under Android10
The more I dig into the error:
java.lang.ClassNotFoundException
BaseDexClassLoader.java
dalvik.system.BaseDexClassLoader
findclass
Could this be the error line (3340), as pointed at by the crash dump:
invoke-interface (v0, v1, v2), Landroid/content/SharedPreferences;- getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
Some characters edited out due to posting issue
Double dutch to me
It's trying to invoke java lang and it's java lang that it can't find. Trying to find exactly where the link is to see what it's calling is baffling me. _________________ DashCam:
Viofo A119 V3 |
|
Back to top |
|
|
CAA_0818232231 Occasional Visitor
Joined: Aug 18, 2014 Posts: 8
|
Posted: Sat Mar 20, 2021 10:13 pm Post subject: Samsung S20 + 5G - Android 11 Cameralert Not Working |
|
|
I have a Samsung S20 + 5G running:
- Android 11
- One UI version 3.1
So it would seem the problem of cameralert has progressed to the latest version of android. |
|
Back to top |
|
|
MaFt Pocket GPS Staff
Joined: Aug 31, 2005 Posts: 15297 Location: Bradford, West Yorkshire
|
|
Back to top |
|
|
FrequentFlyer Lifetime Member
Joined: Jun 12, 2006 Posts: 964 Location: London
|
Posted: Thu Nov 28, 2024 1:59 pm Post subject: |
|
|
Thanks for your hardwork. |
|
Back to top |
|
|
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
|
|