How can one load custom (not an image, nor a sound file) resource file from /res within .jar using MIDP 2.0?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m working with MIDP 2.1, but I hope this is in 2.0 too.
Class.getResource(path_to_resource) should give you an InputStream to the file.