Android Question Msgbox2

pesquera

Active Member
Licensed User
hi,

this code, on different apps but on the same phone.. looks different

B4X:
If Msgbox2("Do you want to delete this Contact?","Please Confirm","Yes","","No",Null) = DialogResponse.POSITIVE Then
I've copied the module (.bas file) from an app into the another one
How or where can I define the "default" msgbox?
 

DonManfred

Expert
Licensed User
on different apps but on the same phone
i guess you have set different min and/or max target SDK in the apps.
B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
Or the two apps uses different themes
 

pesquera

Active Member
Licensed User
ok guys, thanks both for your help!

DonManfred: yes, you are right.. I was using different themes
sorry If I'm asking something obvious.. I have not much experience on mobile app, yet :)
btw, I found this two differences between manifest from both apps
B4X:
app 1:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
app 2:
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14"/>
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
can explain to me what do mean this, and how it impact on diffent phones?

sdk android:minSdkVersion="5"
what info should I looking for? or where? (also about the themes)

thanks!
 
Top