yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Gear] doubleohzero:
I am having the same problem. Installs fine. Runs fine but fc upon selecting server from gear. I have attached my logs. Thanks

CREATE

Bluetooth adapter found

Pinging device SPH-L900<512> <524>

Socket connected to SPH-L900

PING RECV {"RESPONSE":"PING_OK"}

Found device

Retrieving Topics

RESUME

Requesting GIVE_THREADS

Waiting for response

Exception

App destroyed. Closing socket

---------- Post added at 11:55 AM ---------- Previous post was at 11:40 AM ----------

Not found device in db.

Device chose: SPH-L900<78:59:5E:30:29:4B>

CREATE

Bluetooth adapter found

Found device in DB 78:59:5E:30:29:4B

Socket connected to SPH-L900

PING RECV {"RESPONSE":"PING_OK"}

Found device

Retrieving Topics

RESUME

Requesting GIVE_THREADS

Waiting for response

Exception

App destroyed. Closing socket

Found device in db.

CREATE

Bluetooth adapter found

Found device in DB 78:59:5E:30:29:4B

Socket connected to SPH-L900

PING RECV {"RESPONSE":"PING_OK"}

Found device

Retrieving Topics

RESUME

Requesting GIVE_THREADS

Waiting for response

Exception

---------- Post added at 11:57 AM ---------- Previous post was at 11:55 AM ----------

Bluetooth adapter enabled

START SERVICE

Service binded

Current server status: started

Current server status: started

Stopping service

Can't listen for bt socket

read failed, socket might closed or timeout, read ret: -1

Current server status: stopped

Current server status: stopped

Starting service

Start Service

Current server status: started

Accepting socket...

Socket connected

Started new client thread

Accepting socket...

Recv (32) : [{"COMMAND":"PING_FROM_GEAR_SMS"}]

Callback recv {"COMMAND":"PING_FROM_GEAR_SMS"}

Send msg (22) [{"RESPONSE":"PING_OK"}]

Recv (26) : [{"COMMAND":"GIVE_THREADS"}]

Callback recv {"COMMAND":"GIVE_THREADS"}

Found 2784 SMS threads

App stopped. Unbinding service

App started. Binding service
[Samsung Galaxy Gear] SimMasterIbra:
Did you tried with the server from the above post? (1.2.1)
[Samsung Galaxy Gear] swagatsourav:
Now the app on the mobile dosen't FC. instead when i open the client app on my gear, it asked me to select the server and when i choose my device then on the gear it says "Oh no, it just crashed"
[Samsung Galaxy Gear] animatechnica:
exact same result - stock GS4 + null23
[Samsung Galaxy Gear] almony8:
I tried the new server and now the client on the gear is force closing. It says "oh no, the app clossed" or something like that. Getting closer for me though at least. Thanks for continuing to work on this.

Sent from my SM-N900P using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Gear] doubleohzero:
Same problem. In the log it shows that it started to receive my messages but then gets an exception and closes. "exception json 1"
[Samsung Galaxy Gear] SimMasterIbra:
If you open the log from the phone and the one from the gear and compare the json message, are both the same, or the one from the gear is incomplete?
[Samsung Galaxy Gear] MrHead99:
I still have the SMS server running on the notification bar, when i connect to internet after closing the app and bluetooth.

Broadcast sms received

Broadcast ok

Send msg (22) [{"RESPONSE":"SUCCESS"}]

Send Error socket closed

Broadcast sms received

Broadcast ok

Send msg (22) [{"RESPONSE":"SUCCESS"}]

Closing thread

App started. Binding service

-------------------

Bluetooth adapter enabled

Service binded

Current server status: started

START SERVICE

Current server status: started

Stopping service

Can't listen for bt socket

read failed, socket might closed or timeout, read ret: -1

Current server status: stopped

App stopped. Unbinding service

CREATE SERVICE

START SERVICE

App started. Binding service

-------------------

Service binded

Current server status: stopped

App stopped. Unbinding service

App started. Binding service

-------------------

Service binded

Current server status: stopped

App stopped. Unbinding service
[Samsung Galaxy Gear] shapirobh:
Text Sent from Watch doesn't show up on my phone, but is sent

When I send a text from my watch it does go and the recipient is able to respond to it, but it doesn't show up on my phone log. If I re-boot my watch I don't see the texts that were sent from it, but I do see any responses that were sent back.

I am running stock Galaxy Gear with this app side loaded.

Thanks for all you do.
[Samsung Galaxy Gear] patty1500:
The galaxy gear sms client keeps saying could not connect to any devices both are connect through blue tooth
[Samsung Galaxy Gear] doubleohzero:
There is no json message in the phone log
[Samsung Galaxy Gear] JasonJ1968:
There is a problem parsing the package

