Languages

Menu
Sites
Language
Start Gear-Manager and open 'Samsung App' to specific Widget

How to open Gear-Manager from Android Device and open 'Samsung App' to specific Widget ?

Is this possible, and how to do this programmable with Android ``

I guess it should something like this, but it doesn't work

Intent myIntent2Watch = new Intent();
// like "samsungapps://ProductDetail/{the package name of the AndroidManifest.xml file in your application}".
myIntent2Watch.setData(Uri.parse(string_of_uri));
myIntent2Watch.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP |ntent.FLAG_INCLUDE_STOPPED_PACKAGES);
startActivity(intent);

Thank you !

I hope I get a response and the forum isn't dead

 

Edited by: Hannes Achleitner on 25 Feb, 2015

Responses

1 Replies
daniel kim

Hi,

As below function is from feature of android google, it's not available for now. I guess that Samsung is internally checking it.

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