|
Sorry for cross-posting. As my learning attempt, I quickly tried to do by hand what the app is doing. Unfortunately it didn't work for me. Here are the steps I followed, I wonder if anyone can identify where things went wrong.
1. Fresh installed Angry Birds
2. Mounted the ext2 partition of the SD card to /data/sdext2
3. Copied /data/app/com.rovio.angrybirds.apk to /data/sdext2
4. removed original, and created a symbolic link com.rovio.angrybirds.apk -> /data/sdext2/com.rovio.angrybirds.apk
5. This removed Angry birds from my app list, but I thought that's Ok as long as there's adb
6. In adb shell, tried to execute "am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n com.rovio.angrybirds/com.rovio.ka3d.App -f 0x10200000"
7. No joy :( it fails with Error: Activity class {com.rovio.angrybirds/com.rovio.ka3d.App} does not exist. If the file was physically present instead of symbolic link, this launches Angry birds
Trying to guess where did I go wrong. I am kind of sure that reboot is not required, because without rebooting I can copy the apk back and forth and launch the application. Anyway I don't have boot script modified that could mount the ext2 on boot (though I did by hand later). Wondering if that matters ...
|