traccar / traccar-client-android

Traccar Client for Android
https://www.traccar.org/client
Apache License 2.0
666 stars 738 forks source link

block update position with autoanswer app in Android 4 #30

Open Seppluss opened 11 years ago

Seppluss commented 11 years ago

Great Application Thank you very match

at 08:00 we start the traccar on android

Log of traccar server

2013-05-13 09:26:02 org.traccar.TrackerEventHandler.processSinglePosition INFO: id: null, deviceId: 5, valid: true, time: Mon May 13 09:24:33 CEST 2013, latitude: 47.34183, longitude: 8.574311666666667, altitude: 0.0, speed: 0.0, course: 0.0, power: null

after i call to mobile phone it become short unblocking

2013-05-13 09:39:34 org.traccar.BasePipelineFactory$StandardLoggingHandler.log FINE: [5005 <- IPPHONE] - (HEX: 24504749442c38363632373 93031303033373937392a30300d0a)

and so on..

tananaev commented 11 years ago

What phone are you using? As far as I know CDMA phones can't have mobile data and voice call at the same time, so Internet is lost every time you make/receive a call.

Another thing is Android can kill background process if it's low on memory.

Seppluss commented 11 years ago

The old phone was a motorola milestone 2 with android 2.34, the new one is a huaweiu8825-1 with android 4.04 . calls are not disturbing the data traffic, and sometimes the data traffic wakes up again after a phonecall.

I try now ver 2.5, all those tnigs happend with ver.2.4.

tananaev commented 11 years ago

To me it seems like statements "calls are not disturbing the data traffic" and "sometimes the data traffic wakes up again after a phonecall" contradict each other.

Seppluss commented 11 years ago

version 2.5 of traccar does same as befor. it blocks running traccar after about 30min till i stop and start the service status or call to this mobile so autoanswer does answer and it will unblocks traccar. I think autoanswer blocks traccar, but i haven't idea why, maybe both use same function and traccar can't handle that so it blocks from that... Maybe some other can do the same with other android device.

tananaev commented 11 years ago

When location updates stop after 30 min what do you see on Status screen?

Seppluss commented 11 years ago

"Connection failed" ONLY with Mobile Internet, with WLAN no break of service. With instamapper runs it with no problems.

Seppluss commented 11 years ago

We have tested Samsung S2 + S3 Android4 OK no break of connection (Uawai 8825-1 and Motorola2) breaks connection after ca. 30min and can only reset by hand off/on traccar or with a phoncall

tananaev commented 11 years ago

What are the version of Android on those devices?