How to open a file?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
How to open a file?
How can I write a code developed from a phone?
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to open a file?
If you cannot write questions that are more explanatory it is very difficult to understand them.
Also, a standalone on a phone should NOT be able to open a LiveCode stack that is NOT a substack
of the standalone on the phone.
Also, a standalone on a phone should NOT be able to open a LiveCode stack that is NOT a substack
of the standalone on the phone.
Re: How to open a file?
I want there to be a button that opens a particular file on the phone
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: How to open a file?
you can open files in documents folder only.I want there to be a button that opens a particular file on the phone
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 9665
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How to open a file?
Hi.
Is that what Jean-Marc posted that you were uncertain about?
Or was it how to open a file in general, that is, using the "go" ("open") command?
Craig
Is that what Jean-Marc posted that you were uncertain about?
Or was it how to open a file in general, that is, using the "go" ("open") command?
Craig
Re: How to open a file?
I want to open a file on my phone
And how do I open a document file?
And how do I open a document file?
Re: How to open a file?
Hi livecode,
But you did not mention PHONE yet!
EDIT: Sorry, you did!
We cannot access any other file on a mobile device that we did not bring ourselfes as part of our standalone (APK/AAP).
This is for security reasons and is called "Sandboxing".
The "documents" folder -> specialfolderpath("documents") on a mobile device is a little part of our APK
(Application Package for iOS or Android), and there (and ONLY there) we have read and write permission.
That is very different than the "Documents" folder on Mac/Win/Linux!
Do you really understand enough english to understand what we are trying to tell you here and in other threads?
It does not sound nor look like!
Best
Klaus
yes, we already guessed from the thread title.
But you did not mention PHONE yet!
EDIT: Sorry, you did!
We cannot access any other file on a mobile device that we did not bring ourselfes as part of our standalone (APK/AAP).
This is for security reasons and is called "Sandboxing".
The "documents" folder -> specialfolderpath("documents") on a mobile device is a little part of our APK
(Application Package for iOS or Android), and there (and ONLY there) we have read and write permission.
That is very different than the "Documents" folder on Mac/Win/Linux!
Please allow me to ask you a question:
Do you really understand enough english to understand what we are trying to tell you here and in other threads?
It does not sound nor look like!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 9665
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How to open a file?
Klaus.
He did mention "phone" in the first post.
I agree we are not communicating well, due to language. I will try...
@ LiveCode. Using LiveCode, do you want to make a mobil app that opens a different file that already exists on your phone?
Craig
He did mention "phone" in the first post.
I agree we are not communicating well, due to language. I will try...
@ LiveCode. Using LiveCode, do you want to make a mobil app that opens a different file that already exists on your phone?
Craig
Re: How to open a file?
Yes that's what I want to do
And I do not really know English
And I do not really know English
Re: How to open a file?
If I put a file inside the app, how can I edit it?
Re: How to open a file?
What kind of file do you want to edit?
Re: How to open a file?
I want to edit a txt file
Re: How to open a file?
OK, that is surely possible.
But then you may not need an external TXT file.
Just put the text into a field in LC , then you can edit it inside of your app
and output the modified text to a text file if neccessary.
But then you may not need an external TXT file.
Just put the text into a field in LC , then you can edit it inside of your app
and output the modified text to a text file if neccessary.
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to open a file?
You can import and export TXT files with LiveCode on a desktop computer
so I see no real reason why this should not be possible to an SD card in
a phone.
so I see no real reason why this should not be possible to an SD card in
a phone.
Re: How to open a file?
So what is the code I need to write?