Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Problem with screen objects - Please help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-31-2008, 07:41 PM
Junior Member
 
Join Date: Apr 2007
Posts: 23
Default Problem with screen objects - Please help

Hi,

I created a small calculation program for my HP iPAQ214 (VGA device).
The application uses 480x640 screen. The GUI of my allpication is made of some labels, textboxes and buttons.

When the application was finished I compiled two versions for PC and PPC.
The PC version looks very nice and all screen objects are the same (location, size, font size) as they were drawn in B4PPC.

PPC application looks completely different. Neither dimension of screen objects nor font size is all right (eg fonts look much bigger). What can be the reason???
Is there any solution for this problem?
Reply With Quote
  #2 (permalink)  
Old 05-31-2008, 08:09 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Being a vga device, if optimized compilation is used, then all your controls will be re-alocated...
TRy compiling in forced QVGA mode...it will force thprogra to think the screen is half the size...

Also take a look at the tutorials and code samples for "working wih VGA screens"
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #3 (permalink)  
Old 05-31-2008, 08:26 PM
Junior Member
 
Join Date: Apr 2007
Posts: 23
Default

Thanks Cableguy for your answer.

I indeed used optimized compilation in order to speed up the application.
I'd like to make use of my VGA device and that is why I wouldn't like to make a qVGA application (240x320 screen resolution) and run it on my VGA device as "double pixel".

Maybe there is another solution?
Reply With Quote
  #4 (permalink)  
Old 05-31-2008, 08:34 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Quote:
Originally Posted by Cableguy
Also take a look at the tutorials and code samples for "working wih VGA screens"
the link is here

Managing the screen resolution take a bit of effort and gymnastics....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #5 (permalink)  
Old 06-01-2008, 06:31 AM
Junior Member
 
Join Date: Apr 2007
Posts: 23
Default

Yes that's true. Maybe Erel will manage to solve this problem in future updates.
Once more ... thanks Cableguy.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Table objects? LineCutter Questions (Windows Mobile) 2 02-08-2008 07:41 AM
Cannot (always) use Objects as parameters Woinowski Bug Reports 12 01-07-2008 10:36 AM
Help about variables/objects skipper Questions (Windows Mobile) 6 12-19-2007 03:45 PM
passing objects paul j Questions (Windows Mobile) 4 11-10-2007 09:33 AM
In VB usually objects have a lot of properties... Rod Questions (Windows Mobile) 3 08-23-2007 12:43 PM


All times are GMT. The time now is 09:42 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0