J
jason
Hello.
I'm coding a simple cell phone application that reads a resource file
as follows:
InputStream is = getClass().getResourceAsStream("help.txt");
I was told,J2ME can read files outside the jar by specifying / before
the file name as follows:
InputStream is = getClass().getResourceAsStream("/help.txt");
Question is, how would I load that text file ouside the jad install of
the jar into most MIDP 1.0 phones? And if possible, where would see
this file from the phones menu in case I wanted to remove it at some
future date, right not my motorola a630 has an App delete feature that
would remove any resource files that came with the jar.
Just in case, I'm building a custom api that would allow clients to
update the jar with their personal data files, but it would be great if
the data and the ap install / load were completely seperate.
Thanks in Advance.
I'm coding a simple cell phone application that reads a resource file
as follows:
InputStream is = getClass().getResourceAsStream("help.txt");
I was told,J2ME can read files outside the jar by specifying / before
the file name as follows:
InputStream is = getClass().getResourceAsStream("/help.txt");
Question is, how would I load that text file ouside the jad install of
the jar into most MIDP 1.0 phones? And if possible, where would see
this file from the phones menu in case I wanted to remove it at some
future date, right not my motorola a630 has an App delete feature that
would remove any resource files that came with the jar.
Just in case, I'm building a custom api that would allow clients to
update the jar with their personal data files, but it would be great if
the data and the ap install / load were completely seperate.
Thanks in Advance.