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. Anyone success to build emulator for Windows?

Just trying to build out "android-emulator-1.0_r2.tar.bz2" for windows
target with mingw/msys, but failed:(  Error log is as below. Anyone
can help me out? Thanks in advance.
   Host: Winxp sp2 / MingW 5.1.4 / MSYS-1.0.11 / gcc 3.4.5

And it seems no official document about how build android sdk/tools
for Windows. I wonder how Google do that?

==== config.log ====
€./configure: line 39:  3028 Segmentation fault      (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... ./configure: line 2245:  4332
Segmentation fault      (core dumped) ( eval $ac_compile ) 2>&5
configure: error: cannot compute suffix of object files: cannot
compile
See `config.log' for more details.
ERROR: could not build SDL library, please check their sources
€==========================



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

2. What kind of device should Linux udev set up for G1 linked via USB

Because misery loves company...I was never able to get my CentOS box or my
Ubuntu VM to see my Dev phone as anything other than a SCSI storage device
either. :-(  What I ended up doing is developing on my CentOS desktop and
then transferring everything over to my Macbook to get my app on my Dev
phone.

You can try asking in the #android IRC channel on freenode.net.  Supposedly
there are many people from Google who hang out there, although that didn't
help me any.

Let me know if you have any success.






-- 

Faber Fedor
Cloud Computing New Jersey
http://cloudcomputingnj.com

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

3. Unparsed aapt errors (Check the console)

4. CommunicationHistory ContentProvider vs. SortCursor

5. What kind of device should Linux udev set up for G1 linked via USB

6. sensors HAL/single input device for multiple kernel drivers

7. Theme.Dialog for PreferenceScreen child does not work