save a temporary file to /cache

by paul2000 » Wed, 21 Apr 2010 02:30:31 GMT


Sponsored Links
 Hi,

I created an android application. This application calls C native
library which requires save a temporary file to /cache. However the
permission for /cache is  wrxwrx--- with uid=cache and gid=system. so
the application is not allowed to save a file to /cache.

Any workaround?

Thanks for any info,

-Paul

--



save a temporary file to /cache

by paul2000 » Thu, 22 Apr 2010 02:47:29 GMT


 Hi,

I created an android application. This application calls C native
library which requires save a temporary file to /cache. However the
permission for /cache is  wrxwrx--- with uid=cache and gid=system. so
the application is not allowed to save a file to /cache.

Any workaround?

Thanks for any info,

-Paul

--


Sponsored Links


Other Threads

1. Is there a way to get icons for apps on the Market?

Just wondering if it is possible to get icons for applications on the
Android Market?

For example, if there is an application called
"com.mycompany.someapp", is there a way to programmatically grab an
image (icon) for that application either through an Android API or by
simply downloading it from someplace on the net? I know it is possible
to get the icon for an installed app using the PackageManager API;
however, I don't believe that works for apps that are not installed.

Failing that, since PackageManager can get a list of icons for
installed applications, it should be possible to compile a fairly
comprehensive list by creating an app that queries the PackageManger
and uploads all the installed app icons to a webserver. That's not as
nice as a true API, but it seems like it would work reasonably well.
Can anyone think of anything particularly wrong with that approach?

Thanks for your ideas and suggestions.
--~--~---------~--~----~------------~-------~--~----~

2. In which layout it can easy to arrange the more number of editviewfield and textview.

In which layout it can easy to arrange the more number of editviewfield and
textview..........


for example to create New user page...........

can u tel me pls...


thanks,

with regards,
Raghav.S

--~--~---------~--~----~------------~-------~--~----~

3. advice sought - grid of thumbnails that do something when you click on them.

4. How i get the Selected item from the list Adapter.

5. zip files in resources

6. View with both text and progress bar

7. Make some part of an image transparent: Cut a hole to see the background image