Re: [google-voice-java] Digest for google-voice-java@googlegroups.com - 1 Message in 1 Topic

45 views
Skip to first unread message

Rory Rezzelle

unread,
Dec 27, 2011, 9:13:59 PM12/27/11
to google-v...@googlegroups.com

You shouldn't be putting the UserName and Pass there. Try just doing:

Voice voice = new Voice();

Then pass the parameters later.

On Dec 27, 2011 9:10 PM, <google-v...@googlegroups.com> wrote:

Group: http://groups.google.com/group/google-voice-java/topics

    Anand Matta <anand...@gmail.com> Dec 27 08:11PM -0500  

    Hey I downloaded the 1.10 jar file, and the json.jar file and imported them
    into eclipse.
    I tried to make a new Voice object however it gave me an error saying you
    cannot put in any parameters into the new Voice() part.
     
    Voice voice = new Voice(userName, pass) //<<<<ERROR

     

You received this message because you are subscribed to the Google Group google-voice-java.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "Google Voice Java" group.
To post to this group, send email to google-v...@googlegroups.com.
To unsubscribe from this group, send email to google-voice-j...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-voice-java?hl=en.

Joseph Malone

unread,
Dec 27, 2011, 9:17:19 PM12/27/11
to google-v...@googlegroups.com

It should still work. Can you provide any more details...stacktraces??

Anand Matta

unread,
Dec 28, 2011, 9:04:54 PM12/28/11
to google-v...@googlegroups.com
Okay i tried making just a voice object. 
But how do i add the password and username? Can some one type up a extreemly basic example for me please?

Chris Punches

unread,
Dec 28, 2011, 9:23:24 PM12/28/11
to google-v...@googlegroups.com
I also would benefit from such an extremely basic example.  preferrably one drawing credentials from a text config file.

Tobias Eisentrager

unread,
Dec 28, 2011, 9:27:15 PM12/28/11
to google-v...@googlegroups.com

Look how its done in the Test.java file. It's pretty straightforward. Please post a stacktrace if that doesn't help you.

Toby

Anand Matta

unread,
Dec 31, 2011, 12:18:51 PM12/31/11
to google-v...@googlegroups.com
Hey I couldn't locate the test.java file. Can you please tell me where it is? 

Tobias Eisentrager

unread,
Dec 31, 2011, 2:32:33 PM12/31/11
to google-v...@googlegroups.com

It's in the test package and it's named Test.java

Anand Matta

unread,
Jan 2, 2012, 5:31:23 PM1/2/12
to google-v...@googlegroups.com
Lol still can't find it idk why
-Sent from my Windows Phone

Joseph Malone

unread,
Jan 2, 2012, 10:38:02 PM1/2/12
to google-v...@googlegroups.com
Everything seems to be working for me. Make sure you have dom4j-1.6.1
jaxen-1.1.3 json and jtidy and google-voice-java-1.10 in your
classpath. These files are new dependencies for the latest version.
Otherwise I am not sure what to tell you. Has it worked in the past
and now it stopped working?

You can simply checkout the library also, there are some minor
features available in the trunk that havent been released yet as a
jar.

Best of Luck!

Reply all
Reply to author
Forward
0 new messages