This is my first post on the documentation of my Android development journey. I’m currently working on a women’s health app and I started documenting my process in my notepad on my computer. My initial thought was that I was hoping it would demonstrate my problem solving capabilities. Below are a couple of days worth of problems I ran into. I will try to make my future posts more lengthy.
Issues I ran into while building ProdigyHealth app. Somehow the app was defaulted to wearable in Manifest file. I googled the error and saw on stackoverflow how to fix this error . The app still wasn’t launching the homescreen. So I continued into the Manifest file and noticed this….
<code missing from notepad on my old computer, not sure how>
I knew that launcher meant the launching page so I took a chance and changed it.
I then had to change
back to this….
<code was missing from notepad on my old computer, not sure how>
<activity android:name=".vaginalHealth" /> <activity android:name=".periodLog" /> <activity android:name=".healthAndFitness" /> <activity android:name=".userProfile">
It solved my problem and I was able to make my MainActivity.java the launcher page again and all of the buttons lead to the pages they were meant to. I had no idea if this would work but it made sense intuitively especially since I remembered the purpose of the launcher page and seeing all of the other pages I made lined up together made me think this must be of some significance.
Now that I am able to have the buttons go to the page I want them to go to. I am now going to tackle adding the breast exam video. Because I will need to use an API, security is my number one priority at the moment. I couldn’t figure out why I couldn’t create a .gitignore file but it turns out android studio creates one for you (convenient) but you have to be in project view in order to see it. I was in android view and couldn’t understand what I was doing wrong. Long story short, I was able to embed the video using a library I found.
right now I’m trying to figure out how to implement the period tracking calendar. I wanted to use google calendar API but I can’t figure out how to do that. I can’t find any information on line and the documentation isn’t too helpful. The tutorials that ARE online are completely useless and it ended up messing up my whole project. I couldn’t find a solution so I just reverted my project back to the previous commit. Thank god for version control. Now I’m thinking I’m just gonna put a calendar view and see if I can connect it to firestore. Is that even possible? I honestly have no idea what I’m doing. But I will figure it out.
I couldn’t figure out for the longest how to use the google calendar API. I followed a tutorial that uses the Intent method but it wouldn’t work for me. My app kept crashing or returning to the home screen. I decided to just have a hyper link that goes to google calendars. Another issue I stumbled upon however is the YouTube library I was using uses jcenter() which is at the end of its life span. So I’m going to have to figure out a different way to embed my YouTube video.