[android-developers] Package Manager API clarification required.....

2012-06-26 Thread Sudeep Sharma
Hi, I am using PackageManager API to disable some component. ComponentName name = new ComponentName(context, className); className == the class object of the class i wanted to disable. This class is my Home category with higher priority than Homescreen app. Now while disabling the class i

Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread Sudeep Sharma
the enabled/disabled state of the component. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 26, 2012 at 5:38 AM, Sudeep Sharma sudeep.andr...@gmail.comwrote: Hi, I am using PackageManager API to disable some component. ComponentName name

Re: [android-developers] Package Manager API clarification required.....

2012-06-26 Thread Sudeep Sharma
No it should not be the case because when you buy a new android phone Google Google Setup Wizard package runs which has a Home category activity(com.google.android.setupwizard/.SetupWizardActivity having higher priority than home screen) which activates the phone, ask for setting up google account

Re: [android-developers] Enforcing clearTop only when launching app from browser

2012-06-26 Thread Sudeep Sharma
i think when u launch it from browser, launch it as new_task and also add intent extra to identify that its launched from browser. once u do this override the onNewIntent method. in this method check for your intent extra and do something like this.. @Override protected void

[android-developers] Re: Loader Manager behaviour problem

2012-03-25 Thread Sudeep Sharma
Sorryit was my mistakethe uri i was registring was not correct.loader and loader manager works perfectly. On 3/22/12, Sudeep Sharma sudeep.andr...@gmail.com wrote: Hi, Please help me on this. I have my own class similar to CursorLoader which extends AsyncTaskLoader. I need

[android-developers] Loader Manager behaviour problem

2012-03-22 Thread Sudeep Sharma
Hi, Please help me on this. I have my own class similar to CursorLoader which extends AsyncTaskLoader. I need to do multiple queries to network so I am using LoaderManager callbacks. I do not use ForceLoadContentObserver in my implementation, instead i use normal ContentObserver. 1. I do

[android-developers] LoaderManager/CursorLoader query.....

2012-02-26 Thread Sudeep Sharma
Hi, When using LoaderManager and Cursor loader, we get the Cursor object in onLoadFinished() callback. Since the content observer is registered with Cursor loader, that cursor will be updated and we get many callbacks for onLoadFinished() This is fine!!! If now after some time the

Re: [android-developers] on tab click get tab number

2012-02-26 Thread Sudeep Sharma
Can you be please be more clear ..i couldn't understand On Sat, Feb 25, 2012 at 11:48 AM, Jagruti Sangani jagruti.sang...@inextrix.com wrote: hello, i want to get which tab i have clicked.i have use the tab onchangelistener but it will give tab number after click on any other tab and

[android-developers] Query on LoaderManager/CursorLoader behaviour

2012-02-25 Thread Sudeep Sharma
Hi, I have a query with respect to list fragment which uses loader manager callbacks and cursor loader. When onLoadFinished is called with cursor, and if i pass this cursor to some background service which uses the information in cursor. While the background service is running and if i

[android-developers] Accessing Shared pref across Applications.

2012-02-14 Thread Sudeep Sharma
Hi Guys, Please can anybody help me on this. I wanted to read a shared preference from a diffrent apk. Currently i tried several options but I am unable to do so. Also i have read in several forums where i found a mix of comments where its posted that it is not at all possible and some

Re: [android-developers] Navigation Tabs converted to Drop down on orientation change in Action bar of ICS.

2012-01-16 Thread Sudeep Sharma
Thanks a lot Mark !! On 1/17/12, Mark Murphy mmur...@commonsware.com wrote: Well, I filed an issue: http://code.google.com/p/android/issues/detail?id=24439 but I suspect that it is the way it is. This feature is semi-documented: Note: In some cases, the Android system will show your action

[android-developers] Navigation Tabs converted to Drop down on orientation change in Action bar of ICS.

2012-01-13 Thread Sudeep Sharma
Hi Guys, I have a query related to Action bar in ICS. As we all know Action bar supports both mode , 1. Navigation Tabs 2. Drop-down Navigation. I have an Activity with Action bar and added Navigation Tabs such that each Tab text is lengthy. (say TAB1, TAB2, TAB3, TAB4. etc...)

