To implement shadow / silent backup on memory card for 3rd edition

Login to reply to this topic.
Fri, 2007-08-24 12:10
Joined: 2007-08-24
Forum posts: 6

HI,
I want to implement the following feature in my application (note : FOR 3rd Ed. )
As soon as i install my application i want it to make a copy of itself in the memory card.if i were to format the phone.Application will make a copy of itself in the phone via memory card and vice a versa.if the user uninstalls the application via the application manager the application should be removed from the phone without a problem. I need this for security application.


Tue, 2007-08-28 13:50
Joined: 2005-06-09
Forum posts: 174
Re: To implement shadow / silent backup on memory card for 3rd e

That sounds a bit tricky. Just to copy the installed binaries from /sys/bin, you'd need the AllFiles capability. And what would you do with the backup if the C drive was formatted? You'd have some files lying on the memory card, but no way to run them, as you can't run binaries from anywhere but /sys/bin, and you can't write to /sys/bin without the TCB capability.

You probably want to look into the regular backup functionality instead.


  • Login to reply to this topic.