ekke/c2gQtWS_x

Doubts about the app

Closed this issue · 10 comments

Hello ekke

This are not real issues, just some doubts:

1 - I've noticed that you use 3 languages en fr and german. My question is: How does the user selects the language he wants? Or a language is selected in the code and the app is released with that language?

2- About the update of the app. Let's suppose the conference program changes during the event. How does (if so) the app deals with that. The user needs to update the application in google play?

3 - How do you manage the json files with the conference content (speakers, schedule, ...) ? You create an excel (or some database) and then converte it to json, or you type directly the json?

Sorry for the inconvenience of so much questions, but this may also help others I think.

Danke im Voraus
Ricardo
Lisbon, Portugal

ekke commented

Hi Ricardo,
will come back to your questions on the weekend - just deep in customer project

ekke commented

Hi Ricardo,
for the languages:
app uses the language from device, if not found: uses english

update conference schedule:
there's a Timer - see main.qml line #570 - checks every hour with the server if version changed and if yes pops up a dialog to update the data

conference content: I'm getting this as JSON from server api (see dataserver.cpp), then cache this as JSON files

ekke commented

@Ricardosgeral in main.qml
Keys.onBackPressed:
simply remove

if(initDone && navigationBar.position === 0) {
                openNavigationBar()
                return
            }
ekke commented

@Ricardosgeral
(untested) something like this should do the trick:

if (navigationIndex !== homeNavigationIndex) {
	navigationIndex = homeNavigationIndex
	return
}

but sorry - I have to close this issue.
If you need consulting about app architecture and details of App development you can book me ;-)

ekke commented

no problems @Ricardosgeral