Android Question Msgbox2

Discussion in 'Android Questions' started by pesquera, Apr 8, 2015.

  1. pesquera

    pesquera Active Member Licensed User

    hi,

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

    Code:
    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?
     
  2. Peter Simpson

    Peter Simpson Expert Licensed User

    Please provide 2 screen shots, one of each app with this line.
     
    pesquera likes this.
  3. DonManfred

    DonManfred Expert Licensed User

    i guess you have set different min and/or max target SDK in the apps.
    Code:
    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 and thedesolatesoul like this.
  4. pesquera

    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
    Code:
    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!
     
  5. Peter Simpson

    Peter Simpson Expert Licensed User

    Add SetApplicationAttribute(android:theme, "@android:style/Theme.Holo") to app 1:
     
    DonManfred and pesquera like this.
  6. pesquera

    pesquera Active Member Licensed User

    yes I did, that was what I was wrong.. thank you
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice