public SEAccessoryMenuItem(IPhonePort port, String name, AccessoryMenuCategory category)
     : base(port, "SEAM")
 {
     this.name = name;
     this.category = category;
     construct("");
 }
 /// <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();
 }
Example #3
0
        public SEOnOff(IPhonePort port, String title, SEOnOffSelection status)
            : base(port, "SEONO")
        {
            this.title = title;
            this.status = status;

            this.OnWidgetEvent += new WidgetEventHandler(ProcessWidgetEvent);
        }
 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;
 }
        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);
        }
Example #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);
        }
Example #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);
        }
 public SETicker(IPhonePort port, String text)
     : base(port, "SETICK")
 {
     this.text = text;
 }
Example #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();
 }
Example #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;
 }
 /// <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;
 }
Example #15
0
 public SEItem(IPhonePort port, String cmdbase)
     : base(port)
 {
     this.cmdbase = cmdbase;
 }
 public KeyEventReporter(IPhonePort port)
     : base(port, true)
 {
     // Nothing to do
 }
 public JavaManager(IPhonePort port)
     : base(port)
 {
 }
Example #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
 }
 public KeypadSequence(IPhonePort port)
     : base(port)
 {
     keys = new Queue();
 }