>
> oncreate()
> {
> function1( );
> //wait for onclick event
> function2( );  //After some calculation, calls function1( )
> }
>
That won't work... The UI will not show up until after onCreate() and
onResume() are called.  Why are you explicitly waiting for a click event?
What are you doing to do that, an infinite loop or something?

Can u suggest me the structure of my game as I am a newbie in Android
> programming?
>
Seems like you need to read up on the Android Activity lifecycle:
http://developer.android.com/guide/topics/fundamentals/activities.html#Lifecycle

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Apr 5, 2012 at 2:58 AM, Vivek Punjabi <[email protected]>wrote:

> oncreate()
> {
> function1( );
> //wait for onclick event
> function2( );  //After some calculation, calls function1( )
> }
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to