yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] runnirr:
I was able to reproduce that scenario (without Sprint integration). I'll look into it. This is likely a problem with CyanogenMod's version as well.

It is possible but it would be out of scope for this module. Also, it looks like Sliding Messaging is a paid app so I won't be looking into it. If another developer is interested in solving this use case, I can provide more information on how this one works.
[Xposed Framework Modules] SeanA208:
Just as a followup, everything seemed to work fine for a couple hours but I'm currently seeing some issues. Messages aren't sending reliably (some go through, some do not) and texts aren't coming through reliably (i.e. they come in on Google Voice but not in the SMS app). I'm going to reboot and see if the problem persists. The issues could be due to external factors too (and I've been experimenting with switching the default texting app but I can't imagine that's related)

As a side note, is any of the code open source or are you looking for help from other developers? I don't have any experience building Xposed modules but I do have Android experience and have done software development for a long time.
[Xposed Framework Modules] runnirr:
Messages are sent using data/wifi (perhaps that is the problem with sending). 4.4.x made many changes in how sms messaging works. I tested briefly on 4.4.2 with hangouts (just to make sure there wasn't any huge issues). I'll try it out some more and see if I can find anything that would be causing it. Day-to-day i use 4.2.2 though.

As far as the source, its currently not uploaded anywhere, although I can share it if you are interested (in a day or so). This was my first Xposed module and it was pretty straight forward, just some reflection. Rovo89's guide is good. https://github.com/rovo89/XposedBridge/wiki/Development-tutorial
[Xposed Framework Modules] famewolf:
I'm on 4.4.2 and no modules with "voice" is showing up in the xposed installer modules list...I've hit refresh in the installer so how do I get your module?
[Xposed Framework Modules] runnirr:
There is a link at the bottom of the first post for the apk. Download and sideload it. Its not in the xposed repo/installer yet.
[Xposed Framework Modules] famewolf:
ahh my apologies...I misread and was thinking both voice+apk and xvoice+ module were required for some reason. Thanks for clarifying for me. Thats what I get for posting at 4am. ;)
[Xposed Framework Modules] SeanA208:
Yeah I'm still seeing issues on 4.4.2 (functionality goes in and out) so if you could share the source that would be great. I can hack at it and post my findings/fixes if I have any.

Upon further review, it looks like sending is working (after reenabling and rebooting) but receiving is not. I'm not sure if it's an issue with the hook in Google Voice's notifications or in broadcasting the RECEVED_SMS (or something else?)
[Xposed Framework Modules] runnirr:
I finally got the source out and on Github. https://github.com/runnirr/XVoicePlus/

I cleaned up some stuff, and forked it from CyanogenMods (instead of just copying their files). The code on Github isn't the exact same that is posted in the OP (as of now) but everything seems to be working.

If you need help setting anything up let me know. Otherwise, feel free to mess around with the code.

Thanks for showing so much interest in this. Its good to know people are using it.
[Xposed Framework Modules] GoatsTech:
Can't wait to look into this. I will be downloading Xposed tomorrow and let you know how it works. I've been wanting to text through Hangouts instead of voice forever now. Thanks!
[Xposed Framework Modules] runnirr:
No problem. Let us know how it goes.

Also, I have uploaded the module to the Xposed repo http://repo.xposed.info/module/com.runnirr.xvoiceplus

It is different than what has been in the OP, but should be functioning the same as before. I'll put any new versions there.
[Xposed Framework Modules] decalex:
Runnirr, you are the man. I was praying for this on Koush's g+ post the other day. http://goo.gl/RSWJNI

Look forward to testing and 1 million Internetz to you..
[Xposed Framework Modules] b1ue:
I believe he meant the xposed module "app settings" which can be found in the xposed repo:)
[Xposed Framework Modules] egingell:
Indeed I was. :)

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] shaanfx:
Oh got it, thanks! Gonna try this, if the problem persists I'll figure out how to logcat :laugh:
[Xposed Framework Modules] Drahric:
I can't send SMS for some reason, I'm looking through the logcat but I think the hook your using is not being called, android 4.3 results aren't here so I don't know what the original result was. Will edit later with logcat

I used tasker to send the text and never get the text and this the logcat results

14:23:55.801 OutgoingSmsReceiver(20226)

