Port Android App to Desktop? [closed] - android

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I'm just wondering if it would be possible (and legal) to port an Android app to desktop?
I'm creating an android game that would work well on PC too (even with the cellphone like layout) and was thinking that maybe I could 'embed' an android emulator with an installer or would that process be a bit hard for a novice Java coder?

If you keep the application logic separate from Android contructs (activites, intents etc) it should be easy to create Java Swing UI for the desktop app and thus have a common codebase. I have written Java code that is platform agnostic that works on J2ME/BlackBerry/Android and with a bit of design it is not at all hard to do so.

Consider changing your code to use libGDX - http://libgdx.badlogicgames.com/. You can maintain the same codebase and deploy simultaneously to Android and the Desktop (Windows, Linux, Mac). You will however need to convert your UI system to an OpenGL based UI. libGDX itself has a nice UI system which you can use. If not for this app, you can use it for future ones.

Related

Is it possible to make an android app using only imported languages, and if so, how? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last year.
Improve this question
Just out of curiosity, is it possible to make an entire android app using android studio by importing SwiftUI and coding it with that instead of Kotlin/Java? I'm really curious because I just spent an entire semester at school learning SwiftUI and now we're doing Kotlin, and it would be a funny, interesting, and fun challenge if I could try to use a language meant for IOS to code an Android app. If somehow it's even somewhat possible, how could it be done, and would you have to still code some in Kotlin/Java or could it all be SwiftUI?
SwiftUI is a library that Apple ships with its operating systems. You cannot use it to develop an Android app because the library is not available on Android devices.
It might be possible to use Swift, the programming language, to develop some parts of your Android application, because it is possible to compile Swift code and the Swift standard library for Android. However, I don't really know any of the details and I'm sure it will be a difficult endeavor if you're just learning how to program.

Writing Apps for Android with Swift [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
First of all I'm focused on iOS but but I've done ~2 apps for android in Java and it was horrible. I can't explain it why. Was it Java or Android itself but I hate it so much that when now I have to write another app for Android so I'm looking every option for me. This is what I found:
Kotlin - people said this is "Swift for android" but I still stuck with Android libraries.
Silver - "you can use Swift to write code directly against the .NET, Java, Android and Cocoa APIs. And you can also share a lot of non-UI code between platforms." But at this moment I've trouble with download it.
What's your opinion in this matter?
Do you have any experience with those two solutions?
As far as I know, there is no way to write apps for iOS and directly port them to Android.
What you can do is develop the bulk of the app in C++, while having calls to the GUI through JNI java functions.
With that being said, Android isn't scary at all, just face it straight on and you can do it.

develop for android - Phonegap or just use Eclipse? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've just recently(today...) found out about phonegap.
I went through all the FAQ's and I think it's a great solution for those who wish to build an app using things they already know like HTML and CSS instead of learning a new API
but...
if I'm trying to build something that requires more efficient work and stablity, I think i'm better off developing with eclipse and using the standard ADT and not the framework phonegap are offering.
Am I right or maybe just a bit prejudice?
I wanna be sure before I start
First of all, it depends of what you want to develop. Developing with phonegap can be faster and you don't have to learn java for the development, but you have to consider that mobile JavaScript capabilities are bad and the app won't work smooth(espessialy the transitions and animations). If you go Native, you will spend more time learning, but at the end you will get an app that will run faster, smoother and with best performance. In you case i would definitely go Native.

multi-platform mobile application, use phonegap? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am in the first stages of developing a multi-platform mobile application
on (Android,IOS,BlackBerry 10).
It is a book selling application
i do not know if i should use phonegap or build the application for the three platforms independently
what do you guys recommend i should use??
and what are the pros and cons for each approach??
If you care about performance I wouldnt recommend building the application in PhoneGap or Titanium or anything similar.
From personal experience:
PhoneGap is very easy to use/learn and can build good looking UIs very fast. The problem is that is really slow compared to other solutions. You basically build with HTML.
Titanium would result in a faster - more responsive application BUT it would require more coding and tuning. Here you basically build with java script. Also, despite the fact that is universal there might be cases where you would have to build separate code for android and for iOS for example to do the same job.
For best user experience I would recommend (and I think many will agree) going native for each platform and trying to keep a consistent UI.
Also since this is not the first question about the mentioned frameworks please have a look here and on many other questions that compare these frameworks.

Android: build native GUI app with NDK? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
independent from the fact if it makes sense or not, if it is a good way to create Android apps or not: for (educational/personal/whatever) reasons I want to create an Android app with graphical user interface in C++ using the NDK.
What I found so far are some information about the NDK, how to create native libraries and how to access them out of Java applications. But what I'm really looking for are some information how to create a View and to add graphical user interface elements to that View out of my C++ NDK app.
Any ideas and hints how that can be done or where some more information/HOWTOs can be found regarding this?
Juce is a fantastic C++ UI framework that works well on Android.
It can be used under the GPL or a paid-for commercial licence. The community is fairly active and the author is very friendly and helpful. I found it relatively easy to build using the NDK tools on Windows.
Caveat - it seems Android isn't a high priority platform for them, so some things are missing at time of writing (e.g. support for hardware buttons). Still, in my experience, the UI framework does work very well on Android, and that's what your question is about.

Categories

Resources