Can anyone from android help me on this??

On Mon, Feb 22, 2010 at 12:30 PM, Manjunatha M <man...@gmail.com> wrote:

> Hi Dianne et al,
>
> Can any one help me on this??
>
> regards,
> Manju
>
>
> On Thu, Feb 18, 2010 at 10:34 PM, Manjunatha M <man...@gmail.com> wrote:
>
>> Hi,
>>
>> To hide my activity from the list in "Select wallpaper from"
>> I have actually written a BroadcastReceiver which on boot completed, does
>> the following.
>>
>>
>> @Override
>> public void onReceive(Context context, Intent intent) {
>>
>>     ComponentName componentName = new ComponentName(
>>                                 "com.android.manju",
>>                                 "com.android.manju.MyActivity.class");
>>
>>     int component_state = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
>>
>>     if (toEnable) {
>>         component_state = PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
>>
>>     } else {
>>         component_state = PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
>>     }
>>
>>     if (context.getPackageManager().getComponentEnabledSetting(
>>                                 componentName) == component_state)
>>         return;
>>
>>     PackageManager pm = context.getPackageManager();
>>
>>     pm.setComponentEnabledSetting(componentName, component_state,
>>                                 PackageManager.DONT_KILL_APP);
>> }
>>
>>
>> Though the activity is disabled, I could still see my activity in the
>> "Select wallpaper from" menu..
>>
>> Please help on this..
>>
>>
>> On Sun, Feb 14, 2010 at 1:30 AM, Dianne Hackborn <hack...@android.com>wrote:
>>
>>> Use PackageManager.setComponentEnabledSetting() to disable that activity
>>> when you don't want it displayed.
>>>
>>>
>>> On Sat, Feb 13, 2010 at 1:44 AM, Manjunatha M <man...@gmail.com> wrote:
>>>
>>>> yes.. I want that to be configurable. sometimes to show and sometimes
>>>> not to show in the list of "select wallpaper from"
>>>>
>>>>
>>>> On Sat, Feb 13, 2010 at 12:07 PM, venkat ranjit 
>>>> <ranjit0...@gmail.com>wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi manjuntha  ur question  is not clear , tell me clearly,  in my
>>>>> understanding u  want shortcut of ur activity (custom activity).  in
>>>>> wallpaper ,  i want clarity k....
>>>>>
>>>>>
>>>>> Regards,
>>>>> Ranjit....
>>>>>
>>>>> On Sat, Feb 13, 2010 at 10:03 AM, Manjunatha M <man...@gmail.com>wrote:
>>>>>
>>>>>> Hi Folks,
>>>>>>
>>>>>> I want to show my Activity in
>>>>>> HomeScreen->Menu Press->Wallpapers.
>>>>>>
>>>>>> This should be dynamic, so that, for some check this should show, and
>>>>>> otherwise it should not show.
>>>>>>
>>>>>> Could anyone please help on this??
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Manjunatha
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Android Developers" group.
>>>>>> To post to this group, send email to
>>>>>> android-develop...@googlegroups.com
>>>>>> To unsubscribe from this group, send email to
>>>>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>>
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Android Developers" group.
>>>>> To post to this group, send email to
>>>>> android-develop...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Manjunatha
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to
>>>> android-develop...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>>
>>>
>>>
>>>
>>> --
>>> 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.
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-develop...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>>
>> --
>> Regards,
>> Manjunatha
>>
>
>
>
> --
> Regards,
> Manjunatha
>



-- 
Regards,
Manjunatha

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to