App does not function on iPhone

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

App does not function on iPhone

Post by JCiberkiller » Thu Jul 17, 2014 10:25 am

Hello all,

I wanted to ask why my app functions perfectly on my mac, but when
I upload it to my iPhone, using xcode, it does not function correctly
anymore.

Thank you in advance
-JC

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

Re: App does not function on iPhone

Post by Klaus » Thu Jul 17, 2014 11:48 am

Hi JC,

as I wrote in similar thread, we are working very hard on "clairevoyance", but are not there yet 8)


Best

Klaus

Neurox66
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 120
Joined: Tue May 22, 2012 1:57 pm
Location: Vicenza (Italy)
Contact:

Re: App does not function on iPhone

Post by Neurox66 » Thu Jul 17, 2014 1:02 pm

Hi JCiberkiller,

With name like yours, you should not ask questions like that :D :D :D

Your question is very generally and without information.
Is the Apple Profile correct?
Is "Internal App ID" equal to Profile?
When start up you see the Splashscreen?
Check that the "on preOpenStack" or "on OpenStack" there are no errors.

Regards,
Paolo
Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for printers | www.4pellicole.it

JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller » Thu Jul 17, 2014 2:05 pm

Thank you very much for helping,

Yes everthing is correctly written but the problem is that the game function does
not work on card 2, on card 1 we only have a play button - splash screen. We have
no clue what to do about it since we have tried everything you've listed. :(

...And could you explain what "on OpenStack" is, since we only coded with "on PreOpenStack" :)

Thank you in advance
-JC

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: App does not function on iPhone

Post by Simon » Thu Jul 17, 2014 2:57 pm

I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller » Thu Jul 17, 2014 3:01 pm

Which point should we read???

Thank you
-JC

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: App does not function on iPhone

Post by Simon » Thu Jul 17, 2014 3:02 pm

All of them.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller » Thu Jul 17, 2014 3:15 pm

not enough time, needs to be done by tomorrow, Its a school project!

-JC

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

Re: App does not function on iPhone

Post by Klaus » Thu Jul 17, 2014 3:39 pm

Maybe you dare to show us some (parts of) your script(s)? 8)

JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller » Fri Jul 18, 2014 9:20 am

This is a part of our Stack:

- Timer Script

on updateTimer
subtract 1 from field "timer"
if timer_var is true then
send "updateTimer" to me in 1 second
end if

if field "timer" = 0 then

put false into timer_var
answer "Game Over!"
go to card 1
end if
end updateTimer

-



- hiding image script

on MaineventLoop

local b = 5
local c = 6
local d = 10

if timer_var is true then

hide image "bild1"
send "show_image bild1 " to this cd in b sec
send "hide_image bild1" to this cd in c sec
send "show_image bild1" to this cd in d sec


add 5 to b
add 5 to c
add 5 to d
end if
end MaineventLoop

-

- Mobile script

on preOpenStack 
if the environment is "mobile" then 
set the fullscreenmode of me to "letterbox" 
set the acceleratedrendering of me to true 
end if 

end preOpenStack

-


-JC

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

Re: App does not function on iPhone

Post by Klaus » Fri Jul 18, 2014 1:36 pm

Hi JC,

nothing wrong with the script so far!?
And you surely have the handlers named "show_image" and "hide_image" in the script of the current card, right?


Best

Klaus

JCiberkiller
Posts: 12
Joined: Tue Apr 08, 2014 12:46 pm

Re: App does not function on iPhone

Post by JCiberkiller » Fri Jul 18, 2014 1:45 pm

Yes of course.

Im desperate to finish this! :|

-JC

Post Reply

Return to “Talking LiveCode”