public SEAccessoryMenuItem(IPhonePort port, String name, AccessoryMenuCategory category)
     : base(port, "SEAM")
 {
     this.name = name;
     this.category = category;
     construct("");
 }
Exemplo n.º 2
0
 /// <summary>
 /// <para>Create a new instance of this class, and connect it to the supplied phone port.</para>
 /// <para>After initialization, the phone book is retrieved from the phone and cached.</para>
 /// </summary>
 public PhoneBook(IPhonePort port)
     : base(port)
 {
     // init the cache
     cache = new Hashtable();
     Refresh();
 }
Exemplo n.º 3
0
        public SEOnOff(IPhonePort port, String title, SEOnOffSelection status)
            : base(port, "SEONO")
        {
            this.title = title;
            this.status = status;

            this.OnWidgetEvent += new WidgetEventHandler(ProcessWidgetEvent);
        }
Exemplo n.º 4
0
 internal JavaApplication(IPhonePort port, String name, String vendor, String version, int appid)
     : base(port)
 {
     this._name = name;
     this._vendor = vendor;
     this._version = version;
     this._appid = appid;
 }
Exemplo n.º 5
0
        public SEDateInput(IPhonePort port, String title, SEDateInputMode mode, DateTime time)
            : base(port, "SEDATE")
        {
            this.title = title;
            this.mode = mode;
            this.time = time;

            this.OnWidgetEvent += new WidgetEventHandler(ProcessWidgetEvent);
        }
Exemplo n.º 6
0
        public SEList(IPhonePort port, String title, SEListType type)
            : base(port, "SELIST")
        {
            this.title = title;
            this.type = type;
            items = new ArrayList();

            this.OnWidgetEvent += new WidgetEventHandler(ProcessWidgetEvent);
        }
Exemplo n.º 7
0
        public SEGauge(IPhonePort port, String title, SEGaugeInteractiveMode interactive, int max, int val)
            : base(port, "SEGAUGE")
        {
            this.title = title;
            this.interactive = interactive;
            this.max = max;
            this.val = val;

            this.OnWidgetEvent += new WidgetEventHandler(processWidgetEvent);
        }
        public SEStringInput(IPhonePort port, String title, String prompt, String defaultText, int predictive, SEInputMode mode)
            : base(port, "SESTRI")
        {
            this.title = title;
            this.prompt = prompt;
            this.defaultText = defaultText;
            this.predictive = predictive;
            this.mode = mode;

            this.OnWidgetEvent += new WidgetEventHandler(this.ProcessWidgetEvent);
        }
Exemplo n.º 9
0
 public SETicker(IPhonePort port, String text)
     : base(port, "SETICK")
 {
     this.text = text;
 }
Exemplo n.º 10
0
 public SEYesNo(IPhonePort port, String title, String question)
     : base(port, "SEYNQ")
 {
     this.title = title;
     this.question = question;
 }
 /// <summary>Instantiate a new instance of this class.</summary>
 public CallEventReporter(IPhonePort port)
     : base(port, true)
 {
     calls = new Hashtable();
 }
Exemplo n.º 12
0
 public SEAlert(IPhonePort port, String text, SEAlertType type)
     : base(port, "SELERT")
 {
     this.text = text;
     this.type = type;
 }
 /// <param name="port">The port communication should be established with.</param>
 public PhoneInteractor(IPhonePort port)
 {
     this.port = port;
 }
Exemplo n.º 14
0
 /// <summary>
 /// Instantiate and prepare the object.
 /// </summary>
 /// <param name="port">The phone port from which to receive events from.</param>
 /// <param name="needInit">Indicates whether the phone needs initialization to report events.</param>
 public EventReporter(IPhonePort port, bool needInit)
     : base(port)
 {
     this.needInit = needInit;
 }
Exemplo n.º 15
0
 public SEItem(IPhonePort port, String cmdbase)
     : base(port)
 {
     this.cmdbase = cmdbase;
 }
 public KeyEventReporter(IPhonePort port)
     : base(port, true)
 {
     // Nothing to do
 }
Exemplo n.º 17
0
 public JavaManager(IPhonePort port)
     : base(port)
 {
 }
Exemplo n.º 18
0
 /// <summary>
 /// Creates an object that accesses the power situation of the phone.
 /// </summary>
 /// <param name="port">The port to communicate with.</param>
 public Battery(IPhonePort port)
     : base(port)
 {
     // Nothing to do
 }
Exemplo n.º 19
0
 public KeypadSequence(IPhonePort port)
     : base(port)
 {
     keys = new Queue();
 }