I launch Android Market through my application to search for similar products using this code:
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://market.android.com/search?q=pub:\"some txt\""));
c.startActivity(intent);
This is great for displaying similar products. However, if I clicked the home button on the market when I open the application again, it still shows market results. In this case, I want to go to the main menu.
Is there a solution?
source
share