Author Topic: How to use Virtualizer class save memory by storing data on disk  (Read 1727 times)

Offline penprakash

  • byte
  • *
  • Posts: 26
    • View Profile
Hi,

  Could you please explain or give the sample to use the Virtualizer  to store the data on disk. What Context needs to be set in Virtualizer in android?

Thanks & Regards,
Prakash V

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: How to use Virtualizer class save memory by storing data on disk
« Reply #1 on: May 30, 2013, 08:13:38 pm »
The docs for that call already tell you the basics of how to use it for textures. You can assign it to an Object3D as well (it will be used automatically in that case). The context is an instance of android.content.Context which can be obtained from the Activity. I wonder why the JavaDocs don't include this information...i'll add it for the next version.