It would be very appreciated if there would be an installer for the android OS. Even if there are ways to install the program using the .jar package, it is better to use the native .apk.
Great work, anyway!
Thanks
Discussion
Anonymous
-
2010-11-17
Hi, I installed the available apk on my HTC Desire. I was able to connect via Wifi to my ubuntu laptop, but not via bluetooth.
Could you tell me if connecting via bluetooth is supported?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Connecting via bluetooth is supported for Android client, just make sure the PC is paired with your phone before connecting SmartCam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-11-18
Well, I've done some tests, and the android client connects to a windows PC (MS BT stack), but not to an Ubuntu PC via bluetooth.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-11-19
Would it be possible to compile a test version with the attached patch? It seems that it fixes the issue, but I'm a newbie in Android development and can't compile it myself.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I installed the available apk on my HTC Desire. I was able to connect via Wifi to my ubuntu laptop, but not via bluetooth.
Could you tell me if connecting via bluetooth is supported?
Connecting via bluetooth is supported for Android client, just make sure the PC is paired with your phone before connecting SmartCam
Well, I've done some tests, and the android client connects to a windows PC (MS BT stack), but not to an Ubuntu PC via bluetooth.
Would it be possible to compile a test version with the attached patch? It seems that it fixes the issue, but I'm a newbie in Android development and can't compile it myself.
Thanks in advance.
--- a/src/com/smartcam/webcam/comm/BluetoothHandler.java 2010-11-04 00:51:24.000000000 +0100
+++ b/src/com/smartcam/webcam/comm/BluetoothHandler.java 2010-11-19 18:28:52.000000000 +0100
@@ -59,7 +59,13 @@
BluetoothDevice btDev = btAdapter.getRemoteDevice(btDevAddr);
try
{
- btSocket = btDev.createRfcommSocketToServiceRecord(SMARTCAM_BT_SERVICE_UUID);
+ /*
+ btSocket = btDev.createRfcommSocketToServiceRecord(SMARTCAM_BT_SERVICE_UUID);
+
+ found at http://kr3l.wordpress.com/2010/09/04/using-android-as-robot-remote-control
+ */
+ Method m = btDev.getClass().getMethod("createRfcommSocket", new Class[] {int.class});
+ btSocket = (BluetoothSocket) m.invoke(btDev, 1);
}
catch(IOException e)
{
Got it working with the patch which I attached to https://sourceforge.net/tracker/?func=detail&aid=3117129&group_id=197856&atid=963144.
Nevertheless, even on the lowest resolution (176x144), the FPS rate is at only 1,08, so that the stream is quite laggy.
Could android 2.1 also be supported?
It seems to be restricted to android 2.2+, while there are still many 2.1 devices.
regards,
Carlos Bessa