LG KU990 Viewty RMS record truncation

I have a String (85 chars in length) which I convert to a byte[] and store in the rms.
The problem I'm having with the LG KU990 Viewty device is that when I call getRecord for it, it comes back truncated (first 23 chars only) with the last three chars unprintable/unrecognisable.
Has anyone else experienced this or know what the solution could be? (Not had this with any other device.)
Cheers,
James

There is a RMS bug on LG KU990.
The solution I�ve found is to write RecordStore with all records again before read any data from RMS.
It�s recomended that you make a pause after writing each record to leave time to your phone to record each record.
Edited by: SkyNet800 on Aug 1, 2008 2:10 AM

Similar Messages

  • GetSnapshot VideoControl problem with LG KU990 Viewty

    Hi guys,
    I got problem when I try to capture image form camera with MMAPI on LG KU990 Viewty. It works fine with the poor quality image (take snap shot at night or dark background). The device will hang and auto restart if I capture picture with higher quality (take snap shot from colorful background).
    Could anyone can hint me where I can find this bug? What can cause this error?
    I know exactly the problem happens at the as line below
    byte[] raw = videoControl.getSnapshot("encoding=jpeg");
    I also try to query the size image getSnapshot("encoding=jpeg"&width=160&height=120) but it still hang my device.
    Thank you in advance

    I also have the same problem. Someone found the solution?

  • RMS Record Size in Motorola Emulator

    The RMS Record size in Motorola Emulator is only 1 KB...
    But I need to increase it since I am going to store video in RMS for testing.
    So is there any way to change the record size in this Motorola Emulator...
    Please reply...

    if it's working like sun wtk, it could be in the <WTK_FOLDER>/appdb/ ...

  • Connecting LG KU990 Viewty to internet via bluetooth

    My KU990 Viewty doesn't have the wireless feature of the iPod Touch or iPhone.
    Using the built in browser or Opera Mini works over g3 but that's slow and expensive and should not be necessary when I am at home where I have a broadband connection.
    So does anyone know how to set up the phone to share my internet connection via bluetooth, from my X-Modem, AirPort Extreme or iMac?
    If you know, please explain the steps for me in a terms a dummy can follow!
    Thanks guys.

    I am afraid the long and short of it is you can't share your wireless connection with your Viewty. The phone doesn't have any Wi-Fi capability. You can use bluetooth to share data with your computer but you can't internet share over bluetooth with a mobile phone. In effect it would be pointless seeing you would have to be in fairly close proximity with your computer anyway.

  • Records truncating (formatting problem)

    Hello all,
    I am writing a script wherein a SQL generates another SQL.
    Lets say that we have a varchar2(2000) column with around 1500 characters in each record. When I try to write a script it only returns the first few characters of it and doesnt print the remaining data in the record.
    Example
    insert into baba values(353521,'200410',1,1,18-JUL-
    03,'ELOPEZ5','Y','Y' ,,'Have
    insert into baba values(353521,'200410',1,2,18-JUL-03,'ELOPEZ5','Y','Y','Give
    It truncates the remaining part of the inserts statements. I guess this is a formatting problem. I set the linesize to 999 and it didnt solve my problem.Please let me know what else I can do.
    Thanks,
    Dola

    Hello Garcia,
    Thanks a lot for your response. I tried putting line feed as you suggested and this didn't work too. This time
    it didn't even give that coulmn
    insert into baba
    values(
    353521,'
    200410',
    1,
    1,
    18-JUL-03,'
    ELOPEZ5','
    Y','
    Y'
    insert into baba
    values(
    353521,'
    200410',
    1,
    2,
    18-JUL-03,'
    ELOPEZ5','
    Y','
    Y
    Any help will be deeply appreciated.
    Thanks

  • Record truncation in new line in applcation server

    I am downloading file in Application server but some of records are truncating in new line in production server but in Qulaity replicating same issue, its not truncating.
    Please suggest!!
    Thanks..

    I think you have session linesize problem use
    SQL>SET linesize 150
    At sql
    Then run the query again
    Khurram

  • J2ME - RMS - Record Enumeration - compilation problem

    Hi,
    Im trying to create RMS with Record Enumeration. Able to open a recordstore & write a record in it; while reading the record with record enumeration, im assigning the recordstore object to enumeration. Here compilation problem occurs. Im attaching the code which im working. Please help me to solve this issue.
    import javax.microedition.midlet.*;
    import javax.microedition.rms.*;
    import javax.microedition.lcdui.*;
    import java.io.*;
    public class RecordEnumeration extends MIDlet implements CommandListener
         private Display display;
         private Alert alert;
         private Form form;
         private Command cmdOpen, cmdWrite, cmdRead, cmdClose, cmdDelete, cmdExit;
         private RecordStore rs = null;
         private RecordEnumeration re = null;
         public RecordEnumeration()
              display = Display.getDisplay(this);
              cmdOpen = new Command("Open", Command.SCREEN, 1);
              cmdWrite = new Command("Write", Command.SCREEN, 1);
              cmdRead = new Command("Read", Command.SCREEN, 1);
              cmdClose = new Command("Close", Command.SCREEN, 1);
              cmdDelete = new Command("Delete", Command.SCREEN, 1);
              cmdExit = new Command("Exit", Command.SCREEN, 1);
              form = new Form("RecordEnumeration");
              form.addCommand(cmdOpen);
              form.addCommand(cmdWrite);
              form.addCommand(cmdRead);
              form.addCommand(cmdClose);
              form.addCommand(cmdDelete);
              form.addCommand(cmdExit);
              form.setCommandListener(this);
         public void startApp()
              display.setCurrent(form);
         public void pauseApp()
         public void destroyApp(boolean unconditional)
         public void commandAction(Command cmd, Displayable displayable)
              if(cmd == cmdExit)
                   destroyApp(true);
                   notifyDestroyed();
              else if(cmd == cmdOpen)
                   try
                        rs = RecordStore.openRecordStore("RecordEnumeration", true);
                        System.out.println("Opening Record");
                   catch(Exception err)
                        alert = new Alert("Err Opening", err.toString(), null, AlertType.WARNING);
                        alert.setTimeout(Alert.FOREVER);
                        display.setCurrent(alert);
              else if(cmd == cmdWrite)
                   try
                        String StringOutput[] = {"First Record", "Second Record", "Third Record"};
                        for (int x = 0; x < 3; x++)
                             byte[] byteOutputData = StringOutput[x].getBytes();
                             rs.addRecord(byteOutputData, 0, byteOutputData.length);
                             System.out.println("Record "+ x +" Added");
                   catch (Exception err)
                        alert = new Alert("Err Writing", err.toString(), null, AlertType.WARNING);
                        alert.setTimeout(Alert.FOREVER);
                        display.setCurrent(alert);
              else if(cmd == cmdRead)
                   try
                        StringBuffer buffer = new StringBuffer();
                        re = rs.enumerateRecords (null, null, false);
                        while (re.hasNextElement())
                             buffer.append(new String(re.nextRecord()));
                             buffer.append("\n");
                        alert = new Alert("Enumeration", buffer.toString(), null, AlertType.WARNING);
                        alert.setTimeout(Alert.FOREVER);
                        display.setCurrent(alert);
                        System.out.println("Reading");
                   catch(Exception err)
                        alert = new Alert("Err Reading", err.toString(), null, AlertType.WARNING);
                        alert.setTimeout(Alert.FOREVER);
                        display.setCurrent(alert);
              else if(cmd == cmdClose)
                   try
                        rs.closeRecordStore();
                        System.out.println("Closed");
                   catch(Exception err)
                        alert = new Alert("Err Closing", err.toString(), null, AlertType.WARNING);
                        alert.setTimeout(Alert.FOREVER);
                        display.setCurrent(alert);
              else if(cmd == cmdDelete)
                   try
                        RecordStore.deleteRecordStore("RecordEnumeration");
                        re.destroy();
                        System.out.println("Deleted");
                   catch(Exception err)
                        alert = new Alert("Err Deleting", err.toString(), null, AlertType.WARNING);
                        alert.setTimeout(Alert.FOREVER);
                        display.setCurrent(alert);
    These are the error which im getting while compiling in WTK.
    C:\WTK2.5.1\apps\WritingMixedData\src\RecordEnumeration.java:60: incompatible types
    found : javax.microedition.rms.RecordEnumeration
    required: RecordEnumeration
                        RecordEnumeration re = rs.enumerateRecords(null,null,false);
                        ^
    C:\WTK2.5.1\apps\WritingMixedData\src\RecordEnumeration.java:99: cannot find symbol
    symbol : method hasNextElement()
    location: class RecordEnumeration
                        while (re.hasNextElement())
                        ^
    C:\WTK2.5.1\apps\WritingMixedData\src\RecordEnumeration.java:101: cannot find symbol
    symbol : method nextRecord()
    location: class RecordEnumeration
                             buffer.append(new String(re.nextRecord()));
                             ^
    C:\WTK2.5.1\apps\WritingMixedData\src\RecordEnumeration.java:136: cannot find symbol
    symbol : method destroy()
    location: class RecordEnumeration
                        re.destroy();
                        ^
    4 errors
    Advices are welcome. Thanks in advance.
    -Singu

    Hi Guys,
    J2ME TECHNOLOGIES
    I created a record store and inserted record date "random" into it using the following code.
    RecordStore rs = null;
    try {
    rs = RecordStore.openRecordStore( "myrs",true);
    //rs = RecordStore.openRecordStore( "myrs",false );
    rs.setMode(1,true);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    DataOutputStream dos = new DataOutputStream(baos);
    try{dos.writeUTF("random");}catch(Exception e){}
    byte[] b = baos.toByteArray();
    rs.addRecord(b, 0, b.length);
    }catch(Exception e){}
    I executed this MIDLET TO INSERT.
    I closed the application and tried to look for the physical db file inside my application folder where i couldnt find it.
    Then i tried to read the data from RECORD STORE myrs using the the same MIDlet by editing the aboe code as follows
    RecordStore rs = null;
    try {
    rs = RecordStore.openRecordStore( "myrs",false);
    byte[] recData = new byte[10];
    ByteArrayInputStream bais = new ByteArrayInputStream(recData);
    DataInputStream dis = new
    DataInputStream(bais);
    rs.getRecord(1, recData, 0);
    try{System.out.println("UTF: " + dis.readUTF());}catch(Exception e){}
    System.out.println("--------------------");
    } catch( RecordStoreException e ){// couldn't open it or create it
    System.out.println("data base creation error"+e);
    But when i executed it the error occured
    microedition.rms.RecordStoreNotFoundException: cannot find record store file
    My question in my first code ive created the data store and inserted the values into my recordstore myrs
    Then when i edit the code for creation into reading from the record store why the error occurs.Does the Midlet store the record store Temporarirly ONLY till the MIDLET LIFECYCLE.
    IF SO what is the method and code to store the RECORD STORE PERMANENTLLY EVEN AFTER THE MIDLET EXECUTION QUITS.
    ///////////////////////kARTHEE

  • Using Skype to go with LG Ku990 Viewty

    As the Ku990 is not a smart phone i can't use an app, so I got myself a skype to go number but when i try to use it the recorded message tells me to dial the country code followed by local number and finally the £ key. The £ key is under the star key, it doesn't scroll through if held down, you can only access it by hitting the star key a number of times, this causes the recorded voice to tell me that it doesn't recognise the input and disconnects. Help !!! I need to call thailand when I am at work as when I am finished and back home on my computer it is too late.
    Solved!
    Go to Solution.

    Happyrocks wrote:
    and finally the £ key.
    Do you mean the "pound key"?
    The pound key has the international symbol "#". It has nothing to do with a British currency symbol.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • How to remove all records(Truncate) In SalesForce Object before load data in to it ?

    I'm loading data from Oracle to SalesForce staging object.Here i have to remove all the records in SFDC object before load data. Please guide me ,My work struck due to this

    I'm loading data from Oracle to SalesForce staging object.Here i have to remove all the records in SFDC object before load data. Please guide me ,My work struck due to this

  • Dispute Case attachments: CMS, DMS, RMS, ArchiveLink... Confused!

    Hi,
    We're starting to implement SAP Collections & Dispute Mgmt. One of the things that excited our business users on the SAP solution was the ability to attach unlimited (word, pdf, jpg, email, etc) files directly to the Dispute case. However, we have a large volume of disputes and estimate to wish to attach an annual total of ~500,000 files, ~200Gb directly to Dispute cases.
    But I'm confused as to the options we have in doing this and the potential pros/cons related to those options. From the documentation I have found, I see references to SAP DMS (Document Management System), SAP CMS (Content Management System), SAP RMS (Records Management System), SAP ArchiveLink, and also SAP integration "3rd party DMS solutions" (whatever those are...)
    Is SAP CMS & SAP RMS the same thing?
    Has anyone implemented a 3rd party DMS solution? If so, what were the benefits of this over the SAP solutions?
    Has anyone else implemented Disputes with a large volume of attachements?
    Many thanks in advance for those of you with knowledge & experience in this area,
    JJ
    Edited by: James Parkes on Oct 18, 2011 4:13 AM

    Hi,
    DisP.Mgt uses RMS as base so when you link objects in UDM_DISPUTE then you already using RMS. Archivelink & CMS are connected to RMS so if you create an archivelink document in UDM_DISPUTE, you would be creating an archivelink document in ARL already.CMS is in the base for managing content. This is done for all RMS objects & would already be set up. What is means is that if you store say a archivelink documetn then meta data is stored in sap DB but content sits in content server. This content server can be SAP own or 3rd-party. Same goes for RMS objects like cases, records, editable documents.
    Best Regards,
    Pragya

  • Help needed in RMS Persistent Storage

    I used RMS record store to insert and retrieve records from and to a byte array ( I followed a tutorial example program), using ByteArrayInputStream , ByteArrayOutputStream classes.
    I want to store it permanently in a persistent storage.
    So, what should I do .?
    Please help me in this regard.
    Thank you.

    Thank for your response.
    But, I'm not clear.
    I was able to store records in a byte array stream and retireve it.
    So, I had to store and retireve the records from the same MIdlet.
    What if i closed the Midlet application and I want to retrieve the data at a later stage.( Like in desktops, data are stored in files in the filesystem, I want to know the filesystem in which my data wil be permanently stored.
    I'm using NetBeans 6.0 IDE
    I created a MIDlet.
    Please help.

  • Unable to bluetooth from my mobile to my macbook pro

    Im trying to send a picture, it finds the macbook fine, syncs up ok, ask me to choose a key, I choose my usual 4 digit number and click continue, the macbook asks for me to enter the pin, it thinks then says its paired properly, my phone however say it was unable to send the file... I have no other machine to test with. my phone is the LG ku990 (viewty)
    i did try searching for help but couldnt find anything.
    any thoughts?
    thanks
    Matty Gilbert

    Er, yes, it is related as you need to allow the computer to accept files, by turning on Bluetooth Sharing.
    *System Preferences > Sharing > Bluetooth Sharing*
    then click the checkbox to activate it. Did you even try it?

  • Using sqlldr when source data column is 4000 chars

    I'm trying to load some data using sqlldr.
    The table looks like this:
    col1 number(10) primary key
    col2 varchar2(100)
    col3 varchar2(4000)
    col4 varchar2(10)
    col5 varchar2(1)
    ... and some more columns ...
    For current purposes, I only need to load columns col1 through col3. The other columns will be NULL.
    The source text data looks like this (tab-delimited) ...
    col1-text<<<TAB>>>col2-text<<<TAB>>>col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    END-OF-RECORD
    There's nothing special about the source data for col1 and col2.
    But the data for col3 is (usually) much longer than 4000 chars, so I just need to truncate it to fit varchar2(4000), right?
    The control file looks like this ...
    LOAD DATA
    INFILE 'load.dat' "str 'END-OF-RECORD'"
    TRUNCATE
    INTO TABLE my_table
    FIELDS TERMINATED BY "\t"
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    col1 "trim(:col1)",
    col2 "trim(:col2)",
    col3 char(10000) "substr(:col3,1,4000)"
    I made the column 3 specification char(10000) to allow sqlldr to read text longer than 4000 chars.
    And the subsequent directive is meant to truncate it to 4000 chars (to fit in the table column).
    But I get this error ...
    Record 1: Rejected - Error on table COL3.
    ORA-01461: can bind a LONG value only for insert into a LONG column
    The only solution I found was ugly.
    I changed the control file to this ...
    col3 char(4000) "substr(:col3,1,4000)"
    And then I hand-edited (truncated) the source data for column 3 to be shorter than 4000 chars.
    Painful and tedious!
    Is there a way around this difficulty?
    Note: I cannot use a CLOB for col3. There's no option to change the app, so col3 must remain varchar2(4000).

    You can load the data into a staging table with a clob column, then insert into your target table using substr, as demonstated below. I have truncated the data display to save space.
    -- load.dat:
    1     col2-text     col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    XYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    END-OF-RECORD-- test.ctl:
    LOAD DATA
    INFILE 'load.dat' "str 'END-OF-RECORD'"
    TRUNCATE
    INTO TABLE staging
    FIELDS TERMINATED BY X'09'
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    col1 "trim(:col1)",
    col2 "trim(:col2)",
    col3 char(10000)
    SCOTT@orcl_11gR2> create table staging
      2    (col1 varchar2(10),
      3       col2 varchar2(100),
      4       col3 clob)
      5  /
    Table created.
    SCOTT@orcl_11gR2> host sqlldr scott/tiger control=test.ctl log=test.log
    SCOTT@orcl_11gR2> select * from staging
      2  /
    COL1
    COL2
    COL3
    1
    col2-text
    col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    XYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    1 row selected.
    SCOTT@orcl_11gR2> create table my_table
      2    (col1 varchar2(10) primary key,
      3       col2 varchar2(100),
      4       col3 varchar2(4000),
      5       col4 varchar2(10),
      6       col5 varchar2(1))
      7  /
    Table created.
    SCOTT@orcl_11gR2> insert into my_table (col1, col2, col3)
      2  select col1, col2, substr (col3, 1, 4000) from staging
      3  /
    1 row created.
    SCOTT@orcl_11gR2> select * from my_table
      2  /
    COL1
    COL2
    COL3
    COL4       C
    1
    col2-text
    col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    more-col3-text
    XYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    1 row selected.

  • Help for a MOBILE application...

    Hello friends,
    I am working on a mobile application that would be similar to dictionary. We need to store words in form of database. User would have to type a word to get all related stuff stored in database.
    I am unable to figure out what technologies to use for developing this. Can anybody please help with some suggestions of how to approach this application. Also how to store database. I am a bit aware that we would have to use Java ME. but what part of it should we explore???
    Thanks...

    Hi
    I'm not some J2ME specialist but i think i can help you :)
    If I have undestood you correctly, you want to have a database in your MIDlet, that has some Objects inside.
    What I would suggest you to do:
    User would have to type a word to get all related stuff stored in database.You can create that in two ways:
    1. By using TextBox. In this way the TextBox will be the only visible Object on the screen.
    2. By Using TextField and Form. This way you can put many visible Objects into Form and make the Form visible.
    I think this sums the VIEW content. Now few words about database
    We need to store words in form of database.You have to use RMS (record management system)
    Some links:
    http://developers.sun.com/mobility/midp/articles/databaserms/ (in this tutorial you can find everything, from what is RMS, how to add, delete data, also i recomend you to read the CustomData types mapping into byte[])
    For further notice. If you want to store some complex Objects like:
    class SomethingX
    SomethingY somethingY;
    SomethingZ somethingZ;
    String someString;
    int someInt;
    }I would recomend you to create a group of methods that return fields from thoose objects as String. Then in a method that converts the "main" Object to byte[], you just simply execute those methods. By doing so you can create a byte[] from complex Object and Object from a byte[] very easily.
    Hope i could help :)

  • Can i create a file in Mobile Device?

    Hello Guyz,
    I need a small help over here..I need to know wheather i can create or is there any provision to create a file or a folder using J2ME tool kit in a mobile device...
    The file is of small capacity only..
    Thank You
    Regds,
    Gokul

    Hi Gokul,
    JSR-75 introduced the FileConnection API. The FileConnection API can be used for opening, creating, deleting and accessing files. It can also be used for creating directories and retrieving the free diskspace.
    However, to be able to use the FileConnection API, you must be sure that your device and your emulation environment supports JSR-75.
    Otherwise, you're not able to create files or folders on a certain disk or within a certain directory. Then, you can only use manufacturer specific API calls or try using RMS (record management system) for storing byte information in a MIDlet suite. RMS is frequently used for maintaining highscores or saving certain program settings.
    Cheers for now,
    Jasper

Maybe you are looking for