I'm working on a small project for fun, including Android and web server.
I would like some suggestions on the following protocols / models that are most suitable for the following scenarios.
Server Side I have set up the following 5 components: A config file A "switch" file A Java program that runs according to those rules, if A chronology that can run Java programs Runs. A PHP page. On Android Target Now I want an app to change the current state of Since this is just a project for fun, so it is not mine to take it to work; I want to find a good model that handles such work and if necessary I am ready to learn other languages. Any advice? I'm sure the rule file is slightly larger or you'll move it. / P> Adding a new rule seems very simple - enter data on Android and send the rule to the server. But how do you want to rule out the Android user? Can you just move the names of all the rules, let the user choose the rule, and then just return the name of the rule?
Rule.csv with 6 columns and about 20 lines. Each line in that file is a rule.
RUN.on or
RUN.off
RUN.on is present
control.php? Run = on
rune.off to change the name of
rune.on
control.php? Run = off
RUN.off
control.php . To add a feature to the Android app, such as I can see / remove / remove the rule in
rule.csv for an Android & lt; - & gt; Server & lt; - & gt; File communication However, getting the full file using PHP, and in this case it is not a good way to transfer it back after editing.
Comments
Post a Comment