mobilePickContact on Android

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

mobilePickContact on Android

Post by Armenhui » Tue Jul 12, 2016 7:08 pm

Hi all,

Does any one know how can use mobilePickContact on Android, in IOS with mobilePickContact I can get the result (id) of each user contact,
but in Android can not get the result(id) of each contact.

I use this code

Code: Select all

mobilePickContact   put the result into tContactRef

Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

Re: mobilePickContact on Android

Post by Armenhui » Tue Jul 12, 2016 7:16 pm

I need a quick answer please.:(

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10057
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: mobilePickContact on Android

Post by FourthWorld » Tue Jul 12, 2016 7:25 pm

Hello Armenhui -

When I test that here I get the ID in the result. In the code you're using, is that really one line? It should be two.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

Re: mobilePickContact on Android

Post by Armenhui » Tue Jul 12, 2016 7:58 pm

yes this is two lines

Code: Select all

mobilePickContact   
put the result into tContactRef
really it works? What version of LiveCode do you use to tested it? I use LC 8.0.0 but on Android can not get id.

But any way thanks for answer.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10057
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: mobilePickContact on Android

Post by FourthWorld » Tue Jul 12, 2016 8:04 pm

My test app is currently made with the same version, 8.0.0. Either my phone is haunted or yours it. :) It's an LG running Android 6.0.

You might want to try v8.1 dp2. Even if it doesn't fix this issue, it'll be helpful to see if there may be any other regressions. I'll be re-building my app later in that version; if I see anything odd with mobilePickContact I'll let you know.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

Re: mobilePickContact on Android

Post by Armenhui » Tue Jul 12, 2016 8:14 pm

Ok, I will try to test again. Thanks a lot.:)

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10057
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: mobilePickContact on Android

Post by FourthWorld » Tue Jul 12, 2016 8:22 pm

No problem. FWIW I just rebuilt that app in v8.1.0dp2 and it works great there too.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply