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. Android Rasterizer Class

Hi All,

I would like to understand the use of Rasterizer class provided in
Android. Any code example will be a great help.

Is it possible to extend the Rasterizer, and tell it to use custom
rendering logic for text than the default one?

Regards
Amit






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

2. calloc probelm in Dalvik

Hi all,

I am learning Dalvik by debugging the code. I found some calloc invocations
in allocateAuxStructures() function return NULL. I cound't trace into the
calloc function, so I don't know if memory really runs out or due to other
reasons.

The following is my building environment:
TARGET_PRODUCT=sim
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=true
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=
TARGET_DEVBUILD=false
TARGET_DALVIK_COMPILER=gcc

Does anyone have clue in this?

Many thanks.

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

3. Put WebView and EditText together

4. How to get source code out of a .apk file

5. Support for Javax.comm

6. Building android core for custom hardware

7. Differentia bussiness contacts and personnel contacts