简体   繁体   中英

how to download some java jar library files

Has anyone migrated a an application using Java AWT library to run on Android? How do you do this? I am using these packages.

 java.awt.AWTException;
 java.awt.Robot;
 java.awt.Rectangle;
 java.awt.Toolkit;
 java.awt.image.BufferedImage;
 java.io.*;
 javax.imageio.ImageIO;

all those classes are part of the standard JDK. http://download.oracle.com/javase/6/docs/api/

What kind and version of Java are you using?

Download the AWT jar here: http://duckduckgo.com/?q=!jar+awt

rt.jar (in your JDK setup) has java.awt package. It has all the core java packages.

Try this in android: http://code.google.com/p/awt-android-compat/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM