where to get the com.nokia.mid.s40 package or class files,
example com.nokia.mid.s40.io.Connector.localmsg.class
com.nokia.mid.s40.io.Connector.localmsg.classs
com.nokia.mid.s40.bg.BGUtils.class
etc..
where to get the com.nokia.mid.s40 package or class files,
example com.nokia.mid.s40.io.Connector.localmsg.class
com.nokia.mid.s40.io.Connector.localmsg.classs
com.nokia.mid.s40.bg.BGUtils.class
etc..
Hi skyslee2005 and welcome to Nokia's Discussion Boards,
The com.nokia.mid.s40 package is not used by any of the APIs that are offered as a bundle for Java ME development with a Nokia SDK.
You can see all the available importable packages from Java Developer's Library > Javadocs., if you expand each API.
Last edited by skalogir; 2012-05-09 at 08:29.
thanks for your respons,but I can't find the introduce of com.nokia.mid.s40 package.
the follow two section havn't any s40.* packages
Nokia UI API 1.4
Nokia UI API Appendix
could you give me some more detail information abort com.nodia.mid.s40.* packages.
thanks!!
These packages are not documented for public audience, unfortunately. You have to decompile them yourself or avoid using/depending on them.
I found the com.nokia.mid.s40 package available in the Series 40 6th Edition (initial release) SDK. Although there is no documentation for it anywhere.
It also has this com.nokia.mid.S40.bg.BGUtils class, which i have been trying to use. I called one of its functions from a MIDlet and ran it on the 6th edition emulator itself, but it is giving me an IllegalAccessError.
What i dont understand is that if the API is available in that particular SDK, why am i not allowed to use it?
That is about background MIDlets which is allowed for close partners only, officially.