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 w ww .j a va 2 s . com import java.util.ArrayList; import android.os.Bundle; public class MainActivityFork extends BaseMemoryActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (!setDrawablesAfter) { setContentView(R.layout.activity_main_fork); } } @Override protected Class<?> getNewClass() { return MainActivity.class; } @Override protected ArrayList<Integer> getImageResourceIds() { ArrayList<Integer> ids = new ArrayList<Integer>(); ids.add(R.drawable.landscape); ids.add(R.drawable.cityview); return ids; } }