The reason I\'m asking is because I\'m g开发者_StackOverflow中文版etting NullPointerException. I now this is very easy but I\'m pretty new programming and find this a bit confusing.
Here\'s the code that defines my custom dialog. When I show this dialog, it throws a NullPointerException at the commented line.
I am getting the Run time exception in my application and I have tried a lot to sort it out but couldn\'t do it.
I have been working on an application and I added a options menu. Prior to adding the menu everything ran fine, after adding however it will not run, the process just stops.
I\'m currently trying to debug my Android App. I\'ve built out the first screen and it\'s using a Tab Host. I had made a few minor modifications to TabHost to add a few extra methods (full source to f
I developed my application using API level 8 but the minimum SDK is 3. I did most of the testing on an emulator running 8 and my DroidX as well as some friends phones. No problems thus far. It should
I have a service running in my Android application which contains a HashMap that I would like to use in an Activity.So I bound the service to my a开发者_如何学运维ctivity and created a link between to
I\'ve written a task manager, and well it;\'s a long story... all in Java by the way. So I wrote a Facade which you can see below there is a problem with the HashMap and I suspect that the values whic
This is my first time using points and I seem to run into an issue when initially setting the location of a Point2D object. Here is my code snippet:
This code v(2,1) var m=Array[String]() def v(f:Int,t:Int)= {var move= (10*f+t).toString m :+ \"21\" } (run it as a scala script)