0

I am trying to use j2me's IO package but whenever I try to create an object for example

DataInputStream is = null;

It shows me error stating

DataInputStream cannot be resolved into a type

I even tried using InputStream as object but same error shows and when I use connector objects it doesn't show any error

I am using s60 v3 FP2 SDK

Please help me. Thanks!

skaffman
  • 398,947
  • 96
  • 818
  • 769
wenn32
  • 1,256
  • 2
  • 17
  • 26

1 Answers1

0

Make sure you import the DataInputStream.

import java.io.DataInputStream;

If you're using and IDE it should tell you before you try to compile that it can't find DataInputStream, and a good IDE will give you the option to resolve the import for you.

amccormack
  • 13,207
  • 10
  • 38
  • 61