IntelliJ Java IDE
The moose likes Java Micro Edition and the fly likes Logging in micro edition (com.sun.midp.log package) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "Logging in micro edition (com.sun.midp.log package)" Watch "Logging in micro edition (com.sun.midp.log package)" New topic
Author

Logging in micro edition (com.sun.midp.log package)

mohsen fakhary
Greenhorn

Joined: Aug 16, 2011
Posts: 4
Hi
I want to log exceptions in a mobile application when it's running on a mobile phone (and not on a simulator).
I noticed I have access to a package named com.sun.midp.log in NetBeans.
But I couldn't find how to use it.
There are 2 classes in there: Logging and LogChannels.
I log the exception using Logging class
On the simulator it uses System.out but on a phone it stops the application and just prompts me "Application Error". I can't find any more details.

Any idea how does it work?

Thank you in advance
 
IntelliJ Java IDE
 
subject: Logging in micro edition (com.sun.midp.log package)
 
Threads others viewed
running application in C on mobile phone with Android
Mobile phones, J2ME and Java Enabled Phone Options
Application for retrieving SMSs
Writing Log4J for my appliaction
Mobile Phone and J2ME
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture