LC 8.0.0 DP 6-Can anyone get it to work on Android? - Solved

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

LC 8.0.0 DP 6-Can anyone get it to work on Android? - Solved

Post by DR White » Tue Oct 06, 2015 12:51 am

LC 8.0.0 DP 6 - Can anyone get it to work on Android?

It works on simulator, but on Android device.

Thanks,

David
Last edited by DR White on Tue Oct 06, 2015 7:23 pm, edited 1 time in total.

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: LC 8.0.0 DP 6 - Can anyone get it to work on Android?

Post by LCNeil » Tue Oct 06, 2015 10:13 am

Hi David,

Just tested deploying to my Android device via 8.0 DP6 and all seems to work ok from here.

What exactly are you experiencing when deploying? Do any error messages show when attempting to deploy?

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: LC 8.0.0 DP 6 - Can anyone get it to work on Android?

Post by DR White » Tue Oct 06, 2015 10:59 am

Neil,

Using LC 8.0.0 DP 6 on my apple computer (64 bit) I tried a couple stacks that involve an embedded web browser. I attached short stack that runs on the simulator, but not on Android device.

Hope things are going Great at the JAM.

Thanks,

David
Attachments
GNCF Audio App_AA_14.livecode.zip
(3.44 KiB) Downloaded 206 times

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: LC 8.0.0 DP 6 - Can anyone get it to work on Android?

Post by LCNeil » Tue Oct 06, 2015 11:36 am

Hi David,

Thanks for providing the stack.

I've given it a go on my Android 5.1.1 device and the browser seems to work ok. Please see the attached screenshot from the device-
Screenshot_2015-10-06-11-15-56.png
On thing that I can think of is that you may be experiencing a network related issue on your device which would result in the page not loading. I would first check that you are able to return data from the internet within you app . A test to use would be to create a field and use the following script

put url "http://www.google.com in to field "test".

This should return the webpage source of Google if internet connection is available

If that is successful, then I would potentially movemobileControlSet sBrowserId, "url", " http://covingtongoodnews.com/audio-downloads/" to somewhere outside the preOpenCard handler as this may be firing too quick. Try openCard or using a send in time to set this after a short period.

Hi David,

Just tested deploying to my Android device via 8.0 DP6 and all seems to work ok from here.

What exactly are you experiencing when deploying? Do any error messages show when attempting to deploy?

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: LC 8.0.0 DP 6 - Can anyone get it to work on Android?

Post by DR White » Tue Oct 06, 2015 12:04 pm

Neil,

The error I get, when I try to open the app is :
------------------------------------------------------
Sorry!

The application Good News (process com.DavidWhite.GoodNewsApp) has stopped unexpectedly. Please try again.

Force Close
------------------------------------------------------------------

My test phone is using firmware 2.3.6

model SCH-I110

I will try you suggestions later , I have to go to work now.

Thanks,

David

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: LC 8.0.0 DP 6 - Can anyone get it to work on Android?

Post by LCNeil » Tue Oct 06, 2015 12:52 pm

Hi David,

Android 2.3.6 is quite an old revision of the Android O/S, so there may be an underlying issue running newer LiveCode apps on this version of Android.

I would file a report with our Quality Control team on this issue as they will be able to investigate further. Our quality control site is-

http://quality.runrev.com

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: LC 8.0.0 DP 6 - Can anyone get it to work on Android?

Post by DR White » Tue Oct 06, 2015 2:28 pm

Neil,

I have submitted a bug report.

Thanks,

David

Post Reply