This is not for driving any logic - but for an app to check if the default
standard structure of the UA string in android is still intact or has the
OEM changed (for whatever reason)
-Dan
On Mon, Feb 22, 2010 at 12:23 AM, Bob Kerns r...@acm.org wrote:
This is seriously easy to do, and nobody
dan raaka wrote:
This is not for driving any logic - but for an app to check if the
default standard structure of the UA string in android is still intact
or has the OEM changed (for whatever reason)
I am not sure that will help you, unless you're going to force the user
to visit your internal
yes that is correct, the restriction is mainly on the browser UA string to
have any structure and that is the one that needs some validation for
change.
-Dan
On Sat, Apr 3, 2010 at 2:36 PM, Mark Murphy mmur...@commonsware.com wrote:
dan raaka wrote:
This is not for driving any logic - but
This is seriously easy to do, and nobody needs to get hurt if you're
careful about what port you use, are willing to try a few
alternatives, and shut it down when you're done.
You don't even have to implement HTTP -- all you have to do is LISTEN,
ACCEPT, read the request a line at a time up to
I wanted to the browser ua string.
i am writing an app to programmatically verify the uastring to see if the
oem has changed it from the standard android ua string.
-Dan
On Sat, Feb 20, 2010 at 11:31 PM, Bob Kerns r...@acm.org wrote:
If you're using a WebView, the answer is yes.
WebView
dan raaka wrote:
I wanted to the browser ua string.
i am writing an app to programmatically verify the uastring to see if
the oem has changed it from the standard android ua string.
Step #1: Write a rudimentary HTTP server in Android.
Step #2: Point the browser to your HTTP server's port
If you're using a WebView, the answer is yes.
WebView webview = ...;
WebSettings settings = webview.getSettings();
String uastring = settings.getUserAgentString();
I don't know of a way to ask the Browser application itself -- but if
you're doing this level of stuff, you may be wanting more
7 matches
Mail list logo