browser widget - android deployment

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

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
okk
Posts: 86
Joined: Wed Feb 04, 2015 11:37 am

browser widget - android deployment

Post by okk » Mon Jan 29, 2018 7:30 pm

Hi,
I am working on an Android app that should have a chat functionality included. My idea was to use the browser widget and set its URL to the tlk.io chat service, for example this one: https://tlk.io/test

It works fine in the LC development environment which is running on MacOS Sierra, but when I deploy the app to my Android phone it doesnt work. The URL is loaded, but the chat won't function. I have played with the standalone application settings, and the inclusions but I cannot get it working. Could this be a limitation of the browser widget on Android? Just to mention: when I paste the URL directly in the Chrome browser on my phone the chat works. And as a MacOS standalone it works as well. Thanks for any hints.
Oliver

sphere
Posts: 662
Joined: Sat Sep 27, 2014 10:32 am
Location: the Netherlands

Re: browser widget - android deployment

Post by sphere » Wed Feb 07, 2018 6:45 pm

hi,

do you have a test stack?
Please, stop quoting things my brother did not say. Thank you. Hans Zweistein.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4570
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: browser widget - android deployment

Post by jacque » Thu Feb 08, 2018 7:50 pm

Have you tried using a player control instead? You have more control there.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

okk
Posts: 86
Joined: Wed Feb 04, 2015 11:37 am

Re: browser widget - android deployment

Post by okk » Tue Feb 13, 2018 9:36 am

Hi and thanks for the responses. I attach a test-stack, go to the chat-tab.
jacque wrote:
Thu Feb 08, 2018 7:50 pm
Have you tried using a player control instead? You have more control there.
I am not sure why a player control would be suitable here. I am trying to embedd a web-site into my stack. Can you elaborate how a player control would be usueful in my use case?
Best. Oliver
Attachments
practicalutopia.livecode.zip
(3.91 KiB) Downloaded 29 times

sphere
Posts: 662
Joined: Sat Sep 27, 2014 10:32 am
Location: the Netherlands

Re: browser widget - android deployment

Post by sphere » Tue Feb 13, 2018 1:24 pm

Indeed in IDE chat works ok
Have to check later on Android device if it works.

Did you perhaps already tried on Android emulator to see what it does there?

I the attached stack i don't see any settings for Android, so can't see what you've set yourself.
Please, stop quoting things my brother did not say. Thank you. Hans Zweistein.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4570
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: browser widget - android deployment

Post by jacque » Tue Feb 13, 2018 6:50 pm

okk wrote:
Tue Feb 13, 2018 9:36 am
I am not sure why a player control would be suitable here. I am trying to embedd a web-site into my stack. Can you elaborate how a player control would be usueful in my use case?
Best. Oliver
It wouldn't. For some reason I thought you were just trying to display video. My best guess is that I hit the wrong link in the digest I receive daily and accidentally responded to the wrong question.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

sphere
Posts: 662
Joined: Sat Sep 27, 2014 10:32 am
Location: the Netherlands

Re: browser widget - android deployment

Post by sphere » Tue Feb 13, 2018 8:06 pm

Just tested it on Real device.
Works not exactly the same as in the IDE.

When you click on the cloud in left upper corner, Choose Demo as group and click Join, then
you can see the demo chat and type something.

Creating an own group seems not to work and shows no way of adding text to the chat.
Also Joining your test group does indeed work in IDE but not mobile, it does not render it.
It does work ok on Chrome on mobile.
I would report this as a bug http://quality.livecode.com/ because what works in IDE should work on platform (when correct inclusions are chosen), but that seems not the case.
It's not something we can solve.
Please, stop quoting things my brother did not say. Thank you. Hans Zweistein.

okk
Posts: 86
Joined: Wed Feb 04, 2015 11:37 am

Re: browser widget - android deployment

Post by okk » Sat Feb 17, 2018 1:25 pm

Hi and thanks for taking the time to test this. I will file a bug report. Best. Oliver

okk
Posts: 86
Joined: Wed Feb 04, 2015 11:37 am

Re: browser widget - android deployment

Post by okk » Sun Feb 18, 2018 9:26 am

Here is the bug report, feel free to add comments.
http://quality.livecode.com/show_bug.cgi?id=20989

Thanks. Oliver

Post Reply

Return to “Android Deployment”