I would LOVE to get this app running on my Gear, but I get the parsing error when trying to install the server to my mobile phone -- a Galaxy Note 1.

Any assistance would be appreciated!

Thanks for this work, I can't wait to get going with it!

Jason
[Samsung Galaxy Gear] SimMasterIbra:
On mobile, are you on stock rom and stock messaging app? If not, what do you use?

But how does the response looks like? The one after the "GIVE_THREADS" command has been received? Or can you post the log here or via pm? It's wierd, i've also tried today on a sgs1 with cm 9 and it worked.

It should install correctly. Can you try to download it again? Also make sure you have checked the allow unknown sources checkbox.
[Samsung Galaxy Gear] JasonJ1968:
Still Parsing the Package Error!

I have already checked "allow unknown sources", but I still get the parsing package error.

I am running a Galaxy Note 1, with Jelly Bean, stock rom. The Galaxy Gear is null rom'med.

Please help--- my partner's Galaxy Note 1/Gear 1 also needs this SMS app too. I'll gladly donate if I can get it working.

Jason
[Samsung Galaxy Gear] cobyman7035:
is there a new client gear v1.2.1?

i will try that server apk v1.2.1 on my phone thanks

installs fine, but when i run the client on the gear, it says 'oh no, it just crashed' or something like that
[Samsung Galaxy Gear] SimMasterIbra:
I will check this too.

Can you send me the log files from phone and gear?
[Samsung Galaxy Gear] lazer9:
[MENTION=4391356]SimMasterIbra[/MENTION]

Should I be trying that server apk v1.2.1 that you posted a few pages back also to resolve my issue of texts not sending to anyone other than my own number? Or is that troubleshooting a whole different issue...
[Samsung Galaxy Gear] SimMasterIbra:
It was a patch for other issue. I'm still trying to figure what is the problem in your case.
[Samsung Galaxy Gear] patty1500:
I get unfortunately galaxy gear sms has stopped working on both devices after clicking the app on the gear why is this
[Samsung Galaxy Gear] lazer9:
Just a thought here,

This app: -> http://xdaforums.com/showthread.php?t=2640175 functions perfectly for me and it's intentions. While limited compared to yours, the pre-canned text send out for me just fine and both are received by recipients and populate on the phone's texting app.

[MENTION=4391356]SimMasterIbra[/MENTION] Maybe you could take a look into the code and/or bump heads with the developer and his methods so to get your fine app working for more of us! :)
[Samsung Galaxy Gear] sweetmitch22:
I have an s4 and with version 1.2 the gear sms server crashes on my phone and when I use server 1.2.1 with client version 1.2 then the gear sms client on my gear crashes help

programming plus C+
[Samsung Galaxy Gear] SimMasterIbra:
Yes, but in that case the app just forces the gear's default reply screen for any contact, and then gear manager will handle the rest of work. In my case, the app is independent from gear manager, and the server will handle the sending of the message.
[Samsung Galaxy Gear] lazer9:
Thanks for clearing that up. I didn't completely understand that part, now it makes better sense.
[Samsung Galaxy Gear] SimMasterIbra:
I've updated the server apk in the first post, maybe you can give it a try.

I'm really sorry for all of these problems. On my device it works well and this makes my testing a little bit harder because I can't see the bugs so easy. On the emulator I don't have bluetooth connectivity, so it's useless in this case. The only option I have is to update the apks and let people test. I hope I can fix the app quickly, so I can go further with more apps for gear. :D
[Samsung Galaxy Gear] almony8:
I will try the updated version shortly and see if I'm still having the issue with the app crashing on the gear while on k3 rom on the note 3. Thanks for the continued efforts.
[Samsung Galaxy Gear] John_wba:
It's worked for me perfectly from the very first version mate. But I thank you for trying so hard to fix for others. Nice one :)
[Samsung Galaxy Gear] almony8:
I'm still getting "oh no, it just crashed" running Kitkatkiller version 2.0 on my note 3 and most up to date null rom on my galaxy gear.
[Samsung Galaxy Gear] SimMasterIbra:
Can you send me a log file?
[Samsung Galaxy Gear] almony8:
Sure, as soon as I get home from work in like 2 hours I will send it over. Do you want the log from the phone and the gear or just one of them?
[Samsung Galaxy Gear] SimMasterIbra:
You can send me both. Just to make sure :)
[Samsung Galaxy Gear] proParabellum:
Crash issues

