Sandman Expert Licensed User Longtime User Apr 10, 2021 #1 In Android we can get the Phone.Model, and for iOS we can get the same using something like this. But there isn't anything equivalent for B4J, right? I mean, what would that even be? What brand of computer it's running on, or something like that? (Surely not something we can get anyway, I imagine.)
In Android we can get the Phone.Model, and for iOS we can get the same using something like this. But there isn't anything equivalent for B4J, right? I mean, what would that even be? What brand of computer it's running on, or something like that? (Surely not something we can get anyway, I imagine.)
mcqueccu Expert Licensed User Longtime User Apr 10, 2021 #2 Device information B4J Hi all I wanted to know if there is any library to obtain information from the computer, such as mac address, computer name, model, among others. greetings thanks for the help www.b4x.com Upvote 0
Device information B4J Hi all I wanted to know if there is any library to obtain information from the computer, such as mac address, computer name, model, among others. greetings thanks for the help www.b4x.com
Sandman Expert Licensed User Longtime User Apr 10, 2021 #3 Yeah, I found that already. I think the answer is 'no'. I was just curious, it's not very important to me. Thanks Upvote 0
Yeah, I found that already. I think the answer is 'no'. I was just curious, it's not very important to me. Thanks
cklester Well-Known Member Licensed User Apr 12, 2021 #4 There are Windows API calls you can make to get some of that data. Not sure how you'd do it from B4J. It would require interfacing with windows system dlls. Upvote 0
There are Windows API calls you can make to get some of that data. Not sure how you'd do it from B4J. It would require interfacing with windows system dlls.
Sandman Expert Licensed User Longtime User Apr 12, 2021 #5 Yeah, it wasn't very important, i was mostly curious. Thanks Upvote 0
Mark Read Well-Known Member Licensed User Longtime User Apr 12, 2021 #6 It should be possible to use Jshell and execute the command: msinfo32 /report C:\TEMP\TEST.TXT which will give you a text file to read into your app. Link Upvote 0
It should be possible to use Jshell and execute the command: msinfo32 /report C:\TEMP\TEST.TXT which will give you a text file to read into your app. Link