Sending <xxxxxxxxxxx> via cellular instead of Google Voice.

14:23:55.801 XVoicePlus( 1113)

Trying to get context from AndroidAppHelper
[Xposed Framework Modules] termat:
What setting did you guys change? I ticked "insistent notification" and it still killed. Just ticked "resident", can't figure out what any of these mean. Thanks!
[Xposed Framework Modules] runnirr:
If it made it this far then the hook is working. There must be a different issue. I can look into more when I'm at my computer.

I never tested 4.3 since 4.2 and 4.4 worked. Also i havent seen other reports of errors on 4.3.
[Xposed Framework Modules] shaanfx:
I checked resident. The full description would be "resident in memory".
[Xposed Framework Modules] Drahric:
Where are you finding these options?
[Xposed Framework Modules] shaanfx:
It's a separate Xposed module called App Settings.

---------- Post added at 03:44 PM ---------- Previous post was at 03:41 PM ----------

My phone just had the random losing connection thing again. But thinking along the same lines, I also went and made the Google Voice app itself resident to see if that helps.
[Xposed Framework Modules] :
Probably would have to make the Xvoice Plus service a resident in memory so system doesn't kill the process.

---------- Post added at 05:29 PM ---------- Previous post was at 05:27 PM ----------

App Settings in Xposed repo and tick resident under Xvoice Plus and save.
[Xposed Framework Modules] runnirr:
Send me a log from the 1.2 build in Xposed Repo. 1.2a-e don't work. I need to remove those builds.

I'll look into it and see how hard it will be.

Thanks for the log. I'll have a test build out (sometime tonight) to (hopefully) fix that, with other things.

Disable in Xposed? Reboot after disabling.

Disable In the XVoice+ app? this should work. I'll look into it

It looks like there was an issue authenticating your account. Do no incoming messages work? or just that one.
[Xposed Framework Modules] niphoet:
All messages come through to the GV app, they just don't come through to the SMS app.
[Xposed Framework Modules] runnirr:
can you send through gv via the sms app?
[Xposed Framework Modules] niphoet:
Yes, I can send from any SMS app and the person gets it and it shows up in the GV app.
[Xposed Framework Modules] b1ue:
After disabling xvoice from within the app I was unable to send any sms... seemed like smsmanager was busy or something. The only way I could send through my carrier was by disabling the module from within xposed and rebooting. I'll test again to be sure and grab a log if it will help.
[Xposed Framework Modules] runnirr:
https://app.box.com/s/03z39auf88xl0gxhr1j8 1.2f

Hopefully fixes issue where the service is getting killed. You shouldn't need to keep it in memory.

Possibly fixes airplane mode issue (that I can't reproduce). If not, there is more logging so I can see whats going on.

edit:

I can't test this so logs will be good.
[Xposed Framework Modules] shaanfx:
Awesome! Trying it out now. Is it still supposed to say 1.2b in Xposed? I have just been installing these on top of each other, though I never even had 1.2b so I don't know why it's saying that.
[Xposed Framework Modules] runnirr:
Yup. The f is referring to the apk download name. I left it at 1.2b (for beta, or something). I'll update it to 1.3 in Xposed when I release it there. There shouldn't be any problem installing these on top of each other, as long as your are rebooting afterwards.
[Xposed Framework Modules] shaanfx:
Alright cool! Yep I'm rebooting every time. Fingers crossed!
[Xposed Framework Modules] egingell:
The Android installer will let you update an app that is equal or greater "versionCode". Less than requires ADB (pm install -d FILENAME).

"versionName" is completely arbitrary.

Both are shown in the AndroidManifest.xml file inside the APK.

--- Sorry, I like trivia even if it's trivial. :p

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] b1ue:
https://copy.com/f9QhWRMusLps4jT

