×

Discussion Board

Search:

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

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Control application icon location while installation

    Hi All,

    We have different installation mechanisms depending upon the Handset (S60, S40). On S60 after installation icon is created in installation folder. On S40 in Games folder or It gets created...
  2. Re: Ask user permission while doing some process in loop

    Hi Graham,

    Thanks for your reply. As far as i understand, we don't have to set next display object till we take input from user. We need to create modal dialogs by having logic so that display...
  3. Ask user permission while doing some process in loop

    Hi All,

    I wanted to ask user permission while doing a process in loop.


    loop
    ask user permission. (needs UI)
    end loop

    I tried to use alert (type FOREVER) here but it doesnt stops in...
  4. Re: Gauge in Alert for unlimited time without Dismiss Command

    Thanks Tiger,

    It seems we might have to use Canvas or a Form without Commands to achieve this.

    Regards,
    Sandeep
  5. Gauge in Alert for unlimited time without Dismiss Command

    Hi All,

    We can set Gauge in Alert using setIndicator(Gauge gauge). But it gets dismissed after some time automatically. And if I use setTimeout(Alert.FOREVER). I get a dismiss Command. Is it...
  6. Replies
    2
    Views
    2,963

    Re: Maximum Phonebook Capacity

    Hi Sunil,

    Thanks for your reply. Yeah there is items() method for PIMList interface. But it would give us the contacts present in the Contact List. I need to find out how many more contacts the...
  7. Replies
    2
    Views
    2,963

    Maximum Phonebook Capacity

    Hi All,

    Is it possible to get the Maximum Phonebook Capacity through J2ME? For example a Phone may have 1500 Contacts in Phone memory, 250 Contacts in SIM memory. Can we get this programatically?...
  8. Re: Sending File to Server using HttpConnection

    Thanks a lot Graham,

    Now i understand and able to conclude it properly. And yeah surprises are required to bring excitement in life :)

    And if surprises are not getting solved. We have Nokia...
  9. Re: Sending File to Server using HttpConnection

    Hi Graham,

    I dont know but may be my understanding about flush() is incorrect. I just observed following things.


    byte[] data = new byte[4096]
    int count = inputStream.read(data, 0,...
  10. Re: Sending File to Server using HttpConnection

    Hi Graham,

    I have checked on Sun WTK. flush() was working perfectly fine there. But not on S40, S60. I was just experimenting with the flush() to see if that avoids the OutOfMemory or Symbian OS...
  11. Re: DataInputStream not working on S40 but working on S60

    Hi Graham,

    I was just experimenting with the flush() to see if that avoids the OutOfMemory or Symbian OS Error -4. So that i would be able to send a bigger file. I think discussion here is leading...
  12. Re: Sending File to Server using HttpConnection

    Hi,

    As i kept on researching on this issue. I tried different permutations and combinations.

    Server Issue : I thought it may be server issue. tried with JBoss instead of Tomcat. It seems to be...
  13. Re: DataInputStream not working on S40 but working on S60

    Thanks a lot Graham,

    That solves problem as usual :). So its the device implementation also which has to be considered. This device fragmentation is really a challenge in Mobile Development. I...
  14. DataInputStream not working on S40 but working on S60

    Hi All,

    I have encountered strange problem while doing HttpConnection.I am using following snippet to connect to servlet. servlet is returning byte array of file in response.


    ...
  15. Re: Sending File to Server using HttpConnection

    Hi Jitu,



    We would write in chunks like this right


    byte[] buffer = new byte[100 * 1024]; // 100 Kb buffer
    while ((input.read(buffer , 0, buffer.length)) != (-1)) {
    daos.write(buffer);...
  16. Re: Sending File to Server using HttpConnection

    Hi All,

    Tried on S40 6th Edition Simulator as well. Here also os.flush() is just pushing first chunk of data. and without os.flush() it gives OutOfMemory Error.

    Does it behaves similarly on...
  17. Re: Sending File to Server using HttpConnection

    Hi All,

    Tried with Sun Simulator (WTK 2.5.2). There i even tried to send a file of 40MB. It was sucessfully transferred by using os.flush() or even without using os.flush().

    But on S60 3rd...
  18. Re: Sending File to Server using HttpConnection

    Hi All,

    I tried to use flush also.



    while ((input.read(nextByte, 0, 1)) != (-1)) {
    daos.write(nextByte[0]); //daos is outputstream on httpconnection
    daos.flush();
    }
  19. Sending File to Server using HttpConnection

    Hi All,

    I have J2ME Client, Apache Tomcat Server 5.5. I am able to send file from J2ME Client to server upto certain limit. But once that limit crosses, i get OutOfMemory error. I did search on...
  20. Replies
    4
    Views
    6,023

    Re: Sending PIM data over Http Connection

    Hi All,

    Issue got resolved. Just for other's reference. I had to parse the stream back to retrieve multiple contacts from single file.

    Thanks,
    Sandeep
  21. Replies
    10
    Views
    8,694

    Re: PIM Api and fromSerialFormat()

    Hi,

    Issue got resolved. Just for other's reference. I had to use ByteArrayInputStream instead of InputStream. Then bis.available was working fine.

    But i hope i future PIM API is added...
  22. Replies
    10
    Views
    8,694

    Re: PIM Api and fromSerialFormat()

    Hi,

    As per PIM API



    PIMItem[] items = PIM.getInstance().fromSerialFormat(inputStream, "UTF-8");


    This should return mutiple items. But as per documentation it would return first item...
  23. Exporting and Importing Contacts using PIM API

    Hi All,

    I was trying to run the examples given in wiki, Export VCF, Import VCF.

    I tried on S60 3rd Edition FP2 Emulator. But it is not exporting all the contact details from the contact list...
  24. Replies
    4
    Views
    6,023

    Re: Sending PIM data over Http Connection

    Hi Patios,



    As per your quote, you changed your code to


    while (items.hasMoreElements()) {
    Contact contact = (Contact) items.nextElement();
    ...
  25. Re: Using File Connection for Predefined Tones

    Hi All,

    My Mistake, i throwed exception IOException. I was testing on phone, so couldnt see the stacktrace. But later appended the stack trace in form of midlet.

    So do we have only way to catch...
Results 1 to 25 of 121
Page 1 of 5 1 2 3 4
×