PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > TP2 Themes & Software
Register Community Search

Notices


View Poll Results: Would you like a Google Voice port?
Yes 53 100.00%
No 0 0%
Voters: 53. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-03-2010, 01:28 PM
dgourd's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
Location: Chicago
 
Join Date: Sep 2009
Posts: 257
Reputation: 405
dgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Lightbulb Google Voice Android Port Project

One thing I admire about the Google Voice application on Android that is lacking in any Windows Mobile solutions is the ability to make calls through Wifi. This will bypass any need for a plan.

Since Android is Open Source, I was wondering if we could work on a port. I have some experience and would like to recruit others to help.

I have some google invites for anybody that legitimetly helps on the port .

EDIT: Maybe not a full port of Google Voice, but a way to make calls through wifi. I know you can use that program with an Unlocked Nexus one with no plan so it is possible.

Needed Support:
I could really use some help with someone that knows C++/C# or how to make a nice GUI for the interface.

GOALS:
  1. Get the source code and decompile the functions
  2. Figure out how the functions work
  3. Create a program to login in and display information (such as SMS and Voicemails)
  4. Add ability to send SMS
  5. Add ability to make phone calls through callback method
  6. Add ability to make and receive calls through WiFi / 3G
  7. Integrate all features with Windows / Manila

Last edited by dgourd; 02-10-2010 at 07:27 PM.
Reply With Quote
  #2 (permalink)  
Old 02-03-2010, 07:46 PM
dgourd's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
Threadstarter
Location: Chicago
 
Join Date: Sep 2009
Posts: 257
Reputation: 405
dgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [IDEA] Google Voice Android Port

Updates:
  • I have found out that the android apps are written in Java (which I know a lot about). So It would be relatively easy to port, just got to change some functions around to fit windows mobile. We could use the same base code.
  • I have decompiled the java google voice API. There are 2 classes and a test program. Click here to read the post
  • Apparently, all the data is retreived from a URL. So we can port this to a different language and parse the data as needed.

Last edited by dgourd; 02-07-2010 at 12:24 PM.
Reply With Quote
  #3 (permalink)  
Old 02-04-2010, 12:03 AM
Puertorikanking's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
 
Join Date: Aug 2008
Posts: 2
Reputation: 0
Puertorikanking is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [IDEA] Google Voice Android Port

Plx hit me up if you do it! Very interested!
Reply With Quote
  #4 (permalink)  
Old 02-04-2010, 09:19 AM
drewcam888's Avatar
Mr. Chevy
Offline
Pocket PC: Kaiser, XV6800, Ozone, & TP2
Carrier: Linearly polarized plane waves in LTE modulation
Location: Nevada
 
Join Date: Dec 2008
Posts: 2,343
Reputation: 3660
drewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIPdrewcam888 is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Google Voice Android Port Project

Very interested keep use posted.
__________________
If you have wifi and GPS on your phone, click link below for Navizon. Navizon gives you money to log wifi and cell phone towers.
http://my.navizon.com/Webapps/UserAd...e=585A56575E5E
Reply With Quote
  #5 (permalink)  
Old 02-04-2010, 12:46 PM
JCerna's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Pro2, Pro, Diamond, Touch, Mogul
Carrier: Sprint
Location: San Diego CA
 
Join Date: Feb 2008
Posts: 156
Reputation: 290
JCerna is becoming a PPCGeeks regularJCerna is becoming a PPCGeeks regularJCerna is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [IDEA] Google Voice Android Port

Sounds good but just to give you a heads up WinMo does not play nice with Java at least not the newer versions. I believe Google put out an SDK so it migth be easier to start from there. If I had the time I would be all over this too. Thanks for trying it out.

Quote:
Originally Posted by dgourd View Post
I have found out that the android apps are written in Java (which I know a lot about). So It would be relatively easy to port, just got to change some functions around to fit windows mobile. We could use the same base code.
__________________
If I help you out please say Thanks
Need a Bill, Tip, Tax Calculator
JCerna Your Bill Whiz
Reply With Quote
  #6 (permalink)  
Old 02-04-2010, 12:55 PM
kitts's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jul 2007
Posts: 202
Reputation: 160
kitts is keeping up the good workkitts is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Google Voice Android Port Project

count me in.. let me know how can I help you..
Reply With Quote
  #7 (permalink)  
Old 02-04-2010, 01:18 PM
dgourd's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
Threadstarter
Location: Chicago
 
