| 1 | Java Web Start 1.6.0_26
|
|---|
| 2 | Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
|
|---|
| 3 | User home directory = /home/smru
|
|---|
| 4 | ----------------------------------------------------
|
|---|
| 5 | c: clear console window
|
|---|
| 6 | f: finalize objects on finalization queue
|
|---|
| 7 | g: garbage collect
|
|---|
| 8 | h: display this help message
|
|---|
| 9 | m: print memory usage
|
|---|
| 10 | o: trigger logging
|
|---|
| 11 | p: reload proxy configuration
|
|---|
| 12 | q: hide console
|
|---|
| 13 | r: reload policy configuration
|
|---|
| 14 | s: dump system and deployment properties
|
|---|
| 15 | t: dump thread list
|
|---|
| 16 | v: dump thread stack
|
|---|
| 17 | 0-5: set trace level to <n>
|
|---|
| 18 | ----------------------------------------------------
|
|---|
| 19 | Trying to download phone app apk
|
|---|
| 20 | Phone app apk saved into temp file: /tmp/phoneApp.apk
|
|---|
| 21 | filepath: /tmp/phoneApp.apk packageName: com.google.AppInventorPhoneApp
|
|---|
| 22 | systemId is file:///home/smru/ignore_lang_def.dtd publicId is null
|
|---|
| 23 | Reading language definition DTD from jar resources.
|
|---|
| 24 | ==== Loading form, project is OrderDroid1_0
|
|---|
| 25 | Preparing phone for new project
|
|---|
| 26 | Creating GUI...
|
|---|
| 27 | No zip file from server. Returning empty file map.
|
|---|
| 28 | WorkspaceController: starting reload of workspace
|
|---|
| 29 | systemId is file:///yacodeblocks/support/save_format.dtd publicId is null
|
|---|
| 30 | Reading save file format DTD from jar resources.
|
|---|
| 31 | Preparing phone for new project
|
|---|
| 32 | WorkspaceController: loaded Codeblocks Source, starting JSON
|
|---|
| 33 | WorkspaceController: workspace reload done
|
|---|
| 34 | Device connected: ????????????
|
|---|
| 35 | Device connected: 1 devices plugged in.
|
|---|
| 36 | CDeviceSelector: adding device ????????????
|
|---|
| 37 | 10:30:54 E/DeviceMonitor: Adb connection Error:EOF
|
|---|
| 38 | Device disconnected: ????????????
|
|---|
| 39 | Device disconnected: 0 devices plugged in.
|
|---|
| 40 | CDeviceSelector: removing device ????????????
|
|---|
| 41 | 10:30:54 E/DeviceMonitor: Connection attempts: 1
|
|---|
| 42 | 10:30:55 E/DeviceMonitor: Connection attempts: 2
|
|---|
| 43 | 10:30:56 E/DeviceMonitor: Connection attempts: 3
|
|---|
| 44 | 10:30:57 E/DeviceMonitor: Connection attempts: 4
|
|---|
| 45 | Device connected: 3533B0C8A7F500EC
|
|---|
| 46 | Device connected: 1 devices plugged in.
|
|---|
| 47 | CDeviceSelector: adding device 3533B0C8A7F500EC
|
|---|
| 48 | Device selected: 3533B0C8A7F500EC
|
|---|
| 49 | Selecting device 3533B0C8A7F500EC
|
|---|
| 50 | Creating the REPL controller
|
|---|
| 51 | ********* Actually invoking CreateAndSend
|
|---|
| 52 | Restarting repl controller (true)
|
|---|
| 53 | ReplController sending (begin (require com.google.youngandroid.runtime) (setup-repl-environment "<<" ":" "@@" "Success" "Failure" "==" ">>" '((">>" "&2")("<<" "&1")("&" "&0"))))
|
|---|
| 54 | **** devicesPluggedIn: 1 selectedDevice: 3533B0C8A7F500EC connectionHappy: false
|
|---|
| 55 | **** Trying to do restart from reinstalling the application....
|
|---|
| 56 | Trying to sync and install on the device...
|
|---|
| 57 | Uninstalled previous version of package com.google.AppInventorPhoneApp
|
|---|
| 58 | killing app if necessary...
|
|---|
| 59 | *** Executing command: am start -n com.google.AppInventorPhoneApp/.Screen1
|
|---|
| 60 | Repl app is now running
|
|---|
| 61 | ADB forward command was successfully run
|
|---|
| 62 | trying to establish communication
|
|---|
| 63 | Sent '(begin (require com.google.youngandroid.runtime) (setup-repl-environment "<<" ":" "@@" "Success" "Failure" "==" ">>" '((">>" "&2")("<<" "&1")("&" "&0"))))
|
|---|
| 64 |
|
|---|
| 65 | Sending project startup definitions
|
|---|
| 66 | Pushing assets to phone...
|
|---|
| 67 | ...finished pushing assets to phone.
|
|---|
| 68 | Sending to phone: (process-repl-input (begin (clear-current-form)(def varShoppingCart "") (def (procSendMail) (set-and-coerce-property! 'ActivityStarter1 'DataUri (call-yail-primitive string-append (*list-for-runtime* "mailto:" "dkiestra@xs4all.nl" "?subject=A new order from OrderDroid." "&body=" "Customer Name:%0A" (get-property 'txtCustomerName 'Text) "%0A" "Customer Address:%0A" (get-property 'txtAddress 'Text) "%0A" (get-property 'txtCityState 'Text) "%0A" (get-property 'txtZip 'Text) "%0A" "Purchased Items:%0A" (get-var varShoppingCart) "%0A" "Payment Type:%0A" "COD=" (get-property 'chkCOD 'Checked) "Paid in Full=" (get-property 'chkPaidFull 'Checked) ) '( text text text text text text text text text text text text text text text text text text text text text text) "make text") 'text) (call-component-method 'ActivityStarter1 'StartActivity (*list-for-runtime*) '()) ) (do-after-form-creation (set-and-coerce-property! 'Screen1 'BackgroundColor #xFF444444 'number) (set-and-coerce-property! 'Screen1 'Scrollable #f 'boolean) (set-and-coerce-property! 'Screen1 'Title "OrderDroid 1.0" 'text) ) (define-event Screen1 Initialize() (set-this-form) (set-and-coerce-property! 'lstpItems 'Elements (call-yail-primitive make-yail-list (*list-for-runtime* "'Andy' Android Figurine" "Android Laptop Decal" "App Inventor Desktop Blocks Set") '( any any any) "make a list") 'list) ) (add-component Screen1 VerticalArrangement VirtualScreen1 (set-and-coerce-property! 'VirtualScreen1 'Width -2 'number) ) (add-component VirtualScreen1 Label lblCustomerInfoText (set-and-coerce-property! 'lblCustomerInfoText 'Text "Customer Information" 'text) (set-and-coerce-property! 'lblCustomerInfoText 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 TextBox txtCustomerName (set-and-coerce-property! 'txtCustomerName 'Hint "Enter customer's name" 'text) (set-and-coerce-property! 'txtCustomerName 'MultiLine #t 'boolean) (set-and-coerce-property! 'txtCustomerName 'Width -2 'number) ) (add-component VirtualScreen1 TextBox txtAddress (set-and-coerce-property! 'txtAddress 'Hint "Enter Address" 'text) (set-and-coerce-property! 'txtAddress 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 TextBox txtCityState (set-and-coerce-property! 'txtCityState 'Hint "City, State" 'text) (set-and-coerce-property! 'txtCityState 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 TextBox txtZip (set-and-coerce-property! 'txtZip 'Hint "Postal Code" 'text) (set-and-coerce-property! 'txtZip 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 ListPicker lstpItems (set-and-coerce-property! 'lstpItems 'Text "Select an item" 'text) ) (define-event lstpItems AfterPicking() (set-this-form) (set-var! varShoppingCart (get-property 'lstpItems 'Selection) ) (set-and-coerce-property! 'lstpItems 'Text (get-property 'lstpItems 'Selection) 'text) ) (add-component VirtualScreen1 Button Button1 (set-and-coerce-property! 'Button1 'Text "Text for Button1" 'text) ) (add-component VirtualScreen1 CheckBox chkPaidFull (set-and-coerce-property! 'chkPaidFull 'Text "Paid in full" 'text) (set-and-coerce-property! 'chkPaidFull 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 CheckBox chkCOD (set-and-coerce-property! 'chkCOD 'Text "Cash on delivery" 'text) (set-and-coerce-property! 'chkCOD 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 Button btnSendMail (set-and-coerce-property! 'btnSendMail 'Text "Submit Order" 'text) ) (define-event btnSendMail Click() (set-this-form) (if (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'txtCustomerName 'Text) "") '( any any) "=") (begin (call-component-method 'Notifier1 'ShowMessageDialog (*list-for-runtime* "Please enter a Customer Name..." "Attention" "OK") '( text text text) ) ) (begin (if (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'txtAddress 'Text) "") '( any any) "=") (begin (call-component-method 'Notifier1 'ShowTextDialog (*list-for-runtime* "Please enter a Customer Address." "Attention") '( text text) ) ) (begin ((get-var procSendMail)) ) ) ) ) ) (add-component Screen1 Notifier Notifier1 ) (define-event Notifier1 AfterTextInput( response ) (set-this-form) (set-and-coerce-property! 'txtAddress 'Text (lexical-value response) 'text) ) (add-component Screen1 ActivityStarter ActivityStarter1 (set-and-coerce-property! 'ActivityStarter1 'Action "android.intent.action.VIEW" 'text) ) (add-component Screen1 AccelerometerSensor AccelerometerSensor1 ) (init-runtime #f) (call-Initialize-of-components 'ActivityStarter1 'txtCustomerName 'lstpItems 'txtZip 'txtCityState 'btnSendMail 'VirtualScreen1 'chkPaidFull 'AccelerometerSensor1 'Notifier1 'chkCOD 'txtAddress 'Screen1 'Button1 'lblCustomerInfoText)) "Project loading:0")
|
|---|
| 69 | Received from phone: "#|kawa:1|# "
|
|---|
| 70 | ReplController sending (process-repl-input (begin (clear-current-form)(def varShoppingCart "") (def (procSendMail) (set-and-coerce-property! 'ActivityStarter1 'DataUri (call-yail-primitive string-append (*list-for-runtime* "mailto:" "dkiestra@xs4all.nl" "?subject=A new order from OrderDroid." "&body=" "Customer Name:%0A" (get-property 'txtCustomerName 'Text) "%0A" "Customer Address:%0A" (get-property 'txtAddress 'Text) "%0A" (get-property 'txtCityState 'Text) "%0A" (get-property 'txtZip 'Text) "%0A" "Purchased Items:%0A" (get-var varShoppingCart) "%0A" "Payment Type:%0A" "COD=" (get-property 'chkCOD 'Checked) "Paid in Full=" (get-property 'chkPaidFull 'Checked) ) '( text text text text text text text text text text text text text text text text text text text text text text) "make text") 'text) (call-component-method 'ActivityStarter1 'StartActivity (*list-for-runtime*) '()) ) (do-after-form-creation (set-and-coerce-property! 'Screen1 'BackgroundColor #xFF444444 'number) (set-and-coerce-property! 'Screen1 'Scrollable #f 'boolean) (set-and-coerce-property! 'Screen1 'Title "OrderDroid 1.0" 'text) ) (define-event Screen1 Initialize() (set-this-form) (set-and-coerce-property! 'lstpItems 'Elements (call-yail-primitive make-yail-list (*list-for-runtime* "'Andy' Android Figurine" "Android Laptop Decal" "App Inventor Desktop Blocks Set") '( any any any) "make a list") 'list) ) (add-component Screen1 VerticalArrangement VirtualScreen1 (set-and-coerce-property! 'VirtualScreen1 'Width -2 'number) ) (add-component VirtualScreen1 Label lblCustomerInfoText (set-and-coerce-property! 'lblCustomerInfoText 'Text "Customer Information" 'text) (set-and-coerce-property! 'lblCustomerInfoText 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 TextBox txtCustomerName (set-and-coerce-property! 'txtCustomerName 'Hint "Enter customer's name" 'text) (set-and-coerce-property! 'txtCustomerName 'MultiLine #t 'boolean) (set-and-coerce-property! 'txtCustomerName 'Width -2 'number) ) (add-component VirtualScreen1 TextBox txtAddress (set-and-coerce-property! 'txtAddress 'Hint "Enter Address" 'text) (set-and-coerce-property! 'txtAddress 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 TextBox txtCityState (set-and-coerce-property! 'txtCityState 'Hint "City, State" 'text) (set-and-coerce-property! 'txtCityState 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 TextBox txtZip (set-and-coerce-property! 'txtZip 'Hint "Postal Code" 'text) (set-and-coerce-property! 'txtZip 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 ListPicker lstpItems (set-and-coerce-property! 'lstpItems 'Text "Select an item" 'text) ) (define-event lstpItems AfterPicking() (set-this-form) (set-var! varShoppingCart (get-property 'lstpItems 'Selection) ) (set-and-coerce-property! 'lstpItems 'Text (get-property 'lstpItems 'Selection) 'text) ) (add-component VirtualScreen1 Button Button1 (set-and-coerce-property! 'Button1 'Text "Text for Button1" 'text) ) (add-component VirtualScreen1 CheckBox chkPaidFull (set-and-coerce-property! 'chkPaidFull 'Text "Paid in full" 'text) (set-and-coerce-property! 'chkPaidFull 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 CheckBox chkCOD (set-and-coerce-property! 'chkCOD 'Text "Cash on delivery" 'text) (set-and-coerce-property! 'chkCOD 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 Button btnSendMail (set-and-coerce-property! 'btnSendMail 'Text "Submit Order" 'text) ) (define-event btnSendMail Click() (set-this-form) (if (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'txtCustomerName 'Text) "") '( any any) "=") (begin (call-component-method 'Notifier1 'ShowMessageDialog (*list-for-runtime* "Please enter a Customer Name..." "Attention" "OK") '( text text text) ) ) (begin (if (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'txtAddress 'Text) "") '( any any) "=") (begin (call-component-method 'Notifier1 'ShowTextDialog (*list-for-runtime* "Please enter a Customer Address." "Attention") '( text text) ) ) (begin ((get-var procSendMail)) ) ) ) ) ) (add-component Screen1 Notifier Notifier1 ) (define-event Notifier1 AfterTextInput( response ) (set-this-form) (set-and-coerce-property! 'txtAddress 'Text (lexical-value response) 'text) ) (add-component Screen1 ActivityStarter ActivityStarter1 (set-and-coerce-property! 'ActivityStarter1 'Action "android.intent.action.VIEW" 'text) ) (add-component Screen1 AccelerometerSensor AccelerometerSensor1 ) (init-runtime #f) (call-Initialize-of-components 'ActivityStarter1 'txtCustomerName 'lstpItems 'txtZip 'txtCityState 'btnSendMail 'VirtualScreen1 'chkPaidFull 'AccelerometerSensor1 'Notifier1 'chkCOD 'txtAddress 'Screen1 'Button1 'lblCustomerInfoText)) "Project loading:0")
|
|---|
| 71 | Sent '(process-repl-input (begin (clear-current-form)(def varShoppingCart "") (def (procSendMail) (set-and-coerce-property! 'ActivityStarter1 'DataUri (call-yail-primitive string-append (*list-for-runtime* "mailto:" "dkiestra@xs4all.nl" "?subject=A new order from OrderDroid." "&body=" "Customer Name:%0A" (get-property 'txtCustomerName 'Text) "%0A" "Customer Address:%0A" (get-property 'txtAddress 'Text) "%0A" (get-property 'txtCityState 'Text) "%0A" (get-property 'txtZip 'Text) "%0A" "Purchased Items:%0A" (get-var varShoppingCart) "%0A" "Payment Type:%0A" "COD=" (get-property 'chkCOD 'Checked) "Paid in Full=" (get-property 'chkPaidFull 'Checked) ) '( text text text text text text text text text text text text text text text text text text text text text text) "make text") 'text) (call-component-method 'ActivityStarter1 'StartActivity (*list-for-runtime*) '()) ) (do-after-form-creation (set-and-coerce-property! 'Screen1 'BackgroundColor #xFF444444 'number) (set-and-coerce-property! 'Screen1 'Scrollable #f 'boolean) (set-and-coerce-property! 'Screen1 'Title "OrderDroid 1.0" 'text) ) (define-event Screen1 Initialize() (set-this-form) (set-and-coerce-property! 'lstpItems 'Elements (call-yail-primitive make-yail-list (*list-for-runtime* "'Andy' Android Figurine" "Android Laptop Decal" "App Inventor Desktop Blocks Set") '( any any any) "make a list") 'list) ) (add-component Screen1 VerticalArrangement VirtualScreen1 (set-and-coerce-property! 'VirtualScreen1 'Width -2 'number) ) (add-component VirtualScreen1 Label lblCustomerInfoText (set-and-coerce-property! 'lblCustomerInfoText 'Text "Customer Information" 'text) (set-and-coerce-property! 'lblCustomerInfoText 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 TextBox txtCustomerName (set-and-coerce-property! 'txtCustomerName 'Hint "Enter customer's name" 'text) (set-and-coerce-property! 'txtCustomerName 'MultiLine #t 'boolean) (set-and-coerce-property! 'txtCustomerName 'Width -2 'number) ) (add-component VirtualScreen1 TextBox txtAddress (set-and-coerce-property! 'txtAddress 'Hint "Enter Address" 'text) (set-and-coerce-property! 'txtAddress 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 TextBox txtCityState (set-and-coerce-property! 'txtCityState 'Hint "City, State" 'text) (set-and-coerce-property! 'txtCityState 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 TextBox txtZip (set-and-coerce-property! 'txtZip 'Hint "Postal Code" 'text) (set-and-coerce-property! 'txtZip 'MultiLine #t 'boolean) ) (add-component VirtualScreen1 ListPicker lstpItems (set-and-coerce-property! 'lstpItems 'Text "Select an item" 'text) ) (define-event lstpItems AfterPicking() (set-this-form) (set-var! varShoppingCart (get-property 'lstpItems 'Selection) ) (set-and-coerce-property! 'lstpItems 'Text (get-property 'lstpItems 'Selection) 'text) ) (add-component VirtualScreen1 Button Button1 (set-and-coerce-property! 'Button1 'Text "Text for Button1" 'text) ) (add-component VirtualScreen1 CheckBox chkPaidFull (set-and-coerce-property! 'chkPaidFull 'Text "Paid in full" 'text) (set-and-coerce-property! 'chkPaidFull 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 CheckBox chkCOD (set-and-coerce-property! 'chkCOD 'Text "Cash on delivery" 'text) (set-and-coerce-property! 'chkCOD 'TextColor #xFFFFFFFF 'number) ) (add-component VirtualScreen1 Button btnSendMail (set-and-coerce-property! 'btnSendMail 'Text "Submit Order" 'text) ) (define-event btnSendMail Click() (set-this-form) (if (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'txtCustomerName 'Text) "") '( any any) "=") (begin (call-component-method 'Notifier1 'ShowMessageDialog (*list-for-runtime* "Please enter a Customer Name..." "Attention" "OK") '( text text text) ) ) (begin (if (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'txtAddress 'Text) "") '( any any) "=") (begin (call-component-method 'Notifier1 'ShowTextDialog (*list-for-runtime* "Please enter a Customer Address." "Attention") '( text text) ) ) (begin ((get-var procSendMail)) ) ) ) ) ) (add-component Screen1 Notifier Notifier1 ) (define-event Notifier1 AfterTextInput( response ) (set-this-form) (set-and-coerce-property! 'txtAddress 'Text (lexical-value response) 'text) ) (add-component Screen1 ActivityStarter ActivityStarter1 (set-and-coerce-property! 'ActivityStarter1 'Action "android.intent.action.VIEW" 'text) ) (add-component Screen1 AccelerometerSensor AccelerometerSensor1 ) (init-runtime #f) (call-Initialize-of-components 'ActivityStarter1 'txtCustomerName 'lstpItems 'txtZip 'txtCityState 'btnSendMail 'VirtualScreen1 'chkPaidFull 'AccelerometerSensor1 'Notifier1 'chkCOD 'txtAddress 'Screen1 'Button1 'lblCustomerInfoText)) "Project loading:0")
|
|---|
| 72 |
|
|---|
| 73 | Sending to phone: (process-repl-input (newline) "Confirmation:0")
|
|---|
| 74 | ReplController sending (process-repl-input (newline) "Confirmation:0")
|
|---|
| 75 | Sent '(process-repl-input (newline) "Confirmation:0")
|
|---|
| 76 |
|
|---|
| 77 | Received from phone: "The blocks editor (or telnet client) is connected to the phone."
|
|---|
| 78 | Received from phone: "
|
|---|
| 79 | #|kawa:2|# "
|
|---|
| 80 | Received from phone: "
|
|---|
| 81 | "
|
|---|
| 82 | Received from phone: "#|kawa:3|# "
|
|---|
| 83 | Received from phone: "
|
|---|
| 84 | "
|
|---|
| 85 | Received from phone: "#|kawa:4|# "
|
|---|
| 86 | Received from phone: "<<Project loading:0@@Success==>>"
|
|---|
| 87 | Ignored "#|kawa:1|# The blocks editor (or telnet client) is connected to the phone.
|
|---|
| 88 | #|kawa:2|#
|
|---|
| 89 | #|kawa:3|#
|
|---|
| 90 | #|kawa:4|# "
|
|---|
| 91 | Received from phone: "
|
|---|
| 92 | "
|
|---|
| 93 | Received from phone: "<<Confirmation:0@@Success==>>"
|
|---|