Re: [android-developers] Re: Bleutooth chat Api 10 not working

2012-08-30 Thread Haris P P
No...The other device doesn't have the bluetooth chat application..
I want connect to a mobile device now...Later I need to connect to
embedded bluetooth module.

Does the other device need blue-tooth client on listening mode at the same
time or I just need to turn on the device discoverable option on it ?.

On Thu, Aug 30, 2012 at 8:43 PM, bob b...@coolfone.comze.com wrote:

 Are you attempting to connect to another device running the Bluetooth Chat
 example?


 If so, what type of device is it?



 On Thursday, August 30, 2012 2:37:20 AM UTC-5, Haris wrote:


 Hai all I am trying with blue-tooth chat example for api-10, in my
 micromax pfhone..

 When I scanning for devices it showing the list  for both secure and non
 secure.
 But When I try to connect it showing unable to connect...

 And UUID s are

 private static final UUID MY_UUID_SECURE = UUID.fromString(fa87c0d0-**
 afac-11de-8a39-0800200c9a66);
 private static final UUID MY_UUID_INSECURE =UUID.fromString(8ce255c0-**
 200a-11e0-ac64-0800200c9a66);

 I tried 
 thishttp://stackoverflow.com/questions/3397071/service-discovery-failed-exception-using-bluetooth-on-androidlink
  also...But no change.

 Please help...

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




-- 
* Haris PP*

  *09975847673(pune)
   09744593643(kerala)*

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

Re: [android-developers] Android Activity And closing application

2012-08-28 Thread Haris P P
Hai  Kristopher I didn't get your point..

On Tue, Aug 28, 2012 at 12:32 PM, Kristopher Micinski 
krismicin...@gmail.com wrote:

 Hopefully you don't take this badly...

 Unfortunately this is the case where, if you want to exit the app, in
 Android,

 it just doesn't work like that,

 kris


 On Tue, Aug 28, 2012 at 12:34 AM, Haris P P haris...@gmail.com wrote:

 Thanks for your reply.

 On Mon, Aug 27, 2012 at 8:35 PM, Justin Anderson 
 magouyaw...@gmail.comwrote:

 Now I am following the second one...And its working perfectly...


 If it is working, then why change it?  If it ain't broken don't fix it...


 And also for go back to the previous layout I am just pressing the back
 button.Do I need to call the finish() methodOr the android do it
 automatically..


 You do not need to call finish() yourself in this scenario.


 And I noticed that when close the application by calling finish() the
 program is exiting. But In Application-mange application it showing an
 option for force stop..


 This is how Android works... just let it work its magic.


 Is there any method to  exit  application properly ?.


 No...

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



 On Mon, Aug 27, 2012 at 5:43 AM, Renuka Deshpande 
 renukanil.deshpa...@gmail.com wrote:

 Hello,

 Let OS kill the application. see these
 http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon


 http://stackoverflow.com/questions/5100728/how-to-force-stop-my-android-application-programatically


 http://stackoverflow.com/questions/6330200/how-to-quit-android-application-programmatically


 When you press back the current activity is automatically finish and
 removed from stack, so when you start same activity only one instance will
 be there. You dont need to finish activity programmatically yourself when
 you press back, Os does that.


 On Mon, Aug 27, 2012 at 3:44 PM, Haris haris...@gmail.com wrote:



 Hai all

   For my application I am using more than one layout, and I nedd to
 switch from layout to layout  
 I think there are two methods for this.

 1. Using setContentView switch to new layout.
 2. Or by creating new activity switch to new layout.

 Now I am following the second one...And its working perfectly...

 So which one I should use for my application...?

 And also for go back to the previous layout I am just pressing the
 back button.Do I need to call the finish() methodOr the android do
 it automatically..

 And I noticed that when close the application by calling finish() the
 program is exiting. But In Application-mange application it showing an
 option for force stop..

 Is there any method to  exit  application properly ?.

 Thanks..

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




 --
 Thanks  Regards,
 Renuka

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


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




 --
 * Haris PP*

   *09975847673(pune)
09744593643(kerala)*


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


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




-- 
* Haris PP*

  *09975847673(pune)
   09744593643(kerala)*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post

Re: [android-developers] Android Activity And closing application

2012-08-28 Thread Haris P P
Thanks..I understood

