Using adb:

adb shell wm size 640x480
adb shell wm density 160

Reset to defaults:

adb shell wm size reset
adb shell wm density reset


Problem


My assets folder is named "sounds" and if I run

 Resources res = context.getResources();  
 AssetManager am = res.getAssets();  
 for (String val : am.list("sounds")) {  
    Log.d("Test", val);  
 }  

Output:

 sound1.mp3  
 sound2.mp3  
 bootanim0.raw  
 bootanim1.raw  

Solution

Change assets folder to one that can not be equal to some Android System, and how?
Maybe... use a prefix before and more context to the name and.. SOLVED.

For some reason if you have the same as an Android System assets folder it will take both file contents. Why? I don't know :).
Powered by Blogger.