B4A Library RoundImage V1.0

Discussion in 'Additional libraries, classes and official updates' started by DonManfred, Feb 5, 2015.

  1. anOparator

    anOparator Active Member Licensed User

    Will try LoadBitmapSample also , see my edit 4 posts up.
  2. FrankBerra

    FrankBerra Active Member Licensed User

    Hi @DonManfred, i used your library and it works almost perfectly but in some strange and unclear situations it crashes my app.

    The code I use is:
    FotoUtente.Bitmap=ImmagineCircolare.CreateBitmap(LoadBitmapSample(File.DirAssets, "nofotoprofilo.png"90dip90dip))
    The debugger says:
    An error occurred:
    java.lang.RuntimeException: Array not expected...

    It crashes also if i use LoadBitmap instead of LoadBitmapSample.

    (Sorry, I can't upload my project to test)

    By the way if i use the following code everyting is going well:
    FotoUtente.Bitmap=LoadBitmapSample(File.DirAssets, "nofotoprofilo.png"90dip90dip)
    So it seems the crash is caused by your Lib...

    Any workaround or fix?

    Thanks in advance!
  3. DonManfred

    DonManfred Expert Licensed User

    So then dont use a array then...

    Without seeing and running a example-project it is hard to give advices.
    Try to make a small example which shows the problem
  4. FrankBerra

    FrankBerra Active Member Licensed User

    Well, i am using only the code in the last post...so where is the array?
  5. DonManfred

    DonManfred Expert Licensed User

    TRry to create a small project which shows the problem and upload the project. i will run it here to see what happens...
  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