File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Why must I handle exception with destroyApp() method ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Why must I handle exception with destroyApp() method ?" Watch "Why must I handle exception with destroyApp() method ?" New topic
Author

Why must I handle exception with destroyApp() method ?

Tommy Vercetti
Greenhorn

Joined: Dec 14, 2012
Posts: 3
When I declared destroyApp() method. Eclipse warning error and require me addition exception:



destroyApp() is a un-safe method? if so, why it's un-safe?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4543
    
    5

Have you read the API for the method?


luck, db
There are no new questions, but there may be new answers.
Tommy Vercetti
Greenhorn

Joined: Dec 14, 2012
Posts: 3
Darryl Burke wrote:Have you read the API for the method?


Can you send me link?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4543
    
    5

Bookmark these two links:
http://docs.oracle.com/javame/config/cldc/ref-impl/midp2.0/jsr118/index.html
http://docs.oracle.com/javame/config/cldc/ref-impl/cldc1.1/jsr139/index.html

Better still, bookmark this: http://www.google.com
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41858
    
  63
Tommy Vercetti wrote:Can you send me link?

You're developing Java apps without using the relevant javadocs? How do you envision that to work?


Ping & DNS - my free Android networking tools app
Tommy Vercetti
Greenhorn

Joined: Dec 14, 2012
Posts: 3
Ulf Dittmer wrote:
Tommy Vercetti wrote:Can you send me link?

You're developing Java apps without using the relevant javadocs? How do you envision that to work?


I want to create interesting apps for Nokia C3 I tried search with Google and I find tutorials Java on following address:

http://www.roseindia.net/j2me/

It like tutorial. It seems more practice & concise than javadoc library. How I use library if I don't know I want to looking for something?

Example: if I want to create a chat app. I will find source code what related with it. I don't believe I have lucky enough to find all puzzle pieces for a chat app (network, socket ...) in javadoc library ... Assume I found all puzzle pieces, how to assemble them together ...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41858
    
  63
Using tutorials is fine, but without the javadocs you'll get nowhere. It is the definite reference to the Java classes and methods you can use. It is, as you correctly observe, not an introduction.

Be aware that there are various levels of JME implementations, and you should start by finding out which of those are supported by your particular device. (Personally I think that JME is dead, but that's a different subject.)

Also be ware that Roseindia is widely considered to be one of the worse sites to peruse, full of buggy code and bad practices. If you want to learn properly, you should get an introductory book and work through that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why must I handle exception with destroyApp() method ?