android browser button handling
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 23
- Joined: Wed Feb 19, 2014 2:33 am
android browser button handling
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
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
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!
Maybe you should add that part to your script?
I hope I understood your problem correctly
Best
Klaus
P.S.
Will move this thread to the Andorid forum later if neccessary!
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!
Maybe you should add that part to your script?
I hope I understood your problem correctly
Best
Klaus
P.S.
Will move this thread to the Andorid forum later if neccessary!
-
- Posts: 23
- Joined: Wed Feb 19, 2014 2:33 am
Re: android browser button handling
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
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
Hi George (Gyorgy? Hungarian?)
AH! Now I get it
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
AH! Now I get it
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
-
- Posts: 23
- Joined: Wed Feb 19, 2014 2:33 am
Re: android browser button handling
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
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
Hi György,
A hungarian here as well, wanna chat up on skype? Not many LCers from Hungary as far as i know.
A hungarian here as well, wanna chat up on skype? Not many LCers from Hungary as far as i know.