Solved

Android sniffer?

Posted on 2013-01-05
2
368 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 108

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Summernote and form validation 10 42
WooCommerce Sort by Date 4 9
JavaScript error 1 33
Calculate days between two dates 7 38
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article discusses how to create an extensible mechanism for linked drop downs.
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 count occurrences of each item in an array.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now