[APP] Droid2Desk - now with alpha release(s)

Search This thread

BootsSiR

Senior Member
Jun 10, 2010
360
85
Halifax, NS
Ok, this is what I needed. Lots of feedback. I'll address individual posts throughout the day, but here are my thoughts so far

constellanation - thanks for the icon. I'm not sure if it'll be the final one but I'll probably use it for now :)

To those having issues when the screen is turned off - I think this is because the phone is killing your WiFi connection when it goes to sleep. I currently don't have anything in place to lock the WiFi connection on but I am going to add that in. I know Android is known to have issues with WiFi when the device sleeps (these issues don't exist in CM6). I will also be implementing an auto-reconnect mode so the software will automatically maintain the connection. Once your screens go off, are you able to connect manually?

To those not seeing their device detected - This could be an issue with your router blocking UDP multicast messages. Check your settings on your router and see if you can enable or unblock these types of messages. Future versions will allow you to manually enter the ip address of your device and that will allow you to circumvent this issue if router configuration is not an option.

To those experiencing crashes - any exceptions that occur should dump out to LogCat. If you are familiar enough with it, I'd love a copy of the exceptions :)

Thanks for testing it out. The feedback is very valuable.
 

davkav

Member
Jan 27, 2009
18
0
Dublin
working well on Ubuntu Mint and HTC Desire with DJDroids froyo 2.2 ROM.

It does lose connection when the device goes to sleep but that is the phone software rather than the Droid2Desk app.

I remember seeing a tool to keep the wifi 'alive' when the device goes into sleep. Ill try dig it out and report back.

Keep up the good work BootSiR, loving the application!
 

BootsSiR

Senior Member
Jun 10, 2010
360
85
Halifax, NS
working well on Ubuntu Mint and HTC Desire with DJDroids froyo 2.2 ROM.

It does lose connection when the device goes to sleep but that is the phone software rather than the Droid2Desk app.

I remember seeing a tool to keep the wifi 'alive' when the device goes into sleep. Ill try dig it out and report back.

Keep up the good work BootSiR, loving the application!

Are you able to connect to the device when the screen is off?
 

martin0285

