Search found 12 matches

by rjenkinsgb
Mon Jul 04, 2016 8:12 pm
Forum: Rich Media
Topic: cameracontrol - image rotation & placement
Replies: 0
Views: 824

cameracontrol - image rotation & placement

Hi, I'm experimenting with the new cameracontrol in an ipad app in landscape mode. I have a rectangle on screen as the viewfinder image plus an image to receive the photo when taken. At the moment they are both 400 wide by 300 high as a convenience. Two problems: The preview image is the wrong way r...
by rjenkinsgb
Thu May 21, 2015 12:59 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to Re-run a project in the IDE?
Replies: 2
Views: 652

How to Re-run a project in the IDE?

Hi, is there an option in the IDE to fully re-start the project - ie. so it runs through it's initialisation and splash screen etc? Most IDE debuggers have an obvious way of doing this, but I can't find it in Livecode, I'm having to quit or close/remove from memory and reload to restart things. --- ...
by rjenkinsgb
Thu May 21, 2015 12:52 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More libURLDownloadToFile problems
Replies: 4
Views: 930

Re: More libURLDownloadToFile problems

There are possibly other problems with the internet library, or it's proper inclusion in builds. I submitted a bug report yesterday using a minimal code sample posted by one of the Livecode team as an explanation of something; just a few lines but including a "load url" and it's callback. That works...
by rjenkinsgb
Fri May 08, 2015 12:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More libURLDownloadToFile problems
Replies: 4
Views: 930

Re: More libURLDownloadToFile - Work around

A way of getting a similar functionality with other commands: Use load URL [url] with message "callback" to queue a download for the required file. That appears to be non-blocking and multiple files can be queued. In the callback routine, use cachedURLs() to get a list of urls in the queue. Work thr...
by rjenkinsgb
Thu May 07, 2015 5:43 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More libURLDownloadToFile problems
Replies: 4
Views: 930

Re: More libURLDownloadToFile problems

I was just going to post a bug report for this & found one already exists - # 11504 originally date November 2013.
by rjenkinsgb
Wed May 06, 2015 10:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: More libURLDownloadToFile problems
Replies: 4
Views: 930

More libURLDownloadToFile problems

Two problems: First: The IDE keeps "losing" libURLDownloadToFile - I can sometimes do a minor change somewhere in my project and livecode will suddenly decide it cannot find that function. At that point it also will not build the app (targeted to Android). Sometimes, changing standalone app settings...
by rjenkinsgb
Wed May 06, 2015 9:48 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Control groups - different button labels per card
Replies: 4
Views: 993

Re: Control groups - different button labels per card

What I've actually done is re-name the buttons to something generic, eg. Key01, Key02 etc. I've only got four buttons at present. There is no need to re-name them from card to card - it's easier to know what they are & use the same info in every card.. on preOpenCard set the label of Key01 to "whate...
by rjenkinsgb
Tue May 05, 2015 4:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Control groups - different button labels per card
Replies: 4
Views: 993

Control groups - different button labels per card

Hi, I have a nice auto-size toolbar working & set as a group / background so it appears on new cards. However, despite hours of experimentation & google searches I cannot figure out how to have different button labels on each card with the grouped controls. It does not matter which card or instance ...
by rjenkinsgb
Thu Apr 09, 2015 8:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: libURLDownloadToFile buggy?
Replies: 4
Views: 967

Re: libURLDownloadToFile buggy?

Update - after more searching on here I found mention of problems with some livecode 7.x versions while 6.x worked. I installed LC 6.7.3 and tried to open my project in that, which did not work as the save file was the wrong version. I went back to 7.0.4 - and the project ran in the debugger rather ...
by rjenkinsgb
Wed Apr 08, 2015 5:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: libURLDownloadToFile buggy?
Replies: 4
Views: 967

libURLDownloadToFile buggy?

Hi, I'm using libURLDownloadToFile to grab image files on demand in a mobile project. It's function - or that of the library that is needed - seems very erratic and unpredictable. On some occasions it works perfectly then on others it fails with a "Handler: can't find handler" error. Sometimes, chan...
by rjenkinsgb
Tue Apr 07, 2015 12:18 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mobile device "size" during development
Replies: 4
Views: 780

Re: Mobile device "size" during development

Hi,

thanks, I'd not thought of checking the size of the card.

It looks like there is a bug in the screenrect function.

RJ.
by rjenkinsgb
Mon Apr 06, 2015 11:22 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mobile device "size" during development
Replies: 4
Views: 780

Mobile device "size" during development

Hi, I'm trying to develop a mobile app that will adjust to the device screen resolution. When starting in debug, the screenRect value seems to return the computer monitor size rather than any reasonable mobile device size, even though I only have iphone/ipod set in the standalone settings. Is it pos...

Go to advanced search