Uninstall built-in app

by shaddu » Thu, 05 Mar 2009 22:13:05 GMT


Sponsored Links
 Hello Android,

We are plannig to write a new music application from scratch.
Also we want to uninstall the built-in music application to ensure
only our application resides on the phone. adb ls /data/app command
doesn't list built-in applications. So, I am unable to uninstall the
built in music application without knowing its name. So, I am getting
a feeling like built in applications uninstallation is handled in
different way.

Please provide the full command to uninstall built-in music
application.

Regards,
Shaddu
--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Jean-Baptiste Queru » Thu, 05 Mar 2009 22:18:57 GMT


 That's not possible. If your application responds to the right
intents, the user will be offered a choice when doing an action that
can be handled both by the built-in application and by your
application.

JBQ






-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Uninstall built-in app

by Ludwig » Thu, 05 Mar 2009 22:21:36 GMT


 I do not think you can uninstall system apps (for good reasons).
User applications are installed under /data/app or app-private (which is
writable), while system apps are under /system/app, which is ro.
The way to deal with this is to respond to the same intents: so if you app
is actually better than the system app, a user will make this the default
(after being  offered the choice).
That is better than you deciding that your app is better (you would,
wouldn't you).

HTH
Ludwig

2009/3/5 shaddu <shad...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Al Sutton » Thu, 05 Mar 2009 22:31:16 GMT


 I would suggest you don't even try to uninstall any other applications. 

Your application should not mess with other applications the user has on 
their 'phone. You will most likely see a huge user backlash once they 
discover your app has uninstalled other applications that they chose to 
put on their 'phone.

Al.





-- 

* Written an Android App? - List it at  http://andappstore.com/  *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by grennis » Fri, 06 Mar 2009 00:23:47 GMT


 Wow, this has to be the single worst idea I have ever heard. Are you
planning to re-install the default music player if I uninstall your
app? Let me guess... your app is so great nobody would ever want to
uninstall it... right...




--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Mads Kristiansen » Fri, 06 Mar 2009 00:41:42 GMT


 Do you work for Sony? Might as well throw a rootkit in there along with the
app ;)

Why do you wan't to ensure your player is the only one on the phone? Maybe
there is another solution..

/ Mads





--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Christine » Fri, 06 Mar 2009 00:56:38 GMT


 Great idea!
Uninstall the music app to install your own. Then uninstall the mail
app and install another one. Uninstall the phone app and install
something else entirely. Finally, uninstall Android and install
Windows Mobile. Cool!

Christine




--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Lars » Fri, 06 Mar 2009 05:19:40 GMT


 The built-in applications are located in /system/app. Since /system is
mounted read-only you cannot uninstall them unless you mount this file
system read-write and even then I'm not sure if they can be
uninstalled with adb uninstall... Also, I don't think you can change
to read-write on a real device since you don't have root access.

BR
Lars Brange





--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Shadakshari Hiremath » Fri, 06 Mar 2009 13:05:37 GMT


 Thanks for all the valuable responses. I wasn't aware of the feature
"User will be given a choice when doing an action that can be handled
both by the built-in application and by your application". So, my
approach was to replace built in app. User choice is best approach as
user is going to decide which application he wants to make default.

Continuing on my previous question. Assuming user makes my application
as default.

- Will built in app be able to receive broadcast events related to
call state change, netwrork state change, new SMS arrival, boot
completed etc if it has registered for these? I want to ensure that
both applications don't respond to same unsolicited broadcast events
and lead to confusion to user say by showing two notifications in home
screen. This is just a scenario I am considering.

- How to make the built application default again?

- Will the built in application and my application be informed about
whether it is default application or not? and how?

Regards,
Shaddu





--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Jean-Baptiste Queru » Fri, 06 Mar 2009 22:37:37 GMT


 (1) - yes the other app will still receive broadcasts, expose
providers, services, etc... The choice only happens for calls to
startActivity that hit two or more equivalent activity intent filters.

(2) - in settings / manage applications, preferences can be removed.
Or by uninstalling your application.

(3) - I don't know whether that can be queried in the package manager.

JBQ








-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by shaddu » Fri, 06 Mar 2009 23:10:58 GMT


 hanks JBQ for clarifying the queries.

