-
-
Save jezinka/61736f33f7ac2d6902263657177e7165 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent intent = new Intent(context, MainActivity.class); | |
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0); | |
views.setOnClickPendingIntent(R.id.sensor_widget, pendingIntent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment