Hi everybody!

This is my first message since I've just joined your mail list. So
first of all hi to everybody.

I am now developing for android and having some issues so I will
directly publish the problem:

I have developed one application which uses the bluetooth and
transfers data through a 3g connection. The problem is that, sometimes
the application just freezes for a while(maybe half an hour, one hour
or just "forever"). I connected the application to the computer and
taken the log from logcat. the moment where the phone seems to be
blocked is here:

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label =
"cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn =
24491

D/MobileDataStateTracker(  133): replacing old mInterfaceName (rmnet0)
with rmnet0 for hipri

D/NetworkLocationProvider(  133): onDataConnectionStateChanged 3

D/MobileDataStateTracker(  133): default Received state= CONNECTED,
old= CONNECTED, reason= (unspecified), apnTypeList= default

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

I/EventLogService(  277): Aggregate from 1304501219994 (log),
1304501219994 (data)

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 1280 lux

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

D/SntpClient(  133): request time failed:
java.net.SocketTimeoutException: Connection timed out

D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label =
"cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn =
24491

D/QCRIL_MSC (   73): "RIL"=>"AMSS" [ label =
"cm_ph_cmd_get_ph_info()"];

D/GsmServiceStateTracker(  231): handlePollStateResult  regplmn =
24491

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 320 lux

E/Sensors (  133): light: 640 lux

E/Sensors (  133): light: 320 lux

E/BluetoothEventLoop.cpp(  133): event_filter: Received signal
org.bluez.Adapter:DeviceFound from /org/bluez/182/hci0

D/BluetoothService(  133): updateDeviceServiceChannelCache(70:F3:95:4B:
12:B2)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

It seems that the E/Sensors(133) referes to the bluetooth that seem to
be "away" for a while and that sending the information it launches a
SocketTimeoutException, but I am checking before sending any data that
the NetworkInfos have some wifi/mobile connection available.

Additionally, the phone sometimes just reboots alone(the program is
running for hours) and stays in the "PIN" request state.

Thank you in advance!

Dhay

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to