-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashed while setting bitmap #43
Comments
your ImagePath is null, fix that it should work then |
The follwoing code I have written in Java for ImageCropActivity, you can use that if you are using Java, or better to use Already written Kotlin Code import android.content.Context; import com.your_project.R; import com.labters.documentscanner.DocumentScannerView; import kotlin.Unit; public class ImageCropActivity extends AppCompatActivity {
} |
I am getting the bitmap correctly but when I setImage to documentScanner the app crashed. And the error is NullPointerException
The text was updated successfully, but these errors were encountered: