Re: Android Test Failure

2012-07-01 Thread Colin Holgate
You should also think about testing straight onto a device. It's far quicker than the time it takes to open the simulator. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subs

Re: Android Test Failure

2012-07-01 Thread J. Landman Gay
On 7/1/12 10:23 PM, Dan Friedman wrote: Ok, Thanks! I was able to fine and delete the "debug.keystore" file. The app now was successfully built for the simulator. But, when the app launches in the Android Simulator, it's just a black screen! I have an empty stack with one button on it with a a

Re: Android Test Failure

2012-07-01 Thread Dan Friedman
Ok, Thanks! I was able to fine and delete the "debug.keystore" file. The app now was successfully built for the simulator. But, when the app launches in the Android Simulator, it's just a black screen! I have an empty stack with one button on it with a answer command in the script of the but

Re: Uniquly identifying a stack

2012-07-01 Thread Peter Haworth
You're probably right on the low frequency of stack name changes. The idea I had was similar to your recommendation of a GUID scheme in a custom property, but maybe I'll just wait and see how much of a problem it turns out to be. Pete lcSQL Software On Sun, Jul 1, 2012 at

Re: Uniquly identifying a stack

2012-07-01 Thread Igor de Oliveira Couto
Hello, Peter, On 02/07/2012, at 11:02 AM, Peter Haworth wrote: > Probelm is I need to maintain uniqueness acorss two versions of the same > stack file. For example if both versions have a stack named "myStack" but > then its name gets changed to "YourStack" in one of the versions, it's no > long

Re: Uniquly identifying a stack

2012-07-01 Thread Richard Gaskin
Peter Haworth wrote: Hi Richard, Probelm is I need to maintain uniqueness acorss two versions of the same stack file. For example if both versions have a stack named "myStack" but then its name gets changed to "YourStack" in one of the versions, it's no longer identifiable as the same stack as "

Re: Uniquly identifying a stack

2012-07-01 Thread Peter Haworth
Hi Richard, Probelm is I need to maintain uniqueness acorss two versions of the same stack file. For example if both versions have a stack named "myStack" but then its name gets changed to "YourStack" in one of the versions, it's no longer identifiable as the same stack as "MyStack". I have some

Re: Uniquly identifying a stack

2012-07-01 Thread Richard Gaskin
Peter Haworth wrote: I know this has been discussed before but has anyone come up with a foolproof way to identify a stack? Stack IDs are an anomaly in the otherwise-consist use of IDs throughout LiveCode. Unlike other objects, the stack ID is merely a placeholder for the next available ID f

Re: Getting the Last Modified Date of a file

2012-07-01 Thread Richard Gaskin
Marek wrote: How could I find stdlib? stdLib was originally an experiment to answer a question Andre raised at the first LiveCode conference: Why don't we make one standard library that contains the most commonly-used commands and functions we need for most of our apps? So Ken Ray and I

Uniquly identifying a stack

2012-07-01 Thread Peter Haworth
I know this has been discussed before but has anyone come up with a foolproof way to identify a stack? The ID doesn't work since it changes everytime a card or control is added to the stack. The name doesn't work because it too can change on a whim. Is anyone using the altID property for this pu

Re: Yet Another Sound Problem in iOS

2012-07-01 Thread Roger Guay
Thanks Tom, that did it! I should have known and tried that before bothering the list. Cheers, Roger On Jun 30, 2012, at 10:00 AM, use-livecode-requ...@lists.runrev.com wrote: > Message: 10 > Date: Sat, 30 Jun 2012 12:50:15 -0400 > From: Thomas McGrath III > To: How to use LiveCode > Subject

Re: Android Test Failure

2012-07-01 Thread J. Landman Gay
On 7/1/12 1:15 PM, Dan Friedman wrote: Greetings! After much success with iOS (several apps selling on iTunes!), I am taking the plunge into building for Android. I have followed the steps and when I "test" my stack in the simulator, I get "Unable to build app for testing: apk preparation faile

Re: Android Test Failure

2012-07-01 Thread Colin Holgate
It isn't in that folder, it's somewhere else. Choose Go Folder from the Go menu in Finder, and enter this: ~/.android That should take you to the right folder. On Jul 1, 2012, at 2:15 PM, Dan Friedman wrote: > But, I don't have a file named "debug.keystore" in my "android-sdk-mac_x86" > fold

Re: Android Test Failure

2012-07-01 Thread Mark Schonewille
Hi Dan, I had the same problem. Copying the file adb (on Mac OS X) or adb.exe and two adb dll's from the platofrm-tools folder to the tools folder of the Android SDK installation solved it. Unfortunately, there are other people who say even after copying these files they still couldn't soive th

Re: ISP has no remote access on connecting to MySQL database. Now what?

