Coder Social home page Coder Social logo

android-application's People

Contributors

abhishekgupta368 avatar abhushanaj avatar amruta-n avatar ashishnagpal2498 avatar capten101 avatar connectrv avatar gneloatn avatar m-code12 avatar nishtha3512 avatar rasacharjee avatar sapna2001 avatar satyam3976 avatar shreyakapoor08 avatar shwetagurnani avatar tanishq9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

android-application's Issues

Add screenshots [OPEN FOR ALL]

Create a markdown file by your name in the screenshots folder and add 3-4 screenshots of the app including 'on boarding', 'selecting image' and 'result'. Download the app using the APK given in README.md. Also, mention which device you tested the android app on in the PR description.

Parse the JSON data received in ResultActivity [PR on 'DEV']

Currently after fetching the getting the JSON response, the Result Activity looks like this(see the attached image), parse this JSON into Java objects and show the information in different views.

All the code change will be done in ResultActivity only. DON'T change code in any other activity.

Screenshot (May 1, 2020 11_37_15 PM)

PS : Please do comment 'I am working on this' if you want to work on this issue, else PR won't be considered.

Please use releases/ to provide APK

Could you please use releases/ and attach your APK there? This would also allow to see when there's a new version available โ€“ and enable you to provide release notes (if you wish). It's also where people usually look for, um, releases ๐Ÿ˜‰ Thanks!

Results are far off

Today I finally found time to give your app a try. Took a photo of one of our roses which seems to have mildew. Fed it to CropAI. After about a minute, the app informed me my potato would be healthy.

Am I doing something wrong? Cannot have fed the wrong photo (we have no potatoes) โ€“ and treatment hints on potatoes are not especially helpful if I have issues with a rose ๐Ÿ˜‰ Sent the photo again, same results. Sent a variant cropped to a single leaf, again the same results.

Here's the cropped photo (resized; the variant I sent for analysis was full-size): IMG_20200531_160304

Doesn't look like a potato leaf to me ๐Ÿคฃ Any hints?

PS: Looking at the screenshots embedded to the Readme, that's exactly what I get ("Potato Healthy"). If regardless on the image sent, it always displays that โ€“ what does the analysis do then, and what does it need a photo for?

Honestly, I'm not ranting. I know this is an "early bird" โ€“ I just want to understand what I can expect from it. I'll gladly try again later should that be a problem with the backend โ€“ or try with a later version of the Android app when available. Thanks!

Share your bugs! [OPEN FOR ALL] [LEARNING EXPERIENCE]

In the understanding-bugs folder, create a markdown file for any bug/error you faced while implementing a feature in this project. Refer to the README file in understanding-bugs folder for further instructions.

Make OnBoarding Screen Design Mockups. [OPEN FOR ALL] [UI/UX]

The flow of the android app :

  1. User selects an image file from their gallery by clicking on UPLOAD button at the bottom of the screen.
  2. After the image file is selected by the user, it is shown in the app and the button text changes from UPLOAD to PREDICT.
  3. The user then clicks on PREDICT button and a request is send to the server to respond with the required leaf disease category. [similar to the WEB Application]
  4. The response JSON is parsed and the result is shown to the user.

You now have a basic idea about how the app will function, you can take inspiration from it and roll in some beautiful designs for On Boarding screen.

You can add your design mockups in onboarding-design-mockups folder.

Bug: App crashesh after selecting an image

Description
App Crashes after selecting an image.

Log
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=100, result=-1, data=Intent { dat=content://media/external/images/media/75376 flg=0x1 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) }} to activity {com.boss.cropanalyzerapp/com.boss.cropanalyzerapp.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
at android.app.ActivityThread.deliverResults(ActivityThread.java:4556)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4599)
at android.app.ActivityThread.-wrap22(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1715)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6816)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1565)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1453)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
at com.boss.cropanalyzerapp.MainActivity.onActivityResult(MainActivity.java:232)
at android.app.Activity.dispatchActivityResult(Activity.java:7337)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4552)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4599)ย 
at android.app.ActivityThread.-wrap22(ActivityThread.java)ย 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1715)ย 
at android.os.Handler.dispatchMessage(Handler.java:102)ย 
at android.os.Looper.loop(Looper.java:154)ย 
at android.app.ActivityThread.main(ActivityThread.java:6816)ย 
at java.lang.reflect.Method.invoke(Native Method)ย 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1565)ย 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1453)ย 

Device
Samsung J2 Android 7.1.1 API 25

Explain app working in README.md [HTML] [OPEN FOR ALL]

Include screenshots and explain the working of android application. Add 3 on boarding screenshots for first time users(arrange them all in one row) and other screenshots including 1 for picking image from gallery, 1 for request (showing timer) and 1 which shows results(show these 3 also in one row).

For Image size : scale it according to the width (250px), use https://www6.lunapic.com/editor/ for image scaling tasks. Do comment 'I am working on it' else PR won't be considered. Only 1 PR which is most descriptive and engaging will be merged for this issue.

PS : All the content should be in html.
PPS : Make it as descriptive as possible.

Image Analyser not working [Android Q Bug]

Device: Oneplus 6
OS: Android 10(Q) Oxygen OS

After installation, when I tried to test the app I noticed two problems:

  • After selecting the image from the gallery, as soon as we return to the app there was an empty screen with no preview of any kind of the image. I'm not aware if it's not implemented or it's a bug.

empty screen after upload

  • The second problem is that regardless of the Internet Connection, Toast message always shows "no Internet Connection".

no internet problem

Add imageView click listener [Make PR on 'DEV' Branch] [OPEN FOR ALL]

Instead of using button for uploading file, we will set a click listener on image view instead and use the button for selecting image file therefore we will change button text to ANALYZE. Also make sure the ANALYZE button when clicked shows a Toast of 'No file selected' if user has not uploaded any file and clicks on this button.

Weekly Digest (21 April, 2020 - 28 April, 2020)

Here's the Weekly Digest for CropAi/Android-Application:


ISSUES

Last week 2 issues were created.
Of these, 2 issues have been closed and 0 issues are still open.

CLOSED ISSUES

โค๏ธ #2 modified manifest.xml for app name, by dev-rocky
โค๏ธ #1 added material design library, by dev-rocky


PULL REQUESTS

Last week, 2 pull requests were created, updated or merged.

MERGED PULL REQUEST

Last week, 2 pull requests were merged.
๐Ÿ’œ #2 modified manifest.xml for app name, by dev-rocky
๐Ÿ’œ #1 added material design library, by dev-rocky


COMMITS

Last week there were 5 commits.
๐Ÿ› ๏ธ Merge pull request #2 from dev-rocky/app-name-change modified manifest.xml for app name by tanishq9
๐Ÿ› ๏ธ modified manifest.xml for app name by tanishq9
๐Ÿ› ๏ธ Merge pull request #1 from dev-rocky/master added material design library by tanishq9
๐Ÿ› ๏ธ added material design library by tanishq9
๐Ÿ› ๏ธ add new folder by tanishq9


CONTRIBUTORS

Last week there was 1 contributor.
๐Ÿ‘ค tanishq9


STARGAZERS

Last week there were no stargazers.


RELEASES

Last week there were no releases.


That's all for last week, please ๐Ÿ‘€ Watch and โญ Star the repository CropAi/Android-Application to receive next weekly updates. ๐Ÿ˜ƒ

You can also view all Weekly Digests by clicking here.

Your Weekly Digest bot. ๐Ÿ“†

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.