0

I have my object named chair in a folder (Assets). But when i debugged i was able to find that the String variable filepath is null for the following code.

filepath = AssetsManager.getAssetPath(getApplicationContext(), "TutorialInteractiveFurniture/Assets/chair.obj");
Hamid Shatu
  • 9,664
  • 4
  • 30
  • 41
Vishanth
  • 1,320
  • 3
  • 14
  • 26

1 Answers1

0

Metaio resolves the path of your assets folder, so try only "Assets/chair.obj" should work!

J Sanchez
  • 140
  • 8
  • you can create a folder inside Assets, "Assets1" for example and works too! and remember to call it inside the loadContent() method – J Sanchez Apr 28 '14 at 23:29