fossasia / susi_android Goto Github PK
View Code? Open in Web Editor NEWSUSI.AI Android App https://play.google.com/apps/testing/ai.susi
License: Apache License 2.0
SUSI.AI Android App https://play.google.com/apps/testing/ai.susi
License: Apache License 2.0
The App currently uses old Halo Theme instead of new Material Theme. Material design can be implemented in the app for better looks.
improve search UI while searching messages in conversation
Add .idea directory to .gitignore so it is not committed by anyone else
when we press enter key, it goes to second line. we can make it that on pressing enter msg get sent
like whats app and hike messenger
After opening app soft keyboard get open automatically
The app currently starts a new chat session every time you start it , old messages are not shown. Old messages must be stored and displayed too.
if a user sends a message when there is no internet then he should get relevant answers once he is connected to internet
how it would be to use speech to text input in the app..
i would like to work on that....
Deactivate debugging in sample app in apk branch.
See more info here: http://developer.android.com/tools/device.html
Push both debug and release apk in the apk branch after a travis build
We can add support for showing a link preview showing an image preview on any link in any message (like in facebook messenger).
I would like to take up this.
This Crash is occurring due to realm NoClassFound, on changing the Network state.
I/O Mobile data, Wi-fi.
Detected on:
Nexus 5 CM13 Android 6.0.1
Log:
10-03 09:14:40.590 32622-32622/org.fossasia.susi.ai E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.fossasia.susi.ai, PID: 32622
java.lang.RuntimeException: Unable to instantiate receiver io.realm.internal.network.NetworkStateReceiver: java.lang.ClassNotFoundException: Didn't find class "io.realm.internal.network.NetworkStateReceiver" on path: DexPathList[[zip file "/data/app/org.fossasia.susi.ai-1/base.apk"],nativeLibraryDirectories=[/data/app/org.fossasia.susi.ai-1/lib/arm, /data/app/org.fossasia.susi.ai-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2750)
at android.app.ActivityThread.-wrap14(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5466)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "io.realm.internal.network.NetworkStateReceiver" on path: DexPathList[[zip file "/data/app/org.fossasia.susi.ai-1/base.apk"],nativeLibraryDirectories=[/data/app/org.fossasia.susi.ai-1/lib/arm, /data/app/org.fossasia.susi.ai-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2745)
at android.app.ActivityThread.-wrap14(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5466)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Suppressed: java.lang.ClassNotFoundException: Didn't find class "io.realm.internal.network.NetworkStateReceiver" on path: DexPathList[[dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-support-annotations-24.2.1_2f4e12f50b74a0e56083d683ebcd01098f8544c5-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-retrofit-2.1.0_cf279e13c7581267ec06efb423edffc451b4f5ff-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-realm-annotations-2.0.0_07f36a1f91e6acef3721afd25e88ec47ccc4492f-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-okio-1.8.0_6896106ae3c04439e55501a196384a5ecf60b5b1-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-okhttp-3.3.0_068abd747c7b414410f82e22c0d0b6acbd41650d-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-me.himanshusoni.chatmessageview-chat-message-view-1.0.3_7c27264fb08c446ab7c169a6481f8471c542675d-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-io.realm-realm-android-library-2.0.0_62fb1293c2ee6ddc69320de50e6dbecb6871db03-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-internal_impl-24.2.1_f360842d212d25afcf6d1d16c81608f47758e001-classes.dex", dex file "/data/data/org.fossasia.susi.ai/files/instant-run/dex/slice-internal_impl-24.2.1_ee35e25679ede1b1321
Currently contrary to the web client on asksusi.com questions about maps do not generate a map image. Please implement support for map images and other images.
If any relevant output is needed from the server, please open issues in the susi server project.
Current unit tests on Travis just check for successful build but does not check whether various app functionality is working correctly or not.
We may add support for checking basic app functionalities like sending messages using androidTest framework so that errors like in #34 can be avoided.
I would like to add delete and copy features in the susi app , so that we can delete and copy individual messages..
We should create a room for android client on gitter and also update readme accordingly.
@mariobehling @the-dagger thoughts?
All the commits should be made to the development branch of the repo and it should be merged with master on a weekly basis, similar to what we are doing on the opev repo.
Thoughts @mariobehling ?
it considers newline character as message and sends it.
Now that messages are being stored in database, PR #66 , searching in messages can be done to highlight that particular message in the conversation.
Emoji sending option can be added directly instead of using keyboard specific emoji option like in popular chat apps. Later on, susi backend api can be improved to add emoji support in the messages.
Susi server is well ahead giving response in various forms, one such visualization is pie charts. The app must provide support to process the pie data and shoot out a pie chart as a result. Susi server tells you what kind of data its going to give.
Susi webclient uses high charts to display the pie charts
@the-dagger what library should we use for image loading? Picasso or glide? i prefer glide because it handles image resizing effectively.
If user line message with multiple line then edittext box will cover the large portion of UI.
After selecting the Text Copy, Delete, Forward, share option should pop up in the status bar.
Please add setup information for the development environment.
all the scrolling to bottom , notifying and adding calls should be abstracted inside adapter, to make the code base cleaner and cause lesser bugs.
Please create travis.yml and add the right configuration.
recycler view should maintain its scroll state when keyboard pops up. bottom messages get obscured by keyboard.
Currently some answers generate links, but these are not clickable.
Network call for reply is blocking UI thread, this needs to be fixed.
we should use retrofit for network calls and GSON for JSON parsing (instead of manual) to make the code more cleaner and understandable.
I think we should only compile the binary for the View Library until we rewrite, which is available here.
Project management and gradle compilation is faster after proguard and easier maintenance.
@daminisatya How's this for a UI Imrovement?
@the-dagger could you tell why there is wake lock permission declared in manifest? we can remove it if not needed.
Replace ListView with RecyclerView for better app performance.
Susi server provides us data in the form of a list. The response should also focus on displaying such data along with the response. It must show it in the form of a bulleted list. Susi shows the type as table in its response
Each time when user Start app by default app always show first ever message between SUSI_AI and user
We have a number of projects, that automatically build an app after each commit. The event orga app adds an apk in the apk branch here, e.g. https://github.com/fossasia/open-event-orga-app/tree/apk.
Please follow this approach and implement an automatic build after each code merge.
Add appropriate screenshots for the functioning of app.
The current app package name is me.himanshusoni.chatmessageview.example , it should be changed to something relevant to project. I propose, "org.fossasia.susi.ai" for it.
The App currently displays "no value for answers" on unavailability of internet, an appropriate error message must be displayed instead.
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.