Close
Advertise Here
Results 1 to 10 of 116

Hybrid View

  1. #1
    OUYA Developer XanXic's Avatar
    Join Date
    Jun 2013
    Location
    IN
    Posts
    432


    Can this unistall apps? I haven't had a chance to try this yet.
    I'm amazing, you probably just haven't realized it yet.
    ►VLC - Nostalgia

  2. #2


    Quote Originally Posted by XanXic View Post
    Can this unistall apps? I haven't had a chance to try this yet.
    You'll have to do that in the advanced system menu of the OUYA. It will take you to the Android settings... from there go to Apps, select the app, and uninstall. Like you'd do on an Android phone if you're familiar.

    I'll have to check into what it would take to add an uninstall feature, I don't recall seeing that in any Android file managers before (though I haven't looked extensively).
    Mupen64Plus AE (N64 Emulator) development team
    FilePwn lead developer

  3. #3
    OUYA Developer XanXic's Avatar
    Join Date
    Jun 2013
    Location
    IN
    Posts
    432


    Quote Originally Posted by littleguy77 View Post
    You'll have to do that in the advanced system menu of the OUYA. It will take you to the Android settings... from there go to Apps, select the app, and uninstall. Like you'd do on an Android phone if you're familiar.

    I'll have to check into what it would take to add an uninstall feature, I don't recall seeing that in any Android file managers before (though I haven't looked extensively).
    ES file explorer can, it has an app manager section.
    I'm amazing, you probably just haven't realized it yet.
    ►VLC - Nostalgia

  4. #4


    Quote Originally Posted by littleguy77 View Post
    I'll have to check into what it would take to add an uninstall feature
    From the code side, something like this should work: (ICS and later, which isn't a problem since this is specifically for the OUYA)

    Code:
    Uri uri = Uri.parse( "package:paulscode.android.mupen64plusae" );
    Intent uninstallIntent = new Intent( Intent.ACTION_UNINSTALL_PACKAGE, uri );
    startActivity( uninstallIntent );
    Also, for getting a list of installed packages, you can use the PackageManager:

    Code:
    PackageManager packageManager = getPackageManager();
    List<ApplicationInfo> packages = packageManager.getInstalledApplications( PackageManager.GET_META_DATA );
    for( ApplicationInfo packageInfo : packages )
    {
        // Do whatever.  For example, package name is in packageInfo.packageName, get launch intent with packageManager.getLaunchIntentForPackage( packageInfo.packageName ), etc.
    }

  5. #5


    paulscode FTW! Thanks man.
    Mupen64Plus AE (N64 Emulator) development team
    FilePwn lead developer

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •