File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why must I handle exception with destroyApp() method ?

 
Tommy Vercetti
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the API for the method?
 
Tommy Vercetti
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:Have you read the API for the method?


Can you send me link?
 
Darryl Burke
Bartender
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tommy Vercetti
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic