[android-developers] Re: Dialog box without title

2011-03-27 Thread Dixi
use this, this will definitely remove the TITLE from dialog box dialog.requestWindowFeature(dialog.getWindow().FEATURE_NO_TITLE); -- Regards Dixit Wadhwani On Mar 27, 12:32 am, Archit Jain dce.arc...@gmail.com wrote: Hi all, Is there a way, I can remove title from the default dialog box ?

[android-developers] Re: Two functions Button?

2011-03-27 Thread Dixi
use the even-odd logic.. like int i=1; button.onclick() { if(i%2==0) { ///operation... i++; } else { //operation i++; } } i think u got it... i hope it works - Regards Dixit Wadhwani

[android-developers] Re: Two functions Button?

2011-03-27 Thread Dixi
++; } } }); } } hey buddy.. use this logic its working on my system. for this u run this code and i hope its working on your system. On Mar 27, 9:25 pm, Gabriel gab...@gmail.com wrote: It's not working Dixie. Can you put this code more clear? On 27 mar, 13:09, Dixi dixitwadhw

[android-developers] Re: Dialog box without title

2011-03-26 Thread Dixi
don't use this while writing your dialog box code--- dialog.setTitle(Title name); On Mar 27, 12:32 am, Archit Jain dce.arc...@gmail.com wrote: Hi all, Is there a way, I can remove title from the default dialog box ? I am using following code : Dialog alertDialog = new

[android-developers] Re: How to turn on the sound in the Android Emulator?

2011-03-02 Thread Dixi
create the raw folder in the layout folder and put the music file and use the following code MediaPlayer player; Intent msvc=new Intent(this,Music.class); startService(msvc); player = MediaPlayer.create(this, R.raw.se); // se is the name of music file

[android-developers] Re: how to clear all activity.

2011-03-02 Thread Dixi
start the music service in each activity and stop it when you move to the next activity by using following code---. MediaPlayer player; player = MediaPlayer.create(this, R.raw.start); player.setLooping(true); // Set looping

[android-developers] Re: how can i pass the values of one activity to another

2010-05-31 Thread Dixi
hey NightGospel, thnx...for this On May 31, 4:02 pm, NightGospel wutie...@gmail.com wrote: Hi Dixit, You can put values to the intent by invoking Intent.putExtra() method and retrieve it by invoking Intent.getXXXExtra(). For example, in one.java: Intent myIntent = new

[android-developers] Re: What the difference between code 'setContentView.(R.layout.main_layout);' and 'setContentView(R.layout.main_layout);'

2010-05-27 Thread Dixi
incorrect : setContentView.(R.layout.main_layout); in this .(dot) is a mistake after setContentView correct : setContentView(R.layout.main_layout); On May 26, 10:00 pm, Oddin sabara@gmail.com wrote: On the android developer