thanks it works but then theyre turned off for good, ie user can close side 
menu but then cant play video. Is there any event I can use to detect when 
the side menu is closed? (since user can tap outside of it to shut it, I 
cant detect re-tapping the hamburger menu)

On Thursday, January 24, 2019 at 1:52:34 PM UTC+8, Gareth Murfin wrote:
> perfect, you guys have thought of everything, thanks!
> On Thursday, January 24, 2019 at 11:20:13 AM UTC+8, Shai Almog wrote:
>> There is this:
>> Media someMedia = ...
>> ...
>> someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, false); // 
>> hides native controls
>> or
>> someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, true); // 
>> shows native controls

You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to