Billing via the Android application and bindService


I am trying to implement in-app billing in my application based on Sample Application. But bindService always returns false.

Here is what I have. AndroidManifest.xml:

<service android:name="" /> (need to start purchase from Preferences screen):

protected void onCreate(Bundle savedInstanceState) {
    mBillingService = new BillingService();
    mBillingService.setContext(this); // tried to use getApplicationContext also public class BillingService extends Service implements ServiceConnection {

 * Binds to the MarketBillingService and returns true if the bind
 * succeeded.
 * @return true if the bind succeeded; false otherwise
private boolean bindToMarketBillingService() {
    try {
        if (Debug.DEBUG) {
            Log.i(TAG, "binding to Market billing service");
        boolean bindResult = bindService(
                new Intent(Consts.MARKET_BILLING_SERVICE_ACTION),
                this,  // ServiceConnection.

        if (bindResult) {
            return true;
        } else {
            Log.e(TAG, "Could not bind to service.");
    } catch (SecurityException e) {
        Log.e(TAG, "Security exception: " + e);
    return false;

And in LogCat I see:

WARN/ActivityManager(48): Unable to start service Intent { }: not found

What do I need to correct here?

Ok, it can not be tested on the emulator (since it doesn't have Android Market?). Testing In-app Billing section of official site says

You cannot use the Android emulator to test in-app billing