Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been thinking a lot about this, and came to a point that since the silent install requires the user to give his google id, it might fix a notification against that google id, to let the device associated with that id know that an application installation has to be done, and it has to start download of a particular app from the market. So that, when the device syncs the google id, it knows that it has to do some installation.

Since the device keeps polling the server for sync quite frequently, thus it knows about the installation almost instantly. In other words, the delays are negligible.

On the other note, I also thought that C2DM might have been used to do this, but since my personal device uses 2.1 and C2DM is available to devices having 2.2+, the possibility of use of C2DM is quite less.

Can anyone explain how it is being done? Am I correct with my thoughts?


I disabled Syncs in my phone and tried to install using Silent Install, and nothing happened. this way, I am coming closer to realise that my first opinion is correct.

share|improve this question

migrated from Feb 17 '11 at 15:03

This question came from our site for professional and enthusiast programmers.

@Aman this may be a Wiki question as it requires discussion – Paresh Mayani Feb 17 '11 at 9:25
Oops.. I tried doing so by editing the question, but it didn't happen. – Sheikh Aman Feb 17 '11 at 10:07
I'm not so sure this should have been migrated. What is it exactly you're after? – Al E. Feb 17 '11 at 15:18
I really dont think it falls under programming, since he just asked "how" it works, not how to do it. – Ryan Conrad Feb 17 '11 at 15:47

On the other note, I also thought that C2DM might have been used to do this, but since my personal device uses 2.1 and C2DM is available to devices having 2.2+, the possibility of use of C2DM is quite less.

It is actually quite plausible for 2.1 Market to use C2DM. GTalk, Gmail, and many other Google apps have always used C2DM internally (even before it's named C2DM). In 2.1, C2DM exist as GTalk Service. In 2.2, Google opened the C2DM API for external developers since they realized that 1) most app developers does not have the resources to create a reliable Push notification service, 2) a unified Push service would save battery, 3) Reliable instant Push service is a good selling point for Android.

share|improve this answer
I quite agree with your answer. Thanks! – Sheikh Aman Feb 18 '11 at 7:26
That's correct -- the new market uses GTalk to push new apps to your phone; if you are signed off from GTalk, your app install won't start until you do. This has been recommended as a troubleshoot measure when the Web market first appeared, the push install didn't work. – Martin Tapankov Feb 18 '11 at 13:52

I would think that the market has its "own" push notifications implemented. When i installed a couple apps from the page, they installed almost immediately. This isn't the phone asking if there are installs pending, this is the market site pushing the info directly to the device.

If you disable sync, it will stop push notifications too.

share|improve this answer
Okay, is there a to move this to AFAIK, Android didn't have any push mechanism before 2.2, but my phone with 2.1 also works with it. – Sheikh Aman Feb 17 '11 at 12:16
The moderators have to move it. Yes I know 2.1 doesnt have push, but that means it doesn't have push built in to the framework, it is possible to build in push on an application basis. There are other libraries, like xtify, that support push notifications. xtify works all the way down to 1.5 or 1.6. – Ryan Conrad Feb 17 '11 at 14:05
Now that it's migrated, you might want to edit your answer... – Will Feb 17 '11 at 15:13
That's because C2DM actually exists in 2.1 (and previous versions) under the guise of GTalk Service. – Lie Ryan Feb 17 '11 at 16:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.