Search found 4465 matches

by jacque
Thu Sep 20, 2018 6:08 pm
Forum: Android Deployment
Topic: Android Video Player
Replies: 4
Views: 47

Re: Android Video Player

I haven't tried this at all, so you're on your own, but I have a theoretical solution. There is a specialFolderPath("external documents") that accesses files outside the sandbox. You could use "the files" to get a list of available files from that location and display them in your app. When the user...
by jacque
Wed Sep 19, 2018 6:03 pm
Forum: Feature Requests
Topic: On/Off auto-type in preferences
Replies: 21
Views: 745

Re: On/Off auto-type in preferences

I do this two different ways. 1.Triple-click selects the whole line. Then put the cursor to the left of the line under the place where the line should go and paste. 2.Drag from the end of the line above (to catch the carriage return) down to the end of the target line. Cut. Place the cursor at the e...
by jacque
Mon Sep 17, 2018 8:54 pm
Forum: Announcements
Topic: LiveCode Multi-Search
Replies: 28
Views: 701

Re: LiveCode Multi-Search

I made a few edits to the Search button so that multi-word terms work in most places. I'll send it in PM and you can do what you want, or nothing, with it.
by jacque
Sun Sep 16, 2018 3:20 pm
Forum: Talking LiveCode
Topic: Cannot copy paste a card in the Project Browser
Replies: 7
Views: 237

Re: Cannot copy paste a card in the Project Browser

I might be mistaken. Tried to see if in LC 7.01 this option was available and it is not. Still I would like to be able easy to clone a card so I am able to use a card as a template to create more cards that are only mildly different. Any idea's ? You already had it. :) "Clone this cd". You'll have ...
by jacque
Sun Sep 16, 2018 3:11 pm
Forum: Databases
Topic: SQLite and the different UTF-8
Replies: 22
Views: 399

Re: SQLite and the different UTF-8

Anyway, I still have doubts. I have put in the preferences of, DB Bowser for SQLite, that the tables that you create are UTF-16. I have created a table with this configuration and I continue with the same problems. If I put textDecode (tData, "UTF-8") it looks correctly. If it's UTF-16, would not i...
by jacque
Sat Sep 15, 2018 9:11 pm
Forum: Databases
Topic: SQLite and the different UTF-8
Replies: 22
Views: 399

Re: SQLite and the different UTF-8

For textDecode, you need to specify UTF8 which tells LC the database is in UTF8. Assuming your data is in a variable named tData, it would look like this:

Code: Select all

put textDecode(tData,"UTF8") into tLCdata
This will translate the UTF8 data into UTF16.
by jacque
Sat Sep 15, 2018 5:15 pm
Forum: Databases
Topic: SQLite and the different UTF-8
Replies: 22
Views: 399

Re: SQLite and the different UTF-8

Livecode uses UTF 16, so any data you import from outside LC must be converted if it is not that format. Your databases are UTF 8 so try using textDecode() on the results before displaying them. See the dictionary for syntax.
by jacque
Fri Sep 14, 2018 10:06 pm
Forum: Announcements
Topic: LiveCode Multi-Search
Replies: 28
Views: 701

Re: LiveCode Multi-Search

This is really useful, thanks for putting it together. Just curious, should the Dictionary pane automatically display the search results as well? It works fine if I duplicate the search term in the Dictionary search field. It's not a big deal, I'm just wondering if it's acting as expected. It's very...
by jacque
Thu Sep 13, 2018 3:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: embedded audio clips pause
Replies: 8
Views: 345

Re: embedded audio clips pause

Good point. Isn't there a terminal command to see what's been written to disk recently?

Edit: On Mac, here's how: https://www.macworld.com/article/105808 ... ecent.html I'm not sure about Windows but it probably has something similar.
by jacque
Wed Sep 12, 2018 12:07 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: embedded audio clips pause
Replies: 8
Views: 345

Re: embedded audio clips pause

jiml wrote:
Tue Sep 11, 2018 9:02 pm
I just set the filename of a player to point to a 3GB 1 hour HD movie.
alwaysBuffer was set to TRUE.
I then deleted the file.
Started the player.
It played.
Dragged the controller near to the end.
It still played fine.

So, the answer appears to be YES.
Ohhh... Cool.
by jacque
Tue Sep 11, 2018 6:38 pm
Forum: Android Deployment
Topic: Testing app Stops when installing on emulator
Replies: 1
Views: 96

Re: Testing app Stops when installing on emulator

You need the most recent build tools, and possibly the one before that as well. There used to be a conflict with the most recent one but I'm not sure if that's been resolved yet. I have several versions of the build tools installed.
by jacque
Tue Sep 11, 2018 6:34 pm
Forum: Android Deployment
Topic: Round app icon on Android Oreo
Replies: 3
Views: 124

Re: Round app icon on Android Oreo

The names are correct. As I said, I haven't tried it yet but I think LC expects the icons to be loose in the Copy Files pane. If you put them in folders, try taking them out. You probably also need to include the legacy icons, which LC does recognize. Finally you may need to make changes to the defa...
by jacque
Tue Sep 11, 2018 6:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: embedded audio clips pause
Replies: 8
Views: 345

Re: embedded audio clips pause

I don't know if a buffered audio file is completely placed in memory at once, or whether it buffers as it plays. I'd suspect the latter but you'd need to test it. What I've done in the past is store the audio as a custom property and write it to disk on demand. I used the tempfile function to create...
by jacque
Mon Sep 10, 2018 10:53 pm
Forum: Android Deployment
Topic: Round app icon on Android Oreo
Replies: 3
Views: 124

Re: Round app icon on Android Oreo

I haven't done this yet, but there is info on the web about how to create adaptive icons. You need two layers, one for background and one for the icon art. If you create an adaptive icon, you can add it to the Copy Files pane and it will be used. Also add icons for correctly-named legacy sizes, and ...
by jacque
Mon Sep 10, 2018 10:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Different results about urlencode(name of file) and detailed files
Replies: 3
Views: 163

Re: Different results about urlencode(name of file) and detailed files

I get the same results. When text is imported from outside LC it is usually necessary to textDecode it first, but that isn't working either. I'd submit a bug report.

Go to advanced search