such as call log, incoming call manager, bluetooth file receiption,
sms application cannot be provided by third party as download and
install applications. If third party app is downloaded by user then
unsolicited broadcast events will result in double notifications,
storage etc. Only solution for this is to remove the code for these
applications at OEM level and replace it with third party application.
These applications cannot appear in android market.

BR,
Shaddu

On Mar 6, 7:36pm, Jean-Baptiste Queru <j...@android.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Dianne Hackborn » Sat, 07 Mar 2009 02:09:38 GMT


 




No.

Also not you are not as a whole being made the "default application," a
specific activity in your app is being made the "default action" for the
activity intent that was being started.  This is a very important
distinction.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by sebastian » Fri, 13 Mar 2009 18:06:06 GMT


 hat if I simply want to uninstall an application that I've installed
and I don't remember it's full package name?

There is a way to list what files are inside data/app/?

On 6 mar, 15:36, Jean-Baptiste Queru <j...@android.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Dianne Hackborn » Sat, 14 Mar 2009 01:08:03 GMT


 n the DevTools app there is a Package Browser applet.

On Fri, Mar 13, 2009 at 3:05 AM, sebastian <sdjua...@gmail.com> wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support. All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Uninstall built-in app

by Dianne Hackborn » Sat, 14 Mar 2009 01:08:20 GMT


 h also "adb shell dumpsys package" will tell you more than you probably
want to know about the installed packages.

On Fri, Mar 13, 2009 at 10:07 AM, Dianne Hackborn <hack...@android.com>wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support. All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. android magnify feature similar to iphone

Hi all,

I am writing a board game and because of the size of the pieces on the
screen, I would like to implement something similar to the iphone.
In the sms or email app on the iphone, when you press a key on the
keyboard, the key is sort of magnify to show the user the key that has
been pressed.
I would like the same feature. when the player touches a piece on the
board, the piece is magnified so that the player knows what has been
selected.
could anybody give me a hand or point me to some examples that are
available?
thanks

--~--~---------~--~----~------------~-------~--~----~

2. WebView and HTTP Post requests

So I'm attempting to connect to the Tumblr Dashboard using an HTTP
Post. The Activity uses a WebView and I do an http post after creating
the webview, but the redirect_to in the HTTP Post doesn't work with
the WebView. I know my post works and isn't throwing errors, however I
need the HTTP Post to work with the webview and am completely lost on
how to.

private void setupWebView() {
        webView = new WebView(this);
        setContentView(webView);
        webView.setWebViewClient(new OverriddenWebClient());
        webView.getSettings().setBuiltInZoomControls(true);
        webView.getSettings().setJavaScriptEnabled(true);
        loginTumblrDashboard.start();
        webView.loadUrl("http://www.tumblr.com/iphone");

}

    private Thread loginTumblrDashboard = new Thread(){
            public void run(){
                    // Create a new HttpClient and Post Header
                    HttpClient httpClient = new DefaultHttpClient();
                    HttpPost httpPost = new 
HttpPost("http://www.tumblr.com/login");

                    try{
                            //add the needed strings to and ArrayList for 
posting to tumblr
                            List<NameValuePair> tumblr = new 
ArrayList<NameValuePair>(3);
                            tumblr.add(new BasicNameValuePair
("email","kaiserollofd...@gmail.com"));
                            tumblr.add(new 
BasicNameValuePair("password","sh1n0b1"));
                            tumblr.add(new 
BasicNameValuePair("redirect_to","/iphone"));
                            //set the HtppPost entity
                            httpPost.setEntity(new 
UrlEncodedFormEntity(tumblr));
                            //execute the post
                            HttpResponse mResponse = 
httpClient.execute(httpPost);
                    }
                    catch(Exception e){
                            e.printStackTrace();
                    }
            }
    };
--~--~---------~--~----~------------~-------~--~----~

3. Scripts are not showing up in the ASE , no option to save and run also

4. GroupMembership : Trouble with cotent provider and a where clause [I am becoming crazy]

5. Quality cell phone and PDA accessories in USA

6. Is there a way to determine which carrier the phone is using?

7. Deadlock in GLSurfaceView