[android-developers] Re: how can i check landscap orientation ?

2009-03-25 Thread suhas gavas
Hi make use of sensorListener and it will work . i have used the same .. when u use sensorlistener and sensormanager in ur view it has got an override method as onSizeChanged which return the width and height. so using change in size u will get the orientation Below is a

[android-developers] Re: Anything on Android that can do smooth scrolling?

2009-03-25 Thread suhas gavas
hi, have u checked ipingpong 3D on android market .its pais app check the touch screen event which has got smooth scroll On Thu, Mar 26, 2009 at 2:32 AM, Romain Guy romain...@google.com wrote: The trick is simple: avoid any allocation that might trigger a GC. On Wed, Mar

[android-developers] Re: Multiplayer game

2009-03-24 Thread suhas gavas
Hi Robert, Thnxs for the reply ... ur suggestion is also good My multiplayer game will consist of 2 players and yes one will host and other will act as a client also data will be send like player position also my code runs pretty fast problem is that i m

[android-developers] Re: Go to the home screen.

2009-02-24 Thread suhas gavas
hi onclick just write System.exit(1); and it will do the rest for u reagrds, Suhas On Wed, Feb 25, 2009 at 11:07 AM, ipeg.stud...@gmail.com wrote: Hello Thanks for the reply. But my question is i have a exit button. I want to go to the home screen by clicking the button.

[android-developers] Re: Touch *extremely* expensive performance-wise

2009-02-20 Thread suhas gavas
hi zombies and robots, plz let me the solution to improve touch event performance I have got stuck because of the sam regards, suhas On Fri, Feb 20, 2009 at 12:46 PM, Zombies and Robots caecus...@gmail.comwrote: Thank you both! With those pointers, I was able to figure out and implement

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-17 Thread suhas gavas
hi, The max fps u can get can be 60 . I m rendering a 3d models(ms3d) ... with game logic i m getting 45 fps but prb occurs when touch event is executed fps falls to 28 - 30fps ... my only worry is touch event ... one hint to handle touch

[android-developers] Re: 2d background image on a 3d OpenGL game

2009-02-17 Thread suhas gavas
... just rendering it without 2d overlay and game logic... On Feb 17, 11:43 am, suhas gavas suhas.ga...@gmail.com wrote: hi, The max fps u can get can be 60 . I m rendering a 3d models(ms3d) ... with game logic i m getting 45 fps but prb occurs when

[android-developers] Re: A thread useful for whole community - Reply with all working OpenGL ES Extension functions

2009-02-17 Thread suhas gavas
hi all, I have used some of the GL11 functions in my code and it has improved my fps and that is VBO(vertex buffer object) Regards, Suhas On 2/18/09, quakeboy prasna...@gmail.com wrote: I hope this is going to be helpful for the whole community who work on OpenGL ES in Android. Please

[android-developers] Re: openGL normal mapping

2009-02-09 Thread suhas gavas
Hi Patrik, It can be possible . like i have used some of GL11 apis like VBO . so give it a try . Just type cast it and use Regards, sUHAS On Tue, Feb 10, 2009 at 5:13 AM, Patrick bpatm...@gmail.com wrote: Is it possible at this time to get normal mapping to work on

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread suhas gavas
the CPU. On Feb 5, 9:22 pm, suhas gavas suhas.ga...@gmail.com wrote: Hi, No ... i m not playing 6 to 7 mp3 files at same time .. later that day i have tried with just playing one single file and same issue . But then i tried SoundPool api and it worked

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread suhas gavas
hi, My program is a 3d game . And i m creating 6 to 7 media player in my game .. so is this y the warning is flashed ? On Thu, Feb 5, 2009 at 1:04 PM, Dave Sparks davidspa...@android.com wrote: The message could be a clue, it's trying to tell you that the CPU is

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread suhas gavas
, 2009 at 9:07 AM, Dave Sparks davidspa...@android.com wrote: If you are playing 6 or 7 MP3 files at the same time, you are probably saturating the CPU just decoding the audio. On Feb 5, 1:10 am, suhas gavas suhas.ga...@gmail.com wrote: hi, My program is a 3d game . And i

[android-developers] Re: OpenGL ES 1.1 - Point Sprites

2009-02-04 Thread suhas gavas
Hi, By type casting, it will work .. i have also used GL11 apis like vertex buffer objects and they worked fine On Wed, Feb 4, 2009 at 7:27 PM, hbk723 mark.wissmuel...@gmail.com wrote: The documentation says that OpenGL ES 1.1 support is not complete. Does this mean that if

[android-developers] Re: Exporting 3D model from Maya/Blender, what format to use it with android?

2009-01-29 Thread suhas gavas
U can use ms3d model and can use NEHE tutorial (lesson 31) On Thu, Jan 29, 2009 at 3:00 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: As subject... I want to export my 3D model from Maya/Blender and I want to render it using android... In what format I need to export my 3D model?

[android-developers] Re: Context of a class

2009-01-28 Thread suhas gavas
(this); generates an error which says Database_mob(*classname*) is undefined. Regards, Immanuel On Jan 28, 12:51 pm, suhas gavas suhas.ga...@gmail.com wrote: make object of the class in which u have to use the context . Then pass as parameter this to the class And the class

[android-developers] Re: Context of a class

2009-01-27 Thread suhas gavas
make object of the class in which u have to use the context . Then pass as parameter this to the class And the class in which u have to use conext should have constructor as parameter context in it e.g class activity extends Activity { Viewclass myclass; public

[android-developers] Re: Context of a class

2009-01-27 Thread suhas gavas
make object of the class in which u have to use the context . Then pass as parameter this to the class And the class in which u have to use conext should have constructor as parameter context in it e.g class activity extends Activity { Viewclass myclass; public