Re: [android-developers] Bluez on android

2012-05-31 Thread I-Sheng Lin
Hi,

You might be. However, the rooted device will be needed for accessing the
bluez through NDK.

On Thu, May 31, 2012 at 7:20 PM, CharuhasV vcharu...@gmail.com wrote:

 Hi,

 I want to access GATT functions in bluez library on android.
 Would I be able to access bluez directly from NDK?

 Thanks,
 Charuhas Vidwans.

 --
 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

[android-developers] Android HID bluetooth profile

2012-03-29 Thread I-Sheng Lin
Hi Android developers,

I have done that the porting of HID profile onto Android 2.3 as the host.

My Android device(Gingerbread) now is able to connect to the Bluetooth
mouse/kb and it works really nice!

However, my question is that it seems very lack of information about to
make Android device as the client side.

For example, simulate the Android device can work as the KB/mouse and
connect it to the other Android device through Bluetooth.

I know that Cyanogenmod allows us to do it and yes, I have a sample code
and it works perfectly.

Unfortunately, when I install the code onto my generic Android 2.3, the
Bluetooth can be connected but drop right after being connected.

Does anyone know why this happened on Android 2.3?

Any clue will be highly appreciated.



-- 
I-Sheng Lin(Sam)*
*

-- 
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

[android-developers]Android Bluetooth HID profile

2012-03-29 Thread I-Sheng Lin
Hi Android developers,

I have done that the porting of HID profile onto Android 2.3 as the host.

My Android device(Gingerbread) now is able to connect to the Bluetooth
mouse/kb and it works really nice!

However, my question is that it seems very lack of information about to
make Android device as the client side.

For example, simulate the Android device can work as the KB/mouse and
connect it to the other Android device through Bluetooth.

I know that Cyanogenmod allows us to do it and yes, I have a sample code
and it works perfectly.

Unfortunately, when I install the code onto my generic Android 2.3, the
Bluetooth can be connected but drop right after being connected.

Does anyone know why this happened on Android 2.3?

Any clue will be highly appreciated.

-- 
I-Sheng Lin(Sam)

-- 
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] Re: Sending GPS coordinates to a server

2012-03-28 Thread I-Sheng Lin
I like this topic...

On Thu, Mar 29, 2012 at 1:43 PM, Bhuvan Chandra
bhuvanchandr...@gmail.comwrote:

 Actually i come from a science background and iam not an android developer
 , i was trying to develop an application for the sake of my project -
 Vehicle tracking using a mobile, I would be very thankful to u if u could
 explain to me in simple terms how to do it, I couldnt understand what u
 have mentioned earlier


 On Wed, Mar 28, 2012 at 10:39 PM, Ankit Kasliwal 
 kasliwalankit2...@gmail.com wrote:

 Hello,
 First you create Handler file or Web service which store data
 over server and then
 call that file through your Android application on Location onchange
 function to pass all the values to file.


 On Thu, Mar 29, 2012 at 11:04 AM, Bhuvan Chandra 
 bhuvanchandr...@gmail.com wrote:

 By sending the coordinates to a server I mean once u recieve the
 position coordinates of the location they have to be transmitted to a
 server(By server i mean our college server , The server which is used in
 our college and which iam working on) so that the coordinates can be
 accessed from the server and overlayed on a map from tracking the vehicle.
 Can anybody give me an idea about how to code a program so that i could
 recieve the coordinates of the location and directly transmit them to the
 server i mentioned above

 On Mon, Mar 26, 2012 at 12:41 AM, Ali Chousein 
 ali.chous...@gmail.comwrote:

  recieve the Location coordiantes

 http://stackoverflow.com/questions/1513485/how-do-i-get-the-current-gps-location-programmatically-in-android
 (The guidance provided by CommonsWare is simply excellent)

  send them directly to a server
 This depends what type of interface you have at the server side.
 Without knowing the server side interface, no one can tell you how to
 communicate with it from an Android platform. First you need to
 clarify your server side architecture, a question which is not
 directly related to Android SDK. If the server you should send data is
 already there, contact the responsible people to find out its
 interface. If you should develop the server also, I guess you need to
 research the best practices for server side architectures to decide
 which one fits best your scenario.

 -
 Ali Chousein
 http://socialnav.blogspot.com | http://twitter.com/socialnav1
 http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
 http://www.codeproject.com/KB/android/PayGol-Android.aspx
 http://geo-filtered-assistant.blogspot.com

 --
 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




 --

 Thanks and Regards,

 Ankit Kasliwal
 kasliwalankit2...@gmail.com
 +91-9300-940-136

  --
 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




