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. Camera taking upside down pictures

I'm working on an application that uses the camera to take pictures of
objects.  I have built a small frame to set my phone on while I move
things in and out to take pictures of.  The problem is that
occasionally the pictures will come out upside down.

I have been experimenting with the camera and I have discovered I can
take a picture holding the camera upside down and the picture will be
flipped over as though the camera was right side up - Android is smart
enough to know the orientation of my device and flips the picture over
for me.  This is how I am opening the intent to take a picture:

                        Intent imageCaptureIntent = new


The problem happens when the device is lying on it's back suspended by
my frame... it will take a picture and render it upside down - but
only occasionally I can take 5-6 pictures just fine and then get one
upside down...

Is there some way I can force the camera to not rotate the image?
Similar to forcing the image to have a SCREEN_ORIENTATION_PORTRAIT ?

I'm working on a Nexus One but I believe that the ION has the same

Thanks in advance!



2. values-land not being picked up for Android 1.5


I have a widget with a set of layout parameters in the values and
values-land folders for portrait and landscape display respectively.
On my G1 running 1.6, everything looks great in either orientation.
On a 1.5 emulator, things look fine in portrait, but not in
landscape.  It's clearly using the values from values instead of
values-land.  I know the mdpi/ldpi/hdpi modifiers aren't supported in
1.5, but I thought "land" was.  Am I wrong about this?  Is this a
bug?  Is there a work around?



3. ImageView and ViewRoot

4. Fire event to the upper level activity

5. Listview append with new element on RUNTIME

6. connecting to internet via app

7. Flashing the android device