Join Date: Sep 2009
Posts: 257
Reputation: 405
dgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Google Voice Android Port Project

I can only find the source code for the android base. I can't find the source for Google Voice, but I have found an API. Will update with link soon!

LINK: http://code.google.com/p/google-voice-java/
Reply With Quote
  #8 (permalink)  
Old 02-04-2010, 01:29 PM
dgourd's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
Threadstarter
Location: Chicago
 
Join Date: Sep 2009
Posts: 257
Reputation: 405
dgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [IDEA] Google Voice Android Port

About the API:
It is basically a class with all the necessary Google Voice functions. It has connecting to google voice and placing calls, along with returning your inbox and other data. One definite positive is that it returns data as raw html or xml, so we can parse it how we need to.

Quote:
Originally Posted by JCerna View Post
Sounds good but just to give you a heads up WinMo does not play nice with Java at least not the newer versions. I believe Google put out an SDK so it migth be easier to start from there. If I had the time I would be all over this too. Thanks for trying it out.
I am planning on taking apart the API to see how each of the functions work. Then, I might be able to port it to a different language using the Windows SDK.

The Google SDK wont work since it would just be used for creating Android apps.
Reply With Quote
  #9 (permalink)  
Old 02-04-2010, 02:26 PM
Viper786's Avatar
Regular 'Geeker
Offline
Pocket PC: Samsung Epic, HTC TP2
Carrier: Sprint - SERO Premium
Location: Canton, MI
 
Join Date: Jul 2009
Posts: 272
Reputation: 180
Viper786 is keeping up the good workViper786 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Google Voice Android Port Project

This will be awesome if successfully ported!
Reply With Quote
  #10 (permalink)  
Old 02-05-2010, 01:18 PM
dgourd's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro 2
Carrier: Verizon
Threadstarter
Location: Chicago
 
Join Date: Sep 2009
Posts: 257
Reputation: 405
dgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regulardgourd is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Google Voice Android Port Project

Phone.class:
Code:
package com.techventus.server.voice;
public class Phone
{
  public String id;
  public String number;
  public String formattedNumber;
  public String type;
  public String name;
  public String carrier;
  public Boolean verified;
  public String toString()
  {
    String ret = "";
    if (this.id != null) {
      ret = ret + "id=" + this.id + ";";
    }
    if (this.number != null) {
      ret = ret + "number=" + this.number + ";";
    }
    if (this.name != null) {
      ret = ret + "name=" + this.name + ";";
    }
    if (this.carrier != null) {
      ret = ret + "carrier=" + this.carrier + ";";
    }
    if (this.type != null) {
      ret = ret + "type=" + this.type + ";";
    }
    if (this.verified != null) {
      ret = ret + "verified=" + this.verified + ";";
    }
    if (this.formattedNumber != null) {
      ret = ret + "formattedNumber=" + this.formattedNumber + ";";
    }
    return ret;
  }
}
test.class:
Code:
package test;
import com.techventus.server.voice.Phone;
import com.techventus.server.voice.Voice;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.List;
public class test
{
  public static void main(String[] args)
  {
    System.out.println("Enter Your Google Voice Username, eg user@gmail.com:");
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String userName = null;
    try {
      userName = br.readLine();
    } catch (IOException ioe) {
      System.out.println("IO error trying to read your name!");
      System.exit(1);
    }
    System.out.println("Enter Your Password:");
    String pass = null;
    try {
      pass = br.readLine();
    } catch (IOException ioe) {
      System.out.println("IO error trying to read your name!");
      System.exit(1);
    }
    try
    {
      Voice voice = new Voice(userName, pass);
      try
      {
        Thread.sleep(2000L);
        if ((voice.phoneList != null) && (voice.phoneList.size() > 0)) {
          for (int i = 0; i < voice.phoneList.size(); ++i)
            System.out.println(((Phone)voice.phoneList.get(i)).toString());
        }
        Thread.sleep(2000L);
      }
      catch (InterruptedException e)
      {
        e.printStackTrace();
      }
    }
    catch (IOException e)
    {
      e.printStackTrace();
    }
  }
}
I have attached the Voice.class (the most important one) to this as a txt file.
Attached Files
File Type: txt voice_class.txt (14.0 KB, 3 views) Click for barcode!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > TP2 Themes & Software

Tags
android, google, port, touch pro 2, voice


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 05:22 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com