Search found 135 matches
- Wed May 02, 2018 2:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Android app first field already has focus but no onscreen kb
- Replies: 9
- Views: 8621
Re: Android app first field already has focus but no onscreen kb
Dave, Thanks for latest reply. My wish is for the card to open with the native Android input field in focus and the keyboard visible. I can't make that happen at the moment. Not a major issue though - once the user clicks in the input field the keyboard appears as expected (& desired). I may have mo...
- Tue May 01, 2018 7:05 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Android app first field already has focus but no onscreen kb
- Replies: 9
- Views: 8621
Re: Android app first field already has focus but no onscreen kb
Dave, Many thanks for replying. So my handler setTraversalOn sets the traversalOn of my ordinary LiveCode fields to true OK - so what is your code to set traversalOn for Android native mobile fields? I thought you had to use mobileControlSet for them, no? At the moment I can't even focus on the Andr...
- Tue May 01, 2018 1:19 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Android app first field already has focus but no onscreen kb
- Replies: 9
- Views: 8621
Re: Android app first field already has focus but no onscreen kb
Dave Kilroy - have you used your traversalOn method for native android controls such as a multiline input field created by
The dictionary doesn't say this property can be set for native android controls as far as I can see...
Thanks.
Code: Select all
mobileControlCreate "multiline", "myMultiLineTextInput"
Thanks.
- Fri Nov 24, 2017 12:25 am
- Forum: Android Deployment
- Topic: Opening files on Android
- Replies: 9
- Views: 7289
Re: Opening files on Android
Klaus, Jacque - thanks for your replies. Klaus: you should have said - I could have sent you my old phone. Then you would have no excuse. Although I expect it wouldn't be a welcome gift :wink: Jacque: specialFolderPath("External Documents") worked. I think it should be in the dictionary entry for sp...
- Tue Nov 21, 2017 10:42 pm
- Forum: Android Deployment
- Topic: Opening files on Android
- Replies: 9
- Views: 7289
Re: Opening files on Android
Thanks for replies. What syntax are you using? Are you using the "launch" command? Yes, as Klaus did: put specialfolderpath("engine") & "/pdfs/my_doc.pdf") into tFile launch url tFile An easy workaround is to copy the file(s) from the app specialfolderpath to an outside location and launch URL on th...
- Tue Nov 21, 2017 1:04 am
- Forum: Android Deployment
- Topic: Opening files on Android
- Replies: 9
- Views: 7289
Re: Opening files on Android
We may never know if Bert ever tried Klaus's code. However I found myself trying something similar. I can get native Android apps to launch documents (e.g. PDF, text) outside the app on the target filesystem. However not for files copied over with the app. I check in my LiveCode app that the files e...
- Tue Oct 17, 2017 10:46 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 78259
Re: Creating LiveCode applications that play well with git
I did some tests and can confirm I got the PDF Javascript viewer (pdfjs) working with my Levure Android project in 2 ways: 1) copying all the pdfjs files with the packager using the "copy files" feature then using relative paths with levureAppFolder() 2) pre-copying the pdfjs files to the device and...
- Tue Oct 17, 2017 5:26 pm
- Forum: Android Deployment
- Topic: New approach for offline viewing PDF inside Android browser
- Replies: 43
- Views: 36524
Re: New approach for offline viewing PDF inside Android browser
Now able to let the user change the PDF displayed in the app by using MaxV's suggestion of copying over the DEFAULT_URL file specified in viewer.js. :D The first problem I had was specifying the URLs incorrectly. Then when the PDF controls showed without a PDF file (just an empty window) I changed t...
- Tue Oct 17, 2017 4:57 pm
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 78259
Re: Creating LiveCode applications that play well with git
Trevor, thanks for the suggestions. No spaces in the filename or path but certainly worth checking.
I've just made a breakthrough however so please don't spend any more time on this for now. Will do some more tests & post results.
I've just made a breakthrough however so please don't spend any more time on this for now. Will do some more tests & post results.
- Tue Oct 17, 2017 4:34 pm
- Forum: Android Deployment
- Topic: New approach for offline viewing PDF inside Android browser
- Replies: 43
- Views: 36524
Re: New approach for offline viewing PDF inside Android browser
I wonder if you are able to get this working without copying over files with the app, i.e. by putting the folder pdfjs & its subfolders on your target Android device before installing your app and then referring to them using absolute paths? I just got this working! Now I'll try copying in a differ...
- Tue Oct 17, 2017 4:09 pm
- Forum: Android Deployment
- Topic: New approach for offline viewing PDF inside Android browser
- Replies: 43
- Views: 36524
Re: New approach for offline viewing PDF inside Android browser
MaxV , Thanks for your latest post which I’ve only just come to look at again. I wonder if you are able to get this working without copying over files with the app, i.e. by putting the folder pdfjs & its subfolders on your target Android device before installing your app and then referring to them u...
- Tue Oct 17, 2017 12:28 am
- Forum: Talking LiveCode
- Topic: Creating LiveCode applications that play well with git
- Replies: 136
- Views: 78259
Re: Creating LiveCode applications that play well with git
I’m trying to create an Android app similar to the stack here, only in Levure: http://forums.livecode.com/viewtopic.php?f=53&t=28518&start=15#p158077 This uses some javascript to display a PDF file in the same folder. I’ve tested it works on Android. With Levure I can get a test file I put in <levur...
- Thu Oct 12, 2017 6:41 pm
- Forum: Android Deployment
- Topic: Porting from iOS to Android - first time issues...
- Replies: 4
- Views: 4920
Re: Porting from iOS to Android - first time issues...
I see from the Android dev notes that 'backgroundColor' and 'alpha' are not supported in Android native controls Maybe this has changed since 2013 but according to the dictionary entry for mobileControlSet (Community v8.1.6) 'backgroundColor' and 'alpha' can be set for "All native mobile controls"....
- Tue Oct 10, 2017 10:25 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: repeat occurrences of a group
- Replies: 15
- Views: 9194
Re: repeat occurrences of a group
Of course (now you've explained it!) That's a good way to think of it. I should have been able to work that out but thanks for indulging my laziness.Cloning is just a shortcut for "copy and then paste"
Thanks for the rest of the explanation too.
- Tue Oct 10, 2017 9:41 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: repeat occurrences of a group
- Replies: 15
- Views: 9194
Re: repeat occurrences of a group
Jacque - thanks for explaining it eloquently for me. That is exactly what I was getting at in point 1) of my original post. I was also looking at the clone command as an option before seeing your post. Craig - thanks for your help, advice & ideas. You’ve made me aware that I can change group propert...