Android Open Source - RS-Text-Forwarder-Android-Client Contact






From Project

Back to project page RS-Text-Forwarder-Android-Client.

License

The source code is released under:

GNU General Public License

If you think the Android project RS-Text-Forwarder-Android-Client listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.rolisoft.textforwarder;
//  w w w. j a va  2s .  c om
import java.util.ArrayList;
import java.util.List;

public class Contact {

    public String id;
    public String name;
    public Number preferred;
    public Number selected;
    public List<Number> numbers;

    public Contact(String id, String name)
    {
        this.id = id;
        this.name = name;
        this.preferred = null;
        this.numbers = new ArrayList<Number>();
    }

    public Number addNumber(String number, String type, boolean isDefault)
    {
        Number numObj = new Number(number, type, isDefault);
        this.numbers.add(numObj);
        return numObj;
    }

    public static class Number {

        public String number;
        public String type;
        public boolean isDefault;

        public Number(String number, String type, boolean isDefault)
        {
            this.number = number;
            this.type = type;
            this.isDefault = isDefault;
        }

    }

}




Java Source Code List

eu.chainfire.libsuperuser.Application.java
eu.chainfire.libsuperuser.Debug.java
eu.chainfire.libsuperuser.ShellNotClosedException.java
eu.chainfire.libsuperuser.ShellOnMainThreadException.java
eu.chainfire.libsuperuser.Shell.java
eu.chainfire.libsuperuser.StreamGobbler.java
net.rolisoft.textforwarder.BackgroundIntentService.java
net.rolisoft.textforwarder.CallReceiver.java
net.rolisoft.textforwarder.ContactTools.java
net.rolisoft.textforwarder.Contact.java
net.rolisoft.textforwarder.MainActivity.java
net.rolisoft.textforwarder.MmsReceiver.java
net.rolisoft.textforwarder.PrngFix.java
net.rolisoft.textforwarder.PushReceiver.java
net.rolisoft.textforwarder.ServerError.java
net.rolisoft.textforwarder.SmsReceiver.java
net.rolisoft.textforwarder.TextMessage.java
net.rolisoft.textforwarder.Tuple.java
net.rolisoft.textforwarder.WakeLocker.java