HI.
Did you ever find a way to call the media scanner from within live code? I'd like to do that too...
Thanks.
Search found 78 matches
- Mon Oct 02, 2017 7:13 pm
- Forum: LiveCode Builder
- Topic: Android native Controls
- Replies: 3
- Views: 5194
- Wed Sep 20, 2017 9:31 pm
- Forum: Android Deployment
- Topic: Saving user data
- Replies: 6
- Views: 5428
Re: Saving user data
Thanks. Good tip about the back key.
- Wed Sep 20, 2017 1:35 pm
- Forum: Android Deployment
- Topic: Saving user data
- Replies: 6
- Views: 5428
Saving user data
Hi. Is there a best practice for recording user data in an android app? My concern is that users are able to quit the app at any point (I assume there is no way to disable the back/pause/quit buttons on the screen?). If I write to a file frequently, do I run the risk of having the app quit with the ...
- Tue May 09, 2017 4:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: help with drag and drop
- Replies: 9
- Views: 6494
Re: help with drag and drop
I guess I was looking for a way to detect collisions without iterating through all the possible collision targets (buttons). Given your response I'm assuming that's just the way to do it. Because I want to check whether the drawn line touches a button, I iterate through all the buttons using the "in...
- Mon May 08, 2017 10:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: help with drag and drop
- Replies: 9
- Views: 6494
Re: help with drag and drop
Thanks for the feedback. I don't know why I like the "while the mouse is down" loop better. Maybe its the recursion feels kind of creepy ;-) All the issues you mention about multiple lines etc. are things to deal with. The reason I looked to drag and drop is I'm trying to track collisions. I don't w...
- Mon May 08, 2017 2:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: help with drag and drop
- Replies: 9
- Views: 6494
Re: help with drag and drop
Thanks for the code. The "while the mouse is down" strategy works well. I'm still curious about the drag and drop idea. I like the idea of the "target" of the drag and drop getting a message when it get the line. The whole drag and drop is mysterious, though...I don't understand how you start one, e...
- Sun May 07, 2017 11:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: help with drag and drop
- Replies: 9
- Views: 6494
help with drag and drop
Hi, Could someone point me to a place I could learn how to set up drag-and-drop? I'd like to have a user click on a button, drag to draw a line, and then "drop" when that line contacts another button. (draw a line connecting buttons) I think I could do this with mousemove messages to the line, but i...
- Thu Mar 30, 2017 7:58 pm
- Forum: Android Deployment
- Topic: mobilepickphoto blacks screen
- Replies: 2
- Views: 3517
Re: mobilepickphoto blacks screen
Thanks. I think setting accelerated rendering to true may have done the trick (I don't recall setting it off, though)...
- Mon Mar 27, 2017 10:08 pm
- Forum: Android Deployment
- Topic: mobilepickphoto blacks screen
- Replies: 2
- Views: 3517
mobilepickphoto blacks screen
Hello, I am having some trouble with the mobilepickphoto in Android. When the camera closes (after I accept a picture), returning to the Livecode stack, the entire screen is black. I've tried locking and unlocking the screen, but that doesn't bring things back. If I touch where a button is on the ca...
- Fri Aug 19, 2016 9:53 pm
- Forum: CGIs and the Server
- Topic: updated guide for starting server on mac (el capitan)?
- Replies: 4
- Views: 6780
Re: updated guide for starting server on mac (el capitan)?
The text of the error is:
Apache couldn't be started. Please check your MAMP installation and configuration
I assume I broke something in the configuration file.
Apache couldn't be started. Please check your MAMP installation and configuration
I assume I broke something in the configuration file.
- Fri Aug 19, 2016 8:20 pm
- Forum: CGIs and the Server
- Topic: updated guide for starting server on mac (el capitan)?
- Replies: 4
- Views: 6780
Re: updated guide for starting server on mac (el capitan)?
I can't start the MAMP server after editing the cons file. I've got LiveCodeCommunityServer-8_1_0_dp_3-Mac as a folder within cgi-bin See below for how I edited the .conf file Thanks. The http.conf file now reads: <Directory “/Applications/MAMP/htdocs"> Options Indexes FollowSymLinks AllowOverride N...
- Thu Aug 18, 2016 5:48 pm
- Forum: CGIs and the Server
- Topic: updated guide for starting server on mac (el capitan)?
- Replies: 4
- Views: 6780
updated guide for starting server on mac (el capitan)?
Hi, Are there any updated instructions for starting livecode server on mac 10.11? I'm running MAMP to try out livecode server. I found the sticky up top and this thread and tried to adjust for mac v windows, but not having much luck http://forums.livecode.com/viewtopic.php?f=15&t=22289 Thanks. - Chuck
- Tue Aug 16, 2016 7:33 pm
- Forum: HTML5
- Topic: Runs super slowly
- Replies: 3
- Views: 4959
Re: Runs super slowly
Thanks for the reply. Locking the screen did help considerably, but there's still a pretty strong lag. In your list of slow-down-factors, Safari gets 3, does that mean it is the fastest? I was testing with Safari. I hope it doesn't get slower than that. Also, preloading into memory means selecting "...
- Tue Aug 16, 2016 6:09 pm
- Forum: HTML5
- Topic: Runs super slowly
- Replies: 3
- Views: 4959
Runs super slowly
I've tried my first html5 standalone, and I find it runs achingly slowly. All it does is toggle which images in a group are visible. I've pasted some of the code (of a button) below. The images switch very slowly and I get a spinning beachball between redraws (on an iMac) I've only tested opening th...
- Wed Jan 20, 2016 5:01 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Best practice for getting a window on top
- Replies: 3
- Views: 3163
Re: Best practice for getting a window on top
oops. looks like I didn't attach the stack to the previous post. I can't attach a .livecode file? and when I zip it I get told it exceeds the 256 kb limit. so much for attachments.