Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 23rd, 2011, 10:56 PM
Registered User
 
Join Date: Apr 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch. 13 bluetooth texting - how to use

I installed the bluetooth texting application on two devices. They can both listen and search just fine. When I click on a found device the interface jumps to text entry as expected, however that is where I'm stuck. There is no send button. Looking at the code I don't see how the text actually gets sent.
Could someone describe how this application is supposed to work?
Thanks.
  #2 (permalink)  
Old April 24th, 2011, 04:40 PM
Registered User
 
Join Date: Apr 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found in the code that it was waiting for the KEYCODE_DPAD_CENTER. I changed that to KEYCODE_ENTER to get it to send the message.

The next problem is the receiver does not actually display the message in the text view. I'm sure textView.setText(message); is getting called but the text does not show up.

Has anybody actually gotten this code to work? I assume the author did some testing before publishing it?
  #3 (permalink)  
Old May 2nd, 2017, 01:21 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Bluetooth Texting Application is get crashes.

When I am Running the application it get crashes and showing the error that list view get null reference. Plaese help me with the solution ASAP


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 13 Use of @ in front of variable name comecme BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 7 December 2nd, 2010 07:23 PM
Ch 13-cms_articles_compose nuhbutt BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 1 June 1st, 2010 12:28 PM
Simple Pagination for Ch 13 djlfreak BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 June 1st, 2010 08:29 AM
Search ch 13, ch 16 sporik BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 October 27th, 2009 04:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.