Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9180267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:00:20+00:00 2026-06-17T18:00:20+00:00

Is there any way of using Android’s UI libraries etc to build an GUI

  • 0

Is there any way of using Android’s UI libraries etc to build an GUI in a plain Java application?

I am building a program that will run both on Android and computer.
I figured if I use Android’s libraries and paradigms it will be much easier to have it running on both platforms.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T18:00:22+00:00Added an answer on June 17, 2026 at 6:00 pm

    Android and normal Java UI libraries are different. The Android UI is specially tailored to… Android. Every View in Android has a Context and other things that desktop Java just plain doesn’t have or implements differently. However, do keep in mind that UI functions are usually similar (eg Buttons have listeners, and so do many other UI elements) – so while there is no simple way to do native convertion from Swing/Some other desktop UI to Android UI, you shouldn’t have too much trouble with recoding them.

    What you need to do is make the logic & non-UI classes their own file and then make separate UIs for your application depending on the platform you code for.

    Of course, if you don’t want to make anything native, you can use a webapp approach – that would be the easiest and you can target the most devices with the least amount of time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a popup in Android using Toast, is there any way when shown
is there any way to share text from my android app by using ACTION_SEND
Is there any way to draw optimal route(considering traffic) between two geopoints using Android
I'm using android:Theme.Holo in my activity and I'm wondering if there's any way this
In Android, after starting any timer using TIMER or CountDownTimer, is there any way
Is there any way to handle OutOfMemoryException in Android while using Bitmap of large
I'm developing an Android application. Is there any way to show a message on
I'm developing a Android app using Phonegap - Is there any way in which
Is there any way to install and to uninstall an android apk using phoneGap?
I'm developing a web app for android using jquery_mobile. Is there any equivalent way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.