E Electrocutioner Member Licensed User Longtime User Jun 16, 2015 #1 There is no JAR file or XML in the download. Thanks in advance.
DonManfred Expert Licensed User Longtime User Jun 16, 2015 #2 Electrocutioner said: There is no JAR file or XML in the download. Click to expand... Right. It is the SOURCE... It is a CLASS Module file which you need to add to your project. Upvote 0
Electrocutioner said: There is no JAR file or XML in the download. Click to expand... Right. It is the SOURCE... It is a CLASS Module file which you need to add to your project.
E Electrocutioner Member Licensed User Longtime User Jun 16, 2015 #3 I have installed StateManager as a class Module. Now when I compile I receive an error on this line Public Sub RestoreState(Page As Page, PageName As String, ValidPeriodInMinutes As Int) As Boolean Error description: Unknown type: page Are you missing a library reference? I checked off RandomAccessFile and Reflection Last edited: Jun 17, 2015 Upvote 0
I have installed StateManager as a class Module. Now when I compile I receive an error on this line Public Sub RestoreState(Page As Page, PageName As String, ValidPeriodInMinutes As Int) As Boolean Error description: Unknown type: page Are you missing a library reference? I checked off RandomAccessFile and Reflection
DonManfred Expert Licensed User Longtime User Jun 17, 2015 #4 randomaccessfiles and reflection must be CHECKED the signature of the sub in original is B4X: Sub RestoreState(Activity As Activity, ActivityName As String, ValidPeriodInMinutes As Int) As Boolean Upvote 0
randomaccessfiles and reflection must be CHECKED the signature of the sub in original is B4X: Sub RestoreState(Activity As Activity, ActivityName As String, ValidPeriodInMinutes As Int) As Boolean
E Electrocutioner Member Licensed User Longtime User Jun 17, 2015 #5 DonManfred said: randomaccessfiles and reflection must be CHECKED the signature of the sub in original is B4X: Sub RestoreState(Activity As Activity, ActivityName As String, ValidPeriodInMinutes As Int) As Boolean Click to expand... Don Im not sure what you are saying. Are you saying replace the code? Upvote 0
DonManfred said: randomaccessfiles and reflection must be CHECKED the signature of the sub in original is B4X: Sub RestoreState(Activity As Activity, ActivityName As String, ValidPeriodInMinutes As Int) As Boolean Click to expand... Don Im not sure what you are saying. Are you saying replace the code?
DonManfred Expert Licensed User Longtime User Jun 17, 2015 #6 Electrocutioner said: Don Im not sure what you are saying. Are you saying replace the code? Click to expand... at least i would try to replace the declarationline of the sub... yes. Upvote 0
Electrocutioner said: Don Im not sure what you are saying. Are you saying replace the code? Click to expand... at least i would try to replace the declarationline of the sub... yes.
E Electrocutioner Member Licensed User Longtime User Jun 17, 2015 #7 DonManfred said: at least i would try to replace the declarationline of the sub... yes. Click to expand... Ok I cut out the code I don't need. The next error I receive is Error description: Unknown member: dirlibrary Occurred on line: 16 If File.Exists(File.DirLibrary, SettingsFileName) Then Word: dirlibrary Upvote 0
DonManfred said: at least i would try to replace the declarationline of the sub... yes. Click to expand... Ok I cut out the code I don't need. The next error I receive is Error description: Unknown member: dirlibrary Occurred on line: 16 If File.Exists(File.DirLibrary, SettingsFileName) Then Word: dirlibrary
DonManfred Expert Licensed User Longtime User Jun 17, 2015 #8 Type file[dot] and you will get a list of all methods. dirlibrary is none of them Upvote 0
E Electrocutioner Member Licensed User Longtime User Jun 17, 2015 #9 DonManfred said: Type file[dot] and you will get a list of all methods. dirlibrary is none of them Click to expand... if File.DirLibrary doesn't exist, what should I use instead? would DirDefaultExternal work? Upvote 0
DonManfred said: Type file[dot] and you will get a list of all methods. dirlibrary is none of them Click to expand... if File.DirLibrary doesn't exist, what should I use instead? would DirDefaultExternal work?
asales Expert Licensed User Longtime User Jun 19, 2015 #10 What version of StateManager are you using? I am using the 1.11 version and I don't have this issues. And there is no "File.DirLibrary" in the 1.11 version. Upvote 0
What version of StateManager are you using? I am using the 1.11 version and I don't have this issues. And there is no "File.DirLibrary" in the 1.11 version.
DonManfred Expert Licensed User Longtime User Jun 19, 2015 #11 AS2 said: I am using the 1.11 version and I don't have this issues. And there is no "File.DirLibrary" in the 1.11 version. Click to expand... maybe he should tell us which B4A version he is using. And if it is B4A at all. Actually i´m not sure we are talking about B4A And i believe all Methods/Properties of FILE are part of the CORE library Upvote 0
AS2 said: I am using the 1.11 version and I don't have this issues. And there is no "File.DirLibrary" in the 1.11 version. Click to expand... maybe he should tell us which B4A version he is using. And if it is B4A at all. Actually i´m not sure we are talking about B4A And i believe all Methods/Properties of FILE are part of the CORE library
E Electrocutioner Member Licensed User Longtime User Jun 19, 2015 #12 DonManfred said: maybe he should tell us which B4A version he is using. And if it is B4A at all. Actually i´m not sure we are talking about B4A And i believe all Methods/Properties of FILE are part of the CORE library Click to expand... I am using B4A 5.02. And I got the example from here: http://stackoverflow.com/questions/7857930/saving-and-reading-int-values-in-case-of-app-close Last edited: Jun 19, 2015 Upvote 0
DonManfred said: maybe he should tell us which B4A version he is using. And if it is B4A at all. Actually i´m not sure we are talking about B4A And i believe all Methods/Properties of FILE are part of the CORE library Click to expand... I am using B4A 5.02. And I got the example from here: http://stackoverflow.com/questions/7857930/saving-and-reading-int-values-in-case-of-app-close
asales Expert Licensed User Longtime User Jun 19, 2015 #13 I'm using B4A 5.02 too. See this post: StateManager - Helps managing Android applications settings and state https://www.b4x.com/android/forum/t...android-applications-settings-and-state.9777/ with version 1.11 (there is no references to File.DirLibrary in this class). Last edited: Jun 20, 2015 Upvote 0
I'm using B4A 5.02 too. See this post: StateManager - Helps managing Android applications settings and state https://www.b4x.com/android/forum/t...android-applications-settings-and-state.9777/ with version 1.11 (there is no references to File.DirLibrary in this class).