hello i just dl your two files and its working on my phone - galaxy 5s, however, when i loaded it to my custom rom galaxy gear- its running null 23, it keeps crashing before it even gets loaded. blue tooth tethering is on on both sides. ive been running into issues with the 5s not wanting to communicate with the null rom but once i debugged it there wasnt an issue. not sure what else i can say but so far everyone else is pretty happy bout it.

thanks!
[Samsung Galaxy Gear] JasonJ1968:
There is a problem parsing the package!

I tried to install server version 1.2.2 to an un-modded Galaxy Note 1 and I still get the parsing package error. The Note 1 is running stock Jelly Bean. Thanks anyways and I hope there's hope...
[Samsung Galaxy Gear] lazer9:
:good: UPDATED 22.04.2014 is working now for me for the most part!

Now I did update my S4 to KitKat leak - prerooted earlier yesterday before trying this so don't know if that helped or not.

I can now send the text out from the Gear and confirm the recipient receives and it stays populated on the gear in this app also!

One minor inconvenience looms. I use Textra to take over texting on my S4 and my outgoing messages sent through this via the gear don't populate in Textra - I did check in the STOCK messaging app on phone and they are there.

This would now be perfect in my case if I could just figure out why the sent messages don't list in Textra.

Many thanks for this! :highfive: [MENTION=4391356]SimMasterIbra[/MENTION] and appreciation for sticking with this and your continued efforts to make it work for everyone!!!
[Samsung Galaxy Gear] SimMasterIbra:
Nice to hear this. Maybe I will be able to fix this issue too. :)

Which Jelly Bean are you using? 4.1, 4.2, or 4.3?

Thanks, I will try to fix this as soon as possible.
[Samsung Galaxy Gear] lazer9:
That would be the tits if you could get this to sync in to Textra! :D

And if I could find a damn keyboard that suites me on this gear. I either get one with the letters so small I can hardly type OR another keyboard that can see to type but it covers the whole screen and I can't see what I'm typing. Grrrrrrrrrr :mad:
[Samsung Galaxy Gear] almony8:
So, I just updated this morning to the NC5 version of KitKatKiller which is version 3.0 test 7 and redownloaded the app to my phone and to the gear and now everything seems to be working. How do I make the watch automatically give me notifications to your app instead of to the stock notification app? Like when I get a message on the watch, my screen comes on right to the stock notifications app.
[Samsung Galaxy Gear] SimMasterIbra:
I'm using touchpal keyboard on my gear. Maybe it's not the best keyboard because of the smaller buttons, but with swipe + autocorrect feature it's pretty decent.

Currently you can't do this. The main reason was to not have a running background service to drain the battery faster, like tablet sms, but maybe I will add an option for this in a future update.
[Samsung Galaxy Gear] almony8:
Thanks, I just thought I was missing something stupid. Awesome app though now that I have it working I love it already. Great job:good:
[Samsung Galaxy Gear] JasonJ1968:
I am using a Galaxy Note 1....

... running stock ROM Jelly Bean 4.2...

Jason
[Samsung Galaxy Gear] lazer9:
Just installed this. Not bad! :good:
[Samsung Galaxy Gear] SimMasterIbra:
I've updated the server apk on the first post. Can you try it?
[Samsung Galaxy Gear] lazer9:
Should I try it also for the Textra issue or is this chasing something else? :confused:
[Samsung Galaxy Gear] SimMasterIbra:
Not necessary, but you can give it a try. Mostly, it fixes the crash problem that some people had with it.
[Samsung Galaxy Gear] patty1500:
It's working now but the contacts names do not appear running dn3 v2 on note 2 and null23 on My gear
[Samsung Galaxy Gear] lazer9:
I'll hold off then for now since it's functioning well otherwise. No use chancing breaking something that works, lol :angel:
[Samsung Galaxy Gear] JasonJ1968:
Getting Closer....

Now the server installs on the Note 1 JB 4.2 phone, and the client installs on the NULL ROM Gear.

Opening the server app -- no problem. Opening the client app -- crashes both devices.

After crashing on both devices, the Server starts up again automatically on the phone.

Thanks for helping me... getting closer!

Jason
[Samsung Galaxy Gear] doubleohzero:
Updated to the latest server and it works! On note 2 stock and GG null 21. Thank you so much! I don't know what you changed but it now does not crash and everything works as it should.

Only question is that it loads slowly. Is that just me?
[Samsung Galaxy Gear] SimMasterIbra:
It could load slowly if you have many messages (like thousands). If this is your case, I can try to find a workaround for this too.
[Samsung Galaxy Gear] reesedilla75:
wow

