Friday, November 11, 2011

Using Android to develop healthcare applications and devices

Believe or not, most makers of DIY Gadgets are very greenpeace-compatible because many DIY projects recycle garbage to create something useful. Healthcare is certainly one of the many topics we shouldn't ignore, not only because of the ethical nature that gears to what a DIYer would love, but also because it involves many external hardware devices, great gadgets for curing illness and saving lives.

Since Android Ice Cream Sandwich (Android 4.0, API 14), we can develop Android applications for Bluetooth Health devices.

The official Android Developer site indicates that the BluetoothHealth API allows communication with devices that implement the Bluetooth Health Profile (HDP).

What is that? What can we do?

Let's see what a Bluetooth profile is: it is a wireless interface specification for Bluetooth-based communication between devices. In order to use Bluetooth technology, a device must be compatible with the subset of Bluetooth profiles necessary to use the desired services. A Bluetooth profile resides on top of the Bluetooth Core Specification and (optionally) additional protocols. While the profile may use certain features of the core specification, specific versions of profiles are rarely tied to specific versions of the core specification.

Bluetooth headset users are very familiar with the Advanced Audio Distribution Profile (A2DP). This profile defines how high quality audio (stereo or mono) can be streamed from one device to another over a Bluetooth connection. For example, music can be streamed from a mobile phone, to a wireless headset, hearing aid & cochlear implant streamer, or car audio or from a laptop/desktop to a wireless headset.

Health Device Profile (HDP) is also a traditional Bluetooth profile. It is designed to facilitate transmission and reception of Medical Device data. The APIs of this layer interact with the lower level Multi-Channel Adaptation Protocol (MCAP layer), but also perform SDP behavior to connect to remote HDP devices. It also makes use of the Device ID Profile (DIP).

Here are some documents: 
http://www.ars2000.com/Bluetooth_HDP.pdf
http://www.ars2000.com/Health-Device-Whitepaper.pdf

Ok, too much new information for non bluetooth-experts. Let's see some examples. These videos are really old where you can find some ancient phones. but you can imagine with today's beyond-smart-phones, everything can be greatly refined.

Video links:
http://www.youtube.com/watch?v=ERafau_GKxs
http://www.youtube.com/watch?v=oXFUXIF5Spo
http://www.youtube.com/watch?v=Vrji-kC1rk4


How to use BluetoothHealth API in Android?

It is fairly easy, just create a BluetoothHealth object. BluetoothHealth is a proxy object for controlling the Bluetooth Service via IPC. If you don't know what IPC is, check it out here.

How to connect to an external health device which is acting in the source role:

  • Use getProfileProxy(Context, BluetoothProfile.ServiceListener, int) to get the BluetoothHealth proxy object. 
  • Create an BluetoothHealth callback and call registerSinkAppConfiguration(String, int, BluetoothHealthCallback) to register an application configuration 
  • Pair with the remote device. This currently needs to be done manually from Bluetooth Settings 
  • Connect to a health device using connectChannelToSource(BluetoothDevice, BluetoothHealthAppConfiguration). Some devices will connect the channel automatically. The BluetoothHealth callback will inform the application of channel state change. 
  • Use the file descriptor provided with a connected channel to read and write data to the health channel. 
  • The received data needs to be interpreted using a health manager which implements the IEEE 11073-xxxxx specifications. 
  • When done, close the health channel by calling disconnectChannel(BluetoothDevice, BluetoothHealthAppConfiguration, int) and unregister the application configuration calling unregisterAppConfiguration(BluetoothHealthAppConfiguration) 

PS: There multiple BLE Health related profiles, the profile that Android uses is a very traditional one, which is not to be confused with similar Bluetooth Low Energy (BLE) profiles such as Health Thermometer and Hear Rate Monitor.

Now that Android is starting to provide official APIs, and that wireless integration with Healthcare has always been a great topic, it is worth getting started.

Imagine when you combine the Android BluetoothHealth API with Google Health APIs, that can create something really neat.

The Java Health Client APIs are documented at:

http://code.google.com/apis/health/docs/2.0/developers_guide_java.html

You can use "gdata" APIs on Android:

http://code.google.com/p/gdata-java-client/downloads/list

For authentication, there's a section in the Health API docs on choosing the appropriate mechanism:

http://code.google.com/apis/health/docs/2.0/developers_guide_protocol.html#Authenticating

One more thing: if you are not very interested in Bluetooth, start with something easy but really usesful, with your imagination.

Last weekend I made this application, pure software, aiming at helping people to better sleep without signal radiation and data consumption. It is called "Auto Signal Off When I Sleep", available in Android Market here.



That's way simple! You'd say. Well, it is a useful healthcare application, ain't it? Start your own healthcare applications now.



95 comments:

  1. I am also shock to about this service in your publish.new appeared technology is very employed to us and impressive

    ReplyDelete
    Replies
    1. Great Article
      android based projects

      Java Training in Chennai

      Project Center in Chennai

      Java Training in Chennai

      projects for cse

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. Android developers create so many applications which is good for health sector. Here I read another example of app development for health sector. Android Event Application

    ReplyDelete
  3. Android apps a very unique thing,If any developers have skill and grip on android apps then he can create any kind of program
    70-410 but i have grip on networking field,last year i have got certification about the network. You can buy easily paper relate to the Microsoft networking.

    ReplyDelete
  4. There are many industries which are closing down but healthcare is something which would always be needed by the masses. This field is growing rapidly and thus one can expect the number of jobs to grow with each year.
    Smart Medigap Plans

    ReplyDelete
  5. Another example is providing awareness about flu vaccines and encouraging people to get the vaccination.Stanozolol kaufen

    ReplyDelete
  6. Very nice post, I certainly love this website, keep on it. :)
    mangarockapk.info

    ReplyDelete
  7. JBL Bluetooth headphones, including earbuds, earphones, in-ear headphones, and on-ear bluetooth plantronics explorer 502 vs m70

    ReplyDelete
  8. A lot of people having an incorrect image about the cash advance loans or sometimes refer it as bad credit payday loans. Website

    ReplyDelete
  9. I have read your blog its very attractive and impressive. I like it your blog.

    hotmail signup process
    kissanime alternatives

    ReplyDelete
  10. I admit, I have not been on this web page in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. I thank you to help making people more aware of possible issues. Healthcare

    ReplyDelete
  11. Android is an open-source software stack created for mobile phones and other devices. It is combines and builds upon parts of several dissimilar open source projects.gerald winata gozali

    ReplyDelete
  12. This is truly a decent and useful, containing all data furthermore greatly affects the new innovation. A debt of gratitude is in order for sharing it  frec 4 course

    ReplyDelete
  13. Awesome blog. I enjoyed reading your articles. You can install all paid games for free with tutuapp tutuapp download

    ReplyDelete
  14. I frequently benefit from locating a site that gives you great ideas since I like being familiar with new stuff. Pleased when I came across your web blog because I greatly enjoyed this and so I anticipate your future article. An awesome web page and i'll return again for additional fantastic content… Please go to site webstagram

    ReplyDelete
  15. Exception handling is an important part of writing powerful Java applications.Understanding Exception Handling In Java

    ReplyDelete
  16. Hello. I am a researcher working on this subject. Thanks to your writing, my research is complete. 토토사이트

    ReplyDelete
  17. First of all, thank you for your post. Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again ^^ 토토사이트

    ReplyDelete
  18. As soon as I noticed this internet site I went on reddit to share some of the love with them. 안전놀이터

    ReplyDelete
  19. Are you the one who studies this subject?? I have a headache with this subject.온라인카지노사이트추천Looking at your writing was very helpful.

    ReplyDelete
  20. Hello, I'm happy to see some great articles on your site. Would you like to come to my site later? My site also has posts, comments and communities similar to yours. Please visit and take a look 토토사이트

    ReplyDelete
  21. It's the same topic, but I was surprised that it was so different from my opinion. I hope you feel the same after seeing the writings I have written. 토토사이트

    ReplyDelete
  22. Every weekend i used to go to see this site, as i want enjoyment 안전놀이터, since this this site conations genuinely fastidious funny data too.

    ReplyDelete
  23. ou need to be a part of a contest for one of the highest quality sites on the 토토사이트. I most certainly will recommend this site!

    ReplyDelete
  24. I'm writing on this topic these days, , but I have stopped writing because there is no reference material. Then I accidentally found your article. I can refer to a variety of materials, so I think the work I was preparing will work! Thank you for your efforts. 먹튀사이트

    ReplyDelete
  25. Thank you for some other informative blog. Where else could I get that type of information written in such an ideal means? I have a mission that I’m just now working on, and I have been at the look out for such information. 안전놀이터 It helped me a lot. If you have time, I hope you come to my site and share your opinions. Have a nice day.

    ReplyDelete
  26. Recently, I have started to read a lot of unique articles on different sites, and I am enjoying that a lot. Although, I must tell you that I still like the articles here a lot. They are also unique in their own way. 안전놀이터추천

    ReplyDelete
  27. I accidentally searched and visited your site. I still saw several posts during my visit, but the text was neat and readable. I will quote this post and post it on my blog. Would you like to visit my blog later? 메이저놀이터추천

    ReplyDelete
  28. Papers get to operate through Bible helpers and also plagiarism checkers to be certain that the author did not find idle at any stage in the process. Language inconsistencies won't be a thing with your newspapers as the specialists of our school paper writing support are passionate about writing and are always excited to strike you with something fresh. By: 메이저사설놀이터

    ReplyDelete
  29. You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. 메이저놀이터순위

    ReplyDelete
  30. You delivered such an impressive piece to read, giving every subject enlightenment for us to gain information. Thanks for sharing such information with us due to which my several concepts have been cleared. 메이저안전놀이터

    ReplyDelete
  31. Hello ! I am the one who writes posts on these topicssex I would like to write an article based on your article. When can I ask for a review?

    ReplyDelete
  32. I’m very pleased to discover this site. I want to to thank you for ones time for this particularly wonderful read!! I definitely savored every part of it and i also have you saved as a favorite to see new information on your blog. 사설놀이터

    ReplyDelete
  33. Please let me know if you’re looking for a article writer for your site. You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine. Please send me an email if interested. Thank you 먹튀사이트 I couldn't think of this, but it's amazing! I wrote several posts similar to this one, but please come and see!!

    ReplyDelete
  34. Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info 메이저안전놀이터 It's amazing. I want to learn your writing skills. In fact, I also have a website. If you are okay, please visit once and leave your opinion. Thank you.

    ReplyDelete
  35. Of course, your article is good enough, but I thought it would be much better to see professional photos and videos together. There are articles and photos on these topics on my homepage, so please visit and share your opinions. keonhacai

    ReplyDelete
  36. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work. 메이저토토사이트

    ReplyDelete
  37. What a nice post! I'm so happy to read this. 토토사이트추천 What you wrote was very helpful to me. Thank you. Actually, I run a site similar to you. If you have time, could you visit my site? Please leave your comments after reading what I wrote. If you do so, I will actively reflect your opinion. I think it will be a great help to run my site. Have a good day.

    ReplyDelete
  38. What a post I've been looking for! I'm very happy to finally read this post. 안전놀이터 Thank you very much. Can I refer to your post on my website? Your post touched me a lot and helped me a lot. If you have any questions, please visit my site and read what kind of posts I am posting. I am sure it will be interesting.

    ReplyDelete
  39. Thanks for sharing excellent informations. Your web site is very cool. I am impressed by the details that you’ve on this site. 야설
    Feel free to visit my blog :
    야설

    ReplyDelete
  40. Admiring the time and energy you put into your blog and in depth information you offer. It's good to come across a blog every once in a while that isn't the same outdated rehashed material. Fantastic read! I've bookmarked your site 일본야동
    Feel free to visit my blog : 일본야동

    ReplyDelete
  41. This web site certainly has all of the information and facts I needed concerning this subject and didn't know who to ask. 국산야동
    Feel free to visit my blog : 국산야동

    ReplyDelete
  42. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. 일본야동
    Feel free to visit my blog : e 일본야동

    ReplyDelete
  43. I have read your blog it is very helpful for me. I want to say thanks to you. I have bookmark your site for future updates.
    야설
    Feel free to visit my blog : 야설

    ReplyDelete
  44. Good day! This post could not be written any better! Reading this post reminds me of my previous room mate! He always kept chatting about this. I will forward this page to him. Pretty sure he will have a good read. Thanks for sharing. 안전사이트

    ReplyDelete
  45. You have fantastic creating abilities. I'm so delighted to discover the exact same subject I have actually been trying to find. Every person is offering me a great deal of praises today. You're remarkable. As an author, you're so awesome due to the fact that you're such a fantastic author. Why do not you come and also see my article? 바카라사이트

    ReplyDelete
  46. I've been using WordPress on a number of websites for about a year and am worried about switching to another platform. I have heard good things about ty le keo. Is there a way I can transfer all my wordpress content into it? Any help would be really appreciated!

    ReplyDelete
  47. I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article.
    일본경마

    magosucowep

    ReplyDelete
  48. 온라인카지노 Having read this I believed it was extremely enlightening. I appreciate
    you spending some time and effort to put this short article together.
    I once again find myself personally spending a significant amount of
    time both reading and posting comments. But so what, it was still worth it!

    ReplyDelete
  49. 바카라사이트 very cool post, i actually love this web site, carry on it

    ReplyDelete
  50. 토토사이트 We absolutely love your blog and find almost all of your post’s to be just what I’m looking for.
    Does one offer guest writers to write content for you personally?
    I wouldn’t mind publishing a post or elaborating on a number of the subjects you write with regards to here.

    Again, awesome web log!

    ReplyDelete
  51. 토토 magnificent put up, very informative. I'm wondering why the opposite
    experts of this sector don't notice this. You must
    continue your writing. I am confident, you have a huge readers' base already!


    ReplyDelete
  52. Excellent Blog! I would like to thank you for the efforts you have made in writing this post.
    온라인카지노

    ReplyDelete
  53. It’s so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also.
    스포츠토토

    ReplyDelete
  54. Great post happy to see this. I thought this was a pretty interesting read when it comes to this topic Information. Thanks..
    Artificial Intelligence Course

    ReplyDelete
  55. Nice Post thank you very much for sharing such a useful information and will definitely saved and revisit your site and i have bookmarked to check out new things frm your post.
    Data Science Course

    ReplyDelete
  56. Thanks Your post is so cool and this is an extraordinary moving article and If it's not too much trouble share more like that.
    Digital Marketing Course in Hyderabad

    ReplyDelete
  57. You have done excellent job Thanks a lot and I enjoyed your blog. Great Post.
    Data Science Certification in Hyderabad

    ReplyDelete
  58. You pointed out some good points. I did a Google search on the topic and found that most people would believe your blog. 카지노슬롯

    ReplyDelete
  59. Very great post which I really enjoy reading this and it is not everyday that I have the possibility to see something like this. Thank You.
    Best Online Data Science Courses

    ReplyDelete
  60. Very informative blog! There is so much information here that can help thank you for sharing.
    Data Science Syllabus

    ReplyDelete
  61. Hi, I looked at most of your posts. This article is probably where I got the most useful information for my research. Thanks for posting, we can find out more about this. Do you know of any other websites on this topic?
    Data Science Course Details

    ReplyDelete
  62. Superb Information and really appreciated with it and this is fine to read and valuable. I like it.
    Digital Marketing Course fees in Hyderabad

    ReplyDelete
  63. Excellent read, I just passed this onto a friend who was doing a little research on that. And he actually bought me lunch as I found it for him smile Therefore let me rephrase that: Thank you for lunch. 토토사이트


    ReplyDelete
  64. I saw your article well. You seem to enjoy 안전놀이터 for some reason. We can help you enjoy more fun. Welcome anytime :-)


    ReplyDelete
  65. Your website is really cool with great inspiring articles and thanks for sharing this amazing and educative blog post!
    Cloud Computing Courses in Hyderabad

    ReplyDelete
  66. 안전놀이터추천December 2, 2021 at 7:55 PM

    Hello, I am one of the most impressed people in your article. 안전놀이터추천 I'm very curious about how you write such a good article. Are you an expert on this subject? I think so. Thank you again for allowing me to read these posts, and have a nice day today. Thank you.


    ReplyDelete
  67. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work thank you.
    Cloud Computing Training in Bangalore

    ReplyDelete
  68. I like the helpful info you provide in your articles. I’ll bookmark your blog and check again here frequently. I’m quite sure I’ll learn plenty of new stuff right here! Good luck for the next. 먹튀검증업체

    ReplyDelete
  69. 먹튀검증커뮤니티December 8, 2021 at 8:32 PM

    Howdy! Do you know if they make any plugins to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Cheers! 먹튀검증커뮤니티

    ReplyDelete
  70. I’m very pleased to discover this site. I want to to thank you for ones time for this particularly wonderful read!! I definitely savored every part of it and i also have you saved as a favorite to see new information on your blog. 먹튀사이트

    ReplyDelete
  71. This is truly an practical and pleasant information for all and happy to see this awesome post by the way thanks for sharing this post.
    Data Scientist Course in Noida

    ReplyDelete
  72. It seems like I've never seen an article of a kind like . It literally means the best thorn. It seems to be a fantastic article. It is the best among articles related to 바카라사이트. seems very easy, but it's a difficult kind of article, and it's perfect.

    ReplyDelete
  73. Hello ! I am the one who writes posts on these topics카지노사이트 I would like to write an article based on your article. When can I ask for a review?

    ReplyDelete
  74. Hello, I'm happy to see some great articles on your site. Would you like to come to my site later? My site also has posts, comments and communities similar to yours. Please visit and take a look 토토사이트

    ReplyDelete
  75. 메이저토토사이트추천December 25, 2021 at 10:43 PM

    That's a really impressive new idea! 메이저토토사이트추천 It touched me a lot. I would love to hear your opinion on my site. Please come to the site I run once and leave a comment. Thank you.

    ReplyDelete
  76. 토토사이트순위December 27, 2021 at 1:20 AM

    I accidentally searched and visited your site. I still saw several posts during my visit, but the text was neat and readable. I will quote this post and post it on my blog. Would you like to visit my blog later? 토토사이트순위

    ReplyDelete
  77. This is the post I was looking for roulette I am very happy to finally read about the Thank you very much. Your post was of great help to me. If you are interested in the column I wrote, please visit my site .

    ReplyDelete
  78. I was looking for another article by chance and found your article룰렛 I am writing on this topic, so I think it will help a lot. I leave my blog address below. Please visit once.

    ReplyDelete
  79. My curiosity was solved by looking at your writing. Your writing was helpful to me.룰렛사이트I want to help you too.

    ReplyDelete
  80. 메이저토토사이트January 7, 2022 at 12:58 AM

    I'm so happy to finally find a post with what I want. 메이저토토사이트 You have inspired me a lot. If you are satisfied, please visit my website and leave your feedback.

    ReplyDelete
  81. I am very impressed with your writing카지노게임 I couldn't think of this, but it's amazing! I wrote several posts similar to this one, but please come and see!

    ReplyDelete
  82. 먹튀검증사이트January 18, 2022 at 10:53 PM

    Thanks for such a fantastic blog. Where else could anyone get that kind of info written in such a perfect way? I have a presentation that I am presently writhing on, and I have been on the look out for such great information. 먹튀검증사이트

    ReplyDelete
  83. I am sure it will help many people. Keep up the good work. It's very compelling and I enjoyed browsing the entire blog.
    Business Analytics Course in Bangalore

    ReplyDelete
  84. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work thank you.
    Data Analytics Course in Chandigarh

    ReplyDelete
  85. cyber security perks As the name predicts, AI technology is smart as it allows enhancing the ability of network security with time

    ReplyDelete
  86. CLASSIC OLD SCHOOL HIGH LIMIT 메이저공원 SLOTS: DOUBLE GOLD + DOUBLE DIAMOND SLOT PLAY! NICE WINS

    ReplyDelete
  87. Very informative Blog! There is so much information here that can help thank you for sharing.
    Data Science Training in Lucknow

    ReplyDelete
  88. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work thank you.
    Business Analytics Course in Chandigarh

    ReplyDelete

Disqus for DIY Phone Gadgets