Search found 52 matches

by paulalsmith1000
Thu Sep 05, 2019 7:40 pm
Forum: Data Grid Helper
Topic: datagrid joy
Replies: 8
Views: 5625

Re: datagrid joy

Hi Klaus Could you shed some light on the above strangeness? I have uploaded the whole stack which might help. There are 2 datagrids in the stack. The first one (fav picture) where the user is asked to select an image (which is then saved to the DB) works fine in the sense that it saves the image se...
by paulalsmith1000
Fri Aug 30, 2019 8:02 pm
Forum: Android Deployment
Topic: sqlite corrupted when copied
Replies: 3
Views: 1301

Re: sqlite corrupted when copied

Hi SparkOut This is the code:- command save_db_external create folder specialFolderPath("external documents") & "/" & "upload folder" put URL("file:" & specialFolderPath("external documents") & tdbname) into URL("file:" & specialFolderPath("external documents") & "/" & "upload folder" & tdbname) end...
by paulalsmith1000
Thu Aug 29, 2019 11:28 pm
Forum: Android Deployment
Topic: sqlite corrupted when copied
Replies: 3
Views: 1301

sqlite corrupted when copied

Dear Everyone Could anyone tell me why my sqlite db file gets corrupted when I copy it? The DB is located in the special folder documents for the app, I would then like to copy it to the special folder external documents at the end of the app / as it closes (which is the folder that a google drive a...
by paulalsmith1000
Thu Aug 29, 2019 11:19 pm
Forum: Android Deployment
Topic: upload files to the cloud
Replies: 2
Views: 1046

Re: upload files to the cloud

Hi Jacque

Thanks for your reply, no worries I managed to use a different app to sync the folder with the gdrive in the end.

Kind regards

Paul
by paulalsmith1000
Mon Aug 26, 2019 7:28 pm
Forum: Data Grid Helper
Topic: datagrid form save / update sqlite
Replies: 10
Views: 2228

Re: datagrid form save / update sqlite

Hi SparkOut Thanks v much for the above (I did slightly avoid this for a while because I couldn't get anywhere) but now I've almost finished the app, so no choice :) Could u possibly tell me if there would be any reason why the following happens:- if i edit the row template group (datagrid form) and...
by paulalsmith1000
Mon Aug 26, 2019 7:19 pm
Forum: Android Deployment
Topic: upload files to the cloud
Replies: 2
Views: 1046

upload files to the cloud

Dear everyone

I thought I already posted this, but I think I hit the wrong button!

Is there a any way to upload files to a google drive account from an android app, or if not is there a workaround anyone has found?

kind regards

Paul
by paulalsmith1000
Thu Aug 22, 2019 11:40 am
Forum: Android Deployment
Topic: API call works on livecode, but not on android
Replies: 8
Views: 1526

Re: API call works on livecode, but not on android

Hi Klaus Sorry I just realized it would be better to post the whole page script- (the request tide command returns for example - https://www.worldtides.info/api?datum=Lat&extremes&lat=50.868376&lon=0.251201start=1566342000&length=86400&maxcalls=5&key=1449737d-0844-46a7-a344-9d996f0645d4) Thanks v mu...
by paulalsmith1000
Thu Aug 22, 2019 6:57 am
Forum: Android Deployment
Topic: API call works on livecode, but not on android
Replies: 8
Views: 1526

Re: API call works on livecode, but not on android

Hi everyone In answer to a few of the questions:- I couldn't find an internet permissions bit in the standalone settings, but there is a command on the page that checks for a connection ( below) and this works fine. command checkInternetConnection put url "http://www.google.com" into tURL if tURL is...
by paulalsmith1000
Wed Aug 21, 2019 7:39 pm
Forum: Android Deployment
Topic: API call works on livecode, but not on android
Replies: 8
Views: 1526

API call works on livecode, but not on android

Hi Everyone Could someone possibly shed light on this for me I am absolutely stumped. Is there any reason why a command that calls an API would work in livecode, but not when tested on a connected android phone? The phone is connected via usb. It basically calls the API , converts the json response ...
by paulalsmith1000
Wed Aug 14, 2019 10:23 pm
Forum: Data Grid Helper
Topic: datagrid joy
Replies: 8
Views: 5625

Re: datagrid joy

Hi Klaus please see the script below - fill in data on FillInData pDataArray set the text of field "species" of me to pDataArray["species_identified"] set the text of field "scroll_list" of me to tspecies_options put pDataArray["species_image"] into timage put base64decode(timage) into timage2 set t...
by paulalsmith1000
Wed Aug 14, 2019 7:02 pm
Forum: Data Grid Helper
Topic: datagrid joy
Replies: 8
Views: 5625

datagrid joy

Hi Anyone Once again I have a question? I am having a strange problem with a dg form. I think I understand the mechanics now,but it would seem not entirely. Basically, I have several rows in this page (see attached) with data from a db (all this works fine), Also I think I understand how to save it ...
by paulalsmith1000
Mon Aug 12, 2019 10:25 pm
Forum: Talking LiveCode
Topic: itemdelimiter?
Replies: 17
Views: 1933

Re: itemdelimiter?

Wow, thanks "anyone" I so should have started using this forum earlier, I might have seen daylight occasionally then!

Kind regards

Paul
by paulalsmith1000
Sun Aug 11, 2019 12:56 pm
Forum: Talking LiveCode
Topic: itemdelimiter?
Replies: 17
Views: 1933

itemdelimiter?

Hi Anyone I have a minor problem that I can't seem to work out?: The background is fairly unimportant, but basically I get make an API call and get various bits of data back. One bit is a long string with the date/time etc... (2019-08-11T20:17+0000). All I want to do is select the 20.17 bit, because...
by paulalsmith1000
Mon Aug 05, 2019 7:23 am
Forum: Data Grid Helper
Topic: datagrid form save / update sqlite
Replies: 10
Views: 2228

Re: datagrid form save / update sqlite

Hi again Spark Out Erm, here we go again (apologies if this is to many questions) From what you told me the saving back should now be fine, but the last bit (screenshot below) I could really do with a little direction: The last DG on the this page is roughly the same format, but it has the image on ...
by paulalsmith1000
Mon Aug 05, 2019 6:30 am
Forum: Data Grid Helper
Topic: datagrid form save / update sqlite
Replies: 10
Views: 2228

Re: datagrid form save / update sqlite

Hi Spark Out Thanks a million it worked perfectly. I know it seems a bit odd to re save the image again, but there will be hundreds of images in the species column and it was the only way I could think of to make it easy to find the favourite image (as selected by the user after the survey) which wo...

Go to advanced search