Android Question Scaleimageview with B4xpage

Dieter Baumgartner

Member
Licensed User
Longtime User
Example for scaleimageview with B4Xpage. I put it here, because i had some trouble getting it to work, so it might be a good basis if anyone needs it.
You need to have the libs Gesturedetector 2.4 and Scaleimageview 2.3 to run it.
 

Attachments

  • Project.zip
    226.3 KB · Views: 72
Last edited:

agraham

Expert
Licensed User
Longtime User
As I have to keep saying time and again, there is nothing special about B4XPages. It is a single activity with panels acting as pages to avoid the Android lifecycle complications.

You should export B4XPages projects by Ctl-Clicking the 'export as zip' comment in B4XMainPAge which keeps the folder structure and not by using File -> Export As Zip.

The problem is not the minSDKVersion as your project as posted, with minSDKVersion=5 , worked fine for me. You must have done something else to make it work.
 
Upvote 0

Dieter Baumgartner

Member
Licensed User
Longtime User
Thank you agraham for the tip. I put the running example in post 1. You are right, the minSDKVersion was not the problem, i think i forgot the
#AdditionalJar: ScaleImage
 
Upvote 0

NGUYEN TUAN ANH

Active Member
Licensed User
May i use Scaleimageview in B4i ?
Or, Do you have any library the same for B4i ?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…