How to use a GIF image inside the block app related actions


Tinn Aphopchung

I did not post for long time.
I know we can use Blockapp and Blocktext to change text as loading...
Can I use Gif animation instead of only text like this?

How can we add it?
Thank you ,Tin


Tinn Aphopchung

researching..

http://api.jquerymobile.com/loader/
https://github.com/justin-credible/cordova-plugin-spinner


Tinn Aphopchung

And some animate splash screen
http://students.ceid.upatras.gr/~besarat/JB/Blog/Entries/2015/3/13_cordova_how_to_create_animated_splashscreen_android.html


DecSoft

Hello tin,

Certainly the "BlockText" action do not support HTML, so we can't include an GIF image. However, as you can see in the attached sample below, we can use a bit of CSS code to shown a GIF animated image into the "Block app" dialog. Just take a look tin:

BlockApp.zip *

On the other hand we can also use, for example, an application's view, in which we can place any kind of GIF image or Progressbar control, and then we can shown that application's view as a dialog or not, just depends on our needs.

* The CSS code that setup the GIF image has been placed in the application's "Inline CSS" option.



Tinn Aphopchung

great sample!!
Thank you,David


DecSoft
great sample!!
Thank you,David

You're welcome tin! :)


Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.