Link to home
Create AccountLog in
Avatar of worm-getter
worm-getter

asked on

android java

hi all, just a quick one please, been going around in circles a bit here, and am now at the stage whereby i cannot seed the wood for the trees!

need code to display full-screen image, user the makes a few sketches on the image and saves the up-date image with sketches.

part-code as follows:

@Override
      public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            this.paintView = (PaintView) findViewById(R.id.image);
            requestWindowFeature(Window.FEATURE_LEFT_ICON);
            setContentView(this.paintView.setBackgroundResource(R.drawable.horse_logo));
            Object imageView;
            ((Object) imageView).setImageResource(R.drawable.horse_logo);
            this.paintView.togglePencil(true);
      } // end method onCreate

thanks in advance to all & sundry.
Avatar of CPColin
CPColin
Flag of United States of America image

What is (or was) your question? Are you seeing a compiler error? I noticed that you declare that "imageView" variable, but don't assign a value to it.
Avatar of worm-getter
worm-getter

ASKER

cheers for response.
question = code to display full-screen image, user then makes a few sketches on the image, and saves the up-dated image with sketches?
up to my tonsils at the minute, will work on this app again next week and let you know how i get on.
thanks.
ASKER CERTIFIED SOLUTION
Avatar of worm-getter
worm-getter

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
project scrapped.