Tag Info

New answers tagged

1

Solving this problem is one of those situations where using a data abstraction layer (DAL) in your webservice might help you. In your DAL on the server component, realising that there is a performance issue, you could replace the DAL code which writes directly to the database with one that implements a write cache. That should allow the system to handle ...


0

I wouldn't use CountDownLatch in your scenario because it's not reusable. Look at Semaphore or Cyclic Barrier for similar functionality.


2

You can also deliver the app from a website. Either just use the files on the website like a typical web app or you can create a manifest file and the browser will cache the files to the local system and will automatically check if the files need to be refreshed. http://www.codeproject.com/Articles/467724/HTML-Offline-Capabilities-Using-the-Cache-Manifes


0

You can transfer files to your phone right? So why not just transfer the files, fire up your browser and give it a try? On my phone the URL to the Downloads folder looks like file:///storage/emulated/0/Download/. Let us know if it works.


1

Yes Its possible to achieve this in a Cordova app. I had similar requirements and did in a project. localStorage features of HTML5 can be used to store data in offline mode and once a device has detected internet connection then it can automatically send via a service call. So features you need would be: localStorage - for offline storage Cordova ...


3

This is largely due to the security model. On Android, each application runs in its own silo. This is completely different to a desktop OS, where all applications have full access to all the user's data. If we have two applications, A and B, that both use a shared library. If they used the same copy, then potentially application A could break into ...


1

Android does have a facility for sharing libraries, but it is a little cumbersome to use so seems to be rarely used in practice. Applications that use Google Play Services, for instance, use this model. The support library, however, specifically does not use this facility because it is expected that applications may be closely tied to a specific version of ...


0

Reinventing the wheel, huh? I personally let https://www.changedetection.com/ send me an email & leave it to them to figure out if the page has changed. Perhaps your app could just scan your in-box for such emails? Or maybe a similar site has an API for developers? There is some good info on WIkipedia. See also "5 Free Tools To Notify You of Website ...


2

In any case you will require a server API (webservice, REST or similar) to connect your Android app to the database. Assuming your database is available through such an API, there are two options. Design the database & server to serve multiple customers (multi-tenancy). With this your server API will expect the tenancy selection to happen on a ...


0

One resource to consider is vendor loaner or rental programs for development partners (developer partner programs). Some provide short-term access for testing purposes affordably, perhaps even free. Most of the hardware vendors have developer programs, which offer hardware for reduced costs or even free (e.g. Samsung, Motorola, Apple, BlackBerry (for ...



Top 50 recent answers are included