Here is a log....hopefully you can point me in the right direction. Im not sure exactly if the problem is sending or receiving...but with most sms apps i can not text with xvoice disabled from within the app. Its works fine with stock messenger (should be in the log as well)....but all the others fail. Maybe this will shed some light on it.
[Xposed Framework Modules] shaanfx:
Got the three bouncing dots again on 1.2f :(
[Xposed Framework Modules] omegatyrant:
Hi! The integration works perfectly on cellular. However, when I switch to Wi-fi, I can only send messages. I never receive messages on hangouts, only through the GV app. I get the messages on hangouts only if I reboot my phone.
[Xposed Framework Modules] Drahric:
I have xvoice+ disabled and when it stops and starts again it does it xvoice ready thing, is there a way to turn that off?
[Xposed Framework Modules] runnirr:
Somehow there is a null pointer occurring when it accesses the db. I'll have a build out tonight to hopefully address this.

Edit:Try this buld: https://app.box.com/s/11hxe0ukdt6pxi1952lg

The toast? In the current build, no but I'm going to remove it completely soon.

Edit: here https://app.box.com/s/11hxe0ukdt6pxi1952lg

This seems to be the opposite experience other people are having. There should be no difference between wifi and cellular. Get me a log and I'll look.
[Xposed Framework Modules] decalex:
I was testing a similar situation on build 1.2f, and here's the portion of the logcat. Messages were not being received when on Wifi, but were on cellular. I have a feeling it might have more to do with the state switch though.

I filtered the log with "voice" but let me know if you need to see anything else. For reference, testing on Note3 (GSM), android 4.3

1. Wifi on

2. Sent SMS from different phone to Note3

3. SMS received through Google Voice app, but not XVoice+

{VoicePlusService Error refreshing messages}

4. Toggled wifi off on note3 - message came through

Logcat: http://goo.gl/swRQYe
[Xposed Framework Modules] runnirr:
Thanks for the log. I'm a bit confused. I don't know why the connection would timeout on wifi and not on cellular. I assume your wifi connection works for other internet-y things.

You could try the new build (bottom of OP) although I'm not sure it will help (won't hurt). I'll need test this out of 4.3 since it seems like that is the most common version causing people problems.
[Xposed Framework Modules] b1ue:
Seems the issue is gone now:)... Thanks for the quick fix. Everything else appears to be working just fine as well.
[Xposed Framework Modules] AaronCompNetSys:
I keep seeing the toast while in other applications, does that indicate it's crashing and I need to get you a log?

Note the start times, indicating the last time I got a toast from XVoice:
[Xposed Framework Modules] runnirr:
Not necessarily. Android doesn't like things running forever so it will kill them and then they'll restart. It doesn't mean its crashing. Other have reported success using an app to keep xvoice+ in memory. I'm looking into ways around that.
[Xposed Framework Modules] AaronCompNetSys:
I've done that with App Oops, I'll trigger it to resident and keep an eye on it.
[Xposed Framework Modules] shaanfx:
I read but I couldn't really understand...what's the difference between 1.2f and 1.2g?

Also - I think this might be glitchy only specifically with my campus Wi-Fi. Yesterday something weird happened; while I was connected to the campus Wi-Fi suddenly I couldn't send texts but I could still receive them. Then as soon as I stepped outside and switched to cellular, my sending functionality was restored. Didn't have to restart or anything, it just worked again. Usually I can send texts even on the campus Wi-Fi though. I'll keep an eye on it.
[Xposed Framework Modules] runnirr:
1.2g addresses issues when you signout of XVoice+ and removes the toast message (since it shouldn't be needed anymore). There seems to be some issues with Android 4.3 though.

Edit: Added a 1.2h build to the OP.
[Xposed Framework Modules] 0vermind:
This Xposed module is incredibly useful! I have one request though. Is it possible for you to add an option/checkbox to disable the sending part? I just want to receive Google Voice messages into the SMS database so I can see them in Hangouts, but I don't want to reply with my Google Voice number.
[Xposed Framework Modules] runnirr:
Its possible, but I don't plan on putting too many options into this. The easiest way for you to do that would be to get the code from github and remove the hook for outgoing messages. I can help you with that if you want.
[Xposed Framework Modules] SeanA208:
Hey, I've been using this since just after you posted it here and it seems to be working relatively well (Nexus 5 4.4.2). I do have a couple things I wanted to point out though:

1) When using this with Hangouts I occasionally get double messages. I.e. someone might text me something and it'll show up twice in hangouts. This often happens when my phone gets back on Wifi or data after having been disconnected and all messages that would have come through in that time frame come in twice.

