Comments (8)
Would you like to write this feature and be added as a committer?
Original comment by [email protected]
on 6 Mar 2011 at 3:08
from google-voice-java.
Sure. I can figure it out.
Original comment by [email protected]
on 6 Mar 2011 at 3:11
from google-voice-java.
OK, you should be added now
Original comment by [email protected]
on 6 Mar 2011 at 10:38
from google-voice-java.
Original comment by [email protected]
on 22 Mar 2011 at 6:13
- Changed state: Accepted
from google-voice-java.
Original comment by [email protected]
on 22 Mar 2011 at 6:24
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from google-voice-java.
Hi Walt, maybe you already fixed this issue, but I wanted to ask. Any progress?
Original comment by [email protected]
on 3 Feb 2012 at 3:29
from google-voice-java.
// /voice/inbox/deleteForeverMessages/
public String deleteForever(String[] messagIds) throws IOException {
String out = "";
String smsdata = "";
for (String _mid : messagIds) {
smsdata += "&" + URLEncoder.encode("messages", enc) + "=" + _mid;
}
smsdata += "&_rnr_se=";
smsdata += URLEncoder.encode(rnrSEE, enc);
System.out.println("smsdata: " + smsdata);
URL deleteurl = new URL("https://www.google.com/voice/inbox/deleteForeverMessages/");
URLConnection smsconn = deleteurl.openConnection();
smsconn.setRequestProperty("Authorization", "GoogleLogin auth=" + authToken);
smsconn.setRequestProperty("User-agent", USER_AGENT);
smsconn.setDoOutput(true);
OutputStreamWriter callwr = new OutputStreamWriter(smsconn.getOutputStream());
callwr.write(smsdata);
callwr.flush();
BufferedReader callrd = new BufferedReader(new InputStreamReader(smsconn.getInputStream()));
String line;
while ((line = callrd.readLine()) != null) {
out += line + "\n\r";
}
callwr.close();
callrd.close();
if (out.equals("")) {
throw new IOException("No Response Data Received.");
}
return out;
}
Original comment by [email protected]
on 22 Apr 2014 at 11:53
from google-voice-java.
I think you must put message in trash with deleteMessage first. then delete
forever
Original comment by [email protected]
on 22 Apr 2014 at 11:54
from google-voice-java.
Related Issues (20)
- java.io.IOException: Answer did not contain rnr_se! HOT 4
- unread messages ? its not in the right spot HOT 3
- java.lang.VerifyError issue when importing jar file in eclipse HOT 2
- voice.getUnreadSMS doesn't seem to work right
- 2-Step Authentication HOT 3
- Get Authentication Tokens? HOT 2
- IOException returns www.google.com when creating voice object. HOT 4
- Contact does not implement proper equals/hashCode method
- Google Voice API does not support in JDK 1.5.0_18 HOT 1
- Keeps crashing the program
- Is that possible to call any phones in India?
- Patch for /trunk/test/test.java
- If setSmsEnabled(boolean) doesn't correspond to "Receive text messages on this phone" then what does?
- [deleted issue]
- getSMS() returns the orifianl SMS an none of the responses.
- Enhanced Voicemail Methods
- What would be the third argument for the method voice.call
- Null Pointer Exception Error Parsing Contact HOT 1
- The Read-Only SVN URL has a space in it on the Source page
- ClientLogin has been officially deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-voice-java.