DroidDB Tip of the Month

DroidDB® Tip for October 2012

Changing the Screen Size

In the DroidDB development environment, the dotted line represents the physical screen of the device. DroidDB interrogates the attached handheld and asks it what size the screen in, and sets up the dotted line appropriately.

There is an override built into DroidDB to allow you to adjust these dimensions. You might want to do this if your form is to be used on a different machine.

In the DroidDB folder on your handheld, there is a file called DroidDB_Info.ini. Copy this file to the windows folder of your development machine and open it using a text editor such as notepad. You will see:

     [Screen]
     width=320
     height=430
     density=160

(your numbers may be different). Simply adjust these numbers to reflect the dimensions of the desired screen and save the file.

Note: "density" is the number of pixels per inch.

 

Back to List »

Visit our store

Top rated! I needed a solid database application development tool for mobile devices. I chose DroidDB for Android OS because it provided a way to get a strong product to market quickly. DroidDB is relational, gives me control over form layout, handles macros, and supports events. It works on all Android versions I have tried and is a great companion product to SYWARE’s VisualCE.

Mark Read, President
SyntegraTech, Inc.

signup for our newsletter