Start Gear-Manager and open ‘Samsung App’ to specific Widget

Start Gear-Manager and open ‘Samsung App’ to specific Widget

BY 12 Jun 2014 General Support

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

 

Written by