Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


screen resolution 320x320


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-27-2008, 03:37 PM
Knows the basics
 
Join Date: May 2008
Location: Italy
Posts: 50
Default screen resolution 320x320

Hello - I am new to this forum and I take the occasion to greet you all.

I just got myself a Samsung i780 which is particular since it's using a square resolution, namely 320x320. Being myself a programmer but with no experience in the field of handhelds, smartphones ecc, I decided I'd like try to make a small proggy to execute on my Samsung. I am here because I am looking for development-tools and Basic4PPC seems like a good start.

As mentioned, the Samsung i780 has a screen-resolution of 320x320 which makes it particular (I think there's also a Treo out there with this resolution). I am just wondering if Basic4PPC supports this resolution natively (just like Windows Mobile 6 (pls see: What's New for Developers in Windows Mobile 6) or will I run into problems??

Hope to hear from you.

Rgds,
Moster67
Reply With Quote
  #2 (permalink)  
Old 05-27-2008, 03:48 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 157
Default

I've written programs in a variety of resolutions without problems (excepting for VGA devices, which Basic4PPC v.6.3 resolved).

I doubt you'll have problems from a 320x320 device.


Gary
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #3 (permalink)  
Old 05-27-2008, 04:25 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

On the device, forms are always resized to the screen's size.
On the desktop you can change the screen size in the visual designer - Tools - Screen Size.
Reply With Quote
  #4 (permalink)  
Old 05-28-2008, 04:10 PM
Newbie
 
Join Date: Apr 2007
Posts: 1
Default

I bought the same device. Since then, I can not use my old programs as they are all resized in Samsung i780. Is there a way to prevent resizing of the forms in device?

Thanks
Bulent
Reply With Quote
  #5 (permalink)  
Old 05-28-2008, 04:56 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Forms are always maximized to the physical screen size.
One exception is VGA devices where you can choose if you want to use high resolution or low resolution.
Reply With Quote
  #6 (permalink)  
Old 05-29-2008, 01:03 PM
Knows the basics
 
Join Date: May 2008
Location: Italy
Posts: 50
Default

Thank you for your inputs.

In order to develop a proggy that can run under different screen-resolutions, how would you proceed?

I would do something as follows (if what I am describing is available in Basic4PPC):

1) Through some function/library, (hopefully already included in Basic4PPC), try to obtain hardware-information which includes screen-resolution.
2) Then I would load the correct skin and buttons by using pre-programmed skins and buttons for that resoltion in use. However perhaps this can be avoided if one could dynamically adjust the skin and buttons at the time of booting up the proggy and if Basic4PPS now supports this (I would do this during the event "form.load" or whatever it is called in Basic4PPC).

Does this make sense?

Rgds,
moster67

Quote:
Originally Posted by Erel View Post
Forms are always maximized to the physical screen size.
One exception is VGA devices where you can choose if you want to use high resolution or low resolution.
Reply With Quote
  #7 (permalink)  
Old 05-29-2008, 01:25 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,770
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Yes, you will want to do something like this Working with VGA screens
Reply With Quote
  #8 (permalink)  
Old 05-29-2008, 02:41 PM
Knows the basics
 
Join Date: May 2008
Location: Italy
Posts: 50
Default

OK - so there's no need to check the hardware to obtain the screen-resolution since the forms are always resized to the to screen's size.

Thanks for the link - I think that I will be able with help of the information therein to proceed further.

rgds,
moster67


Quote:
Originally Posted by agraham View Post
Yes, you will want to do something like this Working with VGA screens
Reply With Quote
  #9 (permalink)  
Old 05-29-2008, 10:59 PM
Newbie
 
Join Date: May 2007
Posts: 3
Default

I used to work with an iPAQ 6515 and then a Treo 750, both of which used a square resolution of 240x240 and both the Basic4ppc IDE and the programs developed ran fine on both devices.

The problem with 320x320 is that it is not a normal WM resolution - it is only supported natively on WM6. It requires some tricky icon resizing and stuff like that as I was reading on the Windows Mobile Team Blog so I wouldn't be surprised if existing B4PPC programs do not display properly. I think your best bet is to start developing on the device itself so you can at least rearrange the UI on your program to display decently.
__________________
System specs:
Desktop: Pentium 4 3Ghz, 2GB RAM, XP Professional SP2.
Pocket PC: AT&T Tilt (HTC), Windows Mobile Professional.
Smartphone: Motorola Q9h, Windows Mobile 6 Standard.
Reply With Quote
  #10 (permalink)  
Old 05-30-2008, 09:48 AM
Knows the basics
 
Join Date: May 2008
Location: Italy
Posts: 50
Default

Many thanks for your advice.

For the time being I am trying to get to grips with the new interface of Basic4PPC and the variations of its BASIC-language. So for the time being I am only developping in the desktop-enviroment but I will keep in mind you advice as to verify the UI directly on the i780.

Rgds,
moster67

Quote:
Originally Posted by RCC2k7 View Post
I used to work with an iPAQ 6515 and then a Treo 750, both of which used a square resolution of 240x240 and both the Basic4ppc IDE and the programs developed ran fine on both devices.

The problem with 320x320 is that it is not a normal WM resolution - it is only supported natively on WM6. It requires some tricky icon resizing and stuff like that as I was reading on the Windows Mobile Team Blog so I wouldn't be surprised if existing B4PPC programs do not display properly. I think your best bet is to start developing on the device itself so you can at least rearrange the UI on your program to display decently.
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check the screen resolution Ricky D Questions & Help Needed 5 11-04-2008 07:02 AM
Has anyone got a 320x320 screen they can test my app on please? badkarma Questions & Help Needed 1 06-18-2008 09:55 AM
FS loox 720 no VGA resolution available BerndB Questions & Help Needed 5 04-06-2008 12:22 PM
Different screen sizes Gex Questions & Help Needed 4 01-23-2008 11:46 AM
display resolution VGA 480*640 BerndB Basic4ppc Wishlist 7 07-03-2007 03:29 PM


All times are GMT. The time now is 04:21 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0