C++ Smartphone application, get data from MySQL
-
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
-
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
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 anAndroid
platform,Java
is the natuaral programming language (altough you migh as well useC#
viaXamarin
). -
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
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
-
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
-
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
-
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
-
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