2) Switching the default app causes troubles. While things seem to mostly work for hangouts, I switched the default app to Hello SMS (clearing data in Hangouts as I did it) and everything seemed to work fine. After then switching the default SMS app to Textra (again, clearing data from both Hello and Hangouts) things started breaking. At that point I could only send messages and not receive them (I think, I may not have even been able to send them). After clearing data in all three apps (Hello, Hangouts and Textra) and switching the default back to Hangouts it appears I can send messages but they only get picked up in the Google Voice app and not hangouts.

Logcat even shows:

D/XVoicePlus( 3035): Received incoming Google Voice notification

I/VoicePlusService( 5204): Refreshing messages

D/XVoiceSmsUtils( 5204): Creating fake sms. Broadcasting...

But there is no message in Hangouts.

Any suggestions for a fix? Uninstall and reinstall?

Edit: It looks like something is bad about the Hello SMS app. Uninstalling that seemed to fix the problem for now. Looking into it more.
[Xposed Framework Modules] runnirr:
1) I think some of the test builds I've put out (not in Xposed repo yet, bottom of OP) may fix this. XVoice+ refreshes whenever data connects, and whenever the Google Voice apps receives an incoming message. My guess is that both refreshes were happening and made messages show up twice.

2) I'm not sure whats going on. I can't see how switching default apps could break XVoice+ since it doesn't care what the default app is and just sends out the same message that the system does, which the app is then supposed to pick-up and save. It's possible that Textra does something different with messages (I did all of my testing with hangouts, but there is nothing specific to hangouts).

As for suggestions, stick to one sms app I guess? Not really sure.
[Xposed Framework Modules] iXNyNe:
Not sure if this has been pointed out (just started following this thread and I'm being a noob and not reading back a page or two) the manifest still reads 1.2b even after installing 1.2h. So xposed and titanium backup and viewing app info from system settings all show version 1.2b rather than 1.2h
[Xposed Framework Modules] SeanA208:
I believe that's expected. The "b" in 1.2b more or less stands for beta channel. 1.2h is just version "h" of the beta channel, essentially 1.2b version h. So yeah, seeing 1.2b is no issue.

---------- Post added at 02:03 AM ---------- Previous post was at 01:59 AM ----------

Great, I'm on the build at the bottom of OP so I'll report back if I notice anything. As for issue 2) it seems as if uninstalling Hello SMS did the trick.
[Xposed Framework Modules] egingell:
I'm occasionally getting repeat messages. Is happened twice. Both times the repeat was from a couple days before.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] ralphodog:
So others don't have to find out the hard way. Using the Wakelock blocker solution for better battery life on Google Play Services will block xvoice+.
[Xposed Framework Modules] runnirr:
Duplicate outgoing messages? or incoming?

I assume this is from the Google Voice app not being able to get a wakelock on incoming messages. Outgoing messages should still send. I don't use Wakelock blocker so this is just speculation
[Xposed Framework Modules] ralphodog:
Bizarrely, it's actually the opposite. Incoming messages still work but outgoing won't send. Restricting wakelocks doesn't seem to affect texts sent through the GV app either. The actual service that breaks things is the Google Play Services Checkin Service.

I just now switched things to fix it. I'm gonna see if this significantly impacts battery life before deciding whether to keep xvoiceplus or not. If anyone more knowledgeable has an idea of why it works that way, I'd be interested in knowing more.
[Xposed Framework Modules] egingell:
Incoming.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
There was some wakelock code in XVoice+ (that I don't think was used) but I removed it in the build in the OP. I haven't heard any comments (good or bad) about the 1.2h build in the OP.

Edit:

weird. I'll do some snooping
[Xposed Framework Modules] egingell:
The first time I thought it was because it wasn't marked read, but this time it was marked red. What's weird is that there were other newer texts from her. All had been downloaded by my SMS app.

Both were from the same person. I don't know if that makes a difference.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] shaanfx:
I have stuck to 1.2f for the past few days to test if my campus wifi is the only thing that can break it. Today I used it on my home wifi, on LTE, 3G, H and E (I was driving in the mountains) and it worked every time. The only thing that happened was some texts came through 3 times. I think that was probably due to unreliable signal in the mountains. So I'm pretty sure there's just something weird about my campus wifi in particular that breaks it. I'm gonna try the new build and see if that helps.
[Xposed Framework Modules] egingell:
In still using 1.2 for what it's worth.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
After some looking, the only way I could see this happening is if you cleared data for XVoice+ (possibly if you logged out and logged back in). Beyond that, I'm not sure.
[Xposed Framework Modules] egingell:
Only if GV is going that on its own.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] shaanfx:
So I'm using 1.2h and now, if I text someone, when they reply to me, it duplicates the text I sent. If I send multiple texts, only the most recent one is duplicated. I think this is the same issue as others have reported. This did not happen in 1.2f.

