FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

NetBeans Location Based Services Mobility Demo 5.5

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
gopalvaas@gmail.com
Posted via mailing list.





PostPosted: Thu May 21, 2009 12:29 pm    Post subject: NetBeans Location Based Services Mobility Demo 5.5 Reply with quote

im very new to this appln and i need this as im doing a project on this.. i tried
everything upto step 7 of ADD DETAILS BUTTON and i got it.. while adding the following pre
action code provided im getting 12 errors.. please help me to resolve..



Landmark lm = get_map().getClosestLandmark();
if (lm != null) {
get_stringItem1().setText(lm.getName());
get_stringItem2().setText(lm.getDescription());
get_stringItem3().setText(lm.getAddressInfo().getField(AddressInfo.STREET));
get_stringItem4().setText(lm.getAddressInfo().getField(AddressInfo.PHONE_NUMBER));
} else {
get_stringItem1().setText("");
get_stringItem2().setText("");
get_stringItem3().setText("");
get_stringItem4().setText("");
}


thank u.

----
Submitted via the contact form at: http://www.netbeans.info/appl2//index.php
Referer page:
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB