Search found 135 matches
- Wed Sep 06, 2017 4:56 pm
- Forum: Android Deployment
- Topic: New approach for offline viewing PDF inside Android browser
- Replies: 43
- Views: 35979
Re: New approach for offline viewing PDF inside Android brow
If I type the following address directly into the address bar of a Chrome browser on the tablet I also see the PDF viewer. The PDF is still not visible although the tab shows the filename (test.pdf) I set as the DEFAULT_URL in viewer.js file:///sdcard/.../pdfjs/web/viewer.html viewer.js var DEFAULT_...
- Wed Sep 06, 2017 11:57 am
- Forum: Android Deployment
- Topic: New approach for offline viewing PDF inside Android browser
- Replies: 43
- Views: 35979
Re: New approach for offline viewing PDF inside Android brow
I can get the PDF viewer to show on the Android tablet but I can't get any PDF to display in it. I've tried lots of combinations, too many to list, but for example this one Browser URL "file:/sdcard/.../pdfjs/web/viewer.html" with viewer.js as supplied gives me a blank PDF viewer I would really like...
- Tue Sep 05, 2017 7:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What is a "display group"?
- Replies: 2
- Views: 2542
Re: What is a "display group"?
Thanks Dave for explaining that. It was puzzling me too. Most of the documentation I've seen, including the Livecode Wiki, implies you need more than one object to form a group. I didn't know you could form one containing no objects at all! Live & learn...
All the best,
Jim
All the best,
Jim
- Mon Sep 04, 2017 4:54 pm
- Forum: Android Deployment
- Topic: New approach for offline viewing PDF inside Android browser
- Replies: 43
- Views: 35979
Re: New approach for offline viewing PDF inside Android brow
rmuzzini & MaxV, Thank you for taking the time to answer my questions. Having read you answers, re-read previous posts and the original article I understand it much better. I could ask more questions as a lot of this is new to me but think maybe I'll have a go with getting it to work first & maybe a...
- Mon Sep 04, 2017 1:41 am
- Forum: Android Deployment
- Topic: New approach for offline viewing PDF inside Android browser
- Replies: 43
- Views: 35979
Re: New approach for offline viewing PDF inside Android brow
I'd be grateful for any answers to some basic questions about this solution. Does this allow for PDF viewing inside a LiveCode app or does it jump out of the LiveCode app? Does it use the following LiveCode? mobileControlCreate “browser” Will it work with LiveCode Community current stable release (8...
- Mon Aug 14, 2017 12:44 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
When I opened the project on the network drive I got lots of messages of form “A stack with the same name as the one you are trying to load is already open. Re: the above messages from one of my previous posts I think (hope) I may have found the problem. I set a lot of behavior script files as stac...
- Mon Aug 14, 2017 12:17 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
I would probably just write a function that returns a different value based on the environment. Thanks for the advice. That was an option I’d considered & good to know your thoughts. I had looked at the preferences docs on the wiki before my first posting & have just looked at them again. As I unde...
- Sun Aug 13, 2017 12:19 am
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
One more for the road Trevor: I’m not copying my media onto the Android device every time I install my application. I have the media already on the device and refer to the absolute path of a media file from code within my app. If I want to set an Assets / Media directory base location for use when r...
- Sun Aug 13, 2017 12:14 am
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
Trevor, Tried to move my project from local drive to a network as I saw you had updated Levure to allow use of network drives (didn’t realise it was so long since I checked!). I had the local drive project open in LiveCode which I exited. I then copied the file structure onto the network drive. When...
- Sun Jul 23, 2017 2:22 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
Try setting the behavior to the long id of the stack As if by magic that worked - my guess is you knew it would :wink: Since it was already loaded into memory I thought the stack name was enough. Also, just putting "the long id" in front of the name isn't supplying any more information so a bit puz...
- Sun Jul 23, 2017 12:43 am
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
By any chance do your behavior stack files use the same name in memory? If you have two behaviors that are both named "Stack Behavior" in memory then perhaps it could confuse the IDE. Don’t think that is the problem. Before I saw your post I had tried re-creating the behavior files with different f...
- Fri Jul 21, 2017 9:42 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
The point I was trying to make was that changing properties of a note template control will change what the note looks like when you play a song the next time OK - clear now, thanks. Now I’ve found another problem that has led to deeper questions. Navigation around my multiple stack UI works fine i...
- Tue Jul 18, 2017 11:52 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
Trevor, thanks for the explanation. As I understand it then your notes templates are home-made & not part of core LiveCode. Any changes that are made to the template will then be used the next time a song is played. You've lost me there. I would have thought a template was fixed (at least in any one...
- Mon Jul 17, 2017 10:40 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
Are they also known as as Custom Controls? http://lessons.livecode.com/m/4071/l/22 ... m-controlsIs there a standard way of implementing templates in LiveCode? Is there any lesson / post you can point me to describing how to implement & use?
- Mon Jul 17, 2017 8:43 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 77094
Re: Creating LiveCode applications that play well with git
Thanks Trevor for continuing to reply. The things I'm asking are as a consequence of adopting Levure with Git but if you think they'd be better off in a new thread then please don't hesitate to say. You would have to write your own code that stored the master version of the navigation in a template ...