market://details not working?

by Michael Elsd枚rfer » Tue, 31 Mar 2009 01:49:57 GMT


Sponsored Links
 Apparently, I supposed to be able to open the Market page of my app by
querying an intent with an URL like:

market://details?id=<app_id>

where <app_id> seems to be the package name:

 http://www.google.com/support/forum/p/Android +Market/thread?tid=5c8501d73226fad8&hl=en

However, while this seems to indeed open the Market app with the
details activity, it always gives me "A Server error occured".

I'm trying both launching the intent through code, as well as on an
adb shell as, say:

am start "market://details?id=com.NamcoNetworks.PacMan"

Neither works.

Any ideas?

--~--~---------~--~----~------------~-------~--~----~



market://details not working?

by Michael Elsd枚rfer » Tue, 31 Mar 2009 01:50:36 GMT


 Apparently, I'm supposed to be able to open my app in the Android
market by querying an Intent with an URL like:

market://details?id=<app_id>

<app_id> seems to be the package name, e.g. say
"com.NamcoNetworks.PacMan"

See for example:
 http://www.google.com/support/forum/p/Android +Market/thread?tid=5c8501d73226fad8&hl=en

However, while this seems to open the Market app's detail page, it
always gives me the "A server error occured" message.

I've tried both using an app:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://details?
id=com.NamcoNetworks.PacMan"));
startActivity(intent);

As well as through the adb shell:

am start "market://details?id=com.NamcoNetworks.PacMan"

Any ideas?

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


market://details not working?

by droozen » Tue, 31 Mar 2009 03:19:56 GMT


 I'm guessing you are working off some old data.

See this page:  http://developer.android.com/guide/publishing/publishing.html 

The intent should be a Uri something like market://search?q=pname:<package>
or market://search?q=pub:"<Developer Name>" to see all your apps.



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. passing object to CountDownTimer help

I have an extended CountDownTimer class and I want to be able to pass
an object (ImageView).

The reason I am wanting to pass the object is because I will be
calling this several times wanting different images to change.

Code:
        private void checkStatus() {

                getStatus network = new getStatus(5000, 1000, iNetwork);
                network.start();

                getStatus email = new getStatus(5000, 1000, iEmail);
                email.start();
        }


        public class getStatus extends CountDownTimer{
                public getStatus(long millisInFuture, long countDownInterval,
ImageView img) {
                        super(millisInFuture, countDownInterval);
                        }

                        @Override
                        public void onFinish() {
                                img.setImageResource(R.drawable.i_green);
                        }

                        @Override
                        public void onTick(long millisUntilFinished) {
                                img.setImageResource(R.drawable.i_gray);
                        }
        }

I'm getting an error stating that img cannot be resolved in both the
onFinsih() and onTick().

Thoughts?

-- 

2. [ADB -install] How to install and application inside an emulator, if only the <avd-name> is known?

Dear group members,

I have a question related to installing an APK file with the command
adb -install:

We have created via commandline a set of AVDs and we have started a
set of devices which run in an emulator. For all of the devices we
know the corresponding <avd-name>.

The result of the command "adb services" is now something like [1].

Now we would like to install an application inside the device
belonging to <avd-name>.

But having the <avd-name> the apk-file could not be installed. For
this we need the serialnumber.

How can we find the serialnumber, if we know the <avd-name>?

Thanks for a hint.

Best Regards

Frank


[1]

$ adb devices
List of devices attached
emulator-5554  device
emulator-5556  device
emulator-5558  device
...........

-- 

3. A large number of SMS messages are being sent. Select "OK" to continue, or "Cancel" to stop sending

4. Accelerometer and the samplin rate

5. Facebook Wall posting using Android SDK without using the Pop up.

6. How to add license on my application so that only user installed from android market can use it ?

7. WallpaperManager.sendWallpaperCommand() doesn't work?