The main problem is that you won’t be able do create classes in packages named java.awt
. But except that point, basically you can rewrite a library based on awt API.
You can also check awt-android-compat project.
More Related Contents:
- How to crop circular area from bitmap in Android
- How do I get the height and width of the Android Navigation Bar programmatically?
- What does PorterDuff.Mode mean in android graphics.What does it do?
- Measuring text height to be drawn on Canvas ( Android )
- Android: How to overlay a bitmap and draw over a bitmap?
- Difference between SurfaceView and View?
- Android: Background Image Size (in Pixel) which Support All Devices
- Overlay images onto Camera preview SurfaceView
- How can I tell if a closed path contains a given point?
- Rotate zoom drag image in android imageview
- Getting the pixel color value of a point on an Android View that includes a Bitmap-backed Canvas
- How to make text glow?
- Rotating a drawable in Android
- Android — How to allow horizontal and vertical scrolling
- Draw in Canvas by finger, Android
- Marquee text in Android
- What’s onCreate(Bundle savedInstanceState)
- ActionBarActivity cannot resolve a symbol
- How to perform collection group query using document ID in Cloud Firestore
- Android: setSelection having no effect on Spinner
- Adding content to a linear layout dynamically?
- Multiple selection in custom ListView with CAB
- Create a Generic Base Adapter?
- How to fix BOOT_COMPLETED not working Android
- Error : No resource found that matches the given name (at ‘icon’ with value ‘@drawable/icon’)
- Show ImageView programmatically
- Disabling text selection in PhoneGap
- SharedPreferences in BroadcastReceiver seems to not update?
- Skinning Android app with Maven build profiles
- Newer versions of Android Studio add only two drawable directories – drawable and drawable-v21