Solved

Android sniffer?

Posted on 2013-01-05
2
382 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 110

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

685 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