Lecture about Netbeans for Art & Technology at UCSD

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

Favorites, Groups & Events

Lecture about Netbeans for Art & Technology at UCSD - Presentation Transcript

  1. Netbeans (with rice…) @ UCSD, 2008 Cicero Silva www.cicerosilva.com
  2. First…downloads…
    • To run Netbeans, you’ll need:
    • JDK: Java Development Kit, from:
    • http: //java . sun . com/javase/downloads/ea . jsp
  3. and…..
    • J2ME (now Java Wireless Toolkit), to test your MIDlets:
    • http: //java . sun . com/products/sjwtoolkit/download . html ? feed=JSC
  4. and, finally
    • Netbeans, from netbeans.org . You can install the latest version, 6.1 (which is not stable and can crash some old Windows Mobile OS and also Symbiam systems…)
    • http: //download . netbeans . org/netbeans/6 .1/final/
  5. Hello World!
    • Your first Java application with Netbeans:
    • Netbeans is a IDE (Integrated Development Environment), which comes with a Mobility package/interface for Java apps;
    • The JAVA app for cell phones is called MIDlet, also called MIDP (Mobile Information Device Profile)
  6. My first…
    • FILE > New Project (CTRL+SHIFT+N)
    • Categories: MOBILITY
    • Projects: MIDP APPLICATION
  7.  
  8.  
  9.  
    • Right click on the “Projects/HelloUCSD”
  10.  
    • Select “Properties”
    • Select “Creating JAR”: the NAME of the FILE that users will download from your website to their cell phones…
  11.  
  12. Obfuscating…
    • If you are pro Intellectual Property, it’s better use this in the level 10, but be careful ‘cause you can crash some Windows Mobile phones and also some Blackberry’s…
  13.  
    • Select “Deploying” to save a copy of your project and select a “Deployment Method”. You can chose “FILE”, publish it online using FTP (you’ll need to set up an account..) or send it to a cell phone device…it also has an option to send it to Windows cell phone environments…
  14.  
  15. Inserting images
    • Drag and Drop a “SplashScreen” cell below your “form” cell…
    • Click on the name of the “SplashScreen” cell and rename it…
  16.  
    • Click in the “exit command” and delete it from the “form” cell…
  17.  
    • Drag and Drop a “ScreenCommand” cell into the “form” cell…
  18.  
    • In the “Screen Commands Properties”, on your right, select “TYPE” and OK.
    • Click in the option “Action” and where you read “do nothing”, click twice and then select “go to previous…”
  19.  
  20.  
    • Drag the arrow and point it to the cell that you want to send the “command”
  21.  
  22.  
    • Click twice on the SplashScreen name option and rename it (it’ll be thename of the class)
    • Click twice in the option “Commands”
  23.  
  24.  
    • Click on “image not specified” and select the image by clicking “add”
  25.  
  26.  
  27.  
  28.  
  29. suggestions
    • images: if you want your project running on 90% of the cell phones, I suggest that you use 30x30 or 40x40px (always PNG format)
    • Text: avoid embedded fonts (90% of the cell phones will leak memory (sometimes, reboot many many times the system…)
    • Draw your project first, on a MAP, using UML or something like, or just the same orientated object model of Netbeans…
  30. Thanks!

+ Cicero Inacio da SilvaCicero Inacio da Silva, 2 years ago

custom

801 views, 0 favs, 0 embeds more stats

Lecture about Netbeans for Art & Technology at Cali more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 801
    • 801 on SlideShare
    • 0 from embeds
  • Comments 1
  • Favorites 0
  • Downloads 17
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories