be patient and wait for feedback.
@r0bby @iainbarclay This is the link for my POC: https://github.com/Akash-Ramjyothi/Libre-Health-Android-App-Project.git
It follows Object-oriented Relational Mapping to store and retrieve data. the class named âstorage.classâ contains all the data in dynamic array format. It is inherits the âAppCompactActivityâ and through multilevel inheritance, every class inherits the âstorage.classâ and the process is being carried out such as storing in variable and retrieving the same. However the validation process that you mentioned is NOT done in the âstorage.classâ. It is done on each activityâs onClickListener of the buttons which checks all the EditText components before storing or retrieving and then if the given data is invalid, it informs the user in the form of âTOASTSâ and the activity does not changes in this case. And if the data is valid, it shows a success screen for a short duration and then automatically comes to the HOMPAGE of the app i.e the MainActivity.
If there are any further issues, please inform me. I have also included all the SCREENSHOTS ran on my ANDROID DEVICE on the README.md.
I did not run it as the code quality was not good.
Here is a list of issues:
- Still not following Java Conventions for naming files. Yes, this matters a lot. The conventions you should be following are:
- ThisIsAClassName
- thisIsAVariableOrMethodName
- THIS_IS_A_CONSTANT_NAME,
- here.is.a.packagename".
- When camelcasing an acronym, do DvdPlayer, not DVDPlayer.
- Also, see Googleâs Java Style Guide, which is based on the Java conventions. You should read this.
- You didnât actually implement an ORM correctly, or at all that I can see. Android has a library for this called Room, which I expected you to use.
- What is
hospitalid? I"m genuinely confused by that one. - I would expect you to understand how to organize your classes into packages â if you knew Java, you should know this. Itâs a fundamental concept.
- LibreHealth is one word, not two. Itâs never hyphenated
- This is supposed to also track health data such as vaccinations as well.
- Validations should happen both client-side and in the database. Remember that itâs relatively easy to subvert your code and store invalid data in your database.
- You donât need to build this using Android Studio. You can build using
./gradlew installDebug(for macOS or Linux) or./gradlew.bat installDebug(for Windows). There are command-line tools for managing virtual devices and Genymotion also exists. Genymotion uses VirtualBox.
I would honestly strongly discourage @iainbarclay and the other mentors from accepting you.
Here is why:
- I gave you a strong hint about the conventions prior, yet you didnât look them up, Also, why didnât you pick up on the fact that MainActivity is named in the manner it is and yet all of your classes are different?
- I expected a marked improvement in the code, thatâs what we care about and I just donât see it. We wanna see that you can organize code coherently into packages (without prompting).
I do not want to discourage you from sticking around and working on your skills but Iâm not 100% sure that you would succeed this year.
Google Code-in is meant to teach students who are assumed to know nothing. Google Summer of Code requires you have the experience going in. Iâm sorry.
All students should be making a Proof of concept application. You can leave out the backend but we want to see that you organize your code coherently. Store data client-side.
This is a requirement.
@r0bby So if I just rename the classes and other things in my project and validate the data from the class âstorage.classâ, will I be accepted? And in this forum I can see that I am the only guy working THIS much on the birth registration app⌠and I did not come this much far just to QUIT?
That was far from my only concern. This is a pattern Iâve seen where I give you a list of things and you donât address them all. I didnât give them to be mean, I did it because things werenât done right.
@r0bby Ok so shall I rename them and send another repo LINK?
You donât need a new repo to do this. Git tracks file renames.
To add onto my previous post: I will say however that I am very, very concerned that I brought up the fact that you did not follow the java coding conventions prior and you failed to address them when you made the changes you did. Iâve been giving you chances to show improvement and every time, you donât.
@r0bby Here You go : https://github.com/Akash-Ramjyothi/Libre-Health-Android-App-Project.git
I have renamed the files.
This is precisely what Iâm talking about. That was ONE of my issues.
What? I dont understand get your latest reply?
This has been a pattern with you. You donât address all issues and this is problematic.
Re-read my feedback:
Ok so now you want me to use ROOM thats it right?
Thatâs one of the issues, yes. Keep reading.
My main concern is that you donât have a lot of experience with Android or even Java.
So let me get experience in this project.
Thatâs not how GSoC works. You have to have experience going in.
Aside from your coding skills, you also fail to heed feedback â youâll address one thing and then send it back but ignore all the other feedback. I can almost predict you failing at the midterm evaluation. I have been around GSoC for a very long time. I donât take joy or glee in saying this. I know youâre trying, but you need to also have attention to detail, especially when you are working on an application for medical use.
Additionally, your model classes are Activities for some reason. Thatâs another issue. Youâre failing to even follow Androidâs naming conventions.
This is an android app I worked on:
Notice the package structure? The way I named the classes?
The backend is buggy right now so wonât work - probably wonât even work, but what I want you to see is how the code is structured.
link to my POC repository:
Please verify and give feedback.
Hi mentors, The project is really interesting to me. I will be happy to contribute this project. Now I need your help to prepare a good proposal for this project. I am eagerly waiting for your reply. Thank you.
others might be researching lot and cross verifying their stuff before submitting their draft proposals, this frequently. they also might have same doubts as you .so re-posting same thing isnât apt at all.