On Tue, Aug 28, 2012 at 1:22 PM, Kristopher Micinski krismicin...@gmail.com
 wrote:

 You don't just exit apps on Android,

 The system does it for you,

 kris


 On Tue, Aug 28, 2012 at 3:47 AM, Haris P P haris...@gmail.com wrote:

 Hai  Kristopher I didn't get your point..

 On Tue, Aug 28, 2012 at 12:32 PM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 Hopefully you don't take this badly...

 Unfortunately this is the case where, if you want to exit the app, in
 Android,

 it just doesn't work like that,

 kris


 On Tue, Aug 28, 2012 at 12:34 AM, Haris P P haris...@gmail.com wrote:

 Thanks for your reply.

 On Mon, Aug 27, 2012 at 8:35 PM, Justin Anderson magouyaw...@gmail.com
  wrote:

 Now I am following the second one...And its working perfectly...


 If it is working, then why change it?  If it ain't broken don't fix
 it...


 And also for go back to the previous layout I am just pressing the
 back button.Do I need to call the finish() methodOr the android 
 do
 it automatically..


 You do not need to call finish() yourself in this scenario.


 And I noticed that when close the application by calling finish() the
 program is exiting. But In Application-mange application it showing an
 option for force stop..


 This is how Android works... just let it work its magic.


 Is there any method to  exit  application properly ?.


 No...

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



 On Mon, Aug 27, 2012 at 5:43 AM, Renuka Deshpande 
 renukanil.deshpa...@gmail.com wrote:

 Hello,

 Let OS kill the application. see these
 http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon


 http://stackoverflow.com/questions/5100728/how-to-force-stop-my-android-application-programatically


 http://stackoverflow.com/questions/6330200/how-to-quit-android-application-programmatically


 When you press back the current activity is automatically finish and
 removed from stack, so when you start same activity only one instance 
 will
 be there. You dont need to finish activity programmatically yourself when
 you press back, Os does that.


 On Mon, Aug 27, 2012 at 3:44 PM, Haris haris...@gmail.com wrote:



 Hai all

   For my application I am using more than one layout, and I nedd to
 switch from layout to layout  
 I think there are two methods for this.

 1. Using setContentView switch to new layout.
 2. Or by creating new activity switch to new layout.

 Now I am following the second one...And its working perfectly...

 So which one I should use for my application...?

 And also for go back to the previous layout I am just pressing the
 back button.Do I need to call the finish() methodOr the android 
 do
 it automatically..

 And I noticed that when close the application by calling finish()
 the program is exiting. But In Application-mange application it 
 showing an
 option for force stop..

 Is there any method to  exit  application properly ?.

 Thanks..

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




 --
 Thanks  Regards,
 Renuka

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


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




 --
 * Haris PP*

   *09975847673(pune)
09744593643(kerala)*


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


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com

Re: [android-developers] Android Activity And closing application

2012-08-27 Thread Haris P P
Thanks for your reply.

On Mon, Aug 27, 2012 at 8:35 PM, Justin Anderson magouyaw...@gmail.comwrote:

 Now I am following the second one...And its working perfectly...


 If it is working, then why change it?  If it ain't broken don't fix it...


 And also for go back to the previous layout I am just pressing the back
 button.Do I need to call the finish() methodOr the android do it
 automatically..


 You do not need to call finish() yourself in this scenario.


 And I noticed that when close the application by calling finish() the
 program is exiting. But In Application-mange application it showing an
 option for force stop..


 This is how Android works... just let it work its magic.


 Is there any method to  exit  application properly ?.


 No...

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



 On Mon, Aug 27, 2012 at 5:43 AM, Renuka Deshpande 
 renukanil.deshpa...@gmail.com wrote:

 Hello,

 Let OS kill the application. see these
 http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon


 http://stackoverflow.com/questions/5100728/how-to-force-stop-my-android-application-programatically


 http://stackoverflow.com/questions/6330200/how-to-quit-android-application-programmatically


 When you press back the current activity is automatically finish and
 removed from stack, so when you start same activity only one instance will
 be there. You dont need to finish activity programmatically yourself when
 you press back, Os does that.


 On Mon, Aug 27, 2012 at 3:44 PM, Haris haris...@gmail.com wrote:



 Hai all

   For my application I am using more than one layout, and I nedd to
 switch from layout to layout  
 I think there are two methods for this.

 1. Using setContentView switch to new layout.
 2. Or by creating new activity switch to new layout.

 Now I am following the second one...And its working perfectly...

 So which one I should use for my application...?

 And also for go back to the previous layout I am just pressing the back
 button.Do I need to call the finish() methodOr the android do it
 automatically..

 And I noticed that when close the application by calling finish() the
 program is exiting. But In Application-mange application it showing an
 option for force stop..

 Is there any method to  exit  application properly ?.

 Thanks..

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




 --
 Thanks  Regards,
 Renuka

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


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




-- 
* Haris PP*

  *09975847673(pune)
   09744593643(kerala)*

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