Working through Notepad Tutorial - Problems...

by Jackie Lee » Fri, 20 Feb 2009 09:20:13 GMT

Sponsored Links
 I'm looking through this tutorial too!
But I didn't have the problem. I just add xml first, and save, and go
back to the java file, then add the statement.
Can you paste your code here?

Yuxing LI


Working through Notepad Tutorial - Problems...

by Ashok Vemuri » Fri, 20 Feb 2009 13:22:12 GMT

 Not sure why you would run into this problem, especially if you had followed
all the steps mentioned in the tutorial without missing anything. I just did
that tutorial myself and all was good.

You could perhaps compare your code with that in "Notepadv1Solution"
project? It should be in the notepad tutorials zip file you downloaded.

- Ashok


Sponsored Links

Other Threads

1. concept of "user name"


Is there a concept of "user name" in Android? Windows Mobile lets you
enter a description of the owner of the phone; Palm OS has the concept
of user name. But i couldn't find anything about this in Android.




2. Coloring Default Buttons - color filter only on unfocused state

Also tried this:

                StateListDrawable sd = new StateListDrawable();
                int stateFocused = android.R.attr.state_focused;
                int statePressed = android.R.attr.state_pressed;
                Drawable norm = this.getResources().getDrawable
                sd.addState(new int[]{statePressed}, norm);
                sd.addState(new int[]{stateFocused}, norm);
(R.color.button_blue)), Mode.MULTIPLY);
                sd.addState(new int[]{-stateFocused, -statePressed}, norm);


Which....seems like it would make sense.  But i get nullpointer
exception because turns out I can't mutate an android.R.drawable...

Any ideas?? Help!!


3. Porting Android SDK For large screen devices.

4. Educational Resources

5. Vertical scrollview disappears on vertical and horizontal scrollview scheme

6. Dynamic TableLayout problem

7. Writing files SDCard on Emulator