How to develop an Android app without an emulator?












-3














I want to develop a simple Android app with simple logic and simple UI. I don't want to run a heavy and slow emulator or bother with a real device, heavy and slow, too.



So I want to run my app on a desktop OS (Linux or Mac).



As far as I know, to run a real apk on a desktop OS, I have to use an emulator.



So, is it possible to build a desktop-ish app with the same functionality from the same Java source?



Are there any lightweight frameworks which can run both on Android and on a desktop OS? (Browser-based ones don't seem lightweight to me.)



I need very little -- only widget-based UI, file system and network capabilities.





Update. I found Codename One. Looks promising...










share|improve this question




















  • 5




    Unfortunately, no
    – Luca Nicoletti
    Nov 19 '18 at 16:35










  • Android and on Desktop? ?? Do you mean "windows"?
    – B001ᛦ
    Nov 19 '18 at 16:35












  • @B001ᛦ I mean Linux or Mac. I haven't used Windows for years, sorry.
    – Yuri Syro
    Nov 19 '18 at 16:36






  • 1




    @B001ᛦ Why my desktop Linux is not a desktop OS?
    – Yuri Syro
    Nov 19 '18 at 16:38












  • Maybe you could try something like a Progressive Web App
    – Richard Nikolas
    Nov 19 '18 at 16:44
















-3














I want to develop a simple Android app with simple logic and simple UI. I don't want to run a heavy and slow emulator or bother with a real device, heavy and slow, too.



So I want to run my app on a desktop OS (Linux or Mac).



As far as I know, to run a real apk on a desktop OS, I have to use an emulator.



So, is it possible to build a desktop-ish app with the same functionality from the same Java source?



Are there any lightweight frameworks which can run both on Android and on a desktop OS? (Browser-based ones don't seem lightweight to me.)



I need very little -- only widget-based UI, file system and network capabilities.





Update. I found Codename One. Looks promising...










share|improve this question




















  • 5




    Unfortunately, no
    – Luca Nicoletti
    Nov 19 '18 at 16:35










  • Android and on Desktop? ?? Do you mean "windows"?
    – B001ᛦ
    Nov 19 '18 at 16:35












  • @B001ᛦ I mean Linux or Mac. I haven't used Windows for years, sorry.
    – Yuri Syro
    Nov 19 '18 at 16:36






  • 1




    @B001ᛦ Why my desktop Linux is not a desktop OS?
    – Yuri Syro
    Nov 19 '18 at 16:38












  • Maybe you could try something like a Progressive Web App
    – Richard Nikolas
    Nov 19 '18 at 16:44














-3












-3








-3







I want to develop a simple Android app with simple logic and simple UI. I don't want to run a heavy and slow emulator or bother with a real device, heavy and slow, too.



So I want to run my app on a desktop OS (Linux or Mac).



As far as I know, to run a real apk on a desktop OS, I have to use an emulator.



So, is it possible to build a desktop-ish app with the same functionality from the same Java source?



Are there any lightweight frameworks which can run both on Android and on a desktop OS? (Browser-based ones don't seem lightweight to me.)



I need very little -- only widget-based UI, file system and network capabilities.





Update. I found Codename One. Looks promising...










share|improve this question















I want to develop a simple Android app with simple logic and simple UI. I don't want to run a heavy and slow emulator or bother with a real device, heavy and slow, too.



So I want to run my app on a desktop OS (Linux or Mac).



As far as I know, to run a real apk on a desktop OS, I have to use an emulator.



So, is it possible to build a desktop-ish app with the same functionality from the same Java source?



Are there any lightweight frameworks which can run both on Android and on a desktop OS? (Browser-based ones don't seem lightweight to me.)



I need very little -- only widget-based UI, file system and network capabilities.





Update. I found Codename One. Looks promising...







android






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 '18 at 16:56

























asked Nov 19 '18 at 16:33









Yuri Syro

19013




19013








  • 5




    Unfortunately, no
    – Luca Nicoletti
    Nov 19 '18 at 16:35










  • Android and on Desktop? ?? Do you mean "windows"?
    – B001ᛦ
    Nov 19 '18 at 16:35












  • @B001ᛦ I mean Linux or Mac. I haven't used Windows for years, sorry.
    – Yuri Syro
    Nov 19 '18 at 16:36






  • 1




    @B001ᛦ Why my desktop Linux is not a desktop OS?
    – Yuri Syro
    Nov 19 '18 at 16:38












  • Maybe you could try something like a Progressive Web App
    – Richard Nikolas
    Nov 19 '18 at 16:44














  • 5




    Unfortunately, no
    – Luca Nicoletti
    Nov 19 '18 at 16:35










  • Android and on Desktop? ?? Do you mean "windows"?
    – B001ᛦ
    Nov 19 '18 at 16:35












  • @B001ᛦ I mean Linux or Mac. I haven't used Windows for years, sorry.
    – Yuri Syro
    Nov 19 '18 at 16:36






  • 1




    @B001ᛦ Why my desktop Linux is not a desktop OS?
    – Yuri Syro
    Nov 19 '18 at 16:38












  • Maybe you could try something like a Progressive Web App
    – Richard Nikolas
    Nov 19 '18 at 16:44








5




5




Unfortunately, no
– Luca Nicoletti
Nov 19 '18 at 16:35




Unfortunately, no
– Luca Nicoletti
Nov 19 '18 at 16:35












Android and on Desktop? ?? Do you mean "windows"?
– B001ᛦ
Nov 19 '18 at 16:35






Android and on Desktop? ?? Do you mean "windows"?
– B001ᛦ
Nov 19 '18 at 16:35














@B001ᛦ I mean Linux or Mac. I haven't used Windows for years, sorry.
– Yuri Syro
Nov 19 '18 at 16:36




@B001ᛦ I mean Linux or Mac. I haven't used Windows for years, sorry.
– Yuri Syro
Nov 19 '18 at 16:36




1




1




@B001ᛦ Why my desktop Linux is not a desktop OS?
– Yuri Syro
Nov 19 '18 at 16:38






@B001ᛦ Why my desktop Linux is not a desktop OS?
– Yuri Syro
Nov 19 '18 at 16:38














Maybe you could try something like a Progressive Web App
– Richard Nikolas
Nov 19 '18 at 16:44




Maybe you could try something like a Progressive Web App
– Richard Nikolas
Nov 19 '18 at 16:44












1 Answer
1






active

oldest

votes


















2














If you are using a Linux system then look for Anbox



Anbox will let you run Android on your Linux system without the slowness of virtualization.



For more details check the blow link, its an open sources project



https://github.com/anbox/anbox



https://anbox.io/






share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53379000%2fhow-to-develop-an-android-app-without-an-emulator%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    If you are using a Linux system then look for Anbox



    Anbox will let you run Android on your Linux system without the slowness of virtualization.



    For more details check the blow link, its an open sources project



    https://github.com/anbox/anbox



    https://anbox.io/






    share|improve this answer


























      2














      If you are using a Linux system then look for Anbox



      Anbox will let you run Android on your Linux system without the slowness of virtualization.



      For more details check the blow link, its an open sources project



      https://github.com/anbox/anbox



      https://anbox.io/






      share|improve this answer
























        2












        2








        2






        If you are using a Linux system then look for Anbox



        Anbox will let you run Android on your Linux system without the slowness of virtualization.



        For more details check the blow link, its an open sources project



        https://github.com/anbox/anbox



        https://anbox.io/






        share|improve this answer












        If you are using a Linux system then look for Anbox



        Anbox will let you run Android on your Linux system without the slowness of virtualization.



        For more details check the blow link, its an open sources project



        https://github.com/anbox/anbox



        https://anbox.io/







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 19 '18 at 16:55









        Jarvis

        64411020




        64411020






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53379000%2fhow-to-develop-an-android-app-without-an-emulator%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            SQL update select statement

            'app-layout' is not a known element: how to share Component with different Modules