CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Installed Android program which I created bombs out

    Hi.

    I'm taking a chance to post here, and I really hope someone would be able to assist me

    It is my first android app.

    I have created a very small android app. Basically it consists of a listview with two buttons:
    The listview shows our courses. Once clicked, it shows the contents of each course
    One button allows me to download a brochure
    the other button opens up a form where the user can enter his / her details in order for us to be able to contact him / her

    Nothing complicated.

    Now I have debugged this app over and over to ensure everything will work fine.
    On my AVD ( Samsung Galaxy SII ) everything works smoothly

    So, I exported the release build with its signed key, and made it available for download from my website - not the google play store, as I want to gradually release it onto different platforms depending on the amount of downloads I get.

    Right, so I download it and installed it on my phone ( Galaxy S II ) all 284 KB of it.
    When I attempt to run it, my phone says that the app has stopped working and I must Force Close it.

    What can it be?

    I know this question seems vague, but perhaps there is a step I have missed.

    Any guidance will be welcomed.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Installed Android program which I created bombs out

    OK, I managed to install this program onto a Samsung Galaxy S4. It works without any problems.

    So, I did some research on the internet and I was told that I should make my minSdkVersion and targetSdkVersion the same. I made them both 9 ( for Gingerbread ), and made the TargetApi :

    @TargetApi(Build.VERSION_CODES.GINGERBREAD)

    Still it doesn't work on my Samsung Galaxy S2

    There is hope, but I do not know how to make this app more compatible with earlier Samsung ( android ) versions

    Any advice?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured