Search found 15 matches
- Sat Mar 11, 2017 6:38 am
- Forum: iOS Deployment
- Topic: App works on Simulator but not Device
- Replies: 11
- Views: 6655
Re: App works on Simulator but not Device
I should pay more attention to myself, because the problem was indeed case-sensitivity as I suspected a few days ago. I had fixed a filename but neglected to notice a capitalized folder name and continued to bash my head against the wall needlessly. I fixed up my folder names and voila! Thanks for p...
- Thu Mar 09, 2017 12:46 am
- Forum: iOS Deployment
- Topic: App works on Simulator but not Device
- Replies: 11
- Views: 6655
Re: App works on Simulator but not Device
Hi Klaus. I guess I need to know what the correct path looks like. This *seems* ok but using your suggested code the answer is "no such file: /var/containers/Bundle/Application/bunchanumbers/MyApp.app/chapter1/intro.txt" Is that the right place? On the simulator the path is the same from "containers...
- Sun Mar 05, 2017 10:32 pm
- Forum: iOS Deployment
- Topic: App works on Simulator but not Device
- Replies: 11
- Views: 6655
Re: App works on Simulator but not Device
Hi Klaus. While experimenting I discovered that my filename had an initial cap but my code was lowercase. Answer the result gives me "Cannot open file" unless the filename and code match exactly. Also, if I hardcode put URL "file:score.txt" into gScore it works fine. But if I put the URL into a vari...
- Sun Mar 05, 2017 8:03 pm
- Forum: iOS Deployment
- Topic: App works on Simulator but not Device
- Replies: 11
- Views: 6655
Re: App works on Simulator but not Device
Learning all kinds of things but still getting nowhere. Put URL is apparently case sensitive. Put URL apparently requires quotes around the URL, which makes it difficult to build a path from variables or hardcode specialFolderPath("resources") into a path. I searched the forum for tips on escaping q...
- Sat Mar 04, 2017 9:15 pm
- Forum: iOS Deployment
- Topic: App works on Simulator but not Device
- Replies: 11
- Views: 6655
Re: App works on Simulator but not Device
Thanks Panos and Klaus. Those didn't work but I think it's because I missed the actual problem: As I mentioned above, I'm using "put URL" to get info out of text files. The one that's at the root of the specialFolderPath seems to work, as I said, but now I see that if I try to build a path... put ("...
- Thu Mar 02, 2017 2:03 am
- Forum: iOS Deployment
- Topic: App works on Simulator but not Device
- Replies: 11
- Views: 6655
App works on Simulator but not Device
Hello. I have an app that uses external mp3 and png files for its content. I have set the defaultFolder to specialFolderPath("resources"). Everything is fine in IDE, macOS executable, and iOS simulator. On an actual iOS device, however, none of the graphics or sounds appear. I get some startup data ...
- Sat Sep 24, 2016 7:00 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SpecialFolder questions - Mobile and Desktop
- Replies: 5
- Views: 3453
Re: SpecialFolder questions - Mobile and Desktop
Well, that's much easier and somehow less scary. Thanks again, MaxV!
- Sat Sep 24, 2016 6:46 am
- Forum: iOS Deployment
- Topic: mobileplaysoundonchannel - sequential sounds
- Replies: 4
- Views: 4983
Re: mobileplaysoundonchannel - sequential sounds
Four years later... I was looking for some guidance on sequential sounds myself, and ran across your question. I figure I'm not the only one, so I will report my findings: To play the sounds in sequence with mobilePlaySoundOnChannel, put "now" in the first line of your script sample, and "next" in t...
- Tue Sep 20, 2016 2:31 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SpecialFolder questions - Mobile and Desktop
- Replies: 5
- Views: 3453
Re: SpecialFolder questions - Mobile and Desktop
Thanks, MaxV. Those pages explained things a little more clearly than what I had found, and I'm sure will also be helpful when it comes to trying to write files instead of just read them. Speaking of which, I figured out the simple thing I was missing: As I mentioned, I read some data from text file...
- Mon Sep 19, 2016 7:22 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SpecialFolder questions - Mobile and Desktop
- Replies: 5
- Views: 3453
Re: SpecialFolder questions - Mobile and Desktop
PS: Just for kicks I added answer specialFolderPath("resources") to the script, and on the phone it says:
/var/containers/Bundle/Application/<bunchanumbers>/appname.app
which doesn't seem useful for appending subdirectories.
/var/containers/Bundle/Application/<bunchanumbers>/appname.app
which doesn't seem useful for appending subdirectories.
- Mon Sep 19, 2016 4:53 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SpecialFolder questions - Mobile and Desktop
- Replies: 5
- Views: 3453
SpecialFolder questions - Mobile and Desktop
Hello. Intermittent user here, trying to get the hang of it again after a while. I'm re-using parts of an earlier desktop app and hoping to deploy the new app to both desktop and mobile (iOS and Android). I have a bunch of external graphics and audio files in a Media folder from which my original st...
- Tue Jun 14, 2011 6:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: openCard seems to be acting like preOpenCard
- Replies: 3
- Views: 2869
Re: openCard seems to be acting like preOpenCard
Bernd's tip for "send"ing the handler worked. I just had to enclose the message in quotes because of the parameters. (I left out the animation bit to keep my post from overly long, but there is a wait in the loop. I tried adding "with messages" but it didn't make any difference.) Jacque, I didn't ex...
- Tue Jun 14, 2011 8:43 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: openCard seems to be acting like preOpenCard
- Replies: 3
- Views: 2869
openCard seems to be acting like preOpenCard
Hello. I'm working on a quiz results page with an animated bar that displays the results. (The numbers tick up in a field and a graphical bar grows until the number of correct answers is reached.) It works fine when I run the script from the Code Editor window but when the card is opened by a Go or ...
- Thu Jun 02, 2011 7:31 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can I center my UI in a full screen?
- Replies: 3
- Views: 3287
Re: Can I center my UI in a full screen?
Looks like hide menubar and hide taskbar will do to the trick. Silly me, I took the documentation to mean I'd get halfway there in either Windows or Mac OS, not that by using those together I'd get just what I was looking for. I'm finding that in LiveCode the correct solution is often the easiest on...
- Wed Jun 01, 2011 8:00 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can I center my UI in a full screen?
- Replies: 3
- Views: 3287
Can I center my UI in a full screen?
Hello. I've been searching the forums and haven't quite found the answer to this one (that I'm 8 days out from the end of my trial and this is my first post speaks well of the forum content!) I'd like to create a 1024 x 768 Mac/Windows (and maybe one day iPad) program that will sit in the middle of ...