[Q] Data capture/tracking - Android Q&A, Help & Troubleshooting

I am a developer with an existing android app. Users have asked for a wifi only mode to avoid roaming charges when traveling. I believe I have set it all up successfully but want to be able to validate that theory..
What I am trying to figure out is if there is an app or other way to trap the data coming out of the app via the cell network (lots of background web service calls). Since I do not own all of the web services, I cannot trap from the server side.
Any ideas? I basically want to turn on a trace like you would do in SQL, and look at what is being transmitted on the phone when wifi is off but cell is on. I don't need the actual packets, just that a call was made to one of my https services. If a call is made in wifi only mode, then I know I didn't get everything.
Thanks.

Not sure if this is exactly what you're looking for but give Network Log a look
https://play.google.com/store/apps/details?id=com.googlecode.networklog

Related

Cell Broadcast Info

Has anyone found a software tool that will show Cell Broadcast Info, as what the average nokia phone will do. Have played around with tracelog, but would ideally like a today plugin that displayed the info.
AFAIK, under Settings -> Phone -> More tab, you can setup the cell broadcast channel you are interested it.
However the annoying thing is, as cell broadcast messages are basically SMSes, pocketpc basically regards them as normal SMS messages, and store them into your Inbox.
And yes, a pluging for Today sounds like a very good idea. :wink:
P.S. I can never get anything out of the TraceLogger... what have you set to make it do/show something?
Pigeon
The thing to which you are refering is an "enhancement" that the networks can make to provide value added features such as news & weather reports. It's use is dependant on whether its been implemented by the network. That cell will just send any info its programmed with to any unit that has the facility switched on/enabled.
I think that Lampard is after Cell ID type stuff. Rest assured that if you follow the instructions in This Thread you can obtain a readout in real-time of your current cell id + some other bits. Its a case of running the tracelogger & then start-up the tracelog viewer after, otherwise it doesn't work, only reporting historical.
I'm afraid I do not know of any other available programs to make use of or display this info.

[Q] Cell Broadcast Info

I get an annoying pop up from my service provider displaying discount on the call depending on the time of day etc. due to cell broadcast info being enabled by default.
Is there any way to turn it off? Use to do it on my old non-smart phones all the time.
I know it was not possible in 1.6, upgraded to 2.1 and still cant find it...am I missing something..surely there must be a way to turn off the cell broadcast info?

Google Talk Blocked...Is it affecting my push Gmail too?

At my new office they have a WiFi network set up for just smartphones. While connected, I can access the internet, use my facebook app, and use many other apps that require the internet.
The problem I am having is I do not receive my push emails (I use the stock Gmail app) while connected to this WiFi network. If I do a manual refresh inside Gmail, it will update fine. But nothing comes through otherwise. Another thing to add is I can't sign on to Talk either while on the WiFi network.
My guess is they have Google Talk blocked which affects push email. I remember the days of the EVO 4G when people were upset at the Talk process running in the background even though Talk was signed out. The reason was the Talk process running had something to do with Gmail push emails. Am I right?
So are there any work arounds to avoid the conflict?
I would just run it on 3G, but there is very bad 3G coverage in the building.
Anyone?...................
RedWingsFan said:
At my new office they have a WiFi network set up for just smartphones. While connected, I can access the internet, use my facebook app, and use many other apps that require the internet.
The problem I am having is I do not receive my push emails (I use the stock Gmail app) while connected to this WiFi network. If I do a manual refresh inside Gmail, it will update fine. But nothing comes through otherwise. Another thing to add is I can't sign on to Talk either while on the WiFi network.
My guess is they have Google Talk blocked which affects push email. I remember the days of the EVO 4G when people were upset at the Talk process running in the background even though Talk was signed out. The reason was the Talk process running had something to do with Gmail push emails. Am I right?
So are there any work arounds to avoid the conflict?
I would just run it on 3G, but there is very bad 3G coverage in the building.
Click to expand...
Click to collapse
My best guess, would be to check out logcat while logged into the Wifi network. I would hope there is some type of error or debugging out put there showing Android isn't able to either authenticate properly due to the way they're filtering traffice or GTalk isn't able to authenticate thus causing Android to not be able to sync. Ideally, Android will output the exact or close to exact url it is uses to authenticate which is being blocked and that'll help you understand the impact from the Wifi network filtering.
those are just some thoughts off the top of my head. hope that helps!
Probably. Mine is at work.
Via My HTC Evo 3D On The Now Network From Sprint.
After looking at the log, I see the Gtalk is trying to use port 5228 which some companies have blocked. It would be nice to be able to switch the port to 443 for Gtalk and/or gmail but I don't think that is possible with our phones.

[Q] Sirius XM permissions WHY?

Why are the following needed for Sirius XM ESPECIALLY the phone dialer?
Is this safe?
This application has access to the following:
Services that cost you money
directly call phone numbers
Allows the application to call phone numbers without your intervention. Malicious applications may cause unexpected calls on your phone bill. Note that this does not allow the application to call emergency numbers.
Your location
coarse (network-based) location
Access coarse location sources such as the cellular network database to determine an approximate device location, where available. Malicious applications can use this to determine approximately where you are.
fine (GPS) location
Access fine location sources such as the Global Positioning System on the device, where available. Malicious applications can use this to determine where you are, and may consume additional battery power.
Network communication
full Internet access
Allows an application to create network sockets.
Phone calls
read phone state and identity
Allows the application to access the phone features of the device. An application with this permission can determine the phone number and serial number of this phone, whether a call is active, the number that call is connected to and the like.
Show all
Network communication
view network state
Allows an application to view the state of all networks
Charlie C
GPS: Make sure you are in the USA (content isn't licensed outside the USA?)
Internet/sockets to stream the media to you
Phone state (Stop playing media when you get a phone call)
I have no clue why it would want to call numbers, maybe you can share what you are listening to via text thats why it wants to send texts?
view network states, so it knows if its connecting via wifi or 3G to varry the quality of the stream?
Goodness knows, it would be nice if devs would tell us why it needs each permission.

Annoying Data Popup Message

Hey everybody,
Does anyone know how to disable annoying popup messages related to Mobil Data while connected to WIFI? Here's the background; I used to be with Verizon and was one of the treasured unlimited data participants until they recently decided to once again screw their most loyal customers with increases on costs. I left VZW and went to Straight Talk utilizing the 4G LTE Verizon network. Before under VZW, I don't remember my wife's phone showing a message that she could not browse the internet, send email, etc, unless connected to data with the exception of using WIFI. Well since switching over to ST, I've created Tasker Profiles which simulate Juice Defender and turn off mobile data as soon as it is connected to our home WIFI. About every two minutes it popups a messages saying the following:
Title Splash:
Mobile data
Message Content:
Unless you use WI-FI, you will no linger be able to use the Internet, Email or other apps that require a data connection.
Turn off the mobile data connection?
I've attached a screenshot of the message.
How can I disable to popup? I'm sure there's a way to do if someone can point me in the right direction.... Thanks
I should also clarify that the popup returns regardless if you select Okay or Cancel. I even enable Data and still returns.
I found this thread which apparently the issue seems to be related to apps that turn off data or turn it on using automation.
http://forum.xda-developers.com/showthread.php?t=2695808

Categories

Resources