Thanks Hackbod,

I have used *android:excludeFromRecents="true" *in the manifest* *&* *excluded
my activity from currently running apps dialog.


 Thanks a lot,
 Ashutosh


On 10/3/08, hackbod <[EMAIL PROTECTED]> wrote:
>
>
> Removing all intent filters makes the activity non-exported by
> default.  You can change this with android:exported="true" in your
> activity tag.
>
> To not have your activity in recents, use
> android:excludeFromRecents="true".
>
> There is lots of valuable information on how you can set up your
> manifests here:
>
> http://code.google.com/android/devel/bblocks-manifest.html
>
> On Oct 3, 3:21 am, "Ashutosh Tamrakar" <[EMAIL PROTECTED]>
> wrote:
> > Thanks MrSnowflake,
> >
> > Your suggestion works for me. But i only excluded
> > <category android:name="android.intent.category.LAUNCHER" /> from the
> > manifest.xml & not the
> > <action android:name="android.intent.action.MAIN" />, as on removing
> > it causes Security Exception  & the activity is killed.
> >
> ------------------------------------------------------------------------------------------------------------------------------------------------
> > *LogCat*
> > *Uncaught handler: thread main exiting due to uncaught exception
> > *** EXCEPTION IN SYSTEM PROCESS.  System will crash.
> > java.lang.SecurityException: Permission Denial: starting Intent {
> > flags=0x10000000
> >
> comp={com.catalytic.launcbackgroundactivity/com.catalytic.launcbackgroundactivity.LaunchBackgroundActivity}}
> from null (pid=-1, uid=-1) requires null
> >
> > at android.os.Parcel.readException(Parcel.java:1234)
> > at android.os.Parcel.readException(Parcel.java:1222)
> > at
> >
> android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:998)
> > at com.android.commands.am.Am.runStart(Am.java:197)
> > at com.android.commands.am.Am.run(Am.java:73)
> > at com.android.commands.am.Am.main(Am.java:51)
> > at com.android.internal.os.RuntimeInit.finishInit(Native Method)
> > at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:186)
> > at dalvik.system.NativeStart.main(Native Method)
> > Unknown binder error code. 0xfffffff7
> > Crash logging skipped, no checkin service*
> > **
> > *Console*
> > *ActivityManager: Starting: Intent {
> >
> comp={com.catalytic.launcbackgroundactivity/com.catalytic.launcbackgroundactivity.LaunchBackgroundActivity}}
> >
> > ActivityManager: [1]   Killed                  am start -n com....*
> >
> >
> ------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > Further, I am also interested to remove it from the dialog which shows
> all
> > currently running applications,
> > Can it be possible ? (simple long press of home key opens the dialog of
> all
> > running apps).
> >
> > Attached is the snap-shot of app icon for your reference.
> >
> > Thanks,
> > Ashutosh
> >
> > On 10/2/08, MrSnowflake <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > What menu list you mean? The launcher drawer? That's easy: just dont
> > > include this intent-filter:
> > >            <intent-filter>
> > >                <action android:name="android.intent.action.MAIN" />
> > >                <category
> > > android:name="android.intent.category.LAUNCHER" />
> > >            </intent-filter>
> >
> > > On 2 okt, 14:29, Ashutosh <[EMAIL PROTECTED]> wrote:
> > > > Do any one knows how to make an application icon & its label
> invisible
> > > > in menu list ?
> > > > Please suggest.
> >
> > > > Thanks
> > > > Ashutosh
> >
> > --
> > Ashutosh Tamrakar
> > Software Design Engineer, Wireless Division
> > Catalytic Software Ltd, Hyderabad, India.
> > Mail-id: [EMAIL PROTECTED]
> > Off:   +91 8414 233300
> > Mob: +91 98859 87478http://www.aurona.com
> >
> >  AppIcon.JPG
> > 83KViewDownload
> >
>


-- 
Ashutosh Tamrakar
Software Design Engineer, Wireless Division
Catalytic Software Ltd, Hyderabad, India.
Mail-id: [EMAIL PROTECTED]
Off:   +91 8414 233300
Mob: +91 98859 87478
http://www.catalytic.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to