Enjoy Android API in Desktop Applications

Asked

Viewed 174 times

1

Can I take advantage of the codes of an API made for Android and use in a java desktop application ? PS.: I don’t know anything about Java, I’m willing to learn. I only know Delphi and C++... In Delphi for example, I can use mobile code and use it on the desktop and vice versa.

  • 1

    the API was made by you? Is it generic or uses features of the android SDK? If your API does not use any features of the SDK it is possible that it can be used on both platforms

  • 3

    Fixing Settings: A library provides an API (Application Programming Interface), that is, a set of public classes, interfaces and methods that you can use to develop an application. An SDK may include a library, among other tools (debuggers, development environment or IDE), and you can still use in your code libraries that do not belong to the SDK (these external libraries can serve for various environments, including mobile and desktop). The application you develop using SDK and libraries is called even final application.

  • Got it @Piovezan, just take away this doubt... I’ll try to be a little more objective. Sony has API of its cameras on android, could use this API in some desktop application?

  • In my understanding, Sony’s Android camera API is specific to Android (if not specific to Sony platforms, that is, combinations of hardware and Sony’s Android version). It expects the operating system to provide features such as Android-specific intents, etc. that the desktop platform cannot provide. If it were an Android for PC (x86 architecture), then it could work.

  • @Piovezan thanks for the comment, added enough

  • @Williambarreto If the answer was helpful follow those guidelines. I also suggest waiting for comments from other users who can add more to the answer, including providing alternatives to your problem.

Show 1 more comment

1 answer

1

In my understanding, Sony’s Android camera API is specific to Android (if not specific to Sony platforms, that is, combinations of hardware and Sony’s Android version). It expects the operating system to provide features such as Android-specific intents, etc. that the desktop platform cannot provide. But if it were an Android for PC (x86 architecture), then it could work, but then we’re talking about not running Windows or Linux.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.