Jul 22, 2011 Replies: 25 This is a super simple app that displays your device's info. 1- List all the apps installed on the device. 2- Shows settings, such as WiFi enabled, Device ID, SIM operator, etc. Nothing fancy, basically I'm using the 'phone' functions of B4A. New update (April 20, 2015): New features and design. Download the new version from Google Play Attachments Main.png 298.8 KB · Views: 4,414 Apps.png 416 KB · Views: 781 CPU.png 235.8 KB · Views: 715 Memory.png 253.8 KB · Views: 877 Last edited: Apr 21, 2015 Click to expand...
This is a super simple app that displays your device's info. 1- List all the apps installed on the device. 2- Shows settings, such as WiFi enabled, Device ID, SIM operator, etc. Nothing fancy, basically I'm using the 'phone' functions of B4A. New update (April 20, 2015): New features and design. Download the new version from Google Play
S susu Well-Known Member Licensed User Longtime User Jul 22, 2011 #2 Nice work! Can you share the code for me (a lazy guy) ?
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2011 #3 Looks nice. From the screenshots it seems that you are showing the screen height based on Activity.Height. This is the value of the available "client" screen. Which doesn't include the title bar. You should use GetDeviceLayoutValues instead.
Looks nice. From the screenshots it seems that you are showing the screen height based on Activity.Height. This is the value of the available "client" screen. Which doesn't include the title bar. You should use GetDeviceLayoutValues instead.
NJDude Expert Licensed User Longtime User Jul 23, 2011 #4 Erel said: Looks nice. From the screenshots it seems that you are showing the screen height based on Activity.Height. This is the value of the available "client" screen. Which doesn't include the title bar. You should use GetDeviceLayoutValues instead. Click to expand... Thanks. One of the things that puzzles me (now that you mentioned screen sizes) is that sometimes I have difficulty "filling-up" the screen, I'm probably overlooking something, for example, this is what I get on different phones: 1- LG Optimum V Activity Width= 320 - Activity Height= 430 Device layout= 320 x 480 (scale 1 - 160 dpi) 2- EVO 4G Activity Width= 480 - Activity Height= 725 Device Layout= 480 x 800 (scale 1.5 - 240 dpi) 3- Cheap tablet Activity Width= 1024 - Activity Height= 535 Device Layout= 1024 x 600 (scale 1 - 160 dpi) So, how can I make sure I always fill the screen nicely? especially on phones like the EVO? Thanks. Last edited: Jul 23, 2011
Erel said: Looks nice. From the screenshots it seems that you are showing the screen height based on Activity.Height. This is the value of the available "client" screen. Which doesn't include the title bar. You should use GetDeviceLayoutValues instead. Click to expand... Thanks. One of the things that puzzles me (now that you mentioned screen sizes) is that sometimes I have difficulty "filling-up" the screen, I'm probably overlooking something, for example, this is what I get on different phones: 1- LG Optimum V Activity Width= 320 - Activity Height= 430 Device layout= 320 x 480 (scale 1 - 160 dpi) 2- EVO 4G Activity Width= 480 - Activity Height= 725 Device Layout= 480 x 800 (scale 1.5 - 240 dpi) 3- Cheap tablet Activity Width= 1024 - Activity Height= 535 Device Layout= 1024 x 600 (scale 1 - 160 dpi) So, how can I make sure I always fill the screen nicely? especially on phones like the EVO? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Jul 23, 2011 #5 You can modify the ListView size in your code. Something like: Code: Copy ListView1.Height = 100%y - ListView1.Top ListView1.Width = 100%x - ListView1.Left Make sure to call it after loading the layout file.
You can modify the ListView size in your code. Something like: Code: Copy ListView1.Height = 100%y - ListView1.Top ListView1.Width = 100%x - ListView1.Left Make sure to call it after loading the layout file.
NJDude Expert Licensed User Longtime User Jul 23, 2011 #6 Erel said: You can modify the ListView size in your code. Something like: Code: Copy ListView1.Height = 100%y - ListView1.Top ListView1.Width = 100%x - ListView1.Left Make sure to call it after loading the layout file. Click to expand... Oh, I see, I'll try that. Thanks.
Erel said: You can modify the ListView size in your code. Something like: Code: Copy ListView1.Height = 100%y - ListView1.Top ListView1.Width = 100%x - ListView1.Left Make sure to call it after loading the layout file. Click to expand... Oh, I see, I'll try that. Thanks.
NJDude Expert Licensed User Longtime User Aug 14, 2011 #7 Version 1.6 New version released, it has some minor improvements. Last edited: Aug 14, 2011
NJDude Expert Licensed User Longtime User Jan 20, 2012 #8 I've made some changes to this old app (new GUI and some other additions)
Gianni M Well-Known Member Licensed User Longtime User Mar 6, 2012 #9 congratulations! Nothing fancy, basically I'm using the 'phone' functions of B4A. Click to expand... but ... which library ???
congratulations! Nothing fancy, basically I'm using the 'phone' functions of B4A. Click to expand... but ... which library ???
P Penko Active Member Licensed User Longtime User Mar 6, 2012 #10 He is probably using the Phone library which gives pretty much information. Additional coding may have been implemented
He is probably using the Phone library which gives pretty much information. Additional coding may have been implemented
Jaames Active Member Licensed User Longtime User Mar 10, 2012 #11 Nice app Hi! Nice app, very useful and i like the design, transparent ListView over the nice background. I was attending to give you a 5 star rating on market but then i encountered a little problem: Button "Storage Info" when I click it it gives me this error: --------------------------------------------------------------- Error occurred An error has occurred in sub: storageinfo_activity_create (java line:300) java.lang.ArrayIndexOutOfBoundsException Continue? --------------------------------------------------------------- Edit : I have external sd card 8Gb .. just to mention.. Best Regards Device: Samsung Galaxy S GT-I9000
Nice app Hi! Nice app, very useful and i like the design, transparent ListView over the nice background. I was attending to give you a 5 star rating on market but then i encountered a little problem: Button "Storage Info" when I click it it gives me this error: --------------------------------------------------------------- Error occurred An error has occurred in sub: storageinfo_activity_create (java line:300) java.lang.ArrayIndexOutOfBoundsException Continue? --------------------------------------------------------------- Edit : I have external sd card 8Gb .. just to mention.. Best Regards Device: Samsung Galaxy S GT-I9000
NJDude Expert Licensed User Longtime User Mar 10, 2012 #12 Thanks for the report, I have a question, does your device has 2 SD Cards?
Jaames Active Member Licensed User Longtime User Mar 10, 2012 #13 NJDude said: Thanks for the report, I have a question, does your device has 2 SD Cards? Click to expand... No . It has 8Gb internal storage, and Micro SD card 8Gb as external storage (external_sd) I even unmounted and physically took out the card, reboot the phone but the same happened.. there is a link to my phone specifications: Samsung I9000 Galaxy S - Full phone specifications Last edited: Mar 10, 2012
NJDude said: Thanks for the report, I have a question, does your device has 2 SD Cards? Click to expand... No . It has 8Gb internal storage, and Micro SD card 8Gb as external storage (external_sd) I even unmounted and physically took out the card, reboot the phone but the same happened.. there is a link to my phone specifications: Samsung I9000 Galaxy S - Full phone specifications
P PeterPetSil Member Licensed User Longtime User Apr 20, 2012 #14 Hi NJDude. Could you please share the UI design code for the first screen only? Thanks!
NJDude Expert Licensed User Longtime User Apr 20, 2012 #15 PeterPetSil said: Hi NJDude. Could you please share the UI design code for the first screen only? Thanks! Click to expand... There's nothing special, just Bitmap buttons are on that screen.
PeterPetSil said: Hi NJDude. Could you please share the UI design code for the first screen only? Thanks! Click to expand... There's nothing special, just Bitmap buttons are on that screen.
NJDude Expert Licensed User Longtime User May 9, 2012 #16 I've added a couple of minor changes (show file size and install date).
Gianni M Well-Known Member Licensed User Longtime User Jun 20, 2012 #17 how to do list of Activities for each APPLICATION ?
NJDude Expert Licensed User Longtime User Jun 20, 2012 #18 giannimaione said: how to do list of Activities for each APPLICATION ? Click to expand... I used THIS sample code.
giannimaione said: how to do list of Activities for each APPLICATION ? Click to expand... I used THIS sample code.
Gianni M Well-Known Member Licensed User Longtime User Jun 20, 2012 #19 sure ! I had read, but I did not realize thanks