drac94

1

votes
4

answer
10.3k

views

Hide Calendarview from DatePicker programmatically in API 21

I'm having the same issue as this thread: Android Material Design Inline Datepicker issue, but I am not using an XML layout, instead I'm building the DatePicker programmatically. This is the code I am using but is not working DatePicker dpView = new DatePicker(ctx); dpView.setCalendarViewShown(false...
drac94
2

votes
2

answer
2.7k

views

When i try to get the Uri from a picture taken with the camera i get null

here is my problem, when i try to get the Uri from the picture that I take whit the camera i get null with the camera on emulator and my device, but only whit the system camera if I use another camera app, always works. Here is my code For launch the camera app takePic.setOnClickListener(new OnClick...
drac94