Android Remote Display App

Status
Not open for further replies.

garetgarrett

Member
Joined
Mar 18, 2014
Messages
34
Reaction score
0
Location
NC
I'm sorry to hear about this... is the bluetooth adapter connected to the scanner and set up with the correct baud rate/flow control?

What model serial-to-bluetooth adapter are you guys using?

Does it crash on startup or when you click the "Connect" button?

Also, some of the settings aren't hooked up to anything.

My apologies. If I can get some feedback, I'll get this stuff fixed.
 

N8JJ

Member
Premium Subscriber
Joined
Oct 30, 2010
Messages
40
Reaction score
0
Location
Beavercreek, OH
It crashes on startup.

I don't have the bluetooth adapter yet but I assumed it would start.

What is the max/min android version setting you used?
 

garetgarrett

Member
Joined
Mar 18, 2014
Messages
34
Reaction score
0
Location
NC
Yes, it should have started at least.

This was built for 3.0 (Honeycomb) and up.
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="19" />

I'll find out what's causing this. I'll have to clear out my settings and start a new connection from scratch. Look for an update tomorrow...
 

KevinC

32D2T/957.282
Super Moderator
Joined
Jan 7, 2001
Messages
14,742
Reaction score
24,364
Location
I'm everywhere Focker!
I've tried it on 3 different devices, all of them 4.x.x and it crashes on all three.

I see it has 11 downloads, hopefully some of the other downloaders will chime in here with their results.
 

Quiet1

Member
Premium Subscriber
Joined
Feb 18, 2011
Messages
10
Reaction score
0
I have the same problem. "Unfortunately, Bluetooth Scanner has stopped"

HTC Vivid
Android 4.0.3
 

praxidike

Member
Premium Subscriber
Joined
Nov 12, 2011
Messages
103
Reaction score
0
Holy canola oil batman! Just what the doctor ordered! Looks great, can't wait to see the finish product. Very impressive.
 

garetgarrett

Member
Joined
Mar 18, 2014
Messages
34
Reaction score
0
Location
NC
Can you guys see if you have bluetooth enabled before starting the app?

I can make it turn on bluetooth from within the program, but I'm going to have to rewrite some of the connection code. The command to enable bluetooth is asynchronous; it returns immediately but may not be completed yet. I can't simply turn on bluetooth and go ahead with the connection, I have to write a callback handler.

Sorry for the delay, guys. I hope I'm not holding anyone up that already has their adapter.
 

praxidike

Member
Premium Subscriber
Joined
Nov 12, 2011
Messages
103
Reaction score
0
I enabled Bluetooth prior to starting the app and it still crashes out. Does the adapter need to be in Master mode?
 

KevinC

32D2T/957.282
Super Moderator
Joined
Jan 7, 2001
Messages
14,742
Reaction score
24,364
Location
I'm everywhere Focker!
Can you guys see if you have bluetooth enabled before starting the app?

I can make it turn on bluetooth from within the program, but I'm going to have to rewrite some of the connection code. The command to enable bluetooth is asynchronous; it returns immediately but may not be completed yet. I can't simply turn on bluetooth and go ahead with the connection, I have to write a callback handler.

Sorry for the delay, guys. I hope I'm not holding anyone up that already has their adapter.

I've tried it with BT on, paired/not paired and with BT off, crashes every time.
 

garetgarrett

Member
Joined
Mar 18, 2014
Messages
34
Reaction score
0
Location
NC
Thanks for checking ... I should have looked a little more closely before posting (although not having bluetooth on will crash it). I found some other stupid things I was doing related to my inexperience with java. (null is not the same as the empty string, of course)

I think I've got this fixed... I put the new .apk on sourceforge:
https://sourceforge.net/projects/bluetoothscanner/files/
 

praxidike

Member
Premium Subscriber
Joined
Nov 12, 2011
Messages
103
Reaction score
0
OK. Finally got it to work on my Samsung Galaxy S4. For reference, I had to place a null modem adapter between the RS232/Bluetooth adapter and Uniden serial cable. Will report back with any additional problems I come across. I'm guessing the asterisks at the top indicate signal strength?
 

garetgarrett

Member
Joined
Mar 18, 2014
Messages
34
Reaction score
0
Location
NC
Correct, that's signal strength.So glad it's working for you.

If your adapter has a DTE/DCE switch, you could try switching it to DTE. I don't have to use a null modem on mine. I have to switch it to DCE when I plugged it into my usb-serial adapter to configure the baud rate and stuff.
 

