question

u1 avatar image
u1 asked Jeffrey Blattman answered

Clover Device - Partition Name

I would like to store a small amount of data on the clover device. Can you tell me the name of the available partition on the device?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered

You don't need the partition names to store data. Please take a look at the Android docs the the Environment class and see the various getExternal*() methods. These will return you, in a device-agnostic manner, the paths where your app can store data.

https://developer.android.com/referen...

Please also read the Android developer's page regarding storing data as it may provide a better option for you than writing file to disk.

https://developer.android.com/guide/t...

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community