<?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 Aminu Muhammad on Medium]]></title>
        <description><![CDATA[Stories by Aminu Muhammad on Medium]]></description>
        <link>https://medium.com/@maghassan?source=rss-976fb59d13fd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sL3Q4GC-NNKvk4IIWZP7tw.jpeg</url>
            <title>Stories by Aminu Muhammad on Medium</title>
            <link>https://medium.com/@maghassan?source=rss-976fb59d13fd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 11:53:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maghassan/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[Manifesto 1.0 Our Science of the Future (My Vision)]]></title>
            <link>https://medium.com/@maghassan/manifesto-1-0-our-science-of-the-future-my-vision-405cc35349da?source=rss-976fb59d13fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/405cc35349da</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[biotech]]></category>
            <category><![CDATA[cannabis]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Aminu Muhammad]]></dc:creator>
            <pubDate>Wed, 08 Jun 2022 03:48:10 GMT</pubDate>
            <atom:updated>2022-06-08T03:48:10.449Z</atom:updated>
            <content:encoded><![CDATA[<p>I once had a dream about the future of our current advancement in science and technology.</p><p>But it’s like a vision because it was so real. I was so immersed in the dream because I can feel the program written in an advanced computer language going through my consciousnesses all over my mind.</p><p>The program was in form of a matrix streaming an endless amount of data to my entire body, it almost feels like fiction because there was an oracle too. Funny huh?</p><p>You know from my own point of view about humans and computers there’s no difference because it’s more numerous than difference. I believe both computers and humans can be able to think in the same way in the nearest future soon.</p><p>Machine learning and Artificial Intelligence are playing a great deal in the field.</p><p><a href="https://medium.com/u/ad92cd2c1517">Aminu </a>(aminuthegreat)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=405cc35349da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coming back soon!!!]]></title>
            <link>https://medium.com/@maghassan/coming-back-soon-a9a708a21b57?source=rss-976fb59d13fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9a708a21b57</guid>
            <dc:creator><![CDATA[Aminu Muhammad]]></dc:creator>
            <pubDate>Mon, 12 Jul 2021 22:18:51 GMT</pubDate>
            <atom:updated>2021-07-12T22:18:51.038Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello, my awesome readers, it’s been a long that I posted some content. But, am hoping to continue very soon.</p><p>thanks for being part of the reading journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9a708a21b57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I was able to achieve “Notification for my Apps with Firebase Firestore”]]></title>
            <link>https://medium.com/@maghassan/how-i-was-able-to-achieve-notification-for-my-apps-with-firebase-firestore-d89eaf08273c?source=rss-976fb59d13fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d89eaf08273c</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[firestore]]></category>
            <category><![CDATA[google-developer-expert]]></category>
            <category><![CDATA[firebase]]></category>
            <dc:creator><![CDATA[Aminu Muhammad]]></dc:creator>
            <pubDate>Wed, 23 Jan 2019 08:58:49 GMT</pubDate>
            <atom:updated>2019-01-23T08:58:49.119Z</atom:updated>
            <content:encoded><![CDATA[<p>First of all, I initiate my database/document reference.</p><pre><strong>DocumentReference </strong>notificationRef = <strong>FirebaseFirestore</strong>.getInstance()<br>.document(&quot;notification/notificationStatus&quot;);</pre><p>I already created a collection with the document in my firebase firestore project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fVE3X0BGv4bTsElFfxGwAw.png" /></figure><p>So after initiating my document reference then I check whether the document exist or not.</p><pre><strong>DocumentReference </strong>notificationRef = <strong>FirebaseFirestore</strong>.getInstance()<br>.document(&quot;notification/notificationStatus&quot;);<br>notificationRef.addSnapshotListener(<strong>new EventListener</strong>&lt;<strong>DocumentSnapshot</strong>&gt;() {<br>@Override<br><strong>public void </strong>onEvent(@Nullable <strong>DocumentSnapshot </strong>documentSnapshot, @Nullable<br><strong>FirebaseFirestoreException </strong>e) {<br>        <strong>if </strong>(documentSnapshot.exists())  {<br>            <strong>String  </strong>status  = documentSnapshot.getString(&quot;status&quot;);<br>            <strong>String  </strong>title   = documentSnapshot.getString(&quot;title&quot;);<br>            <strong>String  </strong>content = documentSnapshot.getString(&quot;content&quot;);<br>        }<br>    }<br>});</pre><p>The String “status” in the code is to check whether our notification switch is “on” or “off” and the rest are the content of the notification to display.</p><p>Well now that I checked the document existence then let me go ahead and add it to our notification manager to display it. But before that let me create an “if statement” to check our “on” and “off” status.</p><pre><strong>if </strong>(status.equals(&quot;on&quot;))    {<br>    //do something here<br>}</pre><p>After am done with this then it’s time to display the notification.</p><pre><strong>int </strong>notificationId  =   <strong>001</strong>;<br><strong>String  </strong>id  =   &quot;my_channel_01&quot;;<br><br><strong>Intent  </strong>viewIntent  =   <strong>new </strong>Intent(<strong>MainActivity</strong>.<strong>this</strong>,   <strong>MainActivity</strong>.<strong>class</strong>);<br>viewIntent.putExtra(&quot;0&quot;,    <strong>0</strong>);<br><strong>PendingIntent   </strong>pendingIntent   =   <strong>PendingIntent</strong>.getActivity(<strong>MainActivity</strong>.<strong>this</strong>,    <strong>0</strong>,  viewIntent, <strong>0</strong>);<br><br><strong>NotificationCompat</strong>.<strong>Builder  </strong>notificationBuilder =   <strong>new NotificationCompat</strong>.Builder(<strong>MainActivity</strong>.<strong>this</strong>,   id)<br>        .setSmallIcon(<strong>R</strong>.<strong>drawable</strong>.<strong><em>ic_full_sad</em></strong>)<br>        .setContentTitle(title)<br>        .setContentText(content)<br>        .setContentIntent(pendingIntent);<br><br><strong>NotificationManagerCompat   </strong>notificationManagerCompat   =   <strong>NotificationManagerCompat</strong>.from(<strong>MainActivity</strong>.<strong>this</strong>);<br>notificationManagerCompat.notify(notificationId,    notificationBuilder.build());</pre><p>After am done with the notification, it’s time to put everything together in one place.</p><pre><strong>DocumentReference </strong>notificationRef   =   <strong>FirebaseFirestore</strong>.getInstance()<br>.document(&quot;notification/notificationStatus&quot;);<br>notificationRef.addSnapshotListener(<strong>new EventListener</strong>&lt;<strong>DocumentSnapshot</strong>&gt;() {<br>    @Override<br>    <strong>public void </strong>onEvent(@Nullable <strong>DocumentSnapshot </strong>documentSnapshot, @Nullable <strong>FirebaseFirestoreException </strong>e) {<br>        <strong>if </strong>(documentSnapshot.exists())  {<br>            <strong>String  </strong>status  =   documentSnapshot.getString(&quot;status&quot;);<br>            <strong>String  </strong>title   =   documentSnapshot.getString(&quot;title&quot;);<br>            <strong>String  </strong>content =   documentSnapshot.getString(&quot;content&quot;);<br><br>            <strong>if </strong>(status.equals(&quot;on&quot;))    {<br>                <strong>int </strong>notificationId  =   <strong>001</strong>;<br>                <strong>String  </strong>id  =   &quot;my_channel_01&quot;;<br><br>                <strong>Intent  </strong>viewIntent  =   <strong>new </strong>Intent(<strong>MainActivity</strong>.<strong>this</strong>,   <strong>MainActivity</strong>.<strong>class</strong>);<br>                viewIntent.putExtra(&quot;0&quot;,    <strong>0</strong>);<br>                <strong>PendingIntent   </strong>pendingIntent   =   <strong>PendingIntent</strong>.getActivity(<strong>MainActivity</strong>.<strong>this</strong>,    <strong>0</strong>,  viewIntent, <strong>0</strong>);<br><br>                <strong>NotificationCompat</strong>.<strong>Builder  </strong>notificationBuilder =   <strong>new NotificationCompat</strong>.Builder(<strong>MainActivity</strong>.<strong>this</strong>,   id)<br>                        .setSmallIcon(<strong>R</strong>.<strong>drawable</strong>.<strong><em>ic_full_sad</em></strong>)<br>                        .setContentTitle(title)<br>                        .setContentText(content)<br>                        .setContentIntent(pendingIntent);<br><br>                <strong>NotificationManagerCompat   </strong>notificationManagerCompat   =   <strong>NotificationManagerCompat</strong>.from(<strong>MainActivity</strong>.<strong>this</strong>);<br>                notificationManagerCompat.notify(notificationId,    notificationBuilder.build());<br>            }<br>        }<br>    }<br>});</pre><p>That’s all Notification with Firestore is done.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d89eaf08273c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Into Android Dev. [Part One]]]></title>
            <link>https://medium.com/@maghassan/into-android-dev-part-one-8503f05b2d79?source=rss-976fb59d13fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/8503f05b2d79</guid>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Aminu Muhammad]]></dc:creator>
            <pubDate>Wed, 07 Nov 2018 10:41:00 GMT</pubDate>
            <atom:updated>2018-11-07T10:41:00.427Z</atom:updated>
            <content:encoded><![CDATA[<h4>Getting Started:</h4><p><strong>What you need to know before diving in:</strong></p><ol><li>You need to be familiar with what Android OS is. How the Android OS works. The Process the Apps undergo before displaying the content to the user.</li><li>Programming Knowledge, you need to know what programming language the Android OS supports e.g. Java Programming Language.</li><li>Database Knowledge, you need to know at least one of the free database engines and their basic queries. Example of database is Firebase, SQLite e.t.c.</li><li>Find out about XML as you will be needing it for your UI.</li><li>Find out about how Gradle works and how to solve it’s problem.</li><li>Learn how to work and Version Control like GitHub and learn how consult Stark Overflow and other platforms like <a href="https://medium.com/u/aaa1fed5b491">Auwal MS</a></li><li>Learn how deal with Android Studio IDE.</li><li>Learn how to save money for Internet Subscription as you will be needing it all the time.</li><li>Learn very basics of ADB commands (optional).</li><li>Read <strong>Documentations.</strong></li><li>Don’t be demoralized, becoming expert takes a lot of time.</li><li>Don’t mind my <strong><em>Grammar.</em></strong></li></ol><p>Once you’re done with this then you can follow me, so that you will see the part two of this, this is just the starting point. Thank you for reading and don’t forget to clap.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8503f05b2d79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Day Of The Week]]></title>
            <link>https://medium.com/@maghassan/best-day-of-the-week-bc73dfa3a03b?source=rss-976fb59d13fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc73dfa3a03b</guid>
            <category><![CDATA[photography]]></category>
            <dc:creator><![CDATA[Aminu Muhammad]]></dc:creator>
            <pubDate>Sat, 06 Oct 2018 15:13:36 GMT</pubDate>
            <atom:updated>2018-10-06T15:13:36.400Z</atom:updated>
            <content:encoded><![CDATA[<p>Good day huh? mehn, mine was very exciting. It started around 7:45am, woke up freshen up, went out together with my Boss to start preparation of the event, Photo-Camp Kano event organized by Enovatelab. I participated fully during taking of pictures, I met so many wonderful people and shared the best moment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dsja155QbJGOTJp-NzdKdw.jpeg" /><figcaption><a href="https://medium.com/u/a56a990ddf53">Ahmed P-thinker</a></figcaption></figure><p>We visited the National Museum, Gidan Dan Hausa, the Trumpet Roundabout and finally climbed the Mountain of Dala (Dutsen Dala). It was very exciting and joyful sharing moments with one the best photographers in Nigeria and Africa, some of them do photography just for passion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V81eT4fhy3yDVx8r-fy23g.jpeg" /></figure><p>I made new friends lots of them, well to be frank 70% of them are ladies and the rest are Men and also learned so many camera techniques from them like, how to fix your ISO for good quality pictures and also how to use other lenses to capture the best pictures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TDhVlnpSy5ymU3X77D9Siw.jpeg" /></figure><p>Some of the pictures I snapped were the best pictures and rated 5 stars by <a href="https://www.instagram.com/sanimaikatanga_photography/">Sani-Mai-Katanga</a> [Photography Evangelist].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eG8Bi0QefUd7m-sWkgJmeQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*afVI2ZM8NKA0oY6DVQbeCA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*im0dZBOPavn5LTY1blTIug.jpeg" /></figure><p>And one of my best picture is below, I always wanted to have a picture it and I am honored for this day, Big Shoutout to my Boss <a href="https://medium.com/u/a56a990ddf53">Ahmed P-thinker</a> and the rest of the Team at <a href="http://enovatelab.org/">Enovate Lab</a>, <strong>Stephen</strong>, <strong>Chucks</strong>, <strong>Maryam</strong> and <strong>Fatimah</strong> a big well-done to you all for making this day great.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JTr9Mh8FLTsScJhDEdQaxg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc73dfa3a03b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Impression on Firebase Cloud FireStore | Android]]></title>
            <link>https://medium.com/@maghassan/my-first-impression-on-firebase-cloud-firestore-android-d157c5202652?source=rss-976fb59d13fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d157c5202652</guid>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Aminu Muhammad]]></dc:creator>
            <pubDate>Sat, 07 Apr 2018 16:00:54 GMT</pubDate>
            <atom:updated>2018-04-07T16:00:54.082Z</atom:updated>
            <content:encoded><![CDATA[<p>Finally I have tried the new Firebase feature of database, mehn it’s really an upgrade seriously simpler than Realtime database, the codes are fewer and it’s almost like straight english. I followed the tutorial from the documentation and I learned a lot. I would soon share some codes or rather let me say a full Blog App later.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d157c5202652" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Tricked Firebase]]></title>
            <link>https://medium.com/@maghassan/i-tricked-firebase-63e52d35a298?source=rss-976fb59d13fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/63e52d35a298</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[firebase]]></category>
            <dc:creator><![CDATA[Aminu Muhammad]]></dc:creator>
            <pubDate>Fri, 12 Jan 2018 16:07:38 GMT</pubDate>
            <atom:updated>2018-01-12T16:07:38.991Z</atom:updated>
            <content:encoded><![CDATA[<p>Hahaha, it’s actually funny though to say that I tricked Firebase. Normally is used to get that problem with pushing selected radio buttons in Android Studio to firebase database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xhFfGInF0lCslVgql1IAkQ.png" /></figure><p>So I find a way actually on how to bypass the problem.</p><ol><li>I created a TextView and set the text to Gender</li><li>I created two RadioButton and then set it’s title to Male and Female.</li><li>The trick is here actually in main activity class I set OnClick listener for the two buttons pointing.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9FzPlRjweogAhZSzA12lKQ.png" /></figure><p>4. I set the button in a way that when you select from the view then it changes that Gender TextView and then,</p><p>5. I have a chance to post the TextView to the database simply.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63e52d35a298" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>