[android-developers] Need to ask ask question on Home key action on Emergency-Dialer

2011-12-20 Thread Sudeep Sharma
Hi, Can anyone please help me knowing the reason for this behaviour. The activity which shows the Emergency Dialer (packages/apps/Phone/src/com/android/phone) is EmergencyDialer.java. Now i have a question that if my phone is *not provisioned* (means : Secure.DEVICE_PROVISIONED is set to 0),

[android-developers] Re: Virtual keyboard moves the image upwards

2011-07-03 Thread Sudeep Sharma
adjustResize because when the IME is displayed the user can't scroll around in the window's content. *** Thanks .. On Wed, Jun 29, 2011 at 1:10 AM, Sudeep Sharma sudeep.andr...@gmail.comwrote: Hi

[android-developers] Virtual keyboard moves the image upwards

2011-06-28 Thread Sudeep Sharma
Hi, In the package com.android.setupwizard where the first screen displays the Android Logo and an animated hand arrives, i see one issue there. When you try to open virtual keyboard by long press menu, the Android logo moves up and the image is half cut. I have a similar image and want to

[android-developers] Question on Broadcast receiver with some prioroty set and category set as Home

2011-06-25 Thread Sudeep Sharma
Hi, I have an application set as Home category having higher priority than the normal Home app. This is to show my app first as soon as the phone boots up. I have a broadcast receiver also within my manifest which also has same category home with priority even more than of my activity.

[android-developers] onCreate and onNewIntent sequence

2011-06-22 Thread Sudeep Sharma
Hi, I have two activities A and B activity android:name=.A android:label=@string/A android:launchMode=singleTask android:clearTaskOnLaunch=true android:taskAffinity=.A

Re: [android-developers] Re: setSingleChoiceItems api usage in a dialog

2010-12-14 Thread Sudeep Sharma
...@gmail.com wrote: Try to use this layout (android.R.layout.simple_list_item_single_choice) instead of (android.R.layout.simple_list_item_1). I hope this will help you. Gulfam On Dec 14, 12:03 pm, Sudeep Sharma sudeep.andr...@gmail.com wrote: Hi, I am using the API of Alert Dialog

[android-developers] Trying to change the Search text field of QSB

2010-02-06 Thread Sudeep Sharma
Hi, Can anyone please let me know where is the xml file located for inflating the QSB with Text Search filed(Text View) and the default string Quick Search Box getting displayed in it. I wanted to change some attributes in the text view which gets displayed to enter the text for search. I

[android-developers] activity stack issue :help please

2010-01-21 Thread Sudeep Sharma
Hi, I am seeing an issue regarding Activity stack . Suppose i launch dialler app from Home screen and exit from it. After that i go to Settings---Call Settings--Operator Selection and then press the back key. Instead of seeing the CallSettings activity dialler app is activity is shown.

[android-developers] Re: Restore last viewed Activity

2009-09-20 Thread Sudeep Sharma
I think you can also save the Preferenceor make use of onSaveInstance method to achiev your goal. On Mon, Sep 21, 2009 at 7:12 AM, Mingli Wang rint...@gmail.com wrote: I think you could save some variable in file , and read it in your application's onCreate and start the specific

[android-developers] Re: Text View issue....

2009-09-09 Thread Sudeep Sharma
Hi Mark Murphy, Please let me know the resolution for this.. Thanks in advance for your help. ~Sudeep... On 9/9/09, Sudeep sudeep.andr...@gmail.com wrote: Hi, I have a list view with diffrent widgets(Text View , check box, togglebutton etc). I know in

[android-developers] textview issue....

2009-09-08 Thread Sudeep Sharma
Hi, I have a list view with diffrent widgets(Text View , check box, togglebutton etc). I know in *touch mode* that text view need not be focussed if user touches the text view as this is expected behaviour of Android framework. When i click on the textview, it should show a momentary