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

Last edited:
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
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
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.
May i use Scaleimageview in B4i ?
Or, Do you have any library the same for B4i ?
 
Upvote 0

Similar Threads

Replies
8
Views
17K
Replies
2
Views
13K
Replies
22
Views
42K
  • Locked
  • Article Article
Replies
4
Views
23K
Back
Top