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");