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.
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.
Forum posts: 174
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.
http://ptrmobile.blogspot.com/