Coder Social home page Coder Social logo

buddycloud-android's People

Contributors

abmargb avatar deminem avatar imaginator avatar kbateman avatar rodrigods avatar rtreffer avatar schnouki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buddycloud-android's Issues

Ensure post ordering

Since replies are loaded asynchronously, there's no guarantee that posts are ordered by publishing time.

Typing entries is incredibly slow

HTC Desire running CyanogenMod 10.1 VJ (Android 4.2.2)

When typing an entry, the text entry is incredibly slow, sometimes taking several seconds for each typed character to appear in the text area.

avoid null posts

perhaps we shouldn't allow empty posts :)
+1
Definitely. I thought I'd broken the UI with my media posts :)

Respect the line feed

Looks like newlines (from posts in the webclient) are being ignored in the android client.

Slightly confusing navigation / back arrow action

Clicking on a users avatar in a channel should show me their channel and hitting back should take me back to the channel I came from.

  1. Browse a channel
  2. click avatar.
  3. you see the user's channel (if it's open)
  4. hit back button on phone
  5. expect to go back to the screen you came from / but instead end up in the list of all channels.

Retry HTTP requests when a SSLException: connection reset by peer is thrown

07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): Read error: ssl=0x644446c8: I/O error during system call, Connection reset by peer
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): javax.net.ssl.SSLException: Read error: ssl=0x644446c8: I/O error during system call, Connection reset by peer
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_read(Native Method)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:664)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at com.buddycloud.http.BuddycloudHTTPHelper$RequestAsyncTask.doInBackground(BuddycloudHTTPHelper.java:168)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at com.buddycloud.http.BuddycloudHTTPHelper$RequestAsyncTask.doInBackground(BuddycloudHTTPHelper.java:1)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at android.os.AsyncTask$2.call(AsyncTask.java:287)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
07-08 11:10:11.592: E/BuddycloudHTTPHelper(19057): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)

ArrayIndexOutOfBoundsException during login

java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
at com.buddycloud.LoginActivity$1.onClick(LoginActivity.java:82)
at android.view.View.performClick(View.java:4211)
at android.view.View$PerformClick.run(View.java:17267)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4898)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
at dalvik.system.NativeStart.main(Native Method)

Thinking about how we handle multiple unread push notifications.

I think we just see the most recent notification at the moment.

How about we do something like this for single notifications:

  • if push-notification-count=1, display " posted in channel">
  • clicking jumps directly to that post in the channel

For more than one unread notification

  • if notifications >1, display " unread notifications from , , <...>
  • clicking jumps to the channel list screen showing all the channels with unread posts (presumably nicely bubbled with the most recent posts on top)

Low Res support

"Make the UI/pages scrollable. Too large for my 240x320 screen. Can't even sign up because the button's not on the screen."
I was made aware on the Facebook buddycloud group that low res phones have the above issue. According to him phones with QVGA screens seem to be quiet common in his part of the world and with more than 1.000.000.000 people that's quiet a large group of possible users

API discovery failures are badly handled

If the API discovery fails (for instance because someone typed _buddycloud_api._tcp.pouet.im instead of _buddycloud-api...), the app uses a default value (api.buddycloud.org I guess), without letting the user decide whether it's a good choice or not.

Which means that my XMPP credentials have been sent to some server I don't necessarily trust without my consent. This is terribly wrong.

IMO there are 2 reasonable possible behaviours if API discovery fails:

  • either let the user enter the URL by hand (and save it for the next time)
  • or fail altogether

but don't send my login/password to anyone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.