[android-developers] Re: Error with custom made popup marker

2010-02-27 Thread eyedol
Solved. I was referencing the class with the MapActivity at the wrong method. I had to do that in the constructor. Now it works. Thanks for the pointers. On Feb 26, 12:13 am, eyedol wrote: > Still throws that same exception. > > On Feb 25, 6:34 pm, TreKing wrote: > > > > &

[android-developers] Re: Error with custom made popup marker

2010-02-25 Thread eyedol
Still throws that same exception. On Feb 25, 6:34 pm, TreKing wrote: > On Thu, Feb 25, 2010 at 11:27 AM, eyedol wrote: > > The issue is, I haven't extended the Activity class. > > My class extends another class. > > Well, I'm assuming you're using MapActivity

[android-developers] Re: Error with custom made popup marker

2010-02-25 Thread eyedol
TreKing, thanks. The issue is, I haven't extended the Activity class. My class extends another class. On Feb 25, 3:02 pm, TreKing wrote: > On Thu, Feb 25, 2010 at 2:08 AM, eyedol wrote: > >  I created a new object of > > the Activity class and used that to call the

[android-developers] Error with custom made popup marker

2010-02-25 Thread eyedol
I have a made custom popup marker. There is a button on the popup that shows up when you click on a marker on the map. Its function is to open a new activity when the button is clicked. So in the onClick function of the setOnClickListener() call, I created a new object of the Activity class and use

[android-developers] Geocoding multi locations

2008-12-19 Thread eyedol
Not too sure whats going on. I'm trying to geocode a location in a 2d array. It always throws this java.lang.NullPointerException exception. This is my code. private class SitesOverlay extends ItemizedOverlay { private List items=new ArrayList(); private Drawable m

[android-developers] Re: How can we use sqlite3 for database purpose

2008-12-18 Thread eyedol
Check the Notepad tutorials. On Dec 19, 3:47 am, "luckcomesh...@gmail.com" wrote: > Hi All, > > How can we use sqlite3 for database usage in Android. I'm trying to > use it, but I couldn't get enough information on these things. I want > to create new database(new tables) and want to use that in

[android-developers] Re: XML parsing prob

2008-12-02 Thread eyedol
I have dug this list but didn't come across anything similar to mine. Could you point me to a thread? On Dec 3, 5:16 am, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > I Believe This Is In The Archives. > > On 12/02/2008, eyedol <[EMAIL PROTECTED]> wrote: &

[android-developers] XML parsing prob

2008-12-02 Thread eyedol
Can't figure out how to achieve this. I was to get the values for the tag "thumb" it works fine if the "thumb" tag shows once, but if it increases, I get an exception thrown. Exception java.lang.IndexOutOfBoundsException: Invalid location 1, size is 1 Sample xml 1 The book An enterpris