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. General Programming
  3. C / C++ / MFC
  4. C++ Smartphone application, get data from MySQL

C++ Smartphone application, get data from MySQL

Scheduled Pinned Locked Moved C / C++ / MFC
databasec++androidiosmobile
7 Posts 5 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.
  • P Offline
    P Offline
    PonSvens
    wrote on last edited by
    #1

    Hello, i've decided to code a application for our committees in our university section. The basic function of the program should be to inform students about upcoming events hosted by different student unions/committees. Events will be stored in an SQL database. Every event will have a few datas like "Committee name" "Description of event" "Date". The idea is that the app will get all events from the database that hasn't already been. It will display these in a list inside the application. If a new event is uploaded to the SQL database the application will give away a push-notification. And user will be able to display it. I have experience in C. My questions are Is there good graphic libraries and is it possible to do this with ease in C++? Is it possible to make a program like this work in Android and IOS? Would also appreciate general tips for people that've made mobile applications

    CPalliniC L L 3 Replies Last reply
    0
    • P PonSvens

      Hello, i've decided to code a application for our committees in our university section. The basic function of the program should be to inform students about upcoming events hosted by different student unions/committees. Events will be stored in an SQL database. Every event will have a few datas like "Committee name" "Description of event" "Date". The idea is that the app will get all events from the database that hasn't already been. It will display these in a list inside the application. If a new event is uploaded to the SQL database the application will give away a push-notification. And user will be able to display it. I have experience in C. My questions are Is there good graphic libraries and is it possible to do this with ease in C++? Is it possible to make a program like this work in Android and IOS? Would also appreciate general tips for people that've made mobile applications

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      C++ is not very popular in standard mobile applications (and it is not recommended, see, for instance Getting Started with the NDK | Android Developers[^]. For the an Android platform, Java is the natuaral programming language (altough you migh as well use C# via Xamarin).

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • P PonSvens

        Hello, i've decided to code a application for our committees in our university section. The basic function of the program should be to inform students about upcoming events hosted by different student unions/committees. Events will be stored in an SQL database. Every event will have a few datas like "Committee name" "Description of event" "Date". The idea is that the app will get all events from the database that hasn't already been. It will display these in a list inside the application. If a new event is uploaded to the SQL database the application will give away a push-notification. And user will be able to display it. I have experience in C. My questions are Is there good graphic libraries and is it possible to do this with ease in C++? Is it possible to make a program like this work in Android and IOS? Would also appreciate general tips for people that've made mobile applications

        L Offline
        L Offline
        leon de boer
        wrote on last edited by
        #3

        As CPallini said C,C++ coding of Android is not for the faint hearted and I would not recommend it as things stand at current. I can offer you a funny way into the problem for a medium level programmer which is to use the free Unity game engine. You write in C# and can run your code and debug it as a windows application on windows. Then you just select the target as android and it does all the conversion and crossing to Android for you. There are several good sample applications right here on Code Project in the Unity section but the cross platform is this simple Tutorial: Creating your first Unity Android App [2015 Update] « Rabidgremlin's Soapbox[^] You have a bit of learning to do with the unity interface but there are plenty of tutorials. The SQL classes already exist as standards in Unity like they do in .NET and is rather trivial as most online games store data in/from server databases. On the plus side all the finger swipe libraries exist already and you can develop a groovy application look on the UI using the graphics stuff :-)

        In vino veritas

        1 Reply Last reply
        0
        • P PonSvens

          Hello, i've decided to code a application for our committees in our university section. The basic function of the program should be to inform students about upcoming events hosted by different student unions/committees. Events will be stored in an SQL database. Every event will have a few datas like "Committee name" "Description of event" "Date". The idea is that the app will get all events from the database that hasn't already been. It will display these in a list inside the application. If a new event is uploaded to the SQL database the application will give away a push-notification. And user will be able to display it. I have experience in C. My questions are Is there good graphic libraries and is it possible to do this with ease in C++? Is it possible to make a program like this work in Android and IOS? Would also appreciate general tips for people that've made mobile applications

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Google calendar provides most of this as standard already.

          L D 2 Replies Last reply
          0
          • L Lost User

            Google calendar provides most of this as standard already.

            L Offline
            L Offline
            leon de boer
            wrote on last edited by
            #5

            Yes, I agree Richard but unless someone has done some work since I last tried compiling the code samples for the API even it was not trivial. I lost hours of time playing around with it as I needed old frameworks as well as 5 or 6 newer ones. If they have not improved it I would rate it as needing expert level knowledge but you may have more recent experience.

            In vino veritas

            L 1 Reply Last reply
            0
            • L leon de boer

              Yes, I agree Richard but unless someone has done some work since I last tried compiling the code samples for the API even it was not trivial. I lost hours of time playing around with it as I needed old frameworks as well as 5 or 6 newer ones. If they have not improved it I would rate it as needing expert level knowledge but you may have more recent experience.

              In vino veritas

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              I did not mean the API, just Google calendar.

              1 Reply Last reply
              0
              • L Lost User

                Google calendar provides most of this as standard already.

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #7

                I was thinking the same thing. :thumbsup:

                "One man's wage rise is another man's price increase." - Harold Wilson

                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                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