F FredTheIntern New Member Licensed User Longtime User Apr 10, 2012 #1 Hello,I'm new to Basic4Android. I have created a DateTime Library in Eclipse and and tried to use it in Basic4android. I put the Jar file and the xml file in the correct folder and while Basic4android does list it in it's library list, I am unable to make an object from the library. The library is named mydatetimetestje and contains 3 classes: DateTime2 DateTimeFormat Timezones I've tried the following in the process globals: Dim dt As DateTime2 Dim dt2 As mydatetimetestje but both DateTime2 and mydatetimetestje have a red color as opposed to the green/blue color objects normally have. So i reckon that Basic4android does not find them somehow. Needless to say, I can't get to any methods. I incuded the jar file and the xml file. Can anyone tell me when I'm doing wrong? Attachments mydatetimetestje.zip mydatetimetestje.zip 8.3 KB · Views: 306
Hello,I'm new to Basic4Android. I have created a DateTime Library in Eclipse and and tried to use it in Basic4android. I put the Jar file and the xml file in the correct folder and while Basic4android does list it in it's library list, I am unable to make an object from the library. The library is named mydatetimetestje and contains 3 classes: DateTime2 DateTimeFormat Timezones I've tried the following in the process globals: Dim dt As DateTime2 Dim dt2 As mydatetimetestje but both DateTime2 and mydatetimetestje have a red color as opposed to the green/blue color objects normally have. So i reckon that Basic4android does not find them somehow. Needless to say, I can't get to any methods. I incuded the jar file and the xml file. Can anyone tell me when I'm doing wrong?
K kickaha Well-Known Member Licensed User Longtime User Apr 10, 2012 #2 Do you have a registered copy of B4A? Upvote 0
C COBRASoft Active Member Licensed User Longtime User Apr 10, 2012 #3 Hi, He's working at the same company as I and we bought an extra license for him some weeks ago... So yes . Greetings, Sigurd Upvote 0
Hi, He's working at the same company as I and we bought an extra license for him some weeks ago... So yes . Greetings, Sigurd
agraham Expert Licensed User Longtime User Apr 10, 2012 #4 You seem to be missing the @BA.ShortName("Whatever") attribute which makes the class visible to B4A. Upvote 0
F FredTheIntern New Member Licensed User Longtime User Apr 11, 2012 #5 Thank you, that fixed it. Upvote 0