Sub Activity_Resume
ImageView1.SetVisibleAnimated(10000,True) '10 sec to show
ImageView1.SetVisibleAnimated(10000,False)
'reklamy
AdView1.Resume
End Sub
then use setvisibleanimated with 200 as time.
Use a timer to call after 200 ms and then disable the timer and hide it or whatever.
You cannot hold the mainthread.
Sub Button1_Click
ImageView1.SetVisibleAnimated(10000,True) '10 sec to show
End Sub
Sub Button2_Click
ImageView1.SetVisibleAnimated(10000,False) '10 sec to hide
End Sub
Show and hide ImageView with fade in and fade out EXACTLY in 400ms or 1000ms (I don't know now) on ALL PHONE from 1 core to 8 core like mine
Then I start from test 10 sec because I can see IS 10 sec OR NOT
ImageView1.SetVisibleAnimated(10000,True)
csu.CallSubPlus(Me, "hide_ImageView", 10000)
...
Sub hide_ImageView
ImageView1.SetVisibleAnimated(10000,False)
End Sub
Please check post 12, working but too fast.
On CM 12.1 on my Note 2, show and hide without any fade.
I am seeking solutions to as many platforms as possible.
ImageView1.SetVisibleAnimated(10000,True)
csu.CallSubPlus(Me, "hide_ImageView", 10000)
...
Sub hide_ImageView
ImageView1.SetVisibleAnimated(10000,False)
End Sub
And now...
The problem is that I disabled the animations from the developer option the android settings, and when I set to x1.0 and disable GPU in 2D, then everything start working well. I must forget about this.
I must looking for another way, independent of the settings android.
Sub Process_Globals
Public csu As CallSubUtils
End Sub
Sub Service_Create
csu.Initialize
End Sub
Excuse me that I will not write in english.
¿Qué librería (libraries) debo de tener cargado (loaded) para CallSubUtils este ACTIVO/FUNCIONAL en B4J?
He cargado todas las librerías que me despliega el Libraries Manager.
Por que, me despliega el siguiente mensaje de ERROR:
Unknown type: CallSubUtils
Are you missing a library reference?