<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Joseph Olugbohunmi on Medium]]></title>
        <description><![CDATA[Stories by Joseph Olugbohunmi on Medium]]></description>
        <link>https://medium.com/@olugbohunmijoseph?source=rss-5599c26ce19------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*Tx3PIFYFy0gwohRVU-it3Q.jpeg</url>
            <title>Stories by Joseph Olugbohunmi on Medium</title>
            <link>https://medium.com/@olugbohunmijoseph?source=rss-5599c26ce19------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 04:55:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@olugbohunmijoseph/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My first attempt at Deploying a Backend Service on AWS]]></title>
            <link>https://olugbohunmijoseph.medium.com/my-first-attempt-at-deploying-a-backend-service-on-aws-22b5c1f65c3c?source=rss-5599c26ce19------2</link>
            <guid isPermaLink="false">https://medium.com/p/22b5c1f65c3c</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <dc:creator><![CDATA[Joseph Olugbohunmi]]></dc:creator>
            <pubDate>Sat, 30 Nov 2024 17:13:46 GMT</pubDate>
            <atom:updated>2024-11-30T23:49:28.001Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Journey of Learning and Problem-Solving</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1f8mjeGwTnt3GiWd" /><figcaption>Photo by <a href="https://unsplash.com/@synkevych?utm_source=medium&amp;utm_medium=referral">Roman Synkevych</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I have been developing backend services for about 3 years and have always deployed them on in-house servers. Deploying a backend service on AWS for the first time can be both exciting and intimidating. For me, the experience was filled with moments of triumph, a few roadblocks, and a lot of learning. In this article, I’ll walk you through my journey of deploying a backend service on AWS, including the challenges I faced and how I solved them.</p><p>NB: This article is also available on <a href="https://dev.to/mayorjay/my-first-attempt-at-deploying-a-backend-service-on-aws-a-journey-of-learning-and-problem-solving-2n93">Dev</a></p><p><strong>Why Amazon Web Services (AWS)?</strong><br>I am currently building both the frontend (Android) and the backend service (SpringBoot) of a product (unfortunately, I can’t give too many details about this). After researching various cloud platforms, I chose AWS for its robust ecosystem and flexibility. For my project, I decided to use the free tier of two key AWS products: <a href="https://aws.amazon.com/rds"><strong>Amazon RDS</strong></a> for my PostgreSQL database and <a href="https://aws.amazon.com/ec2"><strong>Amazon EC2</strong></a> for deploying the backend service.</p><p><strong>Setting Up the Database</strong><br>The first step was setting up the database using Amazon RDS. I configured the instance with PostgreSQL and ensured it was running properly. To test the database, I used <a href="https://dbeaver.io/"><strong>DBeaver</strong></a>, a reliable database management tool, to connect to the RDS instance. After verifying the connection and running some test queries, I was confident that the database setup was solid. I proceeded to provide the database URL and credentials in the application properties file.</p><p><strong>Launching the EC2 Instance</strong><br>Next, I focused on the service deployment. I launched an Amazon EC2 instance running on a Linux machine and configured a security group to allow:</p><ul><li>The service port for external requests.</li><li>The database port for internal communication.</li><li>SSH access for managing the server.</li></ul><p>Using CLI commands, I connected to the EC2 instance via SSH from my local terminal:</p><pre>chmod 400 /path/to/key.pem<br>ssh -i /path/to/key.pem ec2-user@&lt;EC2-public-DNS&gt;</pre><p>Once inside the EC2 instance, I installed the necessary dependencies (Java in particular), copied the jar file and deployed the service:</p><pre>sudo yum install java-17-amazon-corretto<br>scp -i /path/to/key.pem my-service.jar ec2-user@&lt;EC2-public-DNS&gt;<br>java -jar my-service.jar</pre><p><strong>Testing the Service</strong><br>Once the service was up, I tested it using the public URL provided by AWS. Tools like <a href="https://www.postman.com/"><strong>Postman</strong></a> and the Android app I developed were invaluable. I integrated the URL and verified the service’s functionality by sending and receiving data. I was thrilled to see all endpoints working perfectly, with data being stored correctly in the database.</p><p><strong>The Unexpected Roadblock and the Fix</strong><br>Just when I thought I had everything figured out, an issue cropped up: the service became unreachable whenever my PC was turned off. This was puzzling because I assumed the EC2 instance would remain accessible independent of my local machine. After some troubleshooting and research, I realized that there was a problem with how I had configured the instance’s networking and persistence. By applying the correct adjustments, I ensured that the service was fully reachable regardless of my PC’s status. Here’s how I resolved it:</p><ul><li>Ensured the EC2 instance was running:</li></ul><pre>aws ec2 describe-instances --instance-ids &lt;instance-id&gt;</pre><ul><li>Made the service persistent by creating a systemd service file:</li></ul><pre>sudo nano /etc/systemd/system/my-service.service #This opens a text editor to create the file</pre><ul><li>Added the following content to the file:</li></ul><pre>[Unit]<br>Description=My Java Application<br>After=network.target<br><br>[Service]<br>ExecStart=/usr/bin/java -jar /path/to/my-service.jar<br>WorkingDirectory=/path/to/my-service-directory<br>StandardOutput=inherit<br>StandardError=inherit<br>Restart=always<br>User=ec2-user  # Change this to the user running the app if different<br><br>[Install]<br>WantedBy=multi-user.target</pre><ul><li>Saved the file and exited the editor (Ctrl+O, Enter, then Ctrl+X in Nano).</li><li>Reloaded the systemd daemon to recognize the new service, start the Java application service and enable it to start automatically when the EC2 instance boots:</li></ul><pre>sudo systemctl daemon-reload<br>sudo systemctl start my-service.service<br>sudo systemctl enable my-service.service</pre><ul><li>Checked the service status:</li></ul><pre>sudo systemctl status my-service.service # An &quot;active (running)&quot; status indicates that the application is running successfully<br>sudo journalctl -u my-service.service # Checking the logs for troubleshooting</pre><ul><li>After those changes, I confirmed the service’s availability by using the Android App when my PC was turned off, and it worked as expected!</li></ul><p><strong>Lesson learned</strong><br>Deploying a backend service on AWS for the first time taught me a lot, including:</p><ul><li>The importance of testing every component individually before integrating them.</li><li>Understanding AWS’s networking configurations and security group settings to allow only necessary traffic.</li><li>Ensure critical services restart automatically and don’t rely on a local machine for accessibility.</li><li>Staying calm and persistent when troubleshooting issues.</li></ul><p><strong>Conclusion</strong><br>AWS is a powerful platform for deploying backend services, but like any tool, it has a learning curve. My journey from setting up RDS and EC2 to solving accessibility issues was challenging but was a fulfilling experience that combined technical skills with problem-solving. It also enhanced my understanding of cloud architecture. If you’re just starting with AWS, don’t be afraid to make mistakes — they’re part of the learning process. <a href="https://calculator.aws/#/">Here</a> is an additional resource that you’d find helpful in estimating the cost of deploying your solution on AWS.</p><p>Feel free to share your thoughts or experiences in the comments. I’d love to hear how others have tackled similar challenges!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22b5c1f65c3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In-App Authentication Made Easy With Biometric API]]></title>
            <link>https://blog.devgenius.io/in-app-authentication-made-easy-with-biometric-api-b603b8e26324?source=rss-5599c26ce19------2</link>
            <guid isPermaLink="false">https://medium.com/p/b603b8e26324</guid>
            <category><![CDATA[biometrics]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[jetpack]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[Joseph Olugbohunmi]]></dc:creator>
            <pubDate>Mon, 03 Jul 2023 09:18:01 GMT</pubDate>
            <atom:updated>2023-07-14T11:38:12.644Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j2nL6587p5oXgB0C7acxLQ.png" /></figure><p>In Android Apps nowadays, there are various forms of user authentication we get to implement such as login, verification, transaction approval and so on. Traditionally, we would authenticate users with emails, passwords, OTP and the like but what if we can authenticate a user with the security token they already use on their device such as fingerprints, face, iris, password, PIN, or pattern?</p><p>With the release of Android 10 (API level 29), a new Biometric API was introduced to help Android developers seamlessly authenticate their users with Biometrics or device credentials (password, PIN, or pattern) already registered on the device. This feature is also backwards compatible, down to Android 6 (API level 23). Integrating this library is pretty straightforward and can be done in 4 simple steps.</p><p>NB: This article is also available on <a href="https://dev.to/mayorjay/in-app-authentication-made-easy-with-biometric-api-23ad">Dev</a></p><p><strong><em>Now the four simple steps…</em></strong></p><p><strong>Step 1: Add the dependency<br></strong>In the App’s build.gradle file, add the dependency to download the library’s artifacts.</p><pre>dependencies {<br>    ...<br>    implementation &quot;androidx.biometric:biometric:${current_version}&quot;<br>}</pre><p>At the time of writing this article, the version was 1.1.0</p><p><strong>Step 2: Check if the device can perform Biometric Authentication</strong><br>Do this check in onCreate() of your Activity or onViewCreated() of your Fragment.</p><pre>private fun canAuthenticate(): Boolean {<br>    val biometricManager = BiometricManager.from(requireContext())<br>    return biometricManager.canAuthenticate(BiometricManager.Authenticators.BIOMETRIC_WEAK) == BiometricManager.BIOMETRIC_SUCCESS<br>}<br><br>if (canAuthenticate()) {<br>  // initializeBiometricAuth()<br>}</pre><p>Before now, we could just use biometricManager.canAuthenticate() but that has been deprecated for the one mentioned above where we have to pass in a type of Authenticator.</p><p><strong>Step 3: Instantiate BiometricPrompt and build PromptInfo</strong></p><pre>private fun initializeBiometricAuth() {<br>        val executor: Executor = ContextCompat.getMainExecutor(context)<br><br>        val authCallback = object : BiometricPrompt.AuthenticationCallback() {<br><br>            override fun onAuthenticationSucceeded(result: BiometricPrompt.AuthenticationResult) {<br>                super.onAuthenticationSucceeded(result)<br>                showToast(&quot;Success!&quot;)<br>                // proceed<br>            }<br><br>            override fun onAuthenticationError(errorCode: Int, errString: CharSequence) {<br>                super.onAuthenticationError(errorCode, errString)<br>                showToast(&quot;Error occurred: $errString&quot;)<br>            }<br><br>            override fun onAuthenticationFailed() {<br>                super.onAuthenticationFailed()<br>                showToast(&quot;Authentication failure&quot;)<br>            }<br>        }<br><br>        val biometricPrompt = BiometricPrompt(this, executor, authCallback)<br><br>        val promptInfo: BiometricPrompt.PromptInfo = BiometricPrompt.PromptInfo.Builder()<br>            .setTitle(&quot;Authentication&quot;)<br>            .setSubtitle(&quot;Subtitle&quot;)<br>            .setDescription(&quot;Short description&quot;)<br>            .setNegativeButtonText(&quot;Cancel&quot;)<br>            .setConfirmationRequired(true)<br>            .setAllowedAuthenticators(BiometricManager.Authenticators.DEVICE_CREDENTIAL)<br>            .build()<br>}</pre><p>BiometricPrompt can be constructed using 3 parameters; the context, an Executor and the AuthenticationCallback. AuthenticationCallback is an abstract class that has 3 methods; onAuthenticationError() — called when an error occurs, onAuthenticationSucceeded() — called when authentication is successful and onAuthenticationFailed() — called when authentication failed. Any of these methods can be implemented based on your requirements, but of course, onAuthenticationSucceeded() is very important.</p><p>While building BiometricPrompt.PromptInfo, you can provide any relevant information such as title, subtitle, description, and so on. Before now, we could just call setDeviceCredentialAllowed(true) but that has been deprecated for setAllowedAuthenticators() mentioned above. This method makes it possible to authenticate using a <em>password, PIN, or pattern</em>. <strong>Please note that when </strong><strong>setAllowedAuthenticators(DEVICE_CREDENTIAL) is called, you cannot also call </strong><strong>setNegativeButtonText().</strong></p><p><strong>Step 4: Authenticate the User<br></strong>Finally, you can call the authenticate method, passing in the PromptInfo object to authenticate the user.</p><pre>biometricPrompt.authenticate(promptInfo)</pre><p>This will display a Dialog with the provided information, now you can seamlessly authenticate a user in your App.</p><p>The Biometric API can also be used to perform other cryptographic operations. For advanced topics relating to the Biometric API, you can have a look at the <a href="https://developer.android.com/jetpack/androidx/releases/biometric">official documentation</a>.</p><p>Thanks for reading! If you have any observations, kindly share your thoughts in the comment section. You can also reach out to me via <a href="https://twitter.com/mayorjay1"><em>Twitter</em></a><em> </em>or <a href="https://www.linkedin.com/in/joseph-olugbohunmi/"><em>LinkedIn</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b603b8e26324" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/in-app-authentication-made-easy-with-biometric-api-b603b8e26324">In-App Authentication Made Easy With Biometric API</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Splash Screens the Recommended Way]]></title>
            <link>https://blog.devgenius.io/implementing-splash-screens-the-recommended-way-5a866ae4d114?source=rss-5599c26ce19------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a866ae4d114</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[splash-screen]]></category>
            <dc:creator><![CDATA[Joseph Olugbohunmi]]></dc:creator>
            <pubDate>Sat, 19 Nov 2022 12:05:03 GMT</pubDate>
            <atom:updated>2023-06-29T22:35:31.562Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Do this in four steps only</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*8zrDulntw1_Bbin-p7Y9cw.jpeg" /></figure><p>With the release of Android 12 (API 31), a new SplashScreen API was introduced to ensure there is a standard in how Android Apps are launched. This means that using the traditional Splash screen approach will result in unexpected behaviours if your App is installed on Android 12 devices (or higher). But not to worry, implementing a Splash screen using this new API can be done in 4 simple steps. Worthy of note, is the fact that this API is backwards compatible which means it can as well be implemented on Android 11 and lower. You can easily migrate your existing Splash screen implementation to conform to the new recommended way (we will dive into that much later).</p><p>NB: This article is also available on <a href="https://dev.to/mayorjay/implementing-splash-screens-the-recommended-way-3873">Dev</a></p><p><strong><em>Now the four simple steps…</em></strong></p><p><strong>Step 1: Add the dependency<br></strong>In the App’s build.gradle file, add the dependency to download the library’s artefacts</p><pre>dependencies {<br>    ...<br>    implementation &quot;androidx.core:core-splashscreen:${current_version}&quot;<br>}</pre><p>At the time of writing this article, the version was 1.0.0</p><p><strong>Step 2: Create the theme<br></strong>In the styles.xml file, create a new theme (any name is fine) and set its parent to Theme.SplashScreen or Theme.SplashScreen.IconBackground</p><pre>&lt;style name=&quot;SplashScreenTheme&quot; parent=&quot;Theme.SplashScreen&quot;&gt;<br>    &lt;item name=&quot;windowSplashScreenBackground&quot;&gt;@color/colorWhite&lt;/item&gt;<br>    &lt;item name=&quot;windowSplashScreenAnimatedIcon&quot;&gt;@drawable/ic_launcher&lt;/item&gt;<br>    &lt;item name=&quot;postSplashScreenTheme&quot;&gt;@style/AppTheme&lt;/item&gt;<br>&lt;/style&gt;</pre><ul><li>windowSplashScreenBackground specifies the window background</li><li>windowSplashScreenAnimatedIcon specifies the image you want to see on the screen. In Android 11 and below, the image specified here is not animated but in Android 12 and above it comes with a nice animation and so you could use an optional attribute windowSplashScreenAnimationDuration with a recommended value of 1000 to specify the duration of the animation.</li><li>postSplashScreenTheme specifies the theme the App is expected to use after the expiration of the Splash action (usually the AppTheme)</li></ul><p><strong>Step 3: Add the theme to the Manifest<br></strong>In the AndroidManifest.xml file, set the theme to the Application as a whole or just the MainActivity (or your starting activity).</p><pre>&lt;application<br>    android:name=&quot;.MyApplication&quot;<br>    android:theme=&quot;@style/SplashScreenTheme&quot;&gt; <br><br>                OR<br><br>&lt;activity <br>    android:name=&quot;.MainActivity&quot;<br>    android:theme=&quot;@style/SplashScreenTheme&quot;&gt;</pre><p><strong>Step 4: Install the Splash screen<br></strong>In the MainActivity.kt file, call the extension function to install the Splash Screen, just before the call to super.onCreate(savedInstanceState)</p><pre>override fun onCreate(savedInstanceState: Bundle?) {<br>    installSplashScreen()<br>    super.onCreate(savedInstanceState)<br>    setContentView(R.layout.activity_main)<br>}</pre><p>And that’s it, launch the App and you should have a cool splash screen after which you should have a smooth transition into your App. The good part as I said earlier is that you can follow these same steps for any Android API level at all</p><p><strong>What if your App already has a Splash Screen?<em><br>Well, there is a solution…</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uHB83TCn_HmehDq82CwMzA.png" /><figcaption>Splash Screen Lint Warning</figcaption></figure><p>I am sure you must have seen this already in your existing Splash Screen Implementation. You may decide to suppress it @SuppressLint(“CustomSplashScreen”) and move on, but if your App is installed on Android 12 devices, the behaviour would be awful. But not to worry, it is very easy to migrate to the new API, it is as easy as the four steps we discussed earlier. Just follow those steps and there you go!</p><p>In addition to that, if you have a delay mechanism in your Splash Screen — maybe you are pulling some data from remote or local storage, you have to call the setKeepOnScreenCondition function on the SplashScreen object.</p><pre>override fun onCreate(savedInstanceState: Bundle?) {<br>    val splashScreen = installSplashScreen()<br>    super.onCreate(savedInstanceState)<br>    setContentView(R.layout.activity_splash)<br>    splashScreen.setKeepOnScreenCondition { true }<br>    startJob()<br>}</pre><p>This helps keep the Splash Screen open until the App is ready to launch the next screen and it also ensures you have a smooth transition into your App.</p><p>For advanced topics relating to the SplashScreen API, you can have a look at the <a href="https://developer.android.com/develop/ui/views/launch/splash-screen">official documentation</a>.</p><p>Thanks for reading! If you have any observations, kindly share your thoughts in the comment section. You can also reach out to me via <a href="https://twitter.com/mayorjay1"><em>Twitter</em></a><em> </em>or <a href="https://www.linkedin.com/in/joseph-olugbohunmi/"><em>LinkedIn</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a866ae4d114" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/implementing-splash-screens-the-recommended-way-5a866ae4d114">Implementing Splash Screens the Recommended Way</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not a Regular Password Regex]]></title>
            <link>https://olugbohunmijoseph.medium.com/not-a-regular-password-regex-f95ef6331b18?source=rss-5599c26ce19------2</link>
            <guid isPermaLink="false">https://medium.com/p/f95ef6331b18</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[regex]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Joseph Olugbohunmi]]></dc:creator>
            <pubDate>Sun, 30 Jan 2022 02:04:34 GMT</pubDate>
            <atom:updated>2022-11-19T13:55:09.977Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3OIc5h1WLows5WcL" /><figcaption>Photo by <a href="https://unsplash.com/@towfiqu999999?utm_source=medium&amp;utm_medium=referral">Towfiqu barbhuiya</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><em>The password must contain </em><strong><em>at least</em></strong><em> 3 of these: a lower-case letter, an upper-case letter, a number, a special character (such as @$!%*#?&amp;) and cannot be less than 8 characters in length.</em></p><p>That is the goal…</p><p>There are several regular expression patterns used for password validation based on different requirements but what if you have a password policy that is a little bit lenient and at the same time does not compromise on the security and strength of the password. There is a particular regex pattern that can achieve this <em>(NB: I am not in any way saying this is the best password policy)</em>.</p><p>Let us have a look at the regex;</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2bbec7dd8a82041b306cde5795c3767b/href">https://medium.com/media/2bbec7dd8a82041b306cde5795c3767b/href</a></iframe><p>Now let us see this regex in use;</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/795465709f13529edd6402b6ce084391/href">https://medium.com/media/795465709f13529edd6402b6ce084391/href</a></iframe><p>As seen in the code snippet above, this regex does not make any of the conditions mandatory but the user cannot submit a password that does not satisfy at least three of these conditions, and of course, the password cannot be less than 8 characters long. The fourth test case shows that the regex can allow a password that has all four combinations, while the last test case is that of an invalid password.</p><p>Now let us see the result of the tests above;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MYqfp01Lv0BcrWQoZT-qUw.png" /><figcaption>PasswordValidationTest Result</figcaption></figure><p>All tests passed, now some explanation;</p><p><strong>^</strong> Assert position at the start of the line<br><strong>(?=.*[a-z])</strong> Ensure a lower case letter must occur at least once<br><strong>(?=.*[A-Z])</strong> Ensure an upper case letter must occur at least once<br>(<strong>?=.*\\d)</strong> Ensure a digit must occur at least once<br><strong>(?=.*[@$!%*#?&amp;])</strong> Ensure a special character must occur at least once<br><strong>(?=\S+$)</strong> Ensure no white space is allowed in the entire string<br><strong>.{8,}</strong> Ensure at least eight characters<br><strong>$</strong> Assert position at the end of the line</p><p>Also, notice that there are 4 groups of combination in the regex separated by the <strong>Alternative sign</strong> (|), equivalent to OR condition. That does the conditional enforcement. I hope this is helpful to someone out there.</p><p>Thanks for reading! If you have any observation, kindly share your thoughts in the comment section. You can also reach out to me via <a href="https://twitter.com/mayorjay1"><em>Twitter</em></a><em> </em>or <a href="https://www.linkedin.com/in/joseph-olugbohunmi/"><em>LinkedIn</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f95ef6331b18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2020, What a Year! My Year in Review]]></title>
            <link>https://olugbohunmijoseph.medium.com/2020-what-a-year-my-year-in-review-19434ea815ff?source=rss-5599c26ce19------2</link>
            <guid isPermaLink="false">https://medium.com/p/19434ea815ff</guid>
            <category><![CDATA[year-in-review]]></category>
            <category><![CDATA[year-in-review-2020]]></category>
            <category><![CDATA[cycling]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Joseph Olugbohunmi]]></dc:creator>
            <pubDate>Sun, 10 Jan 2021 15:40:28 GMT</pubDate>
            <atom:updated>2021-01-10T16:44:53.355Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>If you are reading this and you are one of those that send me money, please disregard this whole piece. Don’t stop sending me that money, please. God bless you!</em></blockquote><p>The year two thousand and twenty was undoubtedly a remarkable year. At the beginning, it was all bright, all rosy and promising. Well, it turned out to be a very eventful year filled with both interesting and uninteresting happenings. For me in particular, it was a year with many profound experiences; I made some notable feats as well as had some unpleasant situations. I will be giving an honest review of how my 2020 went; I will also be putting links to some stuff that I think might be helpful. <em>So, let’s roll…</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FKDKU7wJh0GUaX3IFD8%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fpinata-lets-roll-funny-car-KDKU7wJh0GUaX3IFD8&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2FKDKU7wJh0GUaX3IFD8%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/e923414ee4bdc01b56ca3ceeb2145757/href">https://medium.com/media/e923414ee4bdc01b56ca3ceeb2145757/href</a></iframe><p>I started the year on a high note. In 2019, I had won the $150 scholarship to write the Associate Android Certification Examination (AACE). I was one of the final 1000 participants selected in Google Africa Developer Scholarship (GADS) 2019, a program put together by <a href="https://twitter.com/andela_alc">ALC</a>, <a href="https://twitter.com/googleafrica">Google</a> and <a href="https://twitter.com/pluralsight">Pluralsight</a>. So I was seriously preparing for the examination (<em>no one wants to fail, you know) </em>and for me it was a very big deal, I gave it my all, studying, practicing and making sure I was fully prepared for the examination.</p><h4>NYSC Service</h4><p>Also in 2019, I was posted to Kwara State for my National Youth Service. I had to request for redeployment to Lagos State but <em>lo and behold</em>, I was redeployed to Ogun State. That was the beginning of a very notable journey in my life. While I was registering for the program and even when I was processing my papers after redeployment, I had made up my mind that I didn’t want to be posted to a school or any other place where I won’t be able to develop myself especially my software development skills. The service year to me was a year I had to use to develop my skills thoroughly; I couldn’t afford to be in a place of primary assignment where I would be tied down doing things that won’t help me develop. Finally, I was posted to a place where I had the opportunity and time to achieve what I wanted. On arrival to Ogun state, I was frustrated because the electricity was so bad and always wasn’t available. I had to set out to search for developers’ communities, tech hubs and co-working spaces around. I came across some co-working spaces but my pocket was not buoyant enough to patronize them. At one of the developers’ meetups I attended, I met <a href="https://www.linkedin.com/in/emmanuelodumusi/?lipi=urn%3Ali%3Apage%3Ad_flagship3_search_srp_people%3BXQvnt%2BFWS6C6xo7SA95DAw%3D%3D&amp;licu=urn%3Ali%3Acontrol%3Ad_flagship3_search_srp_people-search_srp_result&amp;lici=CRcNSGAiR3CPx6C1CQrmQw%3D%3D">Mr Emmanuel Odumusi</a>, the CEO of <a href="https://twitter.com/DabrandcityNG">DabrandCity Media</a> and on later discussion with him, he permitted me to make use of a spot at the office (just like a co-working space) but at a very subsidized rate. That was a great enabler for me because I had access to power and internet.</p><h4>My Android App</h4><p>While preparing for the AACE, I decided to develop a mobile app, using that to practice what I’ve been learning and to publish it on Google Play Store. I thought of the App I could develop and the problem I was trying to solve with the App. I know developers love to use Stackoverflow, so I decided to create a Stackoverflow client App where developers can look up problems and solutions posted on Stackoverflow, a user can also search for any issue they come across while coding and get solutions. While developing the App, I learnt many things that I wouldn’t have known by watching tutorials alone. The app was published on Google Play Store in June and was applauded. I will be rolling out an update with OCR feature very soon. A user will be able to scan any text from their screen while coding and use that to search Stackoverflow. <em>Cool right?</em> Try and get the <a href="https://play.google.com/store/apps/details?id=com.josycom.mayorjay.flowoverstack">App here</a> to be able to enjoy this feature and others already in the App.</p><h4>Associate Android Developer</h4><p>There was a little delay in receiving the voucher to take the AACE, so I took the time to keep preparing and studying, even when the voucher arrived, I still had the opportunity to extend the time I would write the examination. Worthy of note is the fact that I decided to take a different path in preparing for the AACE; even though I had access to courses on Pluralsight as a participant in GADS 2019, I didn’t study those courses, rather, I concentrated on <a href="https://developer.android.com/courses/fundamentals-training/toc-v2">Google Android Codelabs</a> and the <a href="https://developers.google.com/certification/associate-android-developer/study-guide">AAC Study Guide</a>. In March, I started learning Kotlin and I decided that every App I developed from that time will be in Kotlin (I was still building my App in Java though). And then the almighty lock down started last week in March, to me it was a big opportunity to focus on my personal development, no moving around, no time wasting anymore and I utilized the opportunity judiciously. I decided to take the exam on the 25th of May. The day came and I had to go use DabrandCity, the exam lasted 8 hours, it was kind of tough but it covered things that I had studied in the study guide, so I could pull through but when it was time to submit my exam, my network got so bad, I was very nervous <em>(Someone said it was my village people at work but they were put to shame)</em> I tried submitting but the stuff kept rolling and rolling, I moved from being nervous to been very worried and was thinking if all my effort and preparation would just go down the drain due to bad internet connectivity, I couldn’t cry. I kept trying until the following day with different internet networks but still, it didn’t go through. I also took my exit interview that following day. I later contacted support and explained my predicament, I got a response that they already received my submission. I was so glad, I must say. The following week (that was in June) I got a mail of congratulations. I passed the exam! I was even more joyous. Later that month, I was certified by Google, I got my <a href="https://www.credential.net/c50aca6c-6c38-4813-9119-68ef62cb30c7">AAD certificate and badge</a>, I was so happy that I couldn’t keep it to myself, I <a href="https://twitter.com/mayorjay1/status/1277687371887194112">shared the news</a> far and wide on different platforms.</p><h4>Job Offer</h4><p>Before my service, I determined that I wanted to get a job as a developer before the end of my NYSC even if it was an entry-level role. So I pimped my <a href="https://www.linkedin.com/in/joseph-olugbohunmi/">LinkedIn account</a>, making sure it’s always to update, I wrote my resume and made sure it was always up to date too. I made sure my <a href="https://github.com/mayorjay">GitHub account</a> was very active. I registered on several job platforms such as Djinni.co, Angel.co, RemoteOk, Indeed.co, Ziprecruiters, etc. I subscribed to several job alerts; I sent out applications almost every day. From some of these platforms, I had many interviews from both local and foreign organizations (not less than 10 interviews), I had so many take-home tasks, I kept developing Apps on the run, and many of them would need me to complete an App within 3 days. There were several turn downs, several rejections but I was never discouraged, I knew it was just normal; many said I was not experienced enough for the role I was applying for. I was even surprised that on two occasions, I was told that I was over experienced for the open role,<em> funny right?</em> And in my mind, I’d be feeling like a senior developer but in another part of my mind, I’d be like <em>why not give me the job first and let’s see if I’m over experienced or not</em>. Well, the hunt continued until I saw an opening by referral announced on one of the developers’ community I belong to (that was in August). I immediately reached out to <a href="https://twitter.com/SirGoingFar">SirGoingFar </a>who made this announcement, sent out my resume, link to my published app and link to my GitHub profile. A few days later, I got a call from HR at the company and was given yet another task to work on, to be submitted 3 days later. This time around, it was a concept I had never heard of in my entire journey as an Android developer, it was a chat App though. I began researching on that immediately and then development started. On the second day, I got another message from the lady telling me that I would be having an interview on the same day of submission (which was the next day of course). <em>I felt like WOW!</em> I was not yet done with developing the App and I also needed to prepare for the interview, I couldn’t sleep that week. Day 3 came and I was still testing my App and discovering some unwanted behaviors, I just had to rush things up, I couldn’t even prepare for the interview. At the interview I had 7 interviewers, it was so hot I must say, they tested the App and applauded it. A few days later, I got a call again and was offered a job at <a href="https://seamfix.com/">SeamFix Ltd</a>; it was a very good offer. I was so happy, so glad that my hard work eventually paid off, I got a job before completion of NYSC and it has been a very interesting and educative journey, the work-life and staff at SeamFix Ltd is superb. One thing to note is that this job was not announced anywhere, I got it through referral and most importantly, getting involved with developers’ community.</p><h4>Money Matter</h4><p>I entered 2020 with very little money in my account, the major money that gave me a leap was the last batch of payment I got early in the year from the MTN Foundation Science and Technology Scholarship Scheme. I saved half of that money and from the other half, I made sure I invested in getting a generating set; I knew that with the problem of power solved, it would help my career a lot. I invested so much in my programming career; paying subscription fee at the co-working space, fueling the generator whenever I was not at the space, internet subscription every month was always between N7000 and N8000, well there were other bills too such as reaching out to my family, etc. I took savings very serious but I took investments more serious, I believe investment is better than savings. I made it a point of duty to save 1/3 of my NYSC monthly allowance and 1/2 of my monthly salary when I starting earning a salary, and I also invested these monies in a few things. I was glad that the money was growing and I made my first million in 2020. My income was way more than my expenditures in 2020 which means profit right? Yeah, I made profit financially in 2020</p><h4>FightPandemics</h4><p>During my job search, one of my applications was to <a href="https://twitter.com/FightPandemics">FightPandemics</a>. Well, I didn’t understand what they stood for until I got a positive response from HR, I was then told that it was a volunteer role. I would be volunteering as an Android Engineer, I was willing to accept the offer; I was looking for opportunities to gain experience which I could also add to my resume/LinkedIn. I resumed at FightPandemics in July, I joined the Android team where I met a lot of engineers from around the world. I was so glad to collaborate with various people with vast experience from different countries on the same project. We’re building the Android App for the FightPandemics platform which will be launched soon. I’ve learnt so much from the team and made a few new friends. I understood the real meaning of open source which also led me to participate in <a href="https://hacktoberfest.digitalocean.com/">HacktoberFest 2020</a>; well, I contributed to some projects then and opened more than the required number of pull requested. I won the HactoberFest T-shirt for the first time in 2020 and I hope to get it soon (it’s currently being shipped).</p><h4>Food Matter</h4><p>I have a very poor eating habit, I also find it hard to cook, I don’t like thinking or asking myself <em>“what can I eat today?”</em> I always believe the time I would spend in the kitchen can be used for some other productive things such as coding of course. Well, I also know good food is very good for the body; <em>you are what you eat, so they say right?</em> So at some point, I thought of outsourcing that (to hire a chef), I put out an advert on WhatsApp and some people applied. I hired one of them to handle my cooking. That was a huge relief for me. Instead of asking <em>“what can I eat today”</em>, the question changed to <em>“what are you offering me today”</em>. Well, I had to lay her off at some point. Right now I think I need a nutritionist, not just a chef. If you are one or you know one, don’t hesitate to reach out to me.</p><h4>RideHub 360 Limited</h4><p>In 2020, I, <a href="https://www.linkedin.com/in/adesina-olanrewaju-13abb3b1/">Olanrewaju</a> and <a href="https://www.linkedin.com/in/oreoluwa-oyinlade-b63a641b3/">Oreoluwa</a> (all co-founders) had to modify the vision and mission of <a href="https://ridehub360.com/">RideHub 360 Ltd</a>, thanks to Ore who came up with an idea tied to COVID-19. Before then we had applied for Tony Elumelu Funds which was suspended due to COVID-19. We did a lot of rebranding; we registered our company as a legal entity, built a formidable team, built an online presence (including website and social media platforms), built a prototype of our product, got a physical location within Obafemi Awolowo University Campus with the support of the School management, came up with better ideas to improve our products, applied for different sources of funding, redesigned our business plan/proposal but we were unable to achieve so much in terms of setting up the office and going into full production due to lack of funds. We reached out to some organizations for a partnership which we are very sure will yield tangible results this year. We are going in with full force!</p><h4>Cycling</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl1J9NGJOOAp3hyzra%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fgirl-fun-friday-l1J9NGJOOAp3hyzra&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2Fl1J9NGJOOAp3hyzra%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/b708a48d339d7924185a292886e438f1/href">https://medium.com/media/b708a48d339d7924185a292886e438f1/href</a></iframe><p>My favorite sport/hobby is cycling, whenever I’m not coding, working, working out at home or at the gym, I’m most likely cycling. I cycle almost every evening and spend even more time cycling on Saturdays. In 2020, I took it upon myself to tour all the major and minor routes in Abeokuta. During the lock down, riding was sweeter because the roads were always free, no commuters. I also took the time to maintain my bike regularly, the only time I had to repair my bike in 2020 was when I had a puncture while riding at night. Since I fixed that, it has been fine. You should also take up cycling, you’ll be glad you did.</p><h4>Conclusion</h4><p>I’m grateful for life, I’m thankful for everything I experienced in 2020, the good and the bad. So, that was how my 2020 went; I hope I have been able to inspire someone with my review. If you think it’s a good read, don’t hesitate to hit the clap button several times. Also, feel free to contact me in case you have any questions or you think we can partner on one thing or the other. You can reach out to me on <a href="https://twitter.com/mayorjay1"><em>Twitter</em></a><em> </em>or <a href="https://www.linkedin.com/in/joseph-olugbohunmi/"><em>LinkedIn</em></a><em>.</em></p><p>As we go into the New Year, I hope it turns out to be an awesome one for us all. Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19434ea815ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t Ever Get Stuck As An Android Developer (Part 2)]]></title>
            <link>https://olugbohunmijoseph.medium.com/dont-ever-get-stuck-as-an-android-developer-part-2-8b7690c71378?source=rss-5599c26ce19------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b7690c71378</guid>
            <category><![CDATA[android-developers]]></category>
            <category><![CDATA[android-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[help]]></category>
            <dc:creator><![CDATA[Joseph Olugbohunmi]]></dc:creator>
            <pubDate>Tue, 15 Oct 2019 08:14:24 GMT</pubDate>
            <atom:updated>2020-02-26T15:19:30.421Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Bj0mF-EGNDLHJoq5HFgV9w.jpeg" /><figcaption>Image credit: <a href="https://pixabay.com/users/3D_Maennchen-1553824/">Pixabay</a></figcaption></figure><p>Hi there! welcome to the second and concluding part of the article. If you haven’t read the first part, find it here <a href="https://link.medium.com/orWZ1WnMl0">https://link.medium.com/orWZ1WnMl0</a>. Thanks to everyone who applauded the article, I see it was quite helpful and I’m excited. Here in part 2, I will be revealing even more interesting resources and ways to help yourself out when you need help. You’re in for an amazing journey. Let’s ride!!!</p><p>Next on the list is…</p><h3><strong>Code Samples in the Android Studio</strong></h3><p>Android Studio and the Android documentation provide many code samples that you can study, copy, and incorporate with your projects. The samples are basically meant to be a starting point for further development. Endeavor to design and build your own ideas into them. To access these samples, follow these steps:</p><ol><li>In Android Studio, choose <strong>File &gt; New &gt; Import Sample</strong></li><li>Browse the samples.</li><li>Choose a sample and click <strong>Next</strong>.</li><li>Accept the defaults and click <strong>Finish</strong>.</li></ol><h3><strong>The Android Developer blog</strong></h3><p>The<a href="http://android-developers.blogspot.com/"> Android Developers Blog</a> provides a wealth of articles on Android development. Get acquainted with this blog and your coding life will not remain the same anymore.</p><h3><strong>Other sources of information</strong></h3><p><a href="http://developers.google.com/training"><strong>Google Developer Training</strong></a>: Whether you’re new to programming or an experienced developer, Google offers a range of online courses to teach you Android development, from getting started, to optimizing app performance. Click the <strong>Android</strong> tab at the top of the page.</p><p><a href="http://codelabs.developers.google.com/"><strong>Google I/O Codelabs</strong></a>: Google Developers Codelabs provide a guided hands-on coding experience on a number of topics. Most codelabs will step you through the process of building a small app, or adding a new feature to an existing app. Select <strong>Android</strong> from the <strong>Category</strong> drop-down menu on the right side of the page.</p><p><a href="https://codelabs.developers.google.com/codelabs/android-testing/index.html"><strong>Android Testing Codelab</strong></a>: This codelab shows you how to get started with testing for Android, including testing integration in Android Studio, unit testing, hermetic testing, functional user interface testing, and the Espresso testing framework.</p><p><a href="https://testing.googleblog.com/"><strong>Google Testing Blog</strong></a>: This blog is focused on testing code. Popular posts you can check out on this blog include:</p><ul><li><a href="http://googletesting.blogspot.com/2015/03/android-ui-automated-testing.html">Android UI Automated Testing</a></li><li><a href="http://googletesting.blogspot.com/2010/12/test-sizes.html">Test Sizes</a></li></ul><p><a href="http://stackoverflow.com/"><strong>Stack Overflow</strong></a>: Stack Overflow is a community of millions of programmers helping each other. If you run into a problem, chances are someone else has already posted an answer on this forum. Searching on Stack Overflow using tags can help your life immensely; it helps you find direct answers without delay. For example, if you type [android] in the search box, the [] brackets indicate that you want to search for posts that have been tagged as being about Android. You can combine tags and search terms to make your search more specific. Try these out:</p><ul><li>[android] and [layout]</li><li>[android] “hello world”</li></ul><p>The following are important questions that have been answered on Stack Overflow:</p><ul><li><a href="http://stackoverflow.com/questions/31394569/how-to-assert-inside-a-recyclerview-in-espresso">How to assert inside a RecyclerView in Espresso?</a></li><li><a href="http://stackoverflow.com/questions/32042821/how-do-i-add-a-fragment-to-a-custom-navigation-drawer-template">How do I Add A Fragment to a Custom Navigation Drawer Template?</a></li><li><a href="http://stackoverflow.com/questions/23523806/how-do-you-create-preference-activity-and-preference-fragment-on-android">How do you create Preference Activity and Preference Fragment on Android?</a></li><li><a href="http://stackoverflow.com/questions/3624280/how-to-use-sharedpreferences-in-android-to-store-fetch-and-edit-values">How to use SharedPreferences in Android to store, fetch and edit values</a></li><li><a href="http://stackoverflow.com/questions/32020914/how-to-populate-alertdialog-from-arraylist">How to populate AlertDialog from Arraylist?</a></li><li><a href="http://stackoverflow.com/questions/5901482/onsavedinstancestate-vs-sharedpreferences">onSavedInstanceState vs. SharedPreferences</a></li></ul><p><a href="https://github.com/google"><strong>Google on GitHub</strong></a>: GitHub is a Git repository hosting service. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features.<a href="https://www.atlassian.com/git/tutorials/what-is-git/"> Git</a> is a widely used version control system for software development. The following are hosted within GitHub and referred to in this training:</p><ul><li><a href="https://github.com/googlesamples/android-testing">Android Testing Samples</a></li><li><a href="https://developer.android.com/training/testing/espresso/cheat-sheet.html">Espresso cheat sheet</a></li><li><a href="https://romannurik.github.io/AndroidAssetStudio/index.html">Roman Nurik’s Android Asset Studio</a></li><li><a href="http://github.com/google-developer-training">Source code for exercises on GitHub</a></li></ul><p><strong>Update:</strong> I find this blog to be very useful and informative. Every Android developer, irrespective of their level of experience can always visit it to check out the great articles in there: <a href="https://www.techyourchance.com/">https://www.techyourchance.com/</a></p><p>Most importantly, <strong>Google search</strong>: There is a popular saying amongst that “Google is your friend”; this is no joke at all; the only challenge many developers have is not being able to use good search parameters while looking for information. When searching for information related to “Android”, it is advised that you enter a question into the Google search box, prefaced by “Android” to narrow your search. The Google search engine will collect relevant results from all of these resources. Also, always enclose your search terms in quotation marks (“”); this makes Google collect results that have all your search terms in a sequence rather that searching for one word at a time from your search terms.</p><p>Finally, I want to point you to some articles that teach best practices in Android development, you should endeavor to adhere to these best practices as an Android developer. They will help you build applications that will be compliant to standards. These include:</p><ul><li><a href="https://developer.android.com/training/basics/supporting-devices/platforms.html">Supporting Different Platform Versions</a></li><li><a href="https://developer.android.com/guide/practices/screens_support.html">Supporting Multiple Screens</a></li><li><a href="http://developer.android.com/training/multiscreen/screendensities.html">Supporting Different Densities</a></li><li><a href="http://developer.android.com/training/best-ux.html">Best Practices for Interaction and Engagement</a></li><li><a href="http://developer.android.com/training/best-ui.html">Best Practices for User Interface</a></li><li><a href="https://developer.android.com/training/testing/index.html">Best Practices for Testing</a></li><li><a href="https://developer.android.com/guide/topics/resources/providing-resources.html">Providing Resources</a></li><li><a href="https://developer.android.com/training/efficient-downloads/efficient-network-access.html">Optimizing Downloads for Efficient Network Access Guide</a></li><li><a href="https://developer.android.com/training/articles/user-data-permissions.html">Best Practices for App Permissions</a></li></ul><p>Always learn to ask questions. In software development, no question is a bad or dumb question but always make prior findings to be sure that question has not been asked or answered before. With all these information, if used religiously, I can assure you that you will never get stuck in your journey to being a badass world class Android developer. If you have any questions, please feel free to ask in the comments section below.</p><p>Thanks for reading! If this was helpful, hit the clap button as many times as you can and share with others!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b7690c71378" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DON’T EVER GET STUCK AS AN ANDROID DEVELOPER (PART 1)]]></title>
            <link>https://olugbohunmijoseph.medium.com/dont-ever-get-stuck-as-an-android-developer-part-1-b033349eae83?source=rss-5599c26ce19------2</link>
            <guid isPermaLink="false">https://medium.com/p/b033349eae83</guid>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android-developers]]></category>
            <category><![CDATA[android-development]]></category>
            <category><![CDATA[help]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Joseph Olugbohunmi]]></dc:creator>
            <pubDate>Sat, 28 Sep 2019 12:08:39 GMT</pubDate>
            <atom:updated>2019-10-15T08:19:35.014Z</atom:updated>
            <content:encoded><![CDATA[<h3>Don’t Ever Get Stuck As An Android Developer (Part 1)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*bIaMKQm9caD9bCjXOcJS5w.jpeg" /><figcaption>Image credit: <a href="https://pixabay.com/users/geralt-9301/">Geralt</a></figcaption></figure><p><em>Remember, if you ever need a helping hand, you’ll find one at the end of your arm… As you grow older you will discover that you have two hands. One for helping yourself, the other for helping others —</em> Audrey Hepburn</p><p>It is a common occurrence to need help while practicing coding or while developing that your dream App. There is a popular saying that the most important characteristic of a pro developer or what makes that your guy a world class developer is the ability to find help and get one. But how do you get help if you don’t know where to look to? How do you find help if you don’t know how to do that?</p><p>In this post, I will discuss some major helpful resources, links and how-to-dos that will help you as an Android developer; with all these in your arsenal, you will never get stuck in your development journey. Follow me as I equip you!!!</p><h3><strong>The official Android developer documentation (developer.android.com)</strong></h3><p>This is the best place to learn about Android development and to keep informed about the newest Android development tools. The page contains a wealth of information kept current by Google. It’s a good practice to cultivate the habit of always consulting the documentation because even every other tutorial and courses are based on information obtained from the documentation. Major subsections of the documentation that you can also explore are:</p><p><a href="http://developer.android.com/design/"><strong>developer.android.com/design/</strong></a></p><p>This section is about Material Design, which is a conceptual design philosophy that outlines how apps should look and work on mobile devices. Useful links into the Design section include:</p><ul><li><a href="https://www.google.com/design/spec/material-design/introduction.html">Material Design Guidelines</a></li><li><a href="https://material.google.com/style/color.html">Style</a></li><li><a href="https://developer.android.com/training/material/theme.html">Using the Material Theme</a></li><li><a href="https://material.google.com/components/buttons.html">Components — Buttons</a></li><li><a href="https://www.google.com/design/spec/components/dialogs.html">Dialogs design guide</a></li><li><a href="http://developer.android.com/design/patterns/gestures.html">Gestures design guide</a></li><li><a href="https://developer.android.com/design/patterns/notifications.html">Notification Design Guide</a></li><li><a href="http://developer.android.com/design/downloads/index.html">Icons and other downloadable resources</a></li><li><a href="https://www.google.com/design/spec/patterns/navigation.html">Design — Patterns — Navigation</a></li><li><a href="http://www.materialpalette.com/">Material Palette Generator</a></li></ul><p><a href="http://developer.android.com/develop/index.html"><strong>developer.android.com/develop/</strong></a></p><p>This section covers API information, reference documentation, tutorials, tool guides, and code samples. Useful links into the Develop section include:</p><p>· <a href="https://developers.google.com/android/for-all/vocab-words/">Vocabulary Glossary</a></p><p>· <a href="https://developer.android.com/guide/platform/index.html">Platform Architecture</a></p><p>· <a href="http://developer.android.com/guide/components/fundamentals.html">Android Application Fundamentals</a></p><p>· <a href="https://developer.android.com/guide/topics/ui/overview.html">UI Overview</a></p><p>· <a href="http://developer.android.com/about/dashboards/index.html">Platform Versions</a></p><p>· <a href="https://developer.android.com/topic/libraries/support-library/">Android Support Library</a></p><p>· <a href="https://developer.android.com/training/permissions/index.html">Working with System Permissions</a></p><p><a href="http://developer.android.com/distribute/"><strong>developer.android.com/distribute/</strong></a></p><p>This section covers information about putting an app on<a href="https://developer.android.com/distribute/googleplay/index.html"> Google Play</a>, Google’s digital distribution system for apps developed with the Android SDK. You can also check through<a href="https://developer.android.com/distribute/stories/index.html"> developer.android.com/distribute/stories/index.html</a> to learn about other Android developers, their apps, and their successes with Android and Google Play. You can also use the<a href="https://developer.android.com/distribute/console/index.html"> Google Play Console</a> to grow your user base and start<a href="https://developer.android.com/distribute/monetize/index.html"> earning money</a>. Popular useful links under this section include:</p><ul><li><a href="https://developer.android.com/distribute/essentials/index.html">Essentials for a Successful App</a></li><li><a href="https://developer.android.com/distribute/tools/launch-checklist.html">Launch Checklist</a></li></ul><h3><strong>Installing offline documentation</strong></h3><p>The Android developer documentation can be accessed even when you are not connected to the internet. To do this, install the Software Development Kit (SDK) documentation using the SDK Manager. Follow these steps:</p><ol><li>Select <strong>Tools &gt; Android &gt; SDK Manager</strong>.</li><li>In the left column, click <strong>Android SDK</strong>.</li><li>Select and copy the path for the Android SDK Location at the top of the screen, as you will need it to locate the documentation on your computer:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*ahqqV8lOebX3oDZK" /></figure><p>4. Click the <strong>SDK Tools</strong> tab. You can install additional SDK Tools that are not installed by default, as well as an offline version of the Android developer documentation.</p><p>5. Click the checkbox for “Documentation for Android SDK” if it is not already installed, and click <strong>Apply</strong>.</p><p>6. When the installation finishes, click <strong>Finish</strong>.</p><p>7. Navigate to the <strong>sdk </strong>directory you copied above, and open the <strong>docs</strong> directory.</p><p>8. Find <strong>index.html</strong> and open it.</p><h3><strong>The Android studio documentation (developer.android.com/studio/intro)</strong></h3><p>The Android studio documentation is the place where you get to download the latest version of Android studio or any other version you need; read the release notes for the newest version of Android Studio; learn about the features of the newest version; watch video tutorials about using Android Studio. Useful links into the Android Studio documentation include:</p><p>· <a href="https://developer.android.com/studio/workflow.html">Developer Workflow Basics</a></p><p>· <a href="https://developer.android.com/studio/projects/index.html">Projects Overview</a></p><p>· <a href="http://developer.android.com/tools/help/image-asset-studio.html">Create App Icons with Image Asset Studio</a></p><p>· <a href="https://developer.android.com/studio/write/vector-asset-studio.html">Add Multi-Density Vector Graphics</a></p><p>· <a href="https://developer.android.com/studio/run/managing-avds.html">Create and Manage Virtual Devices</a></p><p>· <a href="https://developer.android.com/studio/profile/android-profiler.html">Measure App Performance with Android Profiler</a></p><p>· <a href="https://developer.android.com/studio/debug/index.html">Debug Your App</a></p><p>· <a href="https://developer.android.com/studio/build/index.html">Configure Your Build</a></p><h3><strong>Watching Developer videos</strong></h3><p>In addition to the Android and Android Studio documentation, the<a href="https://www.youtube.com/user/androiddevelopers"> Android Developers YouTube channel</a> is a great source of tutorials and tips. You can subscribe to the channel to receive notifications of new videos by email.</p><p>At this point, I will end the first part of this post. I hope this was helpful, if it was, please hit the clap button as many times as you can and share with others!</p><p><strong><em>Follow this link to read Part 2 of this article </em></strong><a href="https://link.medium.com/BLUySVXIN0"><strong><em>https://link.medium.com/BLUySVXIN0</em></strong></a></p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b033349eae83" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>