Hi,
I wish to find out the logical names of some activity pages of some of the stock apps. For example, the Device Administrators page under Settings->Security->Device Administrator, as well as the activity that gets called when an app requests for Device Administrator activation/deactivation.
I think the settings app is com.android.settings, correct me if I'm wrong, but does anyone know how to find out the names for the individual activities?
Thanks.
Related
I want to customize how some apps are invoked by URLs in the browser.
I know I can stop a program becoming the default handler. How do I add it if it doesn't volunteer? I assume there is a master list of URLs, file types and intents (is that the correct technical term) with the valid handlers.
For example I would love to have tapatalk be the default handler for the forum URLs I browse. I would like an app that intercepts URLs for its own website to intercept URLs for its competitor (something the developer would never do).
Any advice on how android handles this internally?
Sent from my PG86100 using Tapatalk
I'm developing a mobile site that links to generic Marketplace search results pages, but I want to avoid adult content as much as possible. The only valid search URL parameters that I can find are "q=<query>" and "q=pub:<publisher_name>". Is there any way to invoke Safe Search? Google's web Marketplace supports it, and the base URL structure is identical to the app's.
I've listed some examples in the URL below. They all work on Google's web site, but only the last example works on both the web site and the Marketplace app.
xyzzy.t15.org
EDIT: The Marketplace app has a setting for content filtering (in four levels, just like Safe Search). Is it possible that the app parses all externally-called URIs and replaces any Safe Search parameters with its own? After all, I shouldn't be able to override the app's settings. This activity would most-likely take place on the client side (it almost has to), so packet sniffing via a WiFi connection may yield some clues.
I have an app that stores the location of the last opened database in it's SharedPreferences, I have no issues working with this inside the main application BUT...
I am trying to create a Home Screen Widget for this app and I need to access that preference some how so that I can open the database from inside the Widget. I have done a lot of google searches and I am coming up with nothing very good. It seems "possible" to do this with createPackageContext() but everything I have read indicates that this is not very secure.
I have the ContentProvider working just fine if I hard code the database location, but since the user can open up multiple files I need a way for them to specify in the app the default file they want opened. I guess maybe the "best" method would be to have them select the file when they enable the widget maybe?
I know that I have seen apps that "seem" to be using the SharedPreferences to store the data and it is shared between the Home Screen Widget and the main app, so how can this be done IF it really can be done?
Anyone have any suggestions or locations that I can do more research on?
Thanks,
-Eric
Not sure where to post this and if the title is an accurate description. Basically I am looking for something like X-Forwarded-For spoofer so it can add custom ip in the http header for browser. There are such plugins for chrome and firefox but can't find anything for android. Anyone knows such thing exist?
Really would like this to evade location restricting websites. Trying to watch a game on my phone. It is blacked out in the state next to me, and that state is where "my ip registers because of how ATT routes mobile data. +1
I'm looking to create a simple app that just populates a list from a url displaying json.
Here's the source from the webpage.
PHP:
$json = array('one', 'two', 'three', 'four');
echo json_encode($json);
Obviously the final webpage will show different data but it will be very similar.
All i want is for the app to load that URL, get the data and populate it into a listactivity.
Nothing i've found so far seems to work. What should I look up to help me achieve this?