Click here to Skip to main content
14,659,434 members
Home » Discussions » Android
   

Android

 
QuestionHow connect with IR camera, deep camera Pin
pablogvivo8-Oct-18 20:03
Memberpablogvivo8-Oct-18 20:03 
Questionandroid Pin
Member 1399693125-Sep-18 2:14
MemberMember 1399693125-Sep-18 2:14 
Questionandroid layout problem Pin
Member 1399693125-Sep-18 2:16
MemberMember 1399693125-Sep-18 2:16 
AnswerRe: android layout problem Pin
OriginalGriff25-Sep-18 2:19
mveOriginalGriff25-Sep-18 2:19 
QuestionHow to measure a room using frustum in AR(Augmented Reality)? Pin
Member 139764627-Sep-18 0:54
MemberMember 139764627-Sep-18 0:54 
AnswerRe: How to measure a room using frustum in AR(Augmented Reality)? Pin
Marco Bertschi7-Sep-18 0:56
professionalMarco Bertschi7-Sep-18 0:56 
QuestionNeed help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Member 1391233215-Jul-18 8:10
MemberMember 1391233215-Jul-18 8:10 
AnswerRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Afzaal Ahmad Zeeshan15-Jul-18 9:21
mvaAfzaal Ahmad Zeeshan15-Jul-18 9:21 
The exception guides you straight to the location where this error is coming from:
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
As per your code, there can be two ways to fix this,
keywordlist = findViewById(R.id.keywordlist);
Either, check that this keywordlist view has been inflated in the activity. Otherwise, if you are deep down in the hierarchy, try accessing this view from the view that your control is currently inside — happens with inflated views and layouts.

There are several other things that can go wrong, so best hands are still yours to find the bug, try debugging and seeing why is that object null.

java - Custom View children are null after inflating the view in Android - Stack Overflow
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

QuestionRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Member 1391233215-Jul-18 11:49
MemberMember 1391233215-Jul-18 11:49 
AnswerRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Afzaal Ahmad Zeeshan15-Jul-18 12:31
mvaAfzaal Ahmad Zeeshan15-Jul-18 12:31 
GeneralRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Member 1391233215-Jul-18 12:39
MemberMember 1391233215-Jul-18 12:39 
GeneralRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Member 1391233215-Jul-18 20:51
MemberMember 1391233215-Jul-18 20:51 
QuestionLooking for somebody to write app with in Android Studio Pin
Ramona_Android9-Jul-18 4:54
MemberRamona_Android9-Jul-18 4:54 
AnswerRe: Looking for somebody to write app with in Android Studio Pin
Richard MacCutchan9-Jul-18 5:29
mveRichard MacCutchan9-Jul-18 5:29 
GeneralRe: Looking for somebody to write app with in Android Studio Pin
Ramona_Android9-Jul-18 5:41
MemberRamona_Android9-Jul-18 5:41 
AnswerRe: Looking for somebody to write app with in Android Studio Pin
Kelly Ferguson19-May-19 22:53
MemberKelly Ferguson19-May-19 22:53 
QuestionAndroid- Accessing an asset folder using file browsing dialog window Pin
NiKHiLMS6-Jul-18 23:48
MemberNiKHiLMS6-Jul-18 23:48 
SuggestionRe: Android- Accessing an asset folder using file browsing dialog window Pin
David Crow9-Jul-18 3:40
MemberDavid Crow9-Jul-18 3:40 
GeneralRe: Android- Accessing an asset folder using file browsing dialog window Pin
NiKHiLMS9-Jul-18 19:18
MemberNiKHiLMS9-Jul-18 19:18 
SuggestionRe: Android- Accessing an asset folder using file browsing dialog window Pin
David Crow10-Jul-18 1:56
MemberDavid Crow10-Jul-18 1:56 
QuestionDialog with Landscape Orientation Pin
Django_Untaken4-Jul-18 20:16
MemberDjango_Untaken4-Jul-18 20:16 
Questionput orders from android and receive from PHP Pin
AndroidVH22-Jun-18 20:13
MemberAndroidVH22-Jun-18 20:13 
SuggestionRe: put orders from android and receive from PHP Pin
Richard MacCutchan22-Jun-18 21:27
mveRichard MacCutchan22-Jun-18 21:27 
GeneralRe: put orders from android and receive from PHP Pin
AndroidVH22-Jun-18 21:58
MemberAndroidVH22-Jun-18 21:58 
GeneralRe: put orders from android and receive from PHP Pin
Richard MacCutchan22-Jun-18 23:14
mveRichard MacCutchan22-Jun-18 23:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.