[android-developers] Internal code flow for getSystemService() and getService() APIs

2016-11-23 Thread Pritam Nandy
Hi, I have created a System Service and all it's underlying functionalities have been implemented. To test and use it's functionalities I have created a test application. >From the Test Application, when I call getService() with my service name it returns null. I want to know what is the differ

[android-developers] Re: Is it possible to revert back to Honeycomb without rooting the Mototrola Xoom which got upgraded to ICS?

2012-02-22 Thread Pritam
d-App-Development-for/Revert-back-Xoom-to-Honeycomb-without-rooting-which-got-upgraded/m-p/22966#M4870 Also if someone's more interested here is a link for guidelines from official Motorola site but that voids warrenty: http://developer.motorola.com/products/software/ - Pritam On Feb 13, 6:20 pm, M

[android-developers] Is it possible to revert back to Honeycomb without rooting the Mototrola Xoom which got upgraded to ICS?

2012-02-12 Thread Pritam
I upgraded Motorola Xoom to official update of Icecream Sandwich 4.0.3 Now, for some reason I need Honeycomb back on Xoom. How should this be achieved ? I did a Factory reset , but this only went back to 4.0.3 with all apps and settings deleted. I need an official and recommended way which will no

[android-developers] Re: Does icecream sandwich 4.0.3 enforces more restrictions for application developer in threading usage ?

2012-02-08 Thread Pritam
Yes that would help. Thanks. On Feb 8, 10:40 pm, Streets Of Boston wrote: > As long as you don't do any long-lasting operations (network) on the UI > thread, all should be fine. > As long as you don't do any tasks that may include wait-states > (db/file-system/etc) on the UI thread, you won't see

[android-developers] Does icecream sandwich 4.0.3 enforces more restrictions for application developer in threading usage ?

2012-02-07 Thread Pritam
I am working on an application that was designed for tablet (specifically tested well on Motorola Xoom and Samsung Galaxy Tab 10.1). The O.S. which was used was HoneyComb. Recently after updating the O.S. to official Icecream Sandwich 4.0.3, that was received as notification update, I find the app

[android-developers] Re: Can 'Recent' item's bind intent be changed ?

2011-09-18 Thread Pritam
Sep 19, 10:25 am, Zsolt Vasvari wrote: > What would the API be for such a functionality?  Your app is not > running, so the user would have to initiate the change using some UI > paradigm.  Is there such a UI paradigm in Android currently? > > On Sep 19, 12:11 pm

[android-developers] Can 'Recent' item's bind intent be changed ?

2011-09-18 Thread Pritam
Hi All, Can we change the intent that is bind to recent item list that appears on long press of 'Home' button? Or to be precise change the extra in it ? I want to do this for my application only. I had put this question before, http://groups.google.com/group/android-developers/browse_thread/thread/

[android-developers] Re: What is the sorting order on Android Market?

2011-09-17 Thread Pritam
>From what I guess that while publishing the app, you choose a category, and your app will appear in this category. Now it may be too down the list, that is something related to SEO part similar to search engines, and may depend on many factors other than ratings, like number of downloads, active d

[android-developers] getIntent().removeExtra() in Activity doesn't work for android:launchmode=“singleTask”?

2011-09-17 Thread Pritam
0 down vote favorite share [fb] share [tw] I am relaunching my HomeActivity and setting an extra "relaunchstatus" in the Intent. In Activity's onCreate() method I check this value, if present, show some alert. The launchmode for this activity is android:launchmode="singleTask". The issue comes

[android-developers] Re: Nexus S and gingerbread Sensor events — Which sensor uses what hardware ?

2011-03-17 Thread Pritam
> as if there was no gyro available, like on Nexus One or Droid. We are > planing to improve this situation in a future release. > > Currently, the only way to take advantage of the gyro is to use > TYPE_GYROSCOPE and integrate the output by hand. > > I hope this helps, > >

[android-developers] Re: Nexus S and gingerbread Sensor events — Which sensor uses what hardware ?

2011-03-15 Thread Pritam
; while in rest the same device shows: >     0.20430522,0.47671217,9.493382 > > Removing gravity from the acceleration is only one issue. > You also need to take care about noise, orientation and variable > timing. > > On Mar 13, 3:03 am, Pritam wrote: > > > Could

[android-developers] Re: Gyroscope affecting other sensor event types?

2011-03-14 Thread Pritam
I did also expect Linear acceleration sensor event would use gyroscope to give out pure movement acceleration ( without gravity ) on phone's axis. But with actual device I found the readings bad and now saw this message. So still gyro not used in any other sensor events ? I would like to get pure

[android-developers] Nexus S and gingerbread Sensor events — Which sensor uses what hardware ?

2011-03-14 Thread Pritam
Could someone help to know which sensor uses which part of phone's hardware or in what combination of this on Nexus S in android 2.3 ? Following are the sensor events: TYPE_ACCELEROMETER TYPE_GYROSCOPE TYPE_GRAVITY TYPE_LINEAR_ACCELERATION TYPE_ORIENTATION TYPE_ROTATION_VECTOR I assume firs

[android-developers] java.lang.NullPointerException

2009-07-22 Thread Pritam
Hi, I have one Activity, that starts one Service and my service will lunch one Activity, i wanna to stop the Activity which one started my my Service after few seconds. Is there any way to achieve. Has anyone experienced this type of scenario. -- Regards Pritam