Hello all,
My application is complete for the most part, I'm trying to add an update
system similar to the one suggested on the android developer site: Check my
web server for the current version, and send the user to android market if
there's an update. However, I keep getting a "market.android.com: Not Found"
error, the same error I get when I try to view the page on my computer, even
though I'm passing the command through an ACTION_VIEW Intent as instructed.
I am testing this on an emulator, not an actual device, so if that is the
problem please let me know.
Here is the code:
Intent updateIntent = null;
updateIntent = new Intent(Intent.ACTION_VIEW,
Uri.parse(updateURI));
startActivity(updateIntent);
The updateURI is "
http://market.android.com/search?q=pname:com.projects.privatecontacts". When
I was testing, the application was published. However, I've since pulled it
temporarily until I get this figured out.
Does anybody see where my problem is?
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en