[android-developers] Re: Help about Alarm Clock

2010-02-02 Thread Retrodis
I don't think you can access the phones default alarms in the Alarms app but you could build your own with AlarmManager http://d.android.com/reference/android/app/AlarmManager.html That should help On Feb 2, 8:09 am, Ali Murtaza mralimurt...@gmail.com wrote: Hi I want to make an application

[android-developers] Re: Internet Connection

2010-01-28 Thread Retrodis
ConnectivityManager cm = (ConnectivityManager) this.getSystemService (Context.CONNECTIVITY_SERVICE); NetworkInfo ni = cm.getActiveNetworkInfo(); if(ni != null) { } On Jan 28, 9:46 am, Sasikumar.S sasikumar.it1...@gmail.com wrote: Thank u for ur reply. On Thu, Jan 28, 2010 at 3:15 PM, Chander

[android-developers] Re: Pass event to parent view?

2010-01-26 Thread Retrodis
You can add the onClickListener to the parent layout On Jan 26, 12:34 am, kknight kknight2...@gmail.com wrote: I have a layout which contains five TextView. When user clicks any of the five TextView, it will do the same thing: open another activity. So, the OnClickerListener behavior to the

[android-developers] Re: Notification sound from file inside the app package ?

2010-01-22 Thread Retrodis
You should store your mp3 in res/raw and a quick and easy way to reference it would be notification.sound = Uri.parse(android.resource:// com.yourpackagename.appname/ +R.raw.your_sound_file); On Jan 22, 3:01 pm, elpix1 elp...@gmail.com wrote: Hi, Is it possible to play a notification sound