Android Question Visual Designer Device Details - Can I return that information via code?

jeffnooch

Member
Licensed User
Longtime User
Is there an easy way to return the device details that show when you connect the WYSIWYG Designer to a device....

for example...I have a Samsung Galaxy S7 and this is what shows in the bottom status bar of the Designer:

Device details (B4A-Bridge: samu...)
1440x2560, scale = 4 (640 dpi)

any way to return this information via code that i can run on a click of a button or menu option via B4A?

thanks
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
try to get the orientation in activity resume.
when running activity create there is no layout loaded.
Maybe this is the problem
 
Upvote 0

jeffnooch

Member
Licensed User
Longtime User
sorry deleted my post before i saw Don's response...

I think the issue is Capital P in Portrait vs lower case p in portrait...
can i assume "Portrait" <> "portrait" ?
if that's the case then i think i should be good...
 
Upvote 0
Top