×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Egypt,Cairo
    Posts
    50

    Question the phone is restarting !

    Hi ,
    I wrote j2me app to record voice and push it every 1 second to the server .
    running it over mobile phone ,although i have optimized the application to enahnce performance and memory usage the phone is restarting after a while .
    any idea of the reason behind that ?
    Regards,
    Mohamed Shaheen
    http://m-shaheen.blogspot.com

  2. #2
    Super Contributor
    Join Date
    Apr 2009
    Posts
    572

    Re: the phone is restarting !

    Can You please post the code over here as far as I think its not because of midlet that phone is restarting because midlets based on 2.0 have no such criteria
    Regards,
    Saurabh

  3. #3
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Egypt,Cairo
    Posts
    50

    Exclamation Re: the phone is restarting !

    here is the code
    Code:
    while (!stoprec) {
                    p.realize();
                    // Get the RecordControl, set the record stream,
                    RecordControl rc = (RecordControl) p.getControl("RecordControl");
                       output = new ByteArrayOutputStream();                
                    rc.setRecordStream(output);
                    rc.startRecord();
                     p.start();
                    Thread.sleep(1000);
                    p.stop();
                    rc.commit();
                   //sender is running on separate thread
                    sender.add(output);
                }
    Regards,
    Mohamed Shaheen
    http://m-shaheen.blogspot.com

  4. #4
    Super Contributor
    Join Date
    Apr 2009
    Posts
    572

    Re: the phone is restarting !

    have you tried your midlet in another phone if yes is that one also restarts
    Regards,
    Saurabh

  5. #5
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: the phone is restarting !

    Your code is somehow strange for me...anyway, which device are you talking about?
    Juarez Alvares Barbosa Junior - Brazil

  6. #6
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Egypt,Cairo
    Posts
    50

    Re: the phone is restarting !

    I am using E60
    Regards,
    Mohamed Shaheen
    http://m-shaheen.blogspot.com

Similar Threads

  1. The Nokia 9210i is the shittiest nokia phone ever!
    By awyeah in forum General Development Questions
    Replies: 2
    Last Post: 2007-10-18, 10:31
  2. Any tips - Web services on phone
    By rossmckinnon in forum Symbian
    Replies: 2
    Last Post: 2007-10-15, 13:37
  3. Emulated Nokia phone can not connect to bluegiga WT12 module
    By hwan122 in forum Bluetooth Technology
    Replies: 0
    Last Post: 2007-01-09, 01:05
  4. 7610 Contacts - Formatted Phone Numbers
    By padlon in forum General Development Questions
    Replies: 2
    Last Post: 2004-11-12, 18:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×