You Are Here:

Community: Developer Discussion Boards

#1 Old Error when getting user defined properties (getAppProperty) Nokia 6260 - 2004-11-14, 12:01

Join Date: Mar 2003
Posts: 26
rikard_wigforss@hotmail.com
Offline
Registered User
When trying to get an user defined property I always get null back even though the property is in the jad file.

There is no problem running the emulators, but when transfering the program to 6260 I can't read any user defined properties.

Any ideas, please let me know.

regards

Rikard W
Reply With Quote

#2 Old 2005-04-20, 18:46

Join Date: Sep 2003
Posts: 12
cdavies2000
Offline
Registered User
I have exactly the same problem on the 6610. My JAD value which I know is there return null.

The only thing I can say about the value is its 150 characters long, however the MIDlet-Permissions value often exceeds that.

Also it contains '&' and '|' and '?' characters which is the only thing a bit out of the ordinary I can think of. Did you have any of these characters?

Does it have anything to do with the ordering in the JAD??
Reply With Quote

#3 Old 2005-04-20, 20:50

Join Date: Sep 2003
Posts: 12
cdavies2000
Offline
Registered User
Well I found out what the problem was. I was manually constructing the JAD on my web server and wrote the JAD into a byte array then flushed the response.

What I was doing wrong was not including a new line character '\n' after my last user defined value. I'm not sure why this has only caused a problem on the 6610 but thats java on phones for you!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
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