View Single Post
Old 06-01-2009, 11:36 AM   #5 (permalink)
Knows Where the Search Button Is
Join Date: Dec 2008
Model: 8800
Carrier: O2
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts

Originally Posted by bemshaswing View Post
for all bb development, you'll have to conform your code specifically to the RIM API specification
so i cannot use java classes as i would normally do if i was creating a normal java application?

For example, i cannot read a file like this

PHP Code:
FileInputStream fstream = new FileInputStream("IMG_0001.doc");
// Get the object of DataInputStream
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
//Read File Line By Line
while ((strLine br.readLine()) != null) {
// Print the content on the console
System.out.println (strLine);
because BufferedReader is not included in the BB apis?

Last edited by polys : 06-01-2009 at 11:38 AM.
Offline   Reply With Quote