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. GPS icon stuck. Is GPS in use or not?

Hi,

I am developing application with GPS, but I come into this problem:
when I try to turn off GPS using
LocationManager.removeUpdates(locationListener) and
locationManager.removeProximityAlert(PendingIntent)

I found the GPS icon stuck on the status bar, with three wave lines
frozen.

Is GPS still in use? If GPS is still in use, how can I completely turn
if off?

In my code, I found the following line is problematic:

locationManager.addProximityAlert(latitude, longitude, radius,
expiration, pendingIntent);


Thanks a lot!

-- savio

-- 

2. [WTI] twitter for android version 2.0 sudah tiba

barusan ngecek market ternyata updatean twitter versi 2.0 udaha available,
detailnya liat di market aja yah :)

-- 
===============

3. What does Android do when you click on a widget whose application is not running?

4. Android Kuasai 25% Penjualan Smartphone di Eropa

5. [WTA} Ganti tombol untuk wake up di DHD

6. Marking spam in online market works!

7. Delete Emails programatically