Giter VIP home page Giter VIP logo

monotweety's Introduction

Monotweety

wercker status codebeat badge codecov

header

Simple Twitter Client just for tweeting.

Get it on Google Play

Monotweety is also available at F-Droid compatible repository called IzzyOnDroid F-Droid Repository. Link for the page is here

Overview

Monotweety is Twitter client app which specializes in tweeting right from your device's notification area.

When you tap the notification, editor dialog will be launched, and you can tweet from there.

If your device is Android 7.0 or up, you can literally tweet from your notification area.

Features include:

  • tweet from notification area
  • chain tweets as a thread

Architecture

Monotweety uses following approach/libraries

  • Kotlin
  • Reactive MVVM-like architecture
  • Dagger2 for Dependency Injection
  • Conductor for building View-based application
  • RxJava for async/reactive programming
  • StorIO for SQLite

Screenshots

splash setting notification editor

How to build

  • Fill secrets.properties.template and rename to secrets.properties.
  • Create Firebase project and download google-services.json, which should have two properties; net.yslibrary.monotweety and net.yslibrary.monotweety.debug.

License

Copyright 2016-2017 Shimizu Yasuhiro (yshrsmz)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

monotweety's People

Contributors

jcminarro avatar lwasyl avatar yshrsmz 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

monotweety's Issues

design

  • icon
  • notification icon
  • Google PlayStore banner
  • Google PlayStore screenshots
  • logo

NPE on EditorTileService#onStartListening

http://crashes.to/s/ec33a3b6eaf

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.service.quicksettings.Tile.setState(int)' on a null object reference
       at net.yslibrary.monotweety.quicksetting.EditorTileService.onStartListening(EditorTileService.kt:49)
       at android.service.quicksettings.TileService$H.handleMessage(TileService.java:398)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6176)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)

Tile should be available in onStartListening though :(

CI

  • wercker
  • codecov
  • codebeat

lateinit property router has not been initialized

this occurs when "Don't keep activity" is enabled.

  1. open unauthorized app
  2. navigate to twitter login view
  3. app crashes when trying to return to the app
11-02 18:54:50.716 17402-17402/net.yslibrary.monotweety.debug E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                Process: net.yslibrary.monotweety.debug, PID: 17402
                                                                                java.lang.RuntimeException: Unable to start activity ComponentInfo{net.yslibrary.monotweety.debug/net.yslibrary.monotweety.activity.main.MainActivity}: kotlin.UninitializedPropertyAccessException: lateinit property router has not been initialized
                                                                                    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
                                                                                    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
                                                                                    at android.app.ActivityThread.-wrap12(ActivityThread.java)
                                                                                    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
                                                                                    at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                    at android.os.Looper.loop(Looper.java:154)
                                                                                    at android.app.ActivityThread.main(ActivityThread.java:6077)
                                                                                    at java.lang.reflect.Method.invoke(Native Method)
                                                                                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
                                                                                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
                                                                                 Caused by: kotlin.UninitializedPropertyAccessException: lateinit property router has not been initialized
                                                                                    at net.yslibrary.monotweety.base.BaseActivity.getRouter(BaseActivity.kt:23)
                                                                                    at net.yslibrary.monotweety.activity.main.MainActivity.access$getRouter$p(MainActivity.kt:23)
                                                                                    at net.yslibrary.monotweety.activity.main.MainActivity$component$2.invoke(MainActivity.kt:43)
                                                                                    at net.yslibrary.monotweety.activity.main.MainActivity$component$2.invoke(MainActivity.kt:23)
                                                                                    at kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:131)
                                                                                    at net.yslibrary.monotweety.activity.main.MainActivity.getComponent(MainActivity.kt)
                                                                                    at net.yslibrary.monotweety.activity.main.MainActivity.getComponent(MainActivity.kt:23)
                                                                                    at net.yslibrary.monotweety.base.BaseController.getComponentProvider(BaseController.kt:31)
                                                                                    at net.yslibrary.monotweety.login.LoginController$component$2.invoke(LoginController.kt:36)
                                                                                    at net.yslibrary.monotweety.login.LoginController$component$2.invoke(LoginController.kt:26)
                                                                                    at kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:131)
                                                                                    at net.yslibrary.monotweety.login.LoginController.getComponent(LoginController.kt)
                                                                                    at net.yslibrary.monotweety.login.LoginController.onCreate(LoginController.kt:42)
                                                                                    at net.yslibrary.monotweety.base.BaseController.onCreateView(BaseController.kt:37)
                                                                                    at com.bluelinelabs.conductor.Controller.inflate(Controller.java:823)
                                                                                    at com.bluelinelabs.conductor.ControllerChangeHandler.executeChange(ControllerChangeHandler.java:151)
                                                                                    at com.bluelinelabs.conductor.Router.performControllerChange(Router.java:632)
                                                                                    at com.bluelinelabs.conductor.Router.rebindIfNeeded(Router.java:421)
                                                                                    at com.bluelinelabs.conductor.Conductor.attachRouter(Conductor.java:33)
                                                                                    at net.yslibrary.monotweety.base.BaseActivity.onCreate(BaseActivity.kt:33)
                                                                                    at net.yslibrary.monotweety.activity.main.MainActivity.onCreate(MainActivity.kt:54)
                                                                                    at android.app.Activity.performCreate(Activity.java:6664)
                                                                                    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
                                                                                    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
                                                                                    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707) 
                                                                                    at android.app.ActivityThread.-wrap12(ActivityThread.java) 
                                                                                    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460) 
                                                                                    at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                    at android.os.Looper.loop(Looper.java:154) 
                                                                                    at android.app.ActivityThread.main(ActivityThread.java:6077) 
                                                                                    at java.lang.reflect.Method.invoke(Native Method) 
                                                                                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) 
                                                                                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) 

handle error on update status

when error occurred while tweeting from notification, notification freezes and does not accept following operation

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.