Search found 23 matches

by UrosDobricic
Tue Oct 01, 2019 7:24 pm
Forum: Android Deployment
Topic: Searching in documents folder at Android
Replies: 8
Views: 5619

Searching in documents folder at Android

Hi, i wrote a code for a searchfield in my app. It should search in my earlier created documents folder in my app. There are some files stored, and i want the User to find them with this search option. Here is my code: on openField if the text of me is "Nach Profilen suchen" then set the textColor o...
by UrosDobricic
Thu Sep 26, 2019 1:25 pm
Forum: Android Deployment
Topic: How to save data on android from different fields into a text file with different data?
Replies: 13
Views: 7361

Re: How to save data on android from different fields into a text file with different data?

Hi Klaus, Hi AxWald, it actually worked. The phone just did not display anything. After adding the code above from Klaus, it showed me the files. I also wrote the read skript, which is working fine. Now, my second question is, can i write directly to the phone like a .txt file out of the sandbox for...
by UrosDobricic
Wed Sep 25, 2019 9:02 pm
Forum: Android Deployment
Topic: How to save data on android from different fields into a text file with different data?
Replies: 13
Views: 7361

Re: How to save data on android from different fields into a text file with different data?

I added this as you can see in my code above. At my PC it opens a dialog box and says "Can't open file" I added also this answer files(specialfolderpath("documents")) When i click now on speichern at my phone it doesn't open anything. Maybe, if it is ok for you, i can send you my livecode file at yo...
by UrosDobricic
Wed Sep 25, 2019 8:32 pm
Forum: Android Deployment
Topic: How to save data on android from different fields into a text file with different data?
Replies: 13
Views: 7361

Re: How to save data on android from different fields into a text file with different data?

The result is "Can't open file" What i dont't understand is, why he is trying to open a file? Or is he opening the file to write in it? This is what i get when i click on the speichern button after adding your code. My script in the menubar: on hiliteChanged ## What did the user click on? put the hi...
by UrosDobricic
Wed Sep 25, 2019 8:19 pm
Forum: Android Deployment
Topic: How to save data on android from different fields into a text file with different data?
Replies: 13
Views: 7361

Re: How to save data on android from different fields into a text file with different data?

Oh, ok. I thought it will create a folder with my Identifier of my app and paste it then in this folder. But i just looked, there is no file with the text i wrote into the field "fileName" I wrote into the field "fileName" Testdatei My plan is to save the data from the fields into this Testdatei No ...
by UrosDobricic
Wed Sep 25, 2019 7:48 pm
Forum: Android Deployment
Topic: How to save data on android from different fields into a text file with different data?
Replies: 13
Views: 7361

Re: How to save data on android from different fields into a text file with different data?

Hi again, i saw my mistake with tAuswahl. It now say's when i run it on my PC in LiveCode "Problem: Can't open file" When i run it on my mobile phone, it doesn't create my folder at data and therefore it doesn't save any data. There is no Error on my phone, when i click on speichern, then just nothi...
by UrosDobricic
Wed Sep 25, 2019 7:23 pm
Forum: Android Deployment
Topic: How to save data on android from different fields into a text file with different data?
Replies: 13
Views: 7361

Re: How to save data on android from different fields into a text file with different data?

Hi Klaus, thanks for your fast reply. I added this code, but it did not work: on hiliteChanged ## What did the user click on? put the hilitedItemName of me into tAuswahl ## User clicked on "Speichern": if tAuswahl = "speichern" then ## Get used to the shorter URL syntax and store the complete pathna...
by UrosDobricic
Wed Sep 25, 2019 6:42 pm
Forum: Android Deployment
Topic: How to save data on android from different fields into a text file with different data?
Replies: 13
Views: 7361

How to save data on android from different fields into a text file with different data?

Viewed 4 times 0 i would be very glad if somebody help me about my problem. I'm writin an app in Livecode, and so far everything working fine. Now i want to save the data a user created in "documents" on the users phone. I have 5, but probably there are going to be 8 fields with different data. I wa...

Go to advanced search