hi all. i m very new to android. i have some problems, for which i need ur help.
i have downloaded the android source code. i am using ubuntu 9.04. in order to run the emulator i use following commands- make, . build/envsetup.sh, lunch 1, emulator.
my emulator works perfectly fine.
wat my problem is, i want to develop a malware which deletes the contents of the sdcard of he owner of the mobile.
i want to create that malware using C code. so basicaly c code should delete the contents of sdcard being used by emulator.
typing these instructions in the ubuntu terminal -
"mksdcard 122M sd.img" creates the sdcard .
"emulator -sdcard sd.img" makes the emulator use the sdcard.
first tell me how to move some files to sdcard.
second, tell me how to write the c code to delete those contents. i think system calls will be used.also how to execute that c code in background.
pls pls help me. its damn important