How to make my libreference-ril.so work in the HTC dream unlock developer phone?

by Weber » Thu, 22 Apr 2010 09:01:49 GMT


Sponsored Links
 i
I have the same problem with Bo
There is codes in reference-ril.c
if ( fd >= 0 && !memcmp( s_device_path, "/dev/ttyS",
9 ) ) {<<<<maybe ttyS should be changed to ttyHS or ...
/* disable echo on serial ports */
struct termios ios;
tcgetattr( fd, &ios );
ios.c_lflag = 0; /* disable ECHO, ICANON, etc...
*/
tcsetattr( fd, TCSANOW, &ios );
}
in fact,I have changed '"ttyS" ,9' to'"ttyUSB,11"'(ttyUSB is my
device file ) ,but it still not work
Could anyone tell me how to do?
Thanks
--Weber
On 49 14 Bo <zhaobo...@gmail.com> wrote:

--



Other Threads

1. parsing xml data

Hi everyone

I am trying to parse some data (wrapped in a String), that has xml
format
following is the code that I am using, with no much succes so far :(



    private void parseXml(String str)
    {
        XMLReader myReader=null;

        System.setProperty
("org.xml.sax.driver","org.xmlpull.v1.sax2.Driver");


         try
         {
           myReader = XMLReaderFactory.createXMLReader();
         }
         catch (SAXException e)
         {
                 Log.i("activity","error  = "+e.toString());
         }


        try
        {
                myReader.parse(str);
        }
        catch (IOException e)
        {
                Log.i("activity","error  = "+e.toString());
        }
        catch (SAXException e)
        {
                Log.i("activity","error  = "+e.toString());
                //it fails here!!!
        }

}

when I do myReader.parse(str), I get the following error:
java.io.FileNotFoundException
I guess is because it's trying to acces a file, but what I am trying
to parse is just some data that I have in the String variable, not a
file...

can anybody tell me what I am doing wrong?


Thanks a lot



--~--~---------~--~----~------------~-------~--~----~

2. missed calls

Hi all,
      I've had a lot of trouble with missed calls on my G1

I returned one unit but the replacement still has the same problem.

I often miss calls (no ring, no sms notification, no voicemail notification)

I'm just sitting here at work with a strong signal.

I've read some suggestion that this may be to do with auto-sync (so I've 
just turned this off now)

Could some applications be blocking calls?

Is this a widespread issue?

Or do I just have another dodgy handset?



-- 

Sean Burlington

www.practicalweb.co.uk


--~--~---------~--~----~------------~-------~--~----~

3. Opening pdf and office file

4. Segmentation fault during building android on ppc

5. Android on older devices

6. How to reduce system memory on the ADP1

7. Mounting non-yaffs2 off NAND