praxidike

Member
Premium Subscriber
Joined
Nov 12, 2011
Messages
103
Reaction score
0
Cool. The adapter I'm using has no switches just a really difficult button to configure it. If I get some time this week, I'll document the process onto the Wiki on SourceForge. It may help others having issues. I'll also look at the settings inside and mess with those. I may be able to forego a null modem adapter all together.

Based on the Uniden protocol, it would be easy to implement volume control, any thoughts?
 
Last edited:

N8JJ

Member
Premium Subscriber
Joined
Oct 30, 2010
Messages
40
Reaction score
0
Location
Beavercreek, OH
That fixed the crash problem. Not it runs. All I need is a bluetooth adapter.
Has anyone tried it on a 536? Do you use the front USB connector?
 

garetgarrett

Member
Joined
Mar 18, 2014
Messages
34
Reaction score
0
Location
NC
Cool. The adapter I'm using has no switches just a really difficult button to configure it. If I get some time this week, I'll document the process onto the Wiki on SourceForge. It may help others having issues. I'll also look at the settings inside and mess with those. I may be able to forego a null modem adapter all together.

Based on the Uniden protocol, it would be easy to implement volume control, any thoughts?

Excellent idea, thanks in advance for contributing! Yes, I do plan on adding a volume control. I'm not sure exactly how I want to implement it... I really think it needs to respond to using the volume knob on the scanner as well as the android device. I'm open to suggestions on how you think it should work. You seem to know a bit about this.

That fixed the crash problem. Not it runs. All I need is a bluetooth adapter.
Has anyone tried it on a 536? Do you use the front USB connector?
You would plug one of these into the rear gps port (it's really just a serial port) Be aware you might need a null modem or a BT adapter that can switch from DTE to DCE mode. I should get a usb on the go adapter for my S4 to try going that route (I have a HomePatrol, too) I just prefer wireless. If the 536 supports the MDL, PWR, STS, GLG, and KEY commands, it should work. It might not pick up the UID if it doesn't appear on the 4th display line. I'd be interested to see if gps works (it should)
 

KevinC

32D2T/957.282
Super Moderator
Joined
Jan 7, 2001
Messages
14,742
Reaction score
24,364
Location
I'm everywhere Focker!
Thanks for checking ... I should have looked a little more closely before posting (although not having bluetooth on will crash it). I found some other stupid things I was doing related to my inexperience with java. (null is not the same as the empty string, of course)

I think I've got this fixed... I put the new .apk on sourceforge:
https://sourceforge.net/projects/bluetoothscanner/files/

New version works for me now...thanks!
 

garetgarrett

Member
Joined
Mar 18, 2014
Messages
34
Reaction score
0
Location
NC
New version works for me now...thanks!
Awesome!

As I said, I'm open to suggestions. I want to get the logs to save and some of the settings don't really change anything. Volume control and quick keys are also on the list.

I'm also really interested in what bluetooth adapter and android device you guys are using.
 

praxidike

Member
Premium Subscriber
Joined
Nov 12, 2011
Messages
103
Reaction score
0
Excellent idea, thanks in advance for contributing! Yes, I do plan on adding a volume control. I'm not sure exactly how I want to implement it... I really think it needs to respond to using the volume knob on the scanner as well as the android device. I'm open to suggestions on how you think it should work. You seem to know a bit about this.

Give me a day or so to think of a way to implement the volume control. I'm not a programmer at all but have messed with some stuff regarding the Uniden protocol in the past.

Sent from my SCH-I545 using Tapatalk
 
Last edited:

praxidike

Member
Premium Subscriber
Joined
Nov 12, 2011
Messages
103
Reaction score
0
As far as which adapter, I'm using a SIIG RS232 to Bluetooth. I've tested this on a Verizon S4 and a Cyanogenmod Galaxy Tab 10.1. The Tab lags a little bit on updating the app, but nothing to be worried over.
The adapter was placed into Slave mode. It wasn't being discovered by either of my devices using Master mode. It's getting power from USB.

In addition, maybe a feature to turn off and on logging. Just a thought o had because my S4 was getting a little hot. I'm sure I'll think of more things to add, but am a very happy camper at the moment. Of course, I won't complain about the interface now because after all is working then that can be tweaked and made pretty ha ha

Sent from my SCH-I545 using Tapatalk
 
Status
Not open for further replies.
Top