Back to project page memBitmapTest.
The source code is released under:
GNU General Public License
If you think the Android project memBitmapTest listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.membmptest; /*from ww w . j a va 2 s. com*/ import java.util.ArrayList; import android.os.Bundle; public class MainActivity extends BaseMemoryActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (!setDrawablesAfter) { setContentView(R.layout.activity_main); } } @Override protected Class<?> getNewClass() { return MainActivityFork.class; } @Override protected ArrayList<Integer> getImageResourceIds() { ArrayList<Integer> ids = new ArrayList<Integer>(); ids.add(R.drawable.car); ids.add(R.drawable.assasins); return ids; } }