testing app on phone

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
melong
Posts: 7
Joined: Fri Aug 07, 2015 1:27 am

testing app on phone

Post by melong »

Hi
Sorry for the brain fart. I have successfully moved my app onto my phone for testing. I see the app on my phone however, I feel like I am missing a step somewhere. The app groups contacts in text messaging app. Am I missing a step to activate the app or should it activate once the messaging button Is pressed in the text app?

Thanks
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: testing app on phone

Post by Klaus »

Hi Melong,

sorry, I am not sure what you are talking about!? :D


Best

Klaus
dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: testing app on phone

Post by dave.kilroy »

Hi melong - what makes you think you are missing a step somewhere? Give us lots of details so we can understand...
"...this is not the code you are looking for..."
melong
Posts: 7
Joined: Fri Aug 07, 2015 1:27 am

Re: testing app on phone

Post by melong »

Okay, I didn't see anything in the dictionary for this, so that may be the problem. I'm trying to create a confirmation message for an event in the text messaging app. Here's what I have.

On SendStackRequest
answer info "do you want to continue."
With "Yes" or "No"
If it = "Yes" then
pass SendStackRequest
end if
end SendStackRequest
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: testing app on phone

Post by Simon »

Hi melong,
Is this in the Create it with LiveCode lessons? Or summer class?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
gstone
Posts: 17
Joined: Wed Aug 19, 2015 4:19 pm
Contact:

Re: testing app on phone

Post by gstone »

I have used similar code before and the options of yes or no work correctly.

In a working stack this snippet works as expected:

on OpenCard
answer info "Would you like To Take A Picture?" With "Yes" or "No"
If it = "Yes" then
go to card Take_Picture
else
show image "Place_Holder_Cancelled"
go to cd "home"
end if
end OpenCard

Hope it helps.
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: testing app on phone

Post by Klaus »

@gstone:
OPENCARD is in fact a valid Livecode command, but SENDSTACKREQUEST is not! 8)

@melong
Sorry still have no idea what you are trying achieve?
Maybe you mean CLOSESTACKREQUEST?
Or is SENDSTACKREQUEST a custom command?
If yes, what should it do?


Best

Klaus
Post Reply