[android-developers] textAppearance style not overriding theme

2012-10-04 Thread Goncalo Oliveira
Hi there, I'm having a situation with themes and styles and I don't know if I'm doing the wrong thing, or if I bumped into a bug or a limitation. The scenario is the following I have a Theme that just contains a windowNoTitle style name=Theme.Frotcom parent=android:Theme item

[android-developers] Mobile network idle sockets disconnected

2012-12-14 Thread Goncalo Oliveira
Hi all, Seems that Android is dropping idle sockets when under a mobile network. Usually, no socket is kept alive for more than 7 minutes of inactivity. I am using a SIM card with a particular APN, that allows idle sockets for at least 30 minutes - this was tested using another kind of

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-14 Thread Goncalo Oliveira
could work around this. Im not sure if this solves the problem your having, but just thought id let you know of *a* solution. Im flagging this in case i learn something new :) regards, Fred On 14 December 2012 10:24, Goncalo Oliveira gonc...@minkan.net wrote: Hi all, Seems that Android

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-14 Thread Goncalo Oliveira
connectivity? Can you take a bugreport - the radio log may have some indication of why it's happening. On Fri, Dec 14, 2012 at 2:24 AM, Goncalo Oliveira gonc...@minkan.netwrote: Hi all, Seems that Android is dropping idle sockets when under a mobile network. Usually, no socket is kept

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-14 Thread Goncalo Oliveira
has gone away. Perhaps just before that there may be something explaining why. You may have to contact samsung if you're sure that other devices have longer connection times on the same carrier. On Fri, Dec 14, 2012 at 8:30 AM, Goncalo Oliveira gonc...@minkan.netwrote: Hi Robert, Thanks

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-14 Thread Goncalo Oliveira
: this is not an android issue, but rather it's a samsung issue. I have opened an internal issue to expand CTS to check for this - any device wanting to claim to be an android device would not be allowed to do such a thing in the future. On Fri, Dec 14, 2012 at 10:08 AM, Goncalo Oliveira gonc

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-14 Thread Goncalo Oliveira
TCP On 14 December 2012 19:28, Robert Greenwalt rgreenw...@google.com wrote: Interesting. Maybe it is an android bug! What kind of traffic are you sending? tcp? udp? On Fri, Dec 14, 2012 at 11:23 AM, Goncalo Oliveira gonc...@minkan.netwrote: Got the radio logs... http

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-14 Thread Goncalo Oliveira
Maybe it's some other service that is stalling? The SIM card uses a specific APN that only allows it to connect to our servers. Maybe GTalk service or fota? On 14 December 2012 19:32, Goncalo Oliveira gonc...@minkan.net wrote: TCP On 14 December 2012 19:28, Robert Greenwalt rgreenw

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
and look at the network traffic.. On Fri, Dec 14, 2012 at 11:28 AM, Robert Greenwalt rgreenw...@google.com wrote: Interesting. Maybe it is an android bug! What kind of traffic are you sending? tcp? udp? On Fri, Dec 14, 2012 at 11:23 AM, Goncalo Oliveira gonc...@minkan.netwrote

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
Robert, isn't there any way to override the data stall detector behavior? or at least change the default value? On 17 December 2012 12:02, Goncalo Oliveira gonc...@minkan.net wrote: Thanks again for the feedback Robert. I'm sending a heartbeat package but an answer is given. Though, I'm only

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
, Goncalo Oliveira gonc...@minkan.net wrote: Robert, isn't there any way to override the data stall detector behavior? or at least change the default value? On 17 December 2012 12:02, Goncalo Oliveira gonc...@minkan.net wrote: Thanks again for the feedback Robert. I'm sending a heartbeat package

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
). On Mon, Dec 17, 2012 at 4:22 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, isn't there any way to override the data stall detector behavior? or at least change the default value? On 17 December 2012 12:02, Goncalo Oliveira gonc...@minkan.net wrote: Thanks again for the feedback Robert

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
Fred, I do understand that this is not a standard for most android apps. Therefore, there are a number of scenarios, like Mark pointed out. In this case, the connection is also used for data pushing. Polling would be much simpler, but it does not fit the required scenario. On 17 December 2012

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
17, 2012 at 7:00 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, some more information that might be relevant. As I told you, I was using a sim card that connects through our own APN, that restricts access to our servers. Today I decided to try the same scenario with a different SIM, so I

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
. You also know that GCM (C2DM) have a way of keeping in touch. At this point the main(only?) route to pursue is to look over the GCM libs from google and see how they do it. Best regards, Fred On 17 December 2012 16:49, Goncalo Oliveira gonc...@minkan.net wrote: Fred, I do understand

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
device also (rooted), as in this one I can't get the QTAGUID STATS. Cheers On 17 December 2012 17:24, Robert Greenwalt rgreenw...@google.com wrote: I'll try this here as well and see if I can repro the problem on a rooted device. On Mon, Dec 17, 2012 at 9:20 AM, Goncalo Oliveira gonc

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-17 Thread Goncalo Oliveira
December 2012 17:46, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Kind of a wild guess but... GTalkService? logcat 12-17 17:14:47.212 473 1312 E *GTalkService: connectionClosed: no XMPPConnection - That's strange*! 12-17 17:14:47.220 213 223 E AlarmManagerService

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-18 Thread Goncalo Oliveira
if there's a non-root way to turn off the service, but I'm not hopeful. R On Mon, Dec 17, 2012 at 10:13 AM, Goncalo Oliveira gonc...@minkan.netwrote: Can't get QTAGUID STATS INFO on samsung. On the other device also fails retrieving that info. I'm going to try to get another device. Meanwhile, I

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-20 Thread Goncalo Oliveira
Robert, Any updates on this? Cheers On 18 December 2012 10:06, Goncalo Oliveira gonc...@minkan.net wrote: consider opening up the addre -- Gonçalo Oliveira -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-21 Thread Goncalo Oliveira
this connection reset. The second is to re-eval counting udp packets (I am assuming that's causing part of this problem). I'm sorry you have hit this issue. Robert On Thu, Dec 20, 2012 at 4:30 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, Any updates on this? Cheers On 18

Re: [android-developers] Mobile network idle sockets disconnected

2012-12-21 Thread Goncalo Oliveira
every 20-30 minutes. It also checks for updates whenever the screen comes on. Other than that I think it is dependent on user or network-originating app traffic. R On Fri, Dec 21, 2012 at 2:23 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, Thank you for the explanation. There's just

Re: [android-developers] Mobile network idle sockets disconnected

2013-01-28 Thread Goncalo Oliveira
December 2012 15:55, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thanks again for clarifying. Basically if I open up GCM I'm allowing user to work with gtalk, so I will want to avoid that. Looks like sending the heartbeat every 5 minutes is the only option I have left. Thanks

Re: [android-developers] Mobile network idle sockets disconnected

2013-01-28 Thread Goncalo Oliveira
connection the other apps shouldn't use any data. This would also mean things like the browser won't work. On Mon, Jan 28, 2013 at 3:58 AM, Goncalo Oliveira gonc...@minkan.netwrote: Sorry for reopening this, but I have a consequence behavior with this and was hoping for some insights. As I

Re: [android-developers] Mobile network idle sockets disconnected

2013-01-28 Thread Goncalo Oliveira
:34 AM, Goncalo Oliveira gonc...@minkan.netwrote: Hi Robert, thanks for such a prompt answer. Firstly, it's 3 mb in 3 days, 1mb/day. The DNS resolves the addresses correctly, but the connections will fail. Unfortunately I don't have access to DNS servers, so it's a bit harder to capture

Re: [android-developers] Mobile network idle sockets disconnected

2013-01-29 Thread Goncalo Oliveira
version... Any hints? On 28 January 2013 17:15, Goncalo Oliveira gonc...@minkan.net wrote: Thanks Robert, I really appreciate your help. I'll try as you suggest. On 28 January 2013 16:59, Robert Greenwalt rgreenw...@google.com wrote: I don't think you're making your own builds, so you'll have

Re: [android-developers] Mobile network idle sockets disconnected

2013-01-29 Thread Goncalo Oliveira
logcat on galaxy note drops this 01-29 13:50:03.252: D/ConnectivityService(1865): startUsingNetworkFeature reconnecting to 0: enableMMS 01-29 13:51:03.332: D/ConnectivityService(1865): stopUsingNetworkFeature: teardown net 0: enableMMS On 29 January 2013 13:43, Goncalo Oliveira gonc

Re: [android-developers] Mobile network idle sockets disconnected

2013-01-29 Thread Goncalo Oliveira
Some more information... I tried using another SIM card, using a different APN, and it didn't work on any of the devices. What are the network requirements for this special network feature? On 29 January 2013 13:58, Goncalo Oliveira gonc...@minkan.net wrote: logcat on galaxy note drops

Re: [android-developers] Mobile network idle sockets disconnected

2013-01-31 Thread Goncalo Oliveira
between those two? On Tue, Jan 29, 2013 at 6:45 AM, Goncalo Oliveira gonc...@minkan.netwrote: Some more information... I tried using another SIM card, using a different APN, and it didn't work on any of the devices. What are the network requirements for this special network feature