Senior Member
Jan 11, 2010
466
6
Maine
Wouldn't the problem with it disconnecting shortly after screen goes out be caused by the fact you stated "App on phone must run in foreground for now".... Wouldn't this mean once the phone "sleeps" even tho WiFi is on and connected, the app/process has been stopped by the android scheduler?? The app would require a wakelock, does it? (Checked permissions and it appears it doesn't)

Maybe way off but that's kinda of my feeling... Please correct if I am wrong!!

Edit: Ok, I check out the app. I was able to re-connect after it got disconnected when screen shuts-off (about 10 seconds exactly, every time even upon reconnecting)... As stated previously, camera mode is a little buggy but thats to be expected. Other wise, this app is looking awesome!! Whats the word on when this thing gets released and pricing?? Any benny's/love for us XDA alpha testers?? HEHE :D:D:D

PS, 5 staring this thread!!
 
Last edited:

McFroger3

Senior Member
Nov 10, 2009
519
11
Winthrop
I keep getting this error.
noworklol.png


It will recognize the device, but won't connect even with my correct password.

Can anyone help me out?
 

BootsSiR

Senior Member
Jun 10, 2010
360
85
Halifax, NS
Wouldn't the problem with it disconnecting shortly after screen goes out be caused by the fact you stated "App on phone must run in foreground for now".... Wouldn't this mean once the phone "sleeps" even tho WiFi is on and connected, the app/process has been stopped by the android scheduler?? The app would require a wakelock, does it? (Checked permissions and it appears it doesn't)

The app only has to be the foreground application to use Camera mode. The service it starts still runs regardless so everything else should work fine in the background and/or with the screen off. I do believe I'll need to implement a WiFi lock though.

Maybe way off but that's kinda of my feeling... Please correct if I am wrong!!

Edit: Ok, I check out the app. I was able to re-connect after it got disconnected when screen shuts-off (about 10 seconds exactly, every time even upon reconnecting)... As stated previously, camera mode is a little buggy but thats to be expected. Other wise, this app is looking awesome!! Whats the word on when this thing gets released and pricing?? Any benny's/love for us XDA alpha testers?? HEHE :D:D:D

PS, 5 staring this thread!!

So when the screen is off can you connect without turning it back on?
 

BootsSiR

Senior Member
Jun 10, 2010
360
85
Halifax, NS
I keep getting this error.
noworklol.png


It will recognize the device, but won't connect even with my correct password.

Can anyone help me out?

That is the "generic" error you'll see if you can't connect. Basically, the application did not receive a response when attempting to talk to your phone. Out of curiosity, reinstall the phone application and see if that fixes it. Let me know.
 

BootsSiR

Senior Member
Jun 10, 2010
360
85
Halifax, NS
Yes sir no problems.... want a logcat of the disconnect??

EDIT: Seems like when plugged in via USB (for logcats) it doesn't disconnect..... Even unplugged now... HAHAHA Wiiiiiierd!!

I'm going to put up a new build (hopefully tonight) with some of the debug logging enabled to help troubleshoot these issues a bit better.

Still no dice. Keeps popping up with the error.

If it sees your device it means WiFi is active. Do you have a strong WiFi signal?
 

daveid

Senior Member
Jan 5, 2009
1,891
356
Samsung Galaxy S21 Ultra
Just so you know when stopping the service and closing (back button) the program I get a FC with the following outputted to my log. If I stop the service and press home to exit it does not FC...

Code:
09-15 09:57:21.518: WARN/dalvikvm(2179): threadid=1: thread exiting with uncaught exception (group=0x4001d820)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179): FATAL EXCEPTION: main
09-15 09:57:21.518: ERROR/AndroidRuntime(2179): java.lang.RuntimeException: Unable to destroy activity {com.boots.droid2desk/com.boots.droid2desk.Droid2Desk}: java.lang.IllegalArgumentException: Service not registered: com.boots.droid2desk.i@460f9590
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3655)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3673)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.access$2900(ActivityThread.java:125)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.os.Handler.dispatchMessage(Handler.java:99)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.os.Looper.loop(Looper.java:123)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.main(ActivityThread.java:4627)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at java.lang.reflect.Method.invokeNative(Native Method)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at java.lang.reflect.Method.invoke(Method.java:521)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at dalvik.system.NativeStart.main(Native Method)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179): Caused by: java.lang.IllegalArgumentException: Service not registered: com.boots.droid2desk.i@460f9590
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread$PackageInfo.forgetServiceDispatcher(ActivityThread.java:1074)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ContextImpl.unbindService(ContextImpl.java:886)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.content.ContextWrapper.unbindService(ContextWrapper.java:352)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at com.boots.droid2desk.Droid2Desk.onDestroy(Unknown Source)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3642)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     ... 11 more

Great initial release!!

Also, feature request here, how about the ability to send a long SMS message? Thanks!
 

BootsSiR

Senior Member
Jun 10, 2010
360
85
Halifax, NS
Just so you know when stopping the service and closing (back button) the program I get a FC with the following outputted to my log. If I stop the service and press home to exit it does not FC...

Code:
09-15 09:57:21.518: WARN/dalvikvm(2179): threadid=1: thread exiting with uncaught exception (group=0x4001d820)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179): FATAL EXCEPTION: main
09-15 09:57:21.518: ERROR/AndroidRuntime(2179): java.lang.RuntimeException: Unable to destroy activity {com.boots.droid2desk/com.boots.droid2desk.Droid2Desk}: java.lang.IllegalArgumentException: Service not registered: com.boots.droid2desk.i@460f9590
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3655)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3673)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.access$2900(ActivityThread.java:125)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.os.Handler.dispatchMessage(Handler.java:99)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.os.Looper.loop(Looper.java:123)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.main(ActivityThread.java:4627)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at java.lang.reflect.Method.invokeNative(Native Method)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at java.lang.reflect.Method.invoke(Method.java:521)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at dalvik.system.NativeStart.main(Native Method)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179): Caused by: java.lang.IllegalArgumentException: Service not registered: com.boots.droid2desk.i@460f9590
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread$PackageInfo.forgetServiceDispatcher(ActivityThread.java:1074)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ContextImpl.unbindService(ContextImpl.java:886)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.content.ContextWrapper.unbindService(ContextWrapper.java:352)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at com.boots.droid2desk.Droid2Desk.onDestroy(Unknown Source)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3642)
09-15 09:57:21.518: ERROR/AndroidRuntime(2179):     ... 11 more

Great initial release!!

Also, feature request here, how about the ability to send a long SMS message? Thanks!

Good find! I run a code obfuscater on the project before I release it to protect my code from reverse engineering and that's an unwanted side effect. I'll fix that up.

By long SMS, you mean just type away, hit send and it automatically splits it up into 160 char pieces and sends them?
 

Top Liked Posts