Re: Livecode iOS Externals and XCode 4.6

2013-03-21 Thread charles
Hi Monte, Good to see there are other Aussie's on the list :) The architecture is listed as Standard (armv7, armv7s) - $(ARCHS_STANDARD_32_BIT) and there doesn't seem to be any other choices. I've managed to get the simulator working, but building the standalone in LiveCode is still giving

Re: Xcode 4.6.1

2013-03-21 Thread Chris Sheffield
Chip, Here's a trick that may work for you. It has worked for me and for others on this list. It does require some manual copying of folders from one application bundle to another. The easy instructions: Copy the earlier iOS SDK versions from older versions of Xcode to Xcode 4.6.x. More

SQLite data storage

2013-03-21 Thread Chris Sheffield
I hope nobody minds that I ask this here. While it's not specifically about LiveCode, the database I'm asking about will be used for a LiveCode app. :-) I need some advice/pointers on how best to store some static read-only data in a SQLite database. We're talking potentially thousands of

Re: SQLite data storage

2013-03-21 Thread Mark Wieder
Chris- Caveat: I know enough about databases to be dangerous, so if someone else chimes in with conflicting information, ignore this. I don't think you'll run into any problems with SQLite performance for what you've got in mind. And anything beats Excel. Is there a reason the data is separated

Re: SQLite data storage

2013-03-21 Thread Peter Haworth
Hi Chris, Difficult to answer without a little more information about your app. In general, I wouldn't worry about the number of records - thousands won't be an issue for SQLite. I'd say that if the columns are the same on each sheet, one table will probably be the way to go - it's not usually a

Re: SQLite data storage

2013-03-21 Thread Alan Stenhouse
Hi Chris While not a SQLite guru, I have used it on and off at various times and would probably recommend just having it all in 1 table. Any read-only queries will just return you a record set which you can put in a container and do anything with. SQLite is quick, you can add indices and

Re: SQLite data storage

2013-03-21 Thread Richard Gaskin
Chris Sheffield wrote: I need some advice/pointers on how best to store some static read-only data in a SQLite database. We're talking potentially thousands of records. Thousands isn't very much. Is that the total for all the sheets? If so, while SQLite is a good solution, sometimes

Re: SQLite data storage

2013-03-21 Thread Mike Kerner
Thousands is like zero in terms of a performance hit. I have an app on iOS that has tens-of-thousands of records in it, and to say it's instantaneous would be an injustice. There are lots of things you can do to enhance performance (either normalizing or denormalizing the data, adding indexes,

Re: SQLite data storage

2013-03-21 Thread stephen barncard
Especially when the data is conveniently within data-grid size On Thu, Mar 21, 2013 at 11:13 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Thousands isn't very much. Is that the total for all the sheets? If so, while SQLite is a good solution, sometimes keeping things simple with

Grouping question

2013-03-21 Thread Peter Haworth
I want to use the import command in a script to import an image from a file of the user's choice. The catch is that I want the resulting image to end up in a group and, unlike the create command, the import command doesn't have a way to specify a group. In the past when I've run into this, I get

Re: Grouping question

2013-03-21 Thread Monte Goulding
On 22/03/2013, at 7:52 AM, Peter Haworth p...@lcsql.com wrote: Both those methods seem somewhat clumsy so I'm wondering if there's a more elegant way to do this. Hmm.. setting the relayerGroupedControls to true and setting the layer of the image to somewhere inside the group is an option...

Re: Grouping question

2013-03-21 Thread Marty Knapp
Hey Pete, Why not create an image in the group you want, then use the put URL method: create image in group GroupName of stack StackName put it into tImageID --long id of image put URL (binfile: tPathToImage) into image tImageID of group GroupName of stack StackName Marty Knapp I want to

Re: Grouping question

2013-03-21 Thread Peter Haworth
Well I guess neither of the methods I mentioned will work since the import command does not give me the id of the image it creates, at least not in the it variable or the result. So I guess I'm back to using the create command which solves the issue of getting the image into the correct place,

Android - Resizing images opened by photo picker

2013-03-21 Thread Devin Asay
Hello all, The mobilePickPhoto command lets you choose a photo either from the device's photo gallery library or take a photo with the camera. In iOS mobilePickPhoto has two optional parameters that let you limit the maximum width and size of the chosen image, but that isn't implemented on

Re: Grouping question

2013-03-21 Thread Klaus on-rev
Hi Pete, Am 21.03.2013 um 22:03 schrieb Peter Haworth p...@lcsql.com: Well I guess neither of the methods I mentioned will work since the import command does not give me the id of the image it creates, at least not in the it variable or the result. So I guess I'm back to using the create

Re: Grouping question

2013-03-21 Thread Monte Goulding
On 22/03/2013, at 8:03 AM, Peter Haworth p...@lcsql.com wrote: Well I guess neither of the methods I mentioned will work since the import command does not give me the id of the image it creates, at least not in the it variable or the result. get the long id of the last image So I guess

Re: Android - Resizing images opened by photo picker

2013-03-21 Thread Monte Goulding
On 22/03/2013, at 8:08 AM, Devin Asay devin_a...@byu.edu wrote: The mobilePickPhoto command lets you choose a photo either from the device's photo gallery library or take a photo with the camera. In iOS mobilePickPhoto has two optional parameters that let you limit the maximum width and

Re: Grouping question

