file save and recall in Android
Posted: Sat Apr 13, 2013 5:21 pm
I cobbled together a Contact Manager to get more business, running on PC, it also works as is on the Mac.
As an enhancement, I added a "Personal" section and it would be very handy to access this from my Galaxy Note 10.1 outside business hours.
Everything appears to work, except file handling, and this is no real surprise, because the PC/Mac code is not supported on the Android. So much for cross platform compatability.
Question:- So I dont have to support several versions of code, is there a way around this issue?
The file structure is the simple save and load of a table field.
To save is:-
To Recall is:-
In addition, file paths for reference documents can be dragged & dropped to a field in the application. These paths are stored with the client record as simple text, never the file itself. At this point, there is an option to move the file to a central folder, or copy the file, to the central folder. The central folder will be on a NAS device.
Question:- How do you drag & drop across different screens in Android. The application is the size of the Note Screen.
The file paths for the save and recall of the client records, and program settings are contained in a text file where ever the application resides. So far that will be one on a PC and another on a Mac. So there will need to be one on the Galaxy Note.
Question:- can you put this in the same folder as the Android app?
I would think these are common problems with computer and tablet combinations, so should be of interest to many other newbies.
As an enhancement, I added a "Personal" section and it would be very handy to access this from my Galaxy Note 10.1 outside business hours.
Everything appears to work, except file handling, and this is no real surprise, because the PC/Mac code is not supported on the Android. So much for cross platform compatability.
Question:- So I dont have to support several versions of code, is there a way around this issue?
The file structure is the simple save and load of a table field.
To save is:-
Code: Select all
put field "Table 1" into url MyFileName
--other code here---
put field "Table 1" into url MyFileName
Code: Select all
answer file "Select a text file:" with type "Contact Manager|mge|"
---Other code here---
put url recalledfile into Field "TempTable1"
Question:- How do you drag & drop across different screens in Android. The application is the size of the Note Screen.
The file paths for the save and recall of the client records, and program settings are contained in a text file where ever the application resides. So far that will be one on a PC and another on a Mac. So there will need to be one on the Galaxy Note.
Question:- can you put this in the same folder as the Android app?
I would think these are common problems with computer and tablet combinations, so should be of interest to many other newbies.