This may not be related to Mobgui so excuse me if that's the case. To get my app running in the iphone simulator, I had to comment out this mobgui reference;
"-- mobGUIUntouch the long id of me " thereafter I successfully run the app in the simulator. With my latest changes however when I attempt to test on the iphone it doesn't launch.
Before I commented those lines, I had run into the issue of app not launching but it seemed to be resolved if I renamed the stack file however that does not seem to work anymore.
Any help or direction to the correct forum is appreciated.
Thanks much
Does Mobgui cause my app to crash?
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
Re: Does Mobgui cause my app to crash?
I was able to run my app after restarting my computer, but now the mobgui buttons do not work?
I wonder if the mobgui library is attached correctly? From the stack browser I see a substack named MobGUILib-131_______.88__ but unless I open MobGui I get script errors when trying to click on a button during development.
The script for one of my group buttons is pasted below( i changed environment to mobile to have it run on the iphone).
on touchEnd pId
mobGUIUntouch the long id of me
visual effect push left fast
go card "ls1"
#go next card
end touchEnd
on touchRelease pId
mobGUIUntouch the long id of me
end touchRelease
on touchStart pId
mobGUITouch the long id of me
end touchStart
on mouseUp
if the environment = "mobile" then touchEnd 1
end mouseUp
on mouseRelease
if the environment = "mobile" then touchRelease 1
end mouseRelease
on mouseDown
if the environment = "mobile" then touchStart 1
end mouseDown
I wonder if the mobgui library is attached correctly? From the stack browser I see a substack named MobGUILib-131_______.88__ but unless I open MobGui I get script errors when trying to click on a button during development.
The script for one of my group buttons is pasted below( i changed environment to mobile to have it run on the iphone).
on touchEnd pId
mobGUIUntouch the long id of me
visual effect push left fast
go card "ls1"
#go next card
end touchEnd
on touchRelease pId
mobGUIUntouch the long id of me
end touchRelease
on touchStart pId
mobGUITouch the long id of me
end touchStart
on mouseUp
if the environment = "mobile" then touchEnd 1
end mouseUp
on mouseRelease
if the environment = "mobile" then touchRelease 1
end mouseRelease
on mouseDown
if the environment = "mobile" then touchStart 1
end mouseDown
Re: Does Mobgui cause my app to crash?
Created the app from scratch now it's working ok.
Thanks
Thanks
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: Does Mobgui cause my app to crash?
do you still have the original stack that didn't work? It would be good to have a look at it if possible - I didn't get the same problem
Good to hear that it's resolved, though
Good to hear that it's resolved, though
LiveCode Development & Training : http://splash21.com