[android-developers] Re: How to draw a piece of Bitmap

2009-04-26 Thread Ikon
Nick, Did you figure this one out? I want to do the same. On Mar 9, 12:50 pm, Nick wrote: > Hello! > I'm creating a simple game for Android and faced with a problem: Idea > is to have a huge "map" image file and re-drawonly small part of it > (320*480) depending on user actions. > > I didn't fin

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-13 Thread Ikon
Dude. Copyright does not cover ideas. The end. Piracy is defined by what IP rights are. There is no tetris patent claim (which would cover an idea that is tangible enough). There is a tetris copyright claim. However, the copyright claim applies to look and feel, and a fact finding of just how clo

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-13 Thread Ikon
the iPhone? > > > I don't think you see my point, which is that an operating system/ > > community/environment that openly disregards intellectual property > > rights is, in my humble opinion, doomed to failure from the get-go > > from the inability to form a viable busine

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-13 Thread Ikon
etty much anything. > > On Mon, Apr 13, 2009 at 10:44 AM, Ikon wrote: > > > Your contention that "grown up operating systems" should not allow you > > to copy ideas is totally unfounded.  You can never patent abstracty > > ideas. Game ideas cannot be patented.

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-13 Thread Ikon
s is, in my humble opinion, doomed to failure from the get-go > from the inability to form a viable business model for anyone > involved. > > On Apr 13, 11:44 am, Ikon wrote: > > > Your contention that "grown up operating systems" should not allow you > > to copy

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-13 Thread Ikon
avorite patent is the one for swinging sideways on a swing, which > > IMO illustrates you can patent pretty much anything. > > > On Mon, Apr 13, 2009 at 10:44 AM, Ikon wrote: > > > > Your contention that "grown up operating systems" should not allow you > &

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-13 Thread Ikon
Your contention that "grown up operating systems" should not allow you to copy ideas is totally unfounded. You can never patent abstracty ideas. Game ideas cannot be patented. Whether they should be is a different discussion. You can go right and now, and make a game on Windows with a story ver

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-13 Thread Ikon
This is not legal advice. I actually am a lawyer, and these copyright violation claims are very shaky. Basically, they have a copyright to the exactly worded source code. So if they wrote "int numTetrads = 50" and you wrote "int numBlocks = 50" you would not be infringing. You need to copy, whol

[android-developers] Re: onDraw calling frequency

2009-04-04 Thread Ikon
Does that really help? I mean, is GC that bad? On Apr 4, 4:03 am, Greg Krimer wrote: > That sounds fine to me. Just remember to respect the clip rectangle > (canvas.getClipBounds()) and ideally not spend time computing Paints > for areas outside the clip. > > Also, don't create a new Paint objec

[android-developers] Re: detect screensize

2009-03-19 Thread Ikon
Using DisplayMetrics also works. I read somewhere in the documentation that DisplayMetrics should be used. On Mar 19, 12:36 pm, Bob wrote: > Thanks, that seems to work. > > On Mar 19, 9:54 am, Pd wrote: > > > this may work but I've not tested it  :-) > > >         getWindow().getWindowManager()

[android-developers] Re: Emulator not starting

2009-03-17 Thread Ikon
Not sure if this will work, but try going to the command line and go to the android tools dir, run: adb kill-server adb start-server See if that fixes it. On Mar 17, 6:48 pm, amiz wrote: > I am running Eclipse on XP.  The Emulator was running correctly but > all of sudden today it hang up. I cl

[android-developers] Re: Menu option starts Thread - menu hangs.

2009-03-12 Thread Ikon
Thread.doStart(); >     } >   }); > > Every time you call submit() the newthread(hed by mGameStarter) will > wake up and execute the Runnable you specified when calling submit(). > When the Runnable ends, thisthreadwill sleep until you submit yet > another task. > >

[android-developers] Re: Menu option starts Thread - menu hangs.

2009-03-12 Thread Ikon
r case START_GAME >   mGameStarter.submit(new Runnable() { >     public void run() { >       gameThread.doStart(); >     } >   }); > > Every time you call submit() the newthread(hed by mGameStarter) will > wake up and execute the Runnable you specified when calling submit(). > When the Runn

[android-developers] Re: Menu option starts Thread - menu hangs.

2009-03-12 Thread Ikon
(STATE_RUNNING); } } Thanks, Ayan On Mar 12, 10:28 am, Streets Of Boston wrote: > Could you provide a code-snippet showing how you coded themenu- > handling and the starting of yourthread? > > On Mar 12, 10:00 am, Ikon wrote: > > > Hi, > > > I am

[android-developers] Menu option starts Thread - menu hangs.

2009-03-12 Thread Ikon
Hi, I am developing a game based on the SurfaceView/LunarLander example in the sample code. I have one activity, with one menu option that is "new game". My activity listens for the menu selection, and once new game is selected, doStart of the Game thread is called. The game starts up after 3-4

[android-developers] Re: Trackball Event

2009-02-05 Thread Ikon
sed view, make sure your view has > input focus. > > > > On Sun, Feb 1, 2009 at 4:38 PM, Ikon wrote: > > > Hi, > > > I have an activity which then set's a custom View class. Most of my > > app's functionality is coded into the View. I detect mot

[android-developers] Re: Trackball Event

2009-02-02 Thread Ikon
How would I ensure it has input focus? It is the only view in the app so far. On Feb 2, 1:01 pm, Dianne Hackborn wrote: > Trackball events are dispatched to the focused view, make sure your view has > input focus. > > > > On Sun, Feb 1, 2009 at 4:38 PM, Ikon wrote: > &g

[android-developers] Trackball Event

2009-02-02 Thread Ikon
Hi, I have an activity which then set's a custom View class. Most of my app's functionality is coded into the View. I detect motion events from this class. However, when I overrided "onTrackballEvent", it never gets called. I then inserted this same method into my Activity class, and the trackba