Regards,
Trupti (SCJP)
Trupti Mehta wrote:
I have known that for professional mobile applications, it has to be available for all types of mobile screen sizes. Which is known as "Porting". Their are approximately 27 screen sizes. And the user selects mobile or screen size and we provide applicaiton for that size.
Can anyone help me know what is this and how to implement the it. Can't their be a way to develop a single application that is Ok with any screen size. Based on the screen size it fizes the components.
Any help is appreciated.
Trupti Mehta wrote:
Can't their be a way to develop a single application that is Ok with any screen size. Based on the screen size it fizes the components.
Often the most important part of the news is what they didn't tell.
Regards,
Trupti (SCJP)
Trupti Mehta wrote:[quote=Ahmed Abdul Baqi
Hi Tripthi,
When any Mobile Application Development project comes the client will give the screen size on which the application should work like 240x320,176x280,320x240,So every screen size will have a base device based on the screen size and Device memory.The testing of the application will happen on these base devices like ex.6600,w580i and if the application works on these then it will work on n series and other w series devices.If you want to write a generic application that should be compatible for porting on all devices then you need to use geneirc methods in your MIDlet like getHeight(),getWidth and on the startApp() you need to check the screen size and then pass the height and width of the screen and the image or text box or pop up box will be printed on the canvas or form based on the screen size.But this practice will increse the lines of code in your MIDlet which will again give you another porting issue of wether the size of the application,so it depends people will create different applications for different screen sizes.
It would give a normal human mental abilities to rival mine. To think it is just a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|