android browser button handling

The place to discuss anything and everything about running your LiveCode on Android

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
bohmgyorgy1990
Posts: 23
Joined: Wed Feb 19, 2014 2:33 am

android browser button handling

Post by bohmgyorgy1990 » Thu Apr 24, 2014 5:05 pm

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

Klaus
Posts: 12207
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: android browser button handling

Post by Klaus » Thu Apr 24, 2014 5:55 pm

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!

bohmgyorgy1990
Posts: 23
Joined: Wed Feb 19, 2014 2:33 am

Re: android browser button handling

Post by bohmgyorgy1990 » Thu Apr 24, 2014 6:07 pm

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

Klaus
Posts: 12207
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: android browser button handling

Post by Klaus » Thu Apr 24, 2014 7:05 pm

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

bohmgyorgy1990
Posts: 23
Joined: Wed Feb 19, 2014 2:33 am

Re: android browser button handling

Post by bohmgyorgy1990 » Thu Apr 24, 2014 8:01 pm

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

sirfrank
Posts: 1
Joined: Thu Jan 15, 2015 10:53 pm

Re: android browser button handling

Post by sirfrank » Tue Jan 05, 2016 1:35 am

Hi György,

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

Post Reply

Return to “Android Deployment”