Also, I undid the "keep resident in memory" for 1.2h because that was causing the toast message to come up over and over again.
[Xposed Framework Modules] Damian2013:
I can't get it to work for me. I got it to send one test message but other than that nothing will send. Do I have to change the google voice to default hangouts receiving messages? Or just let the xposed voice+ do it? I am on Beta 3 PA Nexus 5.

EDIT: I have to have the app running to get and send messages through hangouts? Is there a fix for that?

EDIT2: Nevermind its not working again.

EDIT 3: I got the pre release build and its working fine now. Only issue is I get repeat messages and also I get a notification from regular google voice as well as hangouts.
[Xposed Framework Modules] SCWells72:
Yeah, this has stopped working reliably on my G Pad 8.3 GPE as well. I've just uninstalled both XVoice+ and the Nexus SMS Enabler modules and am going to reinstall them from scratch to see if something got wonky there, but I'm just getting "Message failed" on some messages, but oddly, not others. Any thoughts?
[Xposed Framework Modules] Damian2013:
What's the nexus module? And I fixed the double notification issue but now I'm getting double texts. It's only on my end though.
[Xposed Framework Modules] SCWells72:
Google disabled SMS to/from tablets in KitKat (Android 4.4+), so that module re-enables it. Otherwise XVoicePlus won't work from a tablet. I had these two working together perfectly last week. Obviously I did something, but I don't know what!
[Xposed Framework Modules] egingell:
Hmmm. I seem to be getting duplicates every time now.

Edit: What's weird is that I have Anti-SMS Bomber installed.

The log looks like this:

I/Xposed ( 5935): Loading class com.runnirr.xvoiceplus.XVoicePlus
D/XVoicePlus( 7097): Received incoming Google Voice notification
I/VoicePlusService(29061): Refreshing messages

Edit: Google Voice only has singles.
[Xposed Framework Modules] Damian2013:
If you figure out a fix please do share. Thats my only issue now.
[Xposed Framework Modules] runnirr:
You can disable notification in the Google Voice app if you want.

Not really, unless you have a flaky internet connection.

Not sure whats going on. It filters by time so if 2 messages have the same time (to a millisecond) only 1 should show up. I could see how outgoing messages would get messed up and occasionally have duplicates but I'm a bit confused about the incoming ones.

Anyway, here's a build based on some changes I've been working on. Fixes some concurrency issues and uses an IntentService to process the incoming and outgoing messages. I have done limited testing on it (made sure messages sent and messages were received). Feel free to try it out and let me know if it solves any of your problems. The first few messages took a bit longer than expected to send, but they did go eventually.

https://app.box.com/s/i3xt11yu3un9aiq3o74y 1.2i

I am kind of at a standstill as far as improving this goes. The app will likely cease to work in May once Google blocks 3rd party apps from accessing Google Voice.
[Xposed Framework Modules] egingell:
Still getting double messages.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
Interestingly, I got some too. the Messaging app shows more of them than hangouts, which is extra confusing.

Edit: although mine are duplicate outgoing, but it may be the same root problem
[Xposed Framework Modules] egingell:
I have a theory... at least in my case. Maybe I'm getting one from GV and one from Sprint. On the other hand, with it being integrated, I would be getting one from the GV app and one via push from Google. I do have it set to receive SMS via not GV... I wonder if that's it. I can test that one.

Edit: Initial testing suggests that it was that setting in GV. I set it to receive messages via the GV app and I only got one message. I with keep an eye on it though. One test does not a success make.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] ahrion:
I want to know if you can give us the ability to chose which to use for our sms. Example: sending a text will give me two options - via carrier or gv. This would make it so not EVERY text is sent via Gv.