Tag Info

New answers tagged

0

Look at what will happen... Option 1 will generate support calls when users install the wrong version. There will always be one user who either can't read or pick the latest version thinking they know better... and you'll have a large number of versions to potentially backport fixes to should you need to. Option 2 adds some complexity to the UI code, how ...


0

I've dealt with this in a slightly different context, but what we came up with was that if you used our public server we required you to upgrade. If you self hosted, we allowed you to stay on whatever version you liked. I know that isn't the most customer friendly answer, and it might not be an option depending on your situation, but it was the stance we ...


0

I've encountered both scenarios. Previous company I worked we had a number of company devices but people also used their own in addition to that (AFTER the tests on the company devices showed the apps weren't going to cause mayhem, those private devices were mostly used to allow testing on more different screen sizes, OS versions, and hardware ...


0

API versioning is fine but this would require more some work at the UI Layer a) The UI needs to know which version of the API to invoke depending upon the configuration ( use a properties file or a resource file on the client device) b) Also the server needs to have support for multiple versions of the API's. Does the server API only cater to Mobile ...


11

The API being designed follows the Rest style of resources-centric URI and CRUD operations mapped to HTTP verbs. This is your problem right here. You have limited your resources to (I'm assuming) the models in your database. As such it is taking ages to load all these resources because your server has no concept of resources that don't have a ...


1

There is no need to leave as service running to perform regular polling, and doing so may annoy your users, as it will consume memory for no good reason. You should look at the AlarmManager API. This has three potential advantages: it can be configured to send an Intent that will start your app in the background even if it is not running, meaning you ...


1

Create a runnable and call it with handler using postDelayed() method in your service. private final Handler handler = new Handler(); private Runnable getResponceAfterInterval = new Runnable() { public void run() { try { new RequestTask().execute("URL of your GET request"); //RequestTask() is a AsynchTask ...


5

I'm reading the Term of Service of the site and i think that you can use GitHub to host your JSON file. But pay attention to this point: If your bandwidth usage significantly exceeds the average bandwidth usage (as determined solely by GitHub) of other GitHub customers, we reserve the right to immediately disable your account or throttle your file ...



Top 50 recent answers are included