2013-03-21 Thread Peter Haworth
Perfect,thanks Marty. Pete lcSQL Software http://www.lcsql.com On Thu, Mar 21, 2013 at 2:01 PM, Marty Knapp martyknapps...@gmail.comwrote: Hey Pete, Why not create an image in the group you want, then use the put URL method: create image in group GroupName of stack StackName put it into

Re: Livecode iOS Externals and XCode 4.6

2013-03-21 Thread Monte Goulding
On 21/03/2013, at 9:14 PM, char...@techstrategies.com.au wrote: Good to see there are other Aussie's on the list :) Yes we seem to be multiplying lately ;-) The architecture is listed as Standard (armv7, armv7s) - $(ARCHS_STANDARD_32_BIT) and there doesn't seem to be any other choices.

[ANN] Portland Area Get-Together

2013-03-21 Thread Phil Davis
Hi folks, A bunch of us Portland (Oregon) area LC users are getting together soon, and maybe you would like to be there too. Hope to see as many of you as possible at 4pm on March 30th at McMenamins John Barleycorns 14610 Southwest Sequoia Parkway Tigard, OR 97223 Thanks - --

Re: [ANN] Portland Area Get-Together

2013-03-21 Thread Scott Morrow
Hello Phil, I'm thinking about taking the train from Bellingham to Portland. Is there anyone near the Portland Union Station who would be willing to give me a ride to Tigard and back? The train is scheduled to arrive in Portland at 3:20. -- Scott Morrow Elementary Software (Now with 20% less

Re: [ANN] Portland Area Get-Together

2013-03-21 Thread Jim Little
Hi Phil and Scott, I'm in Seattle and I am interested in attending the Portland Get-Together. My son, Todd, may also be interested. Scott, if you wanted to meet us in Seattle, then I could drive a group down to Portland in our Honda Odyssey mini-van. I would be glad to transport others

Re: Livecode iOS Externals and XCode 4.6

2013-03-21 Thread charles
OK, At the top of the Xcode window you can choose a simulator or iOS Device (it will be the name of a device plugged in if there is one). Are you choosing the device? I was fiddling around with those options quite a bit, but I've managed to get it working now... It seems that using iOS 5.1

Re: Livecode iOS Externals and XCode 4.6

2013-03-21 Thread Monte Goulding
On 22/03/2013, at 1:05 PM, char...@techstrategies.com.au wrote: I was fiddling around with those options quite a bit, but I've managed to get it working now... It seems that using iOS 5.1 or 6.0 as the base SDK causes problems, however if I choose the 6.1 SDK it builds correctly in

Re: Livecode iOS Externals and XCode 4.6

2013-03-21 Thread charles
Hmm... I don't know why that would be unless you are using some iOS 6.1 only api... I can set the deployment target to lower versions of iOS, just can't use the older SDKs. When I have a device connected to XCode, it shows the device multiple times under schemes - one for each SDK that I

Re: [ANN] Portland Area Get-Together

2013-03-21 Thread Phil Davis
Hey, as the late great Johnny Olson of The Price Is Right would say, COME ON DOWN! This makes me glad I posted it. I didn't realize there's such a pent-up demand for a meetup in the Great Northwest. So far, Scott gets the Long Distance Award! Phil On 3/21/13 6:25 PM, Jim Little wrote: Hi

Re: Livecode iOS Externals and XCode 4.6

2013-03-21 Thread Monte Goulding
On 22/03/2013, at 1:57 PM, char...@techstrategies.com.au wrote: I can set the deployment target to lower versions of iOS, just can't use the older SDKs. When I have a device connected to XCode, it shows the device multiple times under schemes - one for each SDK that I have installed in

Re: Livecode iOS Externals and XCode 4.6

2013-03-21 Thread charles
You can build against the older SDKs but the standalone builder would have been looking for a build against the most recent SDK you have installed and linked to LiveCode in your prefs. I build my externals against lots of SDKs so I can support users with older Xcode/LiveCode combinations. Ok.

Printing browser content

2013-03-21 Thread J. Landman Gay
Is it possible to print the content of a browser? I need to print PDF files and the only way to open them in LiveCode is in a browser object. This is for iOS, so shell or launching other apps are out. I thought I'd ask before I start messing with low-rez snapshots. -- Jacqueline Landman Gay

Re: Printing browser content

2013-03-21 Thread Monte Goulding
On 22/03/2013, at 4:08 PM, J. Landman Gay wrote: Is it possible to print the content of a browser? I need to print PDF files and the only way to open them in LiveCode is in a browser object. This is for iOS, so shell or launching other apps are out. I thought I'd ask before I start

Re: Printing browser content

2013-03-21 Thread Monte Goulding
On 22/03/2013, at 4:25 PM, Monte Goulding wrote: Is it possible to print the content of a browser? I need to print PDF files and the only way to open them in LiveCode is in a browser object. This is for iOS, so shell or launching other apps are out. I thought I'd ask before I start

Re: Printing browser content

2013-03-21 Thread J. Landman Gay
On 3/22/13 12:25 AM, Monte Goulding wrote: I hate to state the obvious but... there's mergDoc that will show a preview and let you print from it, mergPop which will let the user sent that pdf to half a dozen different services including printing all with one command and then there's rrehardcopy

Re: Printing browser content

2013-03-21 Thread Monte Goulding
On 22/03/2013, at 4:43 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Obviously it wasn't so obvious, I haven't been keeping up I guess. The print job can't be sent out of house, it has to be local. I'll mention this to my client. Thanks for the reminder. You need an AirPrint