2012-07-01 Thread Guglielmo Braguglia
Hi William, as your first time, probably is not a good idea to start connecting to a remote DB using a PHP script ... To start to learn, probably the best is to create a little 'TEST' environment locally ... ... if you run on MAC, you can install MAMP (http://www.mamp.info/en/mamp/index.htm

Android Test Failure

2012-07-01 Thread Dan Friedman
Greetings! After much success with iOS (several apps selling on iTunes!), I am taking the plunge into building for Android. I have followed the steps and when I "test" my stack in the simulator, I get "Unable to build app for testing: apk preparation failed". I found some discussion about thi

Re: ISP has no remote access on connecting to MySQL database. Now what?

2012-07-01 Thread stephen barncard
Many ISPs have a security scheme in which the MySQL sever will only respond to IPs that are registered with the current user ... be sure to look in all your panels for something like this. Dreamhost and On-Rev allow off site connections to databases, with the IP feature enabled. This is extremel

Re: ISP has no remote access on connecting to MySQL database. Now what?

2012-07-01 Thread William de Smet
Hi Mark, I just saw you replied as well. Thanks! Your reply is over my head :-( groeten, William 2012/7/1 William de Smet : > Hi Malte, > > Thanks, but I don't get it ;-( > Do you mean I have to put the db_username and db_password etc. in a > .php file on my server. > But how do I connect? And

Re: ISP has no remote access on connecting to MySQL database. Now what?

2012-07-01 Thread William de Smet
Hi Malte, Thanks, but I don't get it ;-( Do you mean I have to put the db_username and db_password etc. in a .php file on my server. But how do I connect? And how do I retrieve the data? Like I said: it's my first time on database! groeten, William 2012/7/1 Malte Brill : > Hi William, > > bes

Re: ISP has no remote access on connecting to MySQL database. Now what?

2012-07-01 Thread Mark Schonewille
Malte is right. Also, ISP's more often don't than do allow remote database access. Here's an example (but no downloads) of a product I made for a customer to cope with this problem: http://qery.us/2b1 It all works through PHP. If you have RevServer, you could use iRev instead of PHP. I use a PHP

Re: ISP has no remote access on connecting to MySQL database. Now what?

2012-07-01 Thread Malte Brill
Hi William, best bet is to implement a piece of middleware (e.G. a PHP script) you can get the data from. Then the server does the connection to the mySQL database and you retrieve the data using a http request. Hth, Malte ___ use-livecode mailing

ISP has no remote access on connecting to MySQL database. Now what?

2012-07-01 Thread William de Smet
Hi there, I am doing my first steps on MySQL and LC (trying to update a website from within LC). I followed video #10 'Display an SQL Database' from the LiveCode Academy but I immediately got stuck while connecting. My Dutch ISP however doesn't allow remote access on databases. So how do I conti

Re: slowness of "on keyUp" script

2012-07-01 Thread Mike Bonner
DOH yep, so shoulda been if not offset("-",me) > 0 then ... I went the direction of inserting the hyphens after the fact to make it easier to foil a stubborn user. Just limit the input to numbers and insert the hyphens after exitfield/closefield. (though you can paste invalid text into the field

Re: slowness of "on keyUp" script

2012-07-01 Thread Peter M. Brigham
On Jul 1, 2012, at 12:31 PM, Mike Bonner wrote: > Does this work better for you? > > on keydown pKey > if the length of me < 9 and pKey is a number then > pass keydown > else > beep > end if > end keydown > > command doHyphens > if not offset("-",me) then This will be a prob

Re: slowness of "on keyUp" script

2012-07-01 Thread Mike Bonner
Does this work better for you? on keydown pKey if the length of me < 9 and pKey is a number then pass keydown else beep end if end keydown command doHyphens if not offset("-",me) then put "-" after char 5 of me put "-" after char 3 of me end if end doHyphens

slowness of "on keyUp" script

2012-07-01 Thread Dr. Hawkins
I' surprised at how slow this is--I can type fast enough to foul it. American social security numbers have nine digits, with a dash after the third and fifth. I attached this to a field to handle it automatically on keyUp theKey if the length of me = 3 or the length of me=6 then put "-" after

The solution: Is there a way to get an "exitGroup" behavior when someone clicks a non-group field

2012-07-01 Thread Dr. Hawkins
After many useful suggestions, I just about kicked myself when I stumbled across the solution. I'd looked for enterField, which doesn't exist. openField, though, does. I put the regular fields in a group, and the group script has an openField handler, which tells the pop-up group to go away. I'

[OT] Useful Resource

2012-07-01 Thread Richmond
http://mygimptutorial.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: the line number of the top line in a text field

2012-07-01 Thread Mike Bonner
Just noticed a small issue. Might want to add a few pixels to the x,y coords of tFieldLoc for those occaisions when the blank space between lines is at the top of the field. (in this situation it can return the line number of the unseen line) On Sun, Jul 1, 2012 at 7:44 AM, Mike Bonner wrote: >

Re: the line number of the top line in a text field

2012-07-01 Thread Mike Bonner
I'm not sure this is a good way to do so, but maybe it will work for you. I created a field with different text sizes/line heights. In a button is the following script on mouseUp lock screen put globalloc(the topleft of field 1) into tFieldLoc -- get the screenloc position of the topleft o

Re: Getting the Last Modified Date of a file

2012-07-01 Thread Marek Niesiobedzki
How could I find stdlib? Marek ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

the line number of the top line in a text field

2012-07-01 Thread James Hale
Is there a way to determine the line number of the top line of a text field? The field's textheight is NOT set as the text present comes from html and different heading levels are present. Context: I am using an rTree object to provide an hierarchical list of these headings and clicking on a no

getting a stable image in a data grid form layout

2012-07-01 Thread James Hale
I have a Data Grid form object with three fields and an image. The button behaviour script for this DG Form object has the following "FillInData" handler on FillInData pDataArray set the text of field "Title" of me to pDataArray["name"] set the text of field "filename" of me to pDataArray