S
sang park
Hi all, i'm really new to the world of J2ME and have a couple of
questions that I'm hoping someone could help me with.
My first question is about the java.util.Vector class. I noticed that
not all methods are implemented in J2ME. namely add(Object obj). BUt
you can work around this with addElement(Object obj) with little
problems. But my question is how to clear the Vector. The J2SE
version of Vector has a clear() method, but there doesn't seem to be a
corresponding method or alternative. Can someone tell me how to clear
a Vector in J2ME? Also, does anyone know the location of the javadocs
for the J2ME version of the classes?
My next question is about executing other programs. I have urls on
several different screens in my application and would like to know how
to make it so that when clicked on (or a Command action), to open the
device's browser (if it has one) and connect to the url in question.
For instance, my screen may have a url like http://www.nytimes.com, I
would like to open the browser and connect to that url.
any help would be greatly appreciated.
s.park
questions that I'm hoping someone could help me with.
My first question is about the java.util.Vector class. I noticed that
not all methods are implemented in J2ME. namely add(Object obj). BUt
you can work around this with addElement(Object obj) with little
problems. But my question is how to clear the Vector. The J2SE
version of Vector has a clear() method, but there doesn't seem to be a
corresponding method or alternative. Can someone tell me how to clear
a Vector in J2ME? Also, does anyone know the location of the javadocs
for the J2ME version of the classes?
My next question is about executing other programs. I have urls on
several different screens in my application and would like to know how
to make it so that when clicked on (or a Command action), to open the
device's browser (if it has one) and connect to the url in question.
For instance, my screen may have a url like http://www.nytimes.com, I
would like to open the browser and connect to that url.
any help would be greatly appreciated.
s.park