Jmu5667 Well-Known Member Licensed User Longtime User Jul 22, 2015 #1 does anyone have a link to the latest version of SLC. I have version 1.00 and it does not work with b4a 5.02(1). I get the following:
does anyone have a link to the latest version of SLC. I have version 1.00 and it does not work with b4a 5.02(1). I get the following:
R Roycefer Well-Known Member Licensed User Longtime User Jul 22, 2015 #2 https://www.b4x.com/android/forum/t...mpiler-build-libraries-without-eclipse.29918/ Upvote 0
DonManfred Expert Licensed User Longtime User Jul 22, 2015 #3 https://www.b4x.com/android/forum/t...mpiler-build-libraries-without-eclipse.29918/ Upvote 0
Jmu5667 Well-Known Member Licensed User Longtime User Jul 22, 2015 #4 DonManfred said: https://www.b4x.com/android/forum/t...mpiler-build-libraries-without-eclipse.29918/ Click to expand... Hi That link is still pointing to v1.00 Upvote 0
DonManfred said: https://www.b4x.com/android/forum/t...mpiler-build-libraries-without-eclipse.29918/ Click to expand... Hi That link is still pointing to v1.00
R Roycefer Well-Known Member Licensed User Longtime User Jul 22, 2015 #5 I just downloaded it and unzipped it to make sure. Both the B4A and B4J versions are 1.03. Upvote 0
Jmu5667 Well-Known Member Licensed User Longtime User Jul 22, 2015 #6 Roycefer said: I just downloaded it and unzipped it to make sure. Both the B4A and B4J versions are 1.03. Click to expand... Just download it again, this is what I get Upvote 0
Roycefer said: I just downloaded it and unzipped it to make sure. Both the B4A and B4J versions are 1.03. Click to expand... Just download it again, this is what I get
R Roycefer Well-Known Member Licensed User Longtime User Jul 22, 2015 #7 Run the program. What does it say in the title? Upvote 0
Jmu5667 Well-Known Member Licensed User Longtime User Jul 22, 2015 #8 Roycefer said: Run the program. What does it say in the title? Click to expand... This pops up when I run it. this is folder with the files. It's really strange !!!! Upvote 0
Roycefer said: Run the program. What does it say in the title? Click to expand... This pops up when I run it. this is folder with the files. It's really strange !!!!
R Roycefer Well-Known Member Licensed User Longtime User Jul 22, 2015 #9 Have you set the additional libraries folder in the B4A IDE: Tools>Configure Paths>Additional Libraries? Upvote 0
Have you set the additional libraries folder in the B4A IDE: Tools>Configure Paths>Additional Libraries?
Jmu5667 Well-Known Member Licensed User Longtime User Jul 22, 2015 #10 Roycefer said: Have you set the additional libraries folder in the B4A IDE: Tools>Configure Paths>Additional Libraries? Click to expand... ... Spot on, I have always used the main library location. Thanks Upvote 0
Roycefer said: Have you set the additional libraries folder in the B4A IDE: Tools>Configure Paths>Additional Libraries? Click to expand... ... Spot on, I have always used the main library location. Thanks
Jmu5667 Well-Known Member Licensed User Longtime User Jul 22, 2015 #11 I have added geo: to the uri list, compiled the lib, set the version to 1.27, hit refresh and got the following: I have never done this before so I am a bit green, all help would be appreciated. Regards John. Upvote 0
I have added geo: to the uri list, compiled the lib, set the version to 1.27, hit refresh and got the following: I have never done this before so I am a bit green, all help would be appreciated. Regards John.
Erel B4X founder Staff member Licensed User Longtime User Jul 22, 2015 #12 You need to add @Hide or use the -b4aignore option to exclude all the classes except of the classes you want to expose to B4A. Upvote 0
You need to add @Hide or use the -b4aignore option to exclude all the classes except of the classes you want to expose to B4A.
DonManfred Expert Licensed User Longtime User Jul 22, 2015 #13 Jmu5667 said: I have never done this before so I am a bit green, all help would be appreciated. Click to expand... Add com.github into the line B4A-ignore in SLC when compiling the NFC lib i have edited.... Upvote 0
Jmu5667 said: I have never done this before so I am a bit green, all help would be appreciated. Click to expand... Add com.github into the line B4A-ignore in SLC when compiling the NFC lib i have edited....
Jmu5667 Well-Known Member Licensed User Longtime User Jul 22, 2015 #14 DonManfred said: Add com.github into the line B4A-ignore in SLC when compiling the NFC lib i have edited.... Click to expand... Yep figured it out, thanks There is a few different types of records, one being Code: /* * Return True if Tag is of Text type */ public boolean IsGeoType() { byte[] Type = getObject().getType(); if (Type[0] == 83) return true; return false; } Does anyone have any good docs/specs on these and how to parse the records. You can have a URI type with a comment, but this does not decode very well. I would be more then happy to maintain this lib to the best of my ability as it has direct relevance to a new product we are developing for a very large customer in Ireland that is involved in agriculture. Regards John. Upvote 0
DonManfred said: Add com.github into the line B4A-ignore in SLC when compiling the NFC lib i have edited.... Click to expand... Yep figured it out, thanks There is a few different types of records, one being Code: /* * Return True if Tag is of Text type */ public boolean IsGeoType() { byte[] Type = getObject().getType(); if (Type[0] == 83) return true; return false; } Does anyone have any good docs/specs on these and how to parse the records. You can have a URI type with a comment, but this does not decode very well. I would be more then happy to maintain this lib to the best of my ability as it has direct relevance to a new product we are developing for a very large customer in Ireland that is involved in agriculture. Regards John.
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2015 #15 Not sure that I understand the question. Which records do you need to parse? Upvote 0
Jmu5667 Well-Known Member Licensed User Longtime User Jul 23, 2015 #16 Erel said: Not sure that I understand the question. Which records do you need to parse? Click to expand... Using Tagwriter from NXP, you can write different types of records to the tag. So far the NFC lib supports UriType (85), TextType (84). I write a 'Geo Location' type record with a comment in it, Type (83), and currently neither GetAsUriType() nor GetAsTextType() will decode it. A type 83 record, when using GetAsUriType will cause this error : java.lang.IndexOutOfBoundsException: Invalid index -111, size is 37 A type 83 record, when using GetAsTextType will return this : Ⱝ〰㘮ㄳ㔵㐵儁ᑔɥ湨潬汹扲潯欠潦晩捥 So, I would plan to add to the NFC library, as best I can, more functionality to decode other record types. Am I wrong is my thoughts or have I missed something ? Regards John. Upvote 0
Erel said: Not sure that I understand the question. Which records do you need to parse? Click to expand... Using Tagwriter from NXP, you can write different types of records to the tag. So far the NFC lib supports UriType (85), TextType (84). I write a 'Geo Location' type record with a comment in it, Type (83), and currently neither GetAsUriType() nor GetAsTextType() will decode it. A type 83 record, when using GetAsUriType will cause this error : java.lang.IndexOutOfBoundsException: Invalid index -111, size is 37 A type 83 record, when using GetAsTextType will return this : Ⱝ〰㘮ㄳ㔵㐵儁ᑔɥ湨潬汹扲潯欠潦晩捥 So, I would plan to add to the NFC library, as best I can, more functionality to decode other record types. Am I wrong is my thoughts or have I missed something ? Regards John.
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2015 #17 Is this an NDEF formatted tag? Otherwise it will not work with the NFC library. Upvote 0
Jmu5667 Well-Known Member Licensed User Longtime User Jul 23, 2015 #18 Erel said: Is this an NDEF formatted tag? Otherwise it will not work with the NFC library. Click to expand... I used TAGWriter NXP to format the tag, tag type is 2, i have attached a some screen shots. Attachments Screenshot_2015-07-23-15-46-36.png 65.9 KB · Views: 347 Screenshot_2015-07-23-15-48-38.png 105 KB · Views: 435 Screenshot_2015-07-23-15-49-39.png 68.5 KB · Views: 394 Upvote 0
Erel said: Is this an NDEF formatted tag? Otherwise it will not work with the NFC library. Click to expand... I used TAGWriter NXP to format the tag, tag type is 2, i have attached a some screen shots.
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2015 #19 Why do you need a new library to read these tags? How is it related to SLC (it would have been better to start a new thread for the second question)? You can get the raw bytes if you like with the NFC library/. Upvote 0
Why do you need a new library to read these tags? How is it related to SLC (it would have been better to start a new thread for the second question)? You can get the raw bytes if you like with the NFC library/.
Jmu5667 Well-Known Member Licensed User Longtime User Jul 23, 2015 #20 Erel said: Why do you need a new library to read these tags? How is it related to SLC (it would have been better to start a new thread for the second question)? You can get the raw bytes if you like with the NFC library/. Click to expand... I am going to get the raw bytes to deal with unsupported types, it's cool. did'nt mean for this to intrude on the SLC question. Upvote 0
Erel said: Why do you need a new library to read these tags? How is it related to SLC (it would have been better to start a new thread for the second question)? You can get the raw bytes if you like with the NFC library/. Click to expand... I am going to get the raw bytes to deal with unsupported types, it's cool. did'nt mean for this to intrude on the SLC question.