Matteo Depasquali
- Forum posts: 1
Dec 15, 2012, 4:07:25 PM via Website
Dec 15, 2012 4:07:25 PM via Website
Hi,
i'm trying to develop a simple android app.
I want to know if an image exist in one of my app folder, but i dont' know what's the root of my app; i tried
File nomeFile = new File("res/drawable-hdpi/imagename.jpg")
File nomeFile = new File("myappanem/res/drawable-hdpi/imagename.jpg")
but it doens't work
Can somebody help me?
i'm trying to develop a simple android app.
I want to know if an image exist in one of my app folder, but i dont' know what's the root of my app; i tried
File nomeFile = new File("res/drawable-hdpi/imagename.jpg")
File nomeFile = new File("myappanem/res/drawable-hdpi/imagename.jpg")
but it doens't work
Can somebody help me?
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.