Search found 4 matches

by yeop
Sat Nov 19, 2016 10:32 am
Forum: Android Deployment
Topic: Press back button return to app
Replies: 8
Views: 7128

Re: Press back button return to app

You have it in the button script.. You need to put it in your card script..

thank you soo muchh :D
its working but not what i wanted :(

now, while the video is playing i cant quit XD
and the app also, unless i touch home button.
any workaround to go back to the app while the video playing when ...
by yeop
Sat Nov 19, 2016 8:52 am
Forum: Android Deployment
Topic: Press back button return to app
Replies: 8
Views: 7128

Re: Press back button return to app

Exactly like you have it.. In the card script..

on backKey
go to card 1 //-- you would put whatever you want to happen right here..
end backKey

i did try go to card 1 , still when press back key it will go to android screen, not the app
i also tried card id "1002" still same...
cardid.png
by yeop
Sat Nov 19, 2016 6:46 am
Forum: Android Deployment
Topic: Press back button return to app
Replies: 8
Views: 7128

Re: Press back button return to app

Put a backKey handler in the card script. (See "backKey" in the dictionary.)

im sorry, i not quite understand how to use the backkey,
where or what should i put?

on mouseUp
set the showController of the templatePlayer to true
put specialFolderPath("engine") & "/wifi.mp4" into tVideoFile
play ...
by yeop
Thu Nov 17, 2016 7:02 am
Forum: Android Deployment
Topic: Press back button return to app
Replies: 8
Views: 7128

Press back button return to app

Hi all,
i need help for the coding
i want to create simple video application,

1. user touch the button, and the video will be played
2. user can touch black bar of the video to return to the app
3. user can touch back button to return to the app <--- im stuck at here

while i playing the video ...