Piwik app doesn't respect Android storage guidelines

Hey all,
I’m using the Android mobile version of Piwik and really love it!
There’s one little improvement I’d like to see on the backend of the app.

Your app stores data on the external memory (aka sd card) and doesn’t use
the appropriate folder as per the design guidelines listet at developer.android.com:

Below the header “Accessing files on external storage” is the relevant passage:

You should then write your data in the following directory:

I’m aware that this passage is listed under “If you’re using API Level 7 or lower” but
the detail is in the paragraph below:

If the user’s device is running API Level 8 or greater and they uninstall your application,
this directory and all its contents will be deleted.

This change would prevent the following things from happening:

  • if the user accidentally deletes the folder you’d need to rebuild any cache/etc. that resides in this folder
  • sd-card gets cluttered with unusual folders that could be misleading/irritating for the user
  • residual clutter stays on the sd-card after the app is uninstalled (see paragraph above)

And of course the sd card stays tidy :wink:

It’d be great if you consider to implement this change in the future!


Hi masterjo,

we use the Titanium Mobile SDK to create the native mobile apps. See here Titanium Mobile for web developers

We are not able to influence where these files are stored. But it seems that it was already fixed a few weeks ago in the Titanium Mobile SDK: http://jira.appcelerator.org/browse/TIMOB-2495 . That means this will be automatically fixed with our next Android release.