Changing application description shown in option list when multiple apps can do same job

by Kacee » Fri, 13 May 2011 19:38:27 GMT


Sponsored Links
 Hello there,

I have a viewer app. There are other apps installed on my device as
well doing same job. So when i open a document, android as usual shows
a list of apps that can do that job (which is file open here).

In my app, along with App name, just beneath it, package name gets
displayed. I want to set App description instead of package name. I
tried with
 <application android:description="@string/app_description">

its not working. Where to set this custom string ?

-- 



Re: Changing application description shown in option list when multiple apps can do same job

by Justin Anderson » Fri, 13 May 2011 23:29:43 GMT


 AFAIK you can't...

Thanks,
Justin Anderson
MagouyaWare Developer
 http://sites.google.com/site/magouyaware 






-- 


Sponsored Links


Re: Changing application description shown in option list when multiple apps can do same job

by Dianne Hackborn » Sat, 14 May 2011 00:31:44 GMT


 Yes you can't, this is a security feature to help the user if apps are
trying to spoof other apps.  You should give the activity that is handling
this Intent a more descriptive label so the user better knows what it does.








-- 
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, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 



Re: Changing application description shown in option list when multiple apps can do same job

by Kacee » Fri, 20 May 2011 15:20:56 GMT


 Ok..
But I have seen applications that do not appear with their package
name in the list created by intent (dont know what to call this dialog
box )
That means there is a way to atleast hide package name. Package name
looks bit ugly, I only want to show a meaningful string (eg. app
name ) that makes sense even to a layman.

Is there a way just to show app name or a single string text ?







-- 



Other Threads

1. Use your Machine as ADK with libusb

Hi everyone,

I am really e{*filter*}d about the ADK but do not yet have a USB-Host
Board. If you are like me and want to start testing and programming
over the weekend then you can do this using your computer as
accessory :)

If you are running Linux then you can just use my little piece of C
code to communicate with your Android phone over USB:
 http://www.***.com/ 

I believe it is a handy way to play around with the new libraries and
lets you quickly adapt your source code. I used the C code from the
official Arduino example as a rough guideline for the initial device
setup. You might also use the asynchronous libusb API functions to
enhance the protocol - for the sake of simplicity I only used the
synchronous ones :)

Cheers
Manuel

-- 

2. AVD Emulator Opens Wrong Dpi

Hello,
I have created an AVD virtual device representing the Samsung Vibrant.
I choose all the default settings: Target Android-2.1-update 1 level
7, 16 MB SD, WXVGA, and I accept 240 density and 24 MB heap.

About half the time when I start the virtual device via AVD it comes
up in the wrong density. The icons are too small, etc. I close the
emulator and restart via AVD. I may have to do this two or three times
before it comes up with the right density.

I have deleted and re-created the virtual device in AVD several times.
Each time it works once or twice, then reverts to this mode of coming
up with the wrong density.

What am I doing wrong?

Thanks,
Barry.

-- 

3. Gallery image should navigate with textview

4. Replay monkey execution

5. How to convert dimensions in to dp?

6. [WTI] Gtab upgrade 2.3.3

7. help with new class declaration