[Solved] Button not doing anything when it should


What you have

<activity android:name=".ScanResults" />

And when using intent

 Intent intent = new Intent(MainActivity.this, ScanResult.class);

ScanResults and ScanResult are not the same.

If Activity is not found you should get ActivityNotFoundException.

This exception is thrown when a call to startActivity(Intent) or one
of its variants fails because an Activity can not be found to execute
the given Intent.

http://developer.android.com/reference/android/content/ActivityNotFoundException.html

1

solved Button not doing anything when it should