You Are Here:

Community: Wiki

 

Talk:Java Porting

From Forum Nokia Wiki

Reviewer Approved   

This article gives information regarding porting.One can cost effectively port their existing application to other platforms or other mobiles of same platform. Specification on different mobiles and how to make application code more generic so that it can run on many mobiles.

Articles have many code solutions to the problems that every developer face while porting their application to different mobiles.

Enough information and solutions to the porting problems given in this article. Useful for every developer before staring developing application so that they can reduce their time and cost behind porting same application for different mobiles. Developers have chance to read this article before they make their new application.


--Kalki 06:01, 12 September 2009 (UTC)

Review:

This article discusses a variety of techniques which are available for helping create Java ME applications which are portable to a wide variety of devices. The author begins by discussing the most fundamental differences between devices that act as the biggest barriers to portability. This is followed by a discussion of two techniques for achieving portability which the author does not recommend. The first technique is to create multiple versions of an application, one for each different device that we want to support. While this technique has certain advantages, such as high levels of portability, it can result in several problems, including the fact that maintaining so many different versions can be a nightmare. The second “not-recommended” technique is the use of pre-processors, which makes use of conditional compilation to allow a single set of source code to adapt to different devices. The remainder of the article discusses several tips and techniques for maximizing portability when writing Java ME applications. These address issues such as writing code which is independent of screen size, the use of threads and an outline of things which often result in portability problems.

I found this article to be an excellent read. The author demonstrates a thorough understanding of the problem area. I’m pretty sure that almost everyone who has ever written a serious Java ME application has had encountered portability problems. Several interesting tips and techniques are suggested in this article that I hadn’t come across before. I found the use of device properties classes and the use of static final properties to achieve conditional compilation without preprocessing to be particularly interesting. The discussion on the use of multiple source trees and pre-processing also highlighted the key advantages and disadvantages of these techniques nicely. This article would be a very useful read for anybody wanting to develop a Java ME application for multiple different devices.

--Larry101 16:17, 28 September 2009 (UTC)

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fJavaE5fVerifiedE5fE28PortuguE25C3E25AAsE29X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