Solved

Android sniffer?

Posted on 2013-01-05
2
388 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to dynamically set the form action using jQuery.
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…

623 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