×

Discussion Board

Search:

Type: Posts; User: yeliya; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    8,057

    Re: problems with random access to file in j2me

    Hi Pit
    It just says "Unhandled Exception",then the application ends.
    So how could i read the file at the specified offset?
    Thanks!
  2. Replies
    2
    Views
    8,057

    problems with random access to file in j2me

    Hi:
    I want to read the data of a mp4 file in the cell phone just like the RandomAccessFile does,but the DataInputStream can't support this ,I have also tried to read the data into a...
  3. 请教J2ME中对文件进行随机读取的问题

    我要对手机中的mp4文件进行随机读取,可是DataInputStream不支持随机读取,只支持顺序读取,请问怎样才能对文件实现类似于RandomAccessFile的随机读取呢?
    PS:尝试着把文件中的数据读取到一个字节缓存区(ByteArrayInputStream)中,但是好像也不支持对字节区的随机读取。

    急等赐教!
  4. Replies
    1
    Views
    6,932

    线程变量与线程结束问题?

    大家好:
    我想在主线程中显示alert1,同时新建一个线程进行文件操作,文件操作结束后显示alert2,下面是我的代码概要:
    class MyThread extends Thread{
    boolean isStopped=false;
    public void run(){
    while(isStopped){...
  5. Replies
    1
    Views
    4,606

    Thread cannot stop

    HI
    i want to dispaly alert1 in the main thread ,meantime create a new thread to acess a file .when the new thread is finished,display alert2 on the screen.Here is my code:

    class MyThread extends...
  6. Replies
    6
    Views
    9,135

    Re: application fails on s60 devices

    Hello,thanks for your attention.
    My problem has been solved.I reinstalled all the softwares and then the generated jar can be executed on the s60 devices.So i think it's just because i had installed...
  7. Replies
    6
    Views
    9,135

    Re: application fails on s60 devices

    Hello, my IDE is eclipse 3.3,and SDK is S60 3rd Edition FP2 SDK.
    I have tried my application on N95 which was bought in HongKong ,also tried it on 6120c,both failed.
    As to the firmware version,I am...
  8. Replies
    6
    Views
    9,135

    application fails on s60 devices

    HI,
    I have tried some simple midlets such as the HelloWorld,and it works well on the s60 emulator.But when i want to test it on the s60 devices,it can be installed but can't be executed.The...
  9. Replies
    5
    Views
    7,082

    Re: problems about creating files

    Thanks for csbhushan's reply.
    I have changed the code to FileConnection fc=(FileConnection)Connector.open("file:///C:/Data/new.txt");
    But it still throws out an java.lang.SecurityException. So what...
  10. Replies
    5
    Views
    7,082

    problems about creating files

    Hi:
    I want to create a file on the S60 emulator and my IDE is Eclipse 3.2.Here is my code:

    private void createfile()
    {
    try{
    FileConnection...
  11. Replies
    1
    Views
    5,379

    edit video metadata

    Hi,all.
    I am new in java world.Now in my application i want to get a video from the camera then edit the video file metadata using jsr-135 and jsr-234.I want to ask whether the jsr-135 and...
Results 1 to 11 of 11
×