Page 1 of 1

android browser button handling

Posted: Thu Apr 24, 2014 5:05 pm
by bohmgyorgy1990
Hy!

I do this "lesson" (forums.runrev.com/phpBB2/viewtopic.php?f=8&t=19144) step by step and it works correctly (desktop, chrome(android)), but how can i handle if i have an own browser ( mobileControlCreate "browser" ). If i hit the choose button (uploadHTML.html) is nothing happens. So how can i handle any button in my own browser, can anyone help me?

Kind Regards

George

Re: android browser button handling

Posted: Thu Apr 24, 2014 5:55 pm
by Klaus
Hi George,

are you talking about ANDROID?
If yes, well, Livecode does not support something like "answer file..." on iOS and Android.
That is why nothing happens, and that is also why Simon had this "if the environment = "mobile" then"
check in his original script and let the user take a picture in that case instead of an "Open" dialog! 8)
Maybe you should add that part to your script?

I hope I understood your problem correctly :D


Best

Klaus

P.S.
Will move this thread to the Andorid forum later if neccessary!

Re: android browser button handling

Posted: Thu Apr 24, 2014 6:07 pm
by bohmgyorgy1990
Dear Klaus,

Yes this is an Android solution, i understand Simon's script and i know why he used the "if the environment = "mobile" then". My question is how can i handle a button in browser, this button is a html file input ( just like add to it a mobilepickphoto "" and other commands ). how can i handle this button in my livecode script.

KR,

George

Re: android browser button handling

Posted: Thu Apr 24, 2014 7:05 pm
by Klaus
Hi George (Gyorgy? Hungarian?)

AH! Now I get it :D

No, sorry this (Communication from Brwoser -> LC) is currently not available.
In the next version 6.7 this will be implemented and will require JavaScript.


Best

Klaus

Re: android browser button handling

Posted: Thu Apr 24, 2014 8:01 pm
by bohmgyorgy1990
okay thanks a lot, a wait for it :)

yes i am hungarian my name is Böhm György ( böhm is my last name)

have a nice day

Re: android browser button handling

Posted: Tue Jan 05, 2016 1:35 am
by sirfrank
Hi György,

A hungarian here as well, wanna chat up on skype? Not many LCers from Hungary as far as i know.