-1

i'm developing a software and i need to create a notification.. Well seeing a lot tutorial, i can't follow one, because my import NotificationCompat don't show.

NotificationError

I updated ALL my SKD Manager and I did jar download (android-support-v4.jar), don't work

SDK Android

    @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == CAMERA_CAPTURE_IMAGE_REQUEST_CODE) {
        if (resultCode == RESULT_OK) {
          //Notification Here!
        }
    }
}
Shinomoto Asakura
  • 1,473
  • 7
  • 25
  • 45

1 Answers1

0

"Right click the project properties->java build path->libraries click add external jar.

browse go to android installation folder like C:\Program Files\Android\android-sdk\extras\android\support\v4 there you find the android_support_v4.jar file then add the jar file and go to order and export tab check the library and click ok.."

Font: import android.support cannot be resolved

Community
  • 1
  • 1
Shinomoto Asakura
  • 1,473
  • 7
  • 25
  • 45