Solved

Android sniffer?

Posted on 2013-01-05
2
379 Views
Last Modified: 2013-01-05
I am trying to use HTML5 to play video on browsers and devices, however I'm having trouble getting it to work on Android. I'd like a sniffer that would give Android users the Flash version of the video. The problem is that I have zero idea how to do this. HELP!!
0
Comment
Question by:tekgrl
2 Comments
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 38747637
Make a Google search for "User Agent" and also search the PHP.net web site for the term.  I can't remember for sure, but I am almost certain that you can detect Android with that kind of information.
0
 
LVL 12

Accepted Solution

by:
DarinTCH earned 500 total points
ID: 38747707
are you trying to 'sniff' the traffic and analyze it

try this
http://mobile.tutsplus.com/tutorials/android/analyzing-android-network-traffic/


or are you just trying to determine if the device hitting your app is using android so you can redirect it???

try this code
http://scottrockers.com/blog/resources/simple-code-tricks/how-to-detect-android-and-redirect-to-android-version-website
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question