B4A Library Velocimeter - dials and meters

Similar threads

B4A Library PDFium - Pdfview2
B4A Library IPCamView
B4A Library msEmoji V1.0.0
B4A Library CreditsRollView V1.0.0
B4A Tutorial [java] Custom View with Designer Support (Java library)
B4A Library SnakeView

sultan87

Active Member
Licensed User
You can´t. You need to find another lib which can be used vertically
hello,
ok,
I want to keep the meme presentation velo1, but modifying graduations, eg 5-25
is it possible?
is there a description of various properties?
best regards
 

DonManfred

Expert
Licensed User
The value is alwys 0 to 100.

If 25 is your maximum then you need to do a calculation to get 100 when using 25.
Create a small helper sub which helps you to calculated the value you want to set.

Maybe this will change in future. I must see how and if it is possible...
 

sultan87

Active Member
Licensed User
The value is alwys 0 to 100.

If 25 is your maximum then you need to do a calculation to get 100 when using 25.
Create a small helper sub which helps you to calculated the value you want to set.

Maybe this will change in future. I must see how and if it is possible...
Hello,
I modified to serve me as a thermometer
can you tell me What are the different properties?
I would send you my version
Best regards
 

sultan87

Active Member
Licensed User
You can see all properties in post #1
For more info you need to look at the original library source or/and examples
hello,
thank's
I function properly. I put a button to change the value.
Sub btn_click

velo1.Value = 22.22

End Sub


the App close
why?
best regards
 

sultan87

Active Member
Licensed User
If your app crash then you should get an the error message in the logs. Post this error

I just tried here and it works
ok, it's good, i do'nt understand !!!
how not to display the value of velo1.value?
I would put in place the temperature value
best regards
 

sultan87

Active Member
Licensed User
ok, it's good, i do'nt understand !!!
how not to display the value of velo1.value?
I would put in place the temperature value
best regards
hello,
what does the update method ?
what does properties duration and properties valueanimated ?
best regards
 

lemonisdead

Well-Known Member
Licensed User
what does the update method ?
what does properties duration and properties valueanimated ?
Hello,
Update : mise à jour de la vue (updates the view)
Duration : durée
ValueAnimated : valeur animée

Just test them and you'll see
 
Last edited:

sultan87

Active Member
Licensed User
Hello,

I copied a part of your project in mine.
in debug mode everything works coorectement
in release mode I get an error
I took your project that works correctly in debug mode
in release mode I have exactly the same error
An error has occurred in sub:main_activity_create(java line : 322)
java.lang.runtimeexception:java.lang.reflect.invocationTargetException

Why?
Best regards
 

sultan87

Active Member
Licensed User
Hello,

an other error

An error has occurred in sub:main_activity_create(java line : 413)
java.lang.runtimeexception:native typeface cannot be made


Why?

Best regards
 

DonManfred

Expert
Licensed User

DonManfred

Expert
Licensed User
I have exactly the same error message
GIVE ME MORE INFO!

It is not funny to help if i get NOTHING on information than this uncomplete error message.
Give the complete error message including stacktrace

Or upload your code (including all files i need to run the project)

Which ANDROID version are you using on your device?
Which android.jar are you using in b4a?
Which b4a version are you using?
 

sultan87

Active Member
Licensed User
GIVE ME MORE INFO!

It is not funny to help if i get NOTHING on information than this uncomplete error message.
Give the complete error message including stacktrace

Or upload your code (including all files i need to run the project)

Which ANDROID version are you using on your device?
Which android.jar are you using in b4a?
Which b4a version are you using?
i'm sorry
my project is very important and makes use of SMS sending and reception before using your library

B4A version 5.50
android.jar version 17
jdk version 1.8.0_66 (javac.exe)

Private therm As VelocimeterView
I positioned the msgbox, the error is on
therm.Initialize("") ou therm.Initialize("velo")

how to obtain the stacktrace?

enclosed my module

best regard
 

Attachments

Top