| Reply | « Previous Thread | Next Thread » |
|
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 |
| rikard_wigforss@hotmail.com |
| View Public Profile |
| Find all posts by rikard_wigforss@hotmail.com |
|
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?? |
| cdavies2000 |
| View Public Profile |
| Find all posts by cdavies2000 |
|
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! |
| cdavies2000 |
| View Public Profile |
| Find all posts by cdavies2000 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|