Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Recommendations ?

Recommendations ?

Scheduled Pinned Locked Moved The Lounge
androidiosquestion
14 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Ehsan Sajjad
    wrote on last edited by
    #1

    What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ? Any third party framework available for that or what could be the approach for that ?

    J OriginalGriffO R D R 7 Replies Last reply
    0
    • E Ehsan Sajjad

      What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ? Any third party framework available for that or what could be the approach for that ?

      J Offline
      J Offline
      Johnny J
      wrote on last edited by
      #2

      Xamarin? :confused:

      Anything that is unrelated to elephants is irrelephant
      Anonymous
      -----
      The problem with quotes on the internet is that you can never tell if they're genuine
      Winston Churchill, 1944
      -----
      Never argue with a fool. Onlookers may not be able to tell the difference.
      Mark Twain

      E 1 Reply Last reply
      0
      • E Ehsan Sajjad

        What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ? Any third party framework available for that or what could be the approach for that ?

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        Xamarin / Xamarin Forms. Included in VS (even the Community Edition) and it keeps as much code as it can common - you only have to provide OS specific parts where they are very different.

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        E 1 Reply Last reply
        0
        • E Ehsan Sajjad

          What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ? Any third party framework available for that or what could be the approach for that ?

          R Offline
          R Offline
          RickZeeland
          wrote on last edited by
          #4

          Here are some options: cross-platform-tools-for-c-developers[^] :-\

          E 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            Xamarin / Xamarin Forms. Included in VS (even the Community Edition) and it keeps as much code as it can common - you only have to provide OS specific parts where they are very different.

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony AntiTwitter: @DalekDave is now a follower!

            E Offline
            E Offline
            Ehsan Sajjad
            wrote on last edited by
            #5

            does that covers for desktop platform windows and mac too ?

            OriginalGriffO 1 Reply Last reply
            0
            • J Johnny J

              Xamarin? :confused:

              Anything that is unrelated to elephants is irrelephant
              Anonymous
              -----
              The problem with quotes on the internet is that you can never tell if they're genuine
              Winston Churchill, 1944
              -----
              Never argue with a fool. Onlookers may not be able to tell the difference.
              Mark Twain

              E Offline
              E Offline
              Ehsan Sajjad
              wrote on last edited by
              #6

              that's what came in my mind but we need to target windows and mac too for desktop app

              R 1 Reply Last reply
              0
              • R RickZeeland

                Here are some options: cross-platform-tools-for-c-developers[^] :-\

                E Offline
                E Offline
                Ehsan Sajjad
                wrote on last edited by
                #7

                will check these out. Thanks

                1 Reply Last reply
                0
                • E Ehsan Sajjad

                  does that covers for desktop platform windows and mac too ?

                  OriginalGriffO Offline
                  OriginalGriffO Offline
                  OriginalGriff
                  wrote on last edited by
                  #8

                  It covers UWP apps, which run directly on the windows desktop, but not WinForms / WPF. MAC I haven't tried, but: Building Your First macOS App | Xamarin Blog[^] seems to imply it does.

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony AntiTwitter: @DalekDave is now a follower!

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                  1 Reply Last reply
                  0
                  • E Ehsan Sajjad

                    What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ? Any third party framework available for that or what could be the approach for that ?

                    D Offline
                    D Offline
                    Dan Neely
                    wrote on last edited by
                    #9

                    With that many platforms you're almost forced into a webpage in a browser control (cr)app. X|

                    Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                    1 Reply Last reply
                    0
                    • E Ehsan Sajjad

                      What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ? Any third party framework available for that or what could be the approach for that ?

                      R Offline
                      R Offline
                      realJSOP
                      wrote on last edited by
                      #10

                      Python is your best choice. Microsoft has been touting the crossplatformability of .Net Core, but that's just propaganda. Python runs the same way on any platform.

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                      D 1 Reply Last reply
                      0
                      • R realJSOP

                        Python is your best choice. Microsoft has been touting the crossplatformability of .Net Core, but that's just propaganda. Python runs the same way on any platform.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        D Offline
                        D Offline
                        Daniel Pfeffer
                        wrote on last edited by
                        #11

                        #realJSOP wrote:

                        Python runs the same way on any platform.

                        Not quite true. See [Bug in Python Script May Have Affected Hundreds of Studies](https://cacm.acm.org/news/240221-bug-in-python-script-may-have-affected-hundreds-of-studies/fulltext)

                        Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

                        1 Reply Last reply
                        0
                        • E Ehsan Sajjad

                          that's what came in my mind but we need to target windows and mac too for desktop app

                          R Offline
                          R Offline
                          raddevus
                          wrote on last edited by
                          #12

                          I have continually tried Xamarin and still don't like it. I've found it easier to write the apps in Native tech than learn Xamarin and I've been writing C# since 2000. But that's just an opinion. The best choice for this is actually...brace yourself....HTML5. HTML5 is HTML, JavaScript and CSS, of course. It's still not possible in any technology to get desktop and mobile in the same go. But, if you build 1. PWA (Progressive Web App) HTML5 2. ElectronJS app (based upon HTML5) Then you will get all environments. ElectronJS will give you complete deployment with the same code to Linux, Windows and MacOS. Then you'll be able to use the same code to build your PWA as a mobile app. PWAs are deployed in such a way that users can install the icon to their mobile desktop as if it is an app. I've built and Electron App that currently runs on Linux, MacOS, Windows and there are no code changes at all --- just build it on each platform. ElectronJS also creates installation packages for each OS that works just as if you are deploying a desktop app -- users don't know the difference. Actually the ElectronJS app deploys much easier -- less security hoops to jump thru - it just works. But, I know most people just hate JavaScript and there are good reasons to. But, any tool used properly can be a great thing. Also, you can do TypeScript for ElectronJS and that cleans up a lot of the JavaScript problems. Good luck.

                          1 Reply Last reply
                          0
                          • E Ehsan Sajjad

                            What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ? Any third party framework available for that or what could be the approach for that ?

                            N Offline
                            N Offline
                            Nand32
                            wrote on last edited by
                            #13

                            Driving from the word "Snake Oil" I guess 'Python' should be closer to what you need. lol On a serious note, if it's a UI based application. Just go for React, host it on a server & then place it on a HTML control that's available in every platform you mentioned.

                            1 Reply Last reply
                            0
                            • E Ehsan Sajjad

                              What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ? Any third party framework available for that or what could be the approach for that ?

                              H Offline
                              H Offline
                              H Brydon
                              wrote on last edited by
                              #14

                              Ehsan Sajjad wrote:

                              What are the options to build an app that would run on windows, mac , android and IOS with a single common code base ?

                              Wasn't that the original purpose of java?

                              I'm retired. There's a nap for that... - Harvey

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups