Code Monkey home page Code Monkey logo

bee-android's People

Contributors

agmi-nico avatar aveuiller avatar duribreux avatar haderer avatar mohammadnaseri avatar qwarnant avatar rouvoy avatar rsommerard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bee-android's Issues

Notification appears back without starting Bee

The bee notification appears back after discarding it, even if I did not start back bee.
Actually I even did not have any crop running on the phone, so I really don't understand why the service seem starting.
I did not restart the phone, and apparently the notification appears back every few hours (something like 7 to 9 hours)

UI: Useless notification message

The notification message is active even if nothing is started (actually I even did not manage to connect to the app...).
And it seems to be an action possible on the notification but it's hidden by default (I had to swipe down to display the action button)

NullPointerException 'java.lang.String io.apisense.sdk.core.store.Crop.getName()'

To reproduce the bug

  1. Create and start a new Crop on the server
  2. Subscribe to the Crop in Bee
  3. Stay on the Preview in Bee and delete the Crop on the server
  4. Return in My crops in Bee
  5. The application must crash and print the stacktrace below

Stacktrace

01-18 11:24:48.638 com.apisense.bee.experimental.debug E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.apisense.bee.experimental.debug, PID: 5304 java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String io.apisense.sdk.core.store.Crop.getName()' on a null object reference                                                                           
   at com.apisense.bee.ui.adapter.SubscribedExperimentsRecyclerAdapter.drawCrop(SubscribedExperimentsRecyclerAdapter.java:48)                                                                           
   at com.apisense.bee.ui.adapter.SubscribedExperimentsRecyclerAdapter.drawCrop(SubscribedExperimentsRecyclerAdapter.java:18)                                                                           
   at com.apisense.bee.ui.adapter.ExperimentsRecyclerAdapter.onBindViewHolder(ExperimentsRecyclerAdapter.java:63)                                                                           
   at com.apisense.bee.ui.adapter.ExperimentsRecyclerAdapter.onBindViewHolder(ExperimentsRecyclerAdapter.java:26)                                                                           
   at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6508)                                                                           
   at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6541)                                                                           
   at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5484)                                                                           
   at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5750)                                                                           
   at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5589)                                                                           
   at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5585)                                                                           
   at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2231)                                                                           
   at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1558)                                                                           
   at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1518)                                                                           
   at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:610)                                                                           
   at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3719)                                                                           
   at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3436)                                                                           
   at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3988)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.support.design.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1171)                                                                           
   at android.support.design.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:856)                                                                           
   at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:875)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)                                                                           
   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1791)                                                                           
   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1635)                                                                           
   at android.widget.LinearLayout.onLayout(LinearLayout.java:1544)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1172)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)                                                                           
   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1791)                                                                           
   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1635)                                                                           
   at android.widget.LinearLayout.onLayout(LinearLayout.java:1544)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)                                                                           
   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1791)                                                                           
   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1635) 01-18 11:24:48.640 com.apisense.bee.experimental.debug E/AndroidRuntime:  
   at android.widget.LinearLayout.onLayout(LinearLayout.java:1544)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)                                                                           
   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)                                                                           
   at com.android.internal.policy.DecorView.onLayout(DecorView.java:758)                                                                           
   at android.view.View.layout(View.java:19590)                                                                           
   at android.view.ViewGroup.layout(ViewGroup.java:6053)                                                                           
   at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2484)                                                                           
   at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2200)                                                                           
   at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1386)                                                                           
   at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6733)                                                                           
   at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)                                                                           
   at android.view.Choreographer.doCallbacks(Choreographer.java:723)                                                                           
   at android.view.Choreographer.doFrame(Choreographer.java:658)                                                                           
   at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)                                                                           
   at android.os.Handler.handleCallback(Handler.java:789)                                                                           
   at android.os.Handler.dispatchMessage(Handler.java:98)                                                                           
   at android.os.Looper.loop(Looper.java:164)                                                                           
   at android.app.ActivityThread.main(ActivityThread.java:6541)                                                                           
   at java.lang.reflect.Method.invoke(Native Method)                                                                           
   at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)                                                                           
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767))

Android Application

You will have to create a new project building thanks to Gradle, the configuration can be retrieved on the current application's repository.

The SDK is stored on a private maven repository, you will have to ask for access.

The mandatory features to be developed as part of this sprint are:

  • Login / register an user
  • Install / uninstall a crop from the store
  • Information about installed crops (running, data collected, start/stop, description etc.)
  • Privacy management
  • Logout an user

You may want to see how to use APISENSE® SDK. You can check the actual version of Bee sources, or look a the documentation

Unable to connect with a Google account

Hi,

I would like to connect with my Google account. However, when I click on the Google login button I get the following error message in the bottom popup:

screenshot_20171110-095732

This account has not been yet registered, but the common behaviour with this kind of button is to automatically register if account is unknown.
Do I need to do additional actions to be able to connect with a Google account?

Aurélien

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.