Android Question B4A 5.2

DT1111

Member
Licensed User
Longtime User
Hi Erel

I have managed to compile my program developed in older B4A with the latest B4A 5.2 without any problem. That is really good.

Does that mean the app is now is going to run OK under Android 5.0 and beyond. Or is there something else I need to do like in the manifest etc. I just want to make sure.

Plus the designer has a message that says an update is recommended in order to run more efficient and I can't remember what the update is.
 
Thanks.

If incorporating the line below in the manifest makes the app Android L compliant, then that is easy enough. But my only gripe is, it turns background of most controls into grey.

I have preference for the old look ie white background for textboxes, dropdown boxes, list etc. Is there something that I can do to preserve the old look and still make the app Lollipop compliant.

Code:
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light")

I also notice that the app runs a lot slower especially when reading large data from a file when I use

Code:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>

Prior to that I was using just. What could be the cause?

Code:
<uses-sdk android:minSdkVersion="4" />
 
Upvote 0
I didn't like the look on new tablets either and I added this to my manifest to correct most of it.

android:theme="@android:style/Theme"
 
Upvote 0
Hi Erel

I have tested the performance in Release mode (previously was tested in Release Obfuscator mode)
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
with and without theme and it is also slow.

Android is backwards compatible so it should work with Android 5+ as well.

If I understand your statement, android:theme="@android:style/Theme" will enable the app to work in Android 5+. Is that correct?
 
Upvote 0
As I said the performance is not related to the theme. If you want to further discuss the performance then you should start a new thread and explain what your app is doing and which part is slow.

If I understand your statement, android:theme="@android:style/Theme" will enable the app to work in Android 5+. Is that correct?
Yes. Though it is safer to use Android 4 theme.
 
Upvote 0
Would the following cause an issue in Android 5+

Code:
#Region  Activity Attributes
    #FullScreen: True
    #IncludeTitle: False
#End Region
 
Upvote 0
Back
Top