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. C2DM debugging

Hi,

I have set up a project to use C2DM and am having trouble getting the 
registration process working.  I have the project debugging on the emulator so 
I can run Wireshark on my development computer to see the packets. It appears 
there is traffic between the emulator and Google's servers, but I can't tell 
what is coming back (it's all in https).

I think I have the manifest set up correctly for the BroadcastReceiver although 
I am not seeing anything come through (I have breakpoints in the 
BroadcastReceiver).

I have the service configured:
        <service android:name=".XXC2DMBroadcastReceiver" /> 


and the permissions and receiver:
        <permission
                android:name="xxx.permission.C2D_MESSAGE"
                android:protectionLevel="signature" />
        <uses-permission
                android:name="xxx.permission.C2D_MESSAGE" />

        <!-- This app has permission to register and receive message -->
        <uses-permission 
android:name="com.google.android.c2dm.permission.RECEIVE" />

        <!-- Send the registration id to the server -->
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.WAKE_LOCK"/>

        <!--
                Only C2DM servers can send messages for the app. If permission 
is not
                set - any other app can generate it
        -->
        <receiver android:name="com.google.android.c2dm.C2DMBroadcastReceiver"
                android:permission="com.google.android.c2dm.permission.SEND">
                <!-- Receive the actual message -->
                <intent-filter>
                        <action 
android:name="com.google.android.c2dm.intent.RECEIVE" />
                        <category android:name="xxx" />
                </intent-filter>
                <!-- Receive the registration id -->
                <intent-filter>
                        <action 
android:name="com.google.android.c2dm.intent.REGISTRATION" />
                        <category android:name="xxx" />
                </intent-filter>
        </receiver>

        <uses-sdk android:minSdkVersion="8" />



As an aside I have set up the account with Google for the service and have an 
Auth key.

Does anyone have any tips as to what I might be able to do, to see where I 
might be going wrong (or maybe can see what I've done wrong in the manifest)?

Regards,
Julius.

-- 

2. need help with softkeyboard development

Hello,

I have two android related needs:

1. I am trying to create a soft keyboard for android. I need someone
to help me create the template for it: the service, the touch event
capturing and sending of characters and sensing of the text buffer.
Based on google's published document this seems to be standard stuff,
for someone familiar with the platform. I will fill in the logic for
the keyboard myself. So this is not a huge job, but a few hours of
consulting dollars.

2. We are two programmers, trying to learn android. We are looking for
a tutor of sort, whom we can pay hourly and talk to or skype with 2-3
hours a week. again, not a huge job, but a little money on the side.

If you feel up to it, please contact me.
sa...@exideas.com

-- 

3. changing an image in a layout

4. Eliminate the browsers stop button idea

5. ADT plugin layout editor - additional device configurations?

6. Copying 1 drawable to SD

7. flashing element in ArrayAdapter