-- 
I-Sheng Lin(Sam)
+886-929-052-222
+86-159-1539-8455
*Many things difficult to design prove easy to performance.-Samuel Johnson
*

-- 
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] Re: Home Button

2011-10-07 Thread I-Sheng Lin
I am amazed that the code works. Have been looking for it a super long time

sent from my Droid.
 On Oct 7, 2011 12:14 PM, Zsolt Vasvari zvasv...@gmail.com wrote:
 Wow, that's a serious bug. So what happens if a rogue app does this?
 You are forced to hard reboot the phone by holding the down the power
 button?

 On Oct 7, 10:32 am, Dianne Hackborn hack...@android.com wrote:
 This will be fixed in ICS.





 On Thu, Oct 6, 2011 at 11:12 AM, TreKing treking...@gmail.com wrote:
  On Thu, Oct 6, 2011 at 8:36 AM, Ubiracy ubiracy@gmail.com wrote:

  I have a native app and i need this :( my tablet only do this ( open
  application on boot and don't close ), but when i use  the
progressdialog
  this lock  method  doesn't work.. bugs?!

   The bug is probably allowing you to hack / exploit the keyguard
setting to
  prevent the Home key from doing its thing.

 
---­--
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
  transit tracking app for Android-powered devices

   --
  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

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see
and
 answer them.- Hide quoted text -

 - Show quoted text -

 --
 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

Re: [android-developers] Re: plz help...!!!

2011-09-23 Thread I-Sheng Lin
Plz post ur source.
 On Sep 23, 2011 3:16 PM, Vinay Julme vinayju...@gmail.com wrote:
 post your code

 On Fri, Sep 23, 2011 at 11:33 AM, ashok chakravarthy ashoki...@gmail.com
wrote:

 when you call stopService(service). is it throwing any errors?


 On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 cumis...@gmail.com wrote:


 Easy.

 sevice.stop(plz);

 On Sep 22, 1:24 pm, Divyata Panchal panchal.divyat...@gmail.com
 wrote:
  Hie.. to al Android Developers...
 
  please tell me how to stop service in one class which is already
  started in other class.
  i need to start and stop service again n again according to my
  conditions.. pl give proper syntax to stop service..
  i am using::: Intent service= new Intent(this, myService.class);
  stopService(service);
 
  but this is not working...
  please guys reply as soon as possible..

 --
 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


 --
 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

Re: [android-developers] Memory leak with setAdapter + ArrayAdapter

2011-06-30 Thread I-Sheng Lin
Have u ever thought to fix ur orientation attribute?
 On Jun 30, 2011 7:38 AM, Atlan off...@mikemitterer.at wrote:
 I am really total desperate. Since a week I am searching a memory leak in
my
 App.
 I reduced everything to that little Activity attached.

 The problem *occurres** **if the orientation changes. For example if I
 change the orientation in the emulator 6 times I have 6 Instances of my *
 *Activity in MAT. It seams as the ListView holds a reference to my
Activity
 but I have no Idea how to get rid of this reference and how to solve that
 problem.*
 *
 *
 *Here are some MAT Screenshots... http://goo.gl/oovUI*

 Thanks in advance

 --
 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

[android-developers] Do someone know which application controls USB connected notification

2010-09-06 Thread I-Sheng Lin
Hi all,

i am not trying to disable the notification just want to know which
application controls it.

Does this application come with every android phone? i assume the answer is
yes. correct me if i am wrong.


Thanks

Regards

-- 
I-Sheng Lin(Sam)
+886-929-052-222

For every action, there is an equal and opposite criticism. 

-- 
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