Thanks a lot bro last update fixed it. Great work, I would like to buy you a beer. Let me know how to donate.
[Samsung Galaxy Gear] patty1500:
And what about showing the contacts?
[Samsung Galaxy Gear] SimMasterIbra:
Now that most of the bugs are fixed, I can focus on adding new features.
[Samsung Galaxy Gear] patty1500:
Sorry I thought it was a glitch on my end
[Samsung Galaxy Gear] jason.T:
Works for me using Textra. But I'm on a Nexus 5, Kitkat stock., latest Null on gear. Works flawlessly.
[Samsung Galaxy Gear] swagatsourav:
What keyboard do i need to side load the gear. I can confirm now, the app works without fail on my gear and my phone. but as i do not have any keyboard installed on my gear , so cant send any sms yet
[Samsung Galaxy Gear] lazer9:
The above one mentioned is working pretty well! :D
[Samsung Galaxy Gear] doubleohzero:
Well done! Awesome app! I'm excited to see what else you come up with.
[Samsung Galaxy Gear] cobyman7035:
anyone get this working on ART mode with a rooted nexus 5 and null v23 rom? thx

1.24 server installs fine on phone

1.24 client installs fine,

when i open it on the gear, it says could not detect or connect to a device after i chose nexus 5 option on screen
[Samsung Galaxy Gear] SimMasterIbra:
Can you send me a log file from the phone and the gear?
[Samsung Galaxy Gear] John_wba:
Latest sms server drains battery like mad on the phone... also when you press stop service or send log, nothing happens
[Samsung Galaxy Gear] allendj81:
This app works using gear manager correct?? or does it work thru bluetooth?
[Samsung Galaxy Gear] allendj81:
you install this on my S3 running an AOSP KK rom, no gear manager installed and its sending and receiving text flawlessly. One question tho, no alerts are being pushed to the gear, but when opening the SMS app, new messages show up. Is the gear supposed to get alerts or is it because im not using GG manager?
[Samsung Galaxy Gear] SimMasterIbra:
For the moment there are no notifications on gear. I will add them in a future update, but first I have to do some researches regarding the battery drain on the phone.

And no, this app does not rely on gear manager. It's using it's communication thorough bluetooth. Samsung did not release any documentation or sdk for this, only for gear 2.
[Samsung Galaxy Gear] patty1500:
I have no battery drain and the app is open all the time on my phone and watch
[Samsung Galaxy Gear] John_wba:
could you use BetterBatteryStats app and test with/without and report back what you find mate? I'm hoping it's not just me, as it's been working perfectly in all previous versions. Thanks.
[Samsung Galaxy Gear] cyberbandit1998:
This is the greatest app for the gear for non touch wiz ROMs. This works awesome with no battery drain. I hope I don't offend if I do I aplogize but create message notification like the ATN notification has on the gear and this is the greatest GEAR APP EVER :)
[Samsung Galaxy Gear] SimMasterIbra:
Thanks! I am currently working on this update. :)
[Samsung Galaxy Gear] shapirobh:
Works Great!!

I just installed the latest update on my phone. Everything works great now. The outgoing texts are now logged on the phone. Thanks for your work on this.

SGS4 running native Samsung ROM

Galaxy Gear running native ROM with keyboard and app side-loaded.
[Samsung Galaxy Gear] patty1500:
How do I get notifications through to my watch thanks
[Samsung Galaxy Gear] SimMasterIbra:
Click on the button from the action bar, then go to settings and check the notifications checkbox. See picture 1 and 3 from the first post.
[Samsung Galaxy Gear] patty1500:
Thanks pal app works great :)
[Samsung Galaxy Gear] lazer9:
Nice update ;) Still issue for me of my texts sent from the gear with this app no populating into Textra but otherwise, A+
[Samsung Galaxy Gear] cyberbandit1998:
Awesome it's working great. I have noticed one thing the server keeps stopping on the phone. I have to restart the server apk every one in a while.
[Samsung Galaxy Gear] dan04103:
Another very nice addition to a very nice app. Well Done Sir!
[Samsung Galaxy Gear] noctrin:
I really like the idea, the only issues i have so far:

1) random app crashes on the watch

2) for large conversations (cough* girlfriend* cough) it takes quite long to load the list (up to 20-30 seconds). Maybe add the option for the server to only send the last ~10-20 messages rather than sync the whole conversation.

3) Would be nice if the notification included the message text as well.

I've never done any android development, but i am a programer. If you were willing to share the source, i'd play around with it a bit.

Great job though, keep up the good work!
[Samsung Galaxy Gear] SimMasterIbra:
1. Is there a certain moment when the app crashes?

2. That's a good idea, I will consider it for the next update.

3. I will add an option for that, too.

I will think about the source, but for now I will keep it closed :)

Thanks!
[Samsung Galaxy Gear] noctrin:
As far as i can tell all crashes happen when loading a conversation, generally my long ones (over 500 messages). My longest conversation takes over minute to load and most of the time (>50%) it will cause a crash. Once the crash happens, every conversation will result in a crash until i restart the device/force quit the app.

Generally what i see visually:

The loading indicator will spin for the first 30 seconds, then it will freeze, but the app keeps going. Sometimes it will result in the conversation loading successfully. Other times it will just crash.

After it crashes once, it sends me back to contacts.

Selecting another contact will initialize the load, the loading indicator will spin for about 3-4 seconds and then a crash occurs.

---

Behaves fine when loading smaller conversations, but it will crash eventually if i keep shifting through them.

My best guess is memory issues.

--

My idea would be to have a sync limit, say 40. Keep the last 40 messages on the watch, have a 'last' timestamp, compare it to phone on load and only send the messages between the last on the watch and the last on the phone.

When exiting a conversation, release it from memory (if possible), next load should be local from device anyway.

I'm also pretty sure you could come up with a more aggressive caching plan: populate the list on notification receive (ie: add new message to list). The phone could send an array of "last-received" timestamps as well and you can generally assume that unless a notification was received or it has been a long time since it last synced with the phone, the local versions are up to date given the cached time-stamp array and local timestamps match.

I'll post anything else i find :)
[Samsung Galaxy Gear] cobyman7035:
v1.3 still no work for me lol, i think im giving up, don't want to install another version or try another
[Samsung Galaxy Gear] SimMasterIbra:
I'm doing my best to solve the bugs that people encounter. Feel free to send me logs everytime it crashes. It will be very helpful and I can identify the problem faster.
[Samsung Galaxy Gear] patty1500:
For people who the app crashes on delete your messages off your phone if your like and like to text your message will be jam packed I deleted mine and the app worked for me :)
[Samsung Galaxy Gear] almony8:
+1 to everything you just said

Sent from my SM-N900P using Xparent Skyblue Tapatalk 2
[Samsung Galaxy Gear] cobyman7035:
ya i think your right, too many text messages on my phone, i think thats why the app crashes on me, it loads and spins, then i get the FC error popups
[Samsung Galaxy Gear] patty1500:
That's what happened to me then I deleted all my messages and then it finally worked :)
[Samsung Galaxy Gear] John_wba:
The old bug is back, where you stop the service then close the app from recent apps list and the service will start again. That is the only bug I can see. Thanks.
[Samsung Galaxy Gear] jason.T:
+2 Best app to date. This thing works flawlessly on with my gear and Nexus 5
[Samsung Galaxy Gear] SimMasterIbra:
That's strange. I can't reproduce this bug on my device. Do you experience it only with this app?
[Samsung Galaxy Gear] John_wba:
Yes mate the bug has been in a older version too, i think somebody else commented on it a few pages back. If I turn the service off and leave the app in the recent apps it will stay off, but when clearing recent apps the service started message pops up again.
[Samsung Galaxy Gear] SimMasterIbra:
Can you check now with the new update? Thanks!
[Samsung Galaxy Gear] John_wba:
Fixed :D Thanks mate
[Samsung Galaxy Gear] noctrin:
The lag and most crashes are gone now, with the taskbar disabled and the process locked in memory it works incredibly well and makes great use of the space! Great job on the update!

Unfortunately i have a new problem now:

I can't access anything from the gear client while my phone is asleep. As soon as i wake the phone up everything is fine. I don't recall this being the case before.

Also another note, any chance of adding vibration/sound to the notifications :D ?

Cheers!
[Samsung Galaxy Gear] SimMasterIbra:
Hm, it does not vibrate? Because it should.

I remember that on my old galaxy s1 that when I opened some samba or ssh servers and the screen was off I could not connect to them, or the connection was really slow. So maybe it's something that android does to save battery, but I will investigate this and try to fix somehow.
[Samsung Galaxy Gear] noctrin:
I'm running a nexus 4, sounds like it could be the case. I don't remember it doing this before the update, but i was having a lot of trouble keeping it from crashing to really tell.

Also no vibration, might be that my nexus 4 doesn't work with the notification plugin that comes with the gear manager? It's really not a big deal though.
[Samsung Galaxy Gear] SimMasterIbra:
No, it does not rely on gear manager at all.

Just to check, does at least turns on the screen on gear? Also, on gear, do you have stock rom, or null rom?
[Samsung Galaxy Gear] noctrin:
it turns on the screen and shows the notification, yes. I'm running latest null rom

[Edit] Did a reboot and it is vibrating now. That was odd.