stanford-oval / almond-android Goto Github PK
View Code? Open in Web Editor NEWThe Almond Android App
License: Other
The Almond Android App
License: Other
We should never let the user stare at an empty screen. Maybe show the welcome again, or show an help button, or just show the help right away.
There should be some space above the grid view
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: blob is undefined
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: not opened
java.lang.InternalError: Thread starting during runtime shutdown
Even though technically you can write weird text like "gross" (144) or "score" (20) when Sabrina asks for a number, because CoreNLP, we should really limit the user to numbers when numbers are expected.
Needs a new askspecial type.
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;26 io.jxcore.node.jxcore;javaCall;jxcore.java;157 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;131 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: listener must be a function
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: this._pipeline is undefined
Someone needs to write a Bluetooth adapter layer for Android
service.ControlChannel;sendInvokeCallback;ControlChannel.java;187 jsapi.JavascriptAPI;sendCallback;JavascriptAPI.java;31 jsapi.JavascriptAPI;invokeAsync;JavascriptAPI.java;35 jsapi.AssistantAPI;ready;AssistantAPI.java;88 service.AssistantDispatcher$1;run;AssistantDispatcher.java;85 service.ControlChannel;sendCall;ControlChannel.java;94 service.ControlChannel;sendInvokeCallback;ControlChannel.java;184
java.io.IOException: Stream closed
service.ControlChannel;sendInvokeCallback;ControlChannel.java;187 jsapi.JavascriptAPI;sendCallback;JavascriptAPI.java;31 jsapi.JavascriptAPI;access$000;JavascriptAPI.java;13 jsapi.JavascriptAPI$1$1;run;JavascriptAPI.java;55 service.ControlChannel;readOneReply;ControlChannel.java;119 service.ControlChannel;expectReply;ControlChannel.java;163 service.ControlChannel;sendInvokeCallback;ControlChannel.java;184
java.io.EOFException: Control channel closed
ui.MainActivity$ReadContactTask;doInBackground;MainActivity.java;860 ui.MainActivity$ReadContactTask;doInBackground;MainActivity.java;844
java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.HtcContactsProvider2 from ProcessRecord{22eb882 9849:edu.stanford.thingengine.engine/u0a220} (pid=9849, uid=10220) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: _this is undefined
service.ControlChannel;sendInvokeCallback;ControlChannel.java;187 jsapi.JavascriptAPI;sendCallback;JavascriptAPI.java;31 jsapi.JavascriptAPI;access$000;JavascriptAPI.java;13 jsapi.JavascriptAPI$1$1;run;JavascriptAPI.java;53 service.ControlChannel;readOneReply;ControlChannel.java;119 service.ControlChannel;expectReply;ControlChannel.java;163 service.ControlChannel;sendInvokeCallback;ControlChannel.java;184
java.io.EOFException: Control channel closed
If the user tries to use RSS and there is no RSS, we should pop up a configure rss button.
(I'm surprised there is not one already)
In preparation for the MOOP, we should make our system more robust and at the same time more hackable.
Phone side:
Cloud side:
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: this._pipeline is undefined
ui.AssistantFragment$SpeechHandler;onPartialResponseReceived;AssistantFragment.java;209 com.microsoft.bing.speech.Conversation$5;run;Conversation.java;247
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.app.Activity.findViewById(int)' on a null object reference
service.ControlChannel;sendInvokeCallback;ControlChannel.java;187 jsapi.JavascriptAPI;sendCallback;JavascriptAPI.java;31 jsapi.JavascriptAPI;access$000;JavascriptAPI.java;13 jsapi.JavascriptAPI$1$1;run;JavascriptAPI.java;55 service.ControlChannel;sendCall;ControlChannel.java;94 service.ControlChannel;sendInvokeCallback;ControlChannel.java;184
java.io.IOException: Stream closed
service.ControlChannel;sendInvokeCallback;ControlChannel.java;187 jsapi.JavascriptAPI;sendCallback;JavascriptAPI.java;31 jsapi.JavascriptAPI;invokeAsync;JavascriptAPI.java;35 jsapi.AssistantAPI;ready;AssistantAPI.java;88 service.AssistantDispatcher$1;run;AssistantDispatcher.java;85 service.ControlChannel;sendCall;ControlChannel.java;94 service.ControlChannel;sendInvokeCallback;ControlChannel.java;184
java.io.IOException: Stream closed
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: Unexpected HTTP status 400 downloading channel edu.stanford.lukech18_silei_jackiey.bike_market
ui.AssistantFragment;onSlotFillingActivated;AssistantFragment.java;633 ui.AssistantHistoryAdapter$AssistantMessageViewHolder$SlotFilling$1;onClick;AssistantHistoryAdapter.java;447 ui.AssistantHistoryAdapter$AssistantMessageViewHolder$SlotFilling$2;onClick;AssistantHistoryAdapter.java;484
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
ui.MainActivity$override;onCreate;MainActivity.java;128 ui.MainActivity$override;access$dispatch;; ui.MainActivity;onCreate;MainActivity.java;0
java.lang.IllegalArgumentException: Tabs not supported in this configuration
jsapi.BluetoothAPI;serializeBtDevice;BluetoothAPI.java;176 jsapi.BluetoothAPI;onDeviceChanged;BluetoothAPI.java;192 jsapi.BluetoothAPI;access$300;BluetoothAPI.java;31 jsapi.BluetoothAPI$Receiver;onReceive;BluetoothAPI.java;64
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.bluetooth.BluetoothClass.getDeviceClass()' on a null object reference
(Suggested by Rakesh, related to #10 because of the More... button)
Instead of showing all 20 choices at once, we should show them in batches of 5, with the hope that the NL is not too screwed and indeed they are in decreasing order of probability.
jsapi.BluetoothAPI;serializeBtDevice;BluetoothAPI.java;176 jsapi.BluetoothAPI;onDeviceChanged;BluetoothAPI.java;192 jsapi.BluetoothAPI;access$300;BluetoothAPI.java;31 jsapi.BluetoothAPI$Receiver;onReceive;BluetoothAPI.java;64
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.bluetooth.BluetoothClass.getDeviceClass()' on a null object reference
This is a long term tracking issue about the true fill in the blank UI
Hello~
I just visited your repo, and looks interesting. But while building android project, I saw issue like below.
Error:Execution failed for task ':app:buildJsDebug'.
> Process 'command './build_js.sh'' finished with non-zero exit value 127
When I run build_js.sh on terminal, I see Missing destination directory
on line. How can I fix it?
Also, if this is an open project for every user, how about making installation guide?
Thanks.
We should be able to update jxcore at least to mozilla ESR 38 relatively easily, and then we should be able to update embedded deps (most importantly openssl)
service.ControlChannel;sendInvokeCallback;ControlChannel.java;184 jsapi.JavascriptAPI;sendCallback;JavascriptAPI.java;31 jsapi.JavascriptAPI;access$000;JavascriptAPI.java;13 jsapi.JavascriptAPI$1$1;run;JavascriptAPI.java;49 service.ControlChannel;readOneReply;ControlChannel.java;117 service.ControlChannel;expectReply;ControlChannel.java;160 service.ControlChannel;sendInvokeCallback;ControlChannel.java;181
java.lang.ArrayIndexOutOfBoundsException: length=64; regionStart=0; regionLength=-1
ui.AssistantHistoryAdapter$AssistantMessageViewHolder$SlotFilling;slotByType;AssistantHistoryAdapter.java;470 ui.AssistantHistoryAdapter$AssistantMessageViewHolder$SlotFilling;bind;AssistantHistoryAdapter.java;437 ui.AssistantHistoryAdapter;onBindViewHolder;AssistantHistoryAdapter.java;648 ui.AssistantHistoryAdapter;onBindViewHolder;AssistantHistoryAdapter.java;40
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference
ui.MainActivity;onSlotFillingActivated;MainActivity.java;771 ui.AssistantHistoryAdapter$AssistantMessageViewHolder$SlotFilling$2;onClick;AssistantHistoryAdapter.java;462 ui.AssistantHistoryAdapter$AssistantMessageViewHolder$SlotFilling$3;onClick;AssistantHistoryAdapter.java;499
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: this._pipeline is undefined
Consistently with other buttons, and also not breaking the conversation flow
Button lists tend to be overwhelming and distracting. We should drop old buttons after the user interacted with them and replace them with a text item on the right, effectively compacting the button list to the user choice.
service.ControlChannel;sendInvokeCallback;ControlChannel.java;184 jsapi.JavascriptAPI;sendCallback;JavascriptAPI.java;31 jsapi.JavascriptAPI;invokeAsync;JavascriptAPI.java;35 jsapi.AssistantAPI;handleParsedCommand;AssistantAPI.java;98 service.AssistantDispatcher$3;run;AssistantDispatcher.java;138 service.AssistantDispatcher$CommandTask;doInBackground;AssistantDispatcher.java;101 service.AssistantDispatcher$CommandTask;doInBackground;AssistantDispatcher.java;90 service.ControlChannel;expectReply;ControlChannel.java;170 service.ControlChannel;sendInvokeCallback;ControlChannel.java;181
java.lang.Exception: this._prefs is undefined
Scrolling in presence of pictures is weird because ListView tries to scroll by full items
jsapi.BluetoothAPI;serializeBtDevice;BluetoothAPI.java;176 jsapi.BluetoothAPI;onDeviceChanged;BluetoothAPI.java;192 jsapi.BluetoothAPI;access$300;BluetoothAPI.java;31 jsapi.BluetoothAPI$Receiver;onReceive;BluetoothAPI.java;64
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.bluetooth.BluetoothClass.getDeviceClass()' on a null object reference
It's not useful and can't be stopped
The full help tends to be overwhelming, we should sort it by popularity and only show top 5 with a More... button
The full solution:
The intermediate solution:
From the set of commonly used apps on thingpedia, we currently show the page but it tries to enable the apps on the cloud account
Tab based:
Sabrina is a nice name, but I would like to call it in a male name, is it possible?
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: this._pipeline is undefined
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: not opened
io.jxcore.node.JXMobile$1;Receiver;JXMobile.java;39 io.jxcore.node.jxcore;javaCall;jxcore.java;158 io.jxcore.node.jxcore;loop;; io.jxcore.node.jxcore;Loop;jxcore.java;132 service.EngineThread;run;EngineThread.java;81
java.lang.RuntimeException: Q is not defined
ui.LoadImageTask;load;LoadImageTask.java;36 ui.MyRulesActivity$4;getView;MyRulesActivity.java;123
java.util.concurrent.RejectedExecutionException: Task android.os.AsyncTask$3@79fff93 rejected from java.util.concurrent.ThreadPoolExecutor@db0cbd0[Running, pool size = 9, active threads = 9, queued tasks = 128, completed tasks = 1160]
service.ControlChannel;sendInvokeCallback;ControlChannel.java;187 jsapi.JavascriptAPI;sendCallback;JavascriptAPI.java;31 jsapi.JavascriptAPI;access$000;JavascriptAPI.java;13 jsapi.JavascriptAPI$1$1;run;JavascriptAPI.java;55 service.ControlChannel;readOneReply;ControlChannel.java;119 service.ControlChannel;expectReply;ControlChannel.java;163 service.ControlChannel;sendInvokeCallback;ControlChannel.java;184
java.io.EOFException: Control channel closed
ui.MainActivity;onSlotFillingActivated;MainActivity.java;707 ui.AssistantHistoryAdapter$AssistantMessageViewHolder$SlotFilling$2;onClick;AssistantHistoryAdapter.java;462
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.