| Reply | « Previous Thread | Next Thread » |
|
if i want to run my midp-application i always get the message "invalid constant pool entry" what does this mean. i suppose that it's because of the double-variables. can somebody tell me how to solve this problem or how i can use floatpoint variables in my midp-app.
thanks |
| schnuerbein |
| View Public Profile |
| Find all posts by schnuerbein |
|
Hi schnuerbein,
you can't use floating-point variables in MIDP apps. You can use fixed-point math instead, as described in the following posts on this forum: "Floating point math" http://nkn.forum.nokia.com/qa/threadshow.cfm?msg=30098547037&MsgBoard=5844401565639302&idDispSub=3665071750056882 "Floating point calculations" http://nkn.forum.nokia.com/devrel/threadshow.cfm?msg=87007088582&MsgBoard=5844401565639302&idDispSub=3665071750056882 Hope this can help. regards Davide <AtomicTag.com/> |
|
I fact, you can always use 3rd party classes. For example
http://henson.newmail.ru -> J2ME section -> henson.midp.Float class |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|