<?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 Moses Bassey on Medium]]></title>
        <description><![CDATA[Stories by Moses Bassey on Medium]]></description>
        <link>https://medium.com/@mosesbasseyekwere?source=rss-32c1d3f882e5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uNq3l4nkD5eBIPUtwMALBA.jpeg</url>
            <title>Stories by Moses Bassey on Medium</title>
            <link>https://medium.com/@mosesbasseyekwere?source=rss-32c1d3f882e5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 04:06:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mosesbasseyekwere/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[5G And The Conspiracy of COVID-19: A COMPLETE “NONSENSE”]]></title>
            <link>https://medium.com/@mosesbasseyekwere/5g-and-the-conspiracy-of-covid-19-a-complete-nonsense-d0295f8328d5?source=rss-32c1d3f882e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0295f8328d5</guid>
            <category><![CDATA[network]]></category>
            <category><![CDATA[5g]]></category>
            <dc:creator><![CDATA[Moses Bassey]]></dc:creator>
            <pubDate>Tue, 07 Apr 2020 16:40:38 GMT</pubDate>
            <atom:updated>2020-04-18T16:23:06.100Z</atom:updated>
            <content:encoded><![CDATA[<p>The COVID-19 pandemic has caused a lot of alarming situations in the world, among these concerns are technologies developed in China. Reports in the world claim that the 5G network (developed in China) also known as the 5th generation network— which is used in mobile phone networks and relies on signals carried by radio waves — is somehow responsible for Coronavirus or even worse is hazardous to human life by suppressing the immune <strong>system</strong>.</p><p>This news appears to have first emerged via Facebook posts in late January, around the same time the first cases of COVID-19 were recorded in the US according to reports.</p><p>Videos have been shared on social media <a href="https://www.bbc.co.uk/news/uk-england-52164358"><strong>showing mobile phone masts on fire </strong></a>in Birmingham and Merseyside — along with the claims.</p><p>The posts have been shared on Facebook, YouTube, and Instagram — including verified accounts with hundreds of thousands of followers.</p><p>According to BBC News, Scientists say the idea of a connection between COVID-19 and 5G is “complete rubbish” and biologically impossible.</p><p>Now, for us to get the facts out of these reports let&#39;s consider 3 questions to these concerns:</p><ol><li>5G Network What is It and Its Benefits to the internet world?</li><li>Are networks hazardous to humans, if so What impact does 5G impose on humans?</li><li>Why has the American Government and some decided to halt the use of 5G?</li></ol><h3><strong>1. </strong>5G Network What is It and Its Benefits to the internet world?</h3><p><strong>5G</strong> according to Wikipedia is the fifth generation of wireless communications technologies supporting cellular data networks. 5G is also a supper set of 4G its predecessor. Its speeds can go over a gigabit per second. Frequencies deployed are from 2.4 GHz to 4.2 GHz. Many areas can be covered simply by upgrading existing towers, which lowers the cost.</p><p>To illustrate the benefits of 5G in the internet world, if you were to download a 2hrs film on a 3G Network it would take up to 26 hours, on a 4G it will take 6mins but on 5G it&#39;s just about 3.6secs. Yes! Not a joke you can do your research. You could imagine the speed of 5G!</p><h3>2. Is The Wireless Networking System hazardous to humans, if so, what impact does 5G have on humans?</h3><p>The answer is yes! Wireless <em>routers</em> give off electromagnetic radiation (EMR) in the low-gigahertz frequency. This man-made, artificial energy is considered potentially dangerous to people by the World Health Organization. For example, a new <a href="https://www.straitstimes.com/asia/east-asia/trying-for-children-wi-fi-lowers-the-chances-study-finds">study</a> out of Hong Kong found that WiFi exposure killed sperm. However, radio emissions from 5G are several orders of magnitude lower and are non-ionizing, unlike the x-ray that is being carried out on humans. This means they do not hurt the DNA in your cells and are stopped by your skin, in fact, they may not be able to penetrate a piece of paper. <br>Again, 5G is not ionizing radiation, whether absorbed by a man or not, there is no ionizing radiation coming from a hypothetical 5G-capable cell tower as compared to that of an x-ray that is being carried out on humans. A much more powerful and higher frequency transmissions come from TV towers. However — I have not seen anyone critical of TV transmissions, so how much more 5G which does not have a fraction of it.</p><p>For more information whether 5G is responsible for CONVID-19 <a href="https://www.independent.co.uk/life-style/gadgets-and-tech/news/5g-coronavirus-uk-conspiracy-towers-radiation-masts-amir-khan-a9448861.html">click here</a></p><h3>3. Why has the U.S Government halted the use of 5G?</h3><p>When the US won the 4G race earlier this decade it boosted GDP by nearly $100 billion and the stakes of the 5G network are even higher. If the U.S wins it will create an estimated 3million jobs and add approximately $500 billion to GDP. Its also about power, if you control 5G you could control everything in the world. The U.S has already lost the race of 5G to China. <a href="https://twitter.com/AmbLiuXiaoMing/status/1213616213487697920?s=20">Critics claim that having China on 5G is not safe</a>, saying that the Chinese Government could spy the world with it. That is why the <a href="https://www.nytimes.com/2020/01/28/technology/britain-huawei-5G.html">U.S government under Donald Trump’s signed an executive order</a> banning U.S companies from using Telecom equipment with 5G. <br>But 5G poses huge risks for society as well. As people become more dependent on wireless communications and generate even more data about what they are doing, the adoption of 5G will bring with it substantial national security, cybersecurity and privacy risks. These risks must be mitigated appropriately in order to protect the interests of the United States and its allies. Of course, as we all know this could be a political war and does not mean that the 5G network itself is so hazardous to human life or responsible for spreading COVID-19.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0295f8328d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Facebook, Google & Microsoft: Masters of “Big Data”]]></title>
            <link>https://medium.com/@mosesbasseyekwere/facebook-google-microsoft-masters-of-big-data-8c8e0942f8d?source=rss-32c1d3f882e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c8e0942f8d</guid>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Moses Bassey]]></dc:creator>
            <pubDate>Sat, 11 Jan 2020 13:04:22 GMT</pubDate>
            <atom:updated>2020-01-11T13:04:22.155Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*dEYjozf4-0bLfethjmIINw.jpeg" /><figcaption>This image was gotten from this <a href="https://jneticsolutions.com/mdas-operate-40000-email-addresses-stop-data-hosting-abroad/">link</a></figcaption></figure><p>When talking about <strong>Big data</strong> you most likely would allude companies akin to Facebook, Google, and Microsoft. These “billion dollars” tech companies that have dominated their industry have acquired an enormous amount of data for the past years, even now their applications produce a magnificent amount of data daily, thus making them the Grand <strong>Masters </strong>of <em>Big Data. </em>Hence<em>, </em>they use this data which is being stored on their (private) servers in forecasting their businesses and also make it public to the world via <a href="https://en.wikipedia.org/wiki/Application_programming_interface">API’s</a>.</p><p>But let’s have a look at what <strong>Big Data </strong>involves<strong>,</strong> why it is important and the impact it has on these companies and their businesses</p><h3>BIG DATA</h3><p><strong>Big data</strong> is an evolving term that describes a <strong>large</strong> volume of <a href="https://en.wikipedia.org/wiki/Data_model#Data_structure">structured</a>, <a href="https://en.wikipedia.org/wiki/Semi-structured_data">semi-structured</a> and <a href="https://en.wikipedia.org/wiki/Unstructured_data">unstructured </a><strong>data</strong> that has the potential to be mined for information and used in machine learning projects and other advanced analytics applications. This article is tailored on discussing big data in regards to the following companies and how it helps their business, so, to get a deeper knowledge of what Big Data is, follow the link below <a href="https://datafloq.com/read/big-data-history/239">https://datafloq.com/read/big-data-history/239</a></p><h3>WHY BIG DATA</h3><p>The importance of big data doesn’t revolve around how much data have been accumulated by big or small companies, but what they do with it. You can take data from any source and analyze it to find answers that enable cost reduction, time reduction, new product development, and smart decision making. When you combine big data with high-powered analytics, you can accomplish business-related tasks such as:</p><ol><li>Determining root causes of failures, issues, and defects in real-time.</li><li>Generating coupons at the point of sale based on the customer’s buying habits.</li><li>Recalculating entire risk portfolios in minutes.</li><li>Detecting fraudulent behavior before it affects an organization.</li></ol><p><strong>Big data</strong> is used to better understand customers and their behaviors and preferences. Companies are keen to expand their traditional <strong>data</strong> sets with social media <strong>data</strong>, browser logs as well as text analytics and sensor <strong>data</strong> to get a more complete picture of their customers.</p><p>Take for instance <strong>Facebook, </strong>collecting and giving away of personal data starts when you sign up on Facebook (extends to Instagram and WhatsApp which is owned by Facebook), it gains steam as you use the social network more and it continues as users add third-party apps (for sign up e.g Candy Crush, LinkedIn e.t.c). Facebook gathers and stores more personal data on users’ location, demographics, chat messages, every friend in the network including friends that have been deleted, all user’s activity (they call it activity log), and profile information which can be used to target users with ads. Users also unconsciously feed them with more data about themselves. So, with the proper implementation of a machine learning algorithm, Facebook can technically clone or emulate its user’s activities.</p><p><strong>Google, </strong>unlike Facebook that is centered on a social network, uses its products such as Gmail, Google Search, Google Drive, Youtube, Google Cloud (for hosting cloud applications), Chrome Browser, or even an Android phone, to collect data from people and make its service available for its end users. Google also collects data on the videos their users watch on Youtube, the ads they click, location, device information, IP addresses, personal email information which is stored on their server and cookie data. Google even lets users download all of their data, including photos, emails, contacts, bookmarks, browser history and more. Google search engines, use search history, and the history aggregated from other people, to give you better search results. To speed up web browsing, google web browsers can collect and use browsing history to predict where you want to go.</p><p><strong>Microsoft, </strong>a software and hardware company that builds end to end enterprise solutions whose viable product years back was centered on but not limited to its Windows operating system and Office Software Application, has made a magnificent growth in its products and services for the past years, starting from its cloud computing service (<a href="https://azure.microsoft.com/">Microsoft Azure</a>), <a href="https://onedrive.live.com/about/en-us/">OneDrive</a>, <a href="https://www.msn.com/en-xl/">MSN </a>, Outlook (an email platform), Windows Operating System, <a href="https://www.bing.com/">Bing</a>, <a href="https://www.microsoft.com/en-us/cortana">Cortana </a>(an AI personal assistance service which is available in its Windows operating system), Microsoft Edge browser e.t.c. This massive growth has made them leave outside their on-premise software, thus generating billions of data daily from their platforms. <br>Like Google and Facebook, Microsoft uses its data to have more insights on its customers and display relevant ads to them base on their interest.</p><p>If a penny saved is a penny earned, then big data brings the potential to earn lots of pennies. With all this data growing rapidly, stroking into the servers of these companies within seconds from the different part of the world, the can easily forecast the growth of their businesses using <a href="http://Machine Learning Will Be the Next Big Thing in Big Data">Machine Learning</a> applications, they conduct predictive analysis so that they can overcome future challenges easily, thus, satisfying the needs of their customers.</p><p>The growth of big data will not just end for these companies, the more they find themselves in business, the more their software applications generate tons of data which helps them build cognitive services and become even more innovative in the future as the “<strong>Masters of Big Data</strong>”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c8e0942f8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Calabar — Avoid Living off Past Glories]]></title>
            <link>https://medium.com/@mosesbasseyekwere/calabar-avoid-living-off-past-glories-b39c3952f22c?source=rss-32c1d3f882e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/b39c3952f22c</guid>
            <category><![CDATA[calabar]]></category>
            <category><![CDATA[cross-river-state]]></category>
            <category><![CDATA[nigeria]]></category>
            <dc:creator><![CDATA[Moses Bassey]]></dc:creator>
            <pubDate>Sun, 14 Oct 2018 15:12:31 GMT</pubDate>
            <atom:updated>2019-03-06T15:54:43.501Z</atom:updated>
            <content:encoded><![CDATA[<h3>CALABAR — Avoid Living on Past Glory</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*sYo6XKR6HlnNYHLzB5v16Q.jpeg" /></figure><p>Have you ever fallen into the trap of living on past glory? If yes, How long were you able to sustain growth by feeding off the past?</p><p>In Calabar, we have been extremely successful on our lean journey and have received a few national accolades along the way.</p><p>A few years ago, if you drive by the entrance of our city, you may have noticed the clean green nature, smooth roads which I tell you, with strong internet connectivity Uber self-driving cars might ride the roads without a map (just kidding). <br>Touring sites like Tinapa — a great place (of trade, events, games and relaxation), Obudu Cattle Range, Marina Resort-a place of fresh breath with her fluvial waters. All these and others were seen to be the heart of our city, especially its street parties (carnival). Most of her accomplishments in the past indeed, and it is something to certainly be proud of and celebrated.</p><p>However, if you drive through our city today, you may have noticed that things have really gone messy. It is so easy to live off our glorious days and before you realize it, we find ourselves getting comfortable with the status quo again. But not in this case, have encountered lots of persons (NYSC members) who clearly told me that when they were posted to this city, at first, were excited because the heard and were anticipating to see their cosmopolitan, exciting, charming, beautiful, fantastic, touristy nature. However, after spending a week or 2, they realized that the city was far off what they thought and heard, although, some who happened to have school in a spatter city could commend her for remaining clean. But the fact is, her past glories cannot be compared to its current state.</p><p>Imagine feasting on a thanksgiving dinner and living off the leftovers. In most cases, we would say it was a wonderful meal with good cheer; even the leftovers taste good. Despite the fantastic feast we once enjoyed, how long can we survive off that one wonderful meal? It was a meal to be remembered, but it cannot sustain our strength or provide endless nourishment and growth for the future. We must rely on other meals or we will grow weak and die.</p><p>The same is true on our lean journey. We must rely on future improvements for our survival instead of past glorious days or we will grow weak. Celebrate our past success, but do feed off past feasts. The philosophy of being the paradise city is about moving forward and not living in the glow of past success.</p><p>We cannot grow our city on yesterday’s achievements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b39c3952f22c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Machine/Deep Learning in 4 minutes]]></title>
            <link>https://medium.com/@mosesbasseyekwere/understanding-machine-deep-learning-in-10-minutes-1991e83b11bf?source=rss-32c1d3f882e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/1991e83b11bf</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Moses Bassey]]></dc:creator>
            <pubDate>Sat, 25 Aug 2018 14:39:41 GMT</pubDate>
            <atom:updated>2020-01-11T12:58:45.407Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*r4kurXZ17yujHx4Jq7CVPA.jpeg" /></figure><p>From self-driving cars to speech recognition, machine learning has really created an impact in Artificial Intelligence in predicting results. Using apps that can predict how you will look like in the next 20 years, how your skin will get some deformation, these functions are all base on machine learning.</p><p>But, what really is machine learning, how is it implemented and what measures are taken in training a machine to function without human intervention?</p><p><strong>Machine learning</strong> is a computer science research area that deals with methods to identify and implement systems and algorithms by which a computer can learn based on the examples of a given input. Note that machine learning is not AI (Artificial Intelligence) but just one method of achieving AI. While, <strong>Deep learning</strong> on the other hand is a research area that is based on a particular type of learning mechanism. it is a subset of machine learning.</p><p>Now, let&#39;s dig down into these 2 concepts in a nutshell</p><p><strong>A CLOSER LOOK AT MACHINE LEARNING</strong></p><p>As defined earlier, Machine learning is a computer science research area that deals with methods to identify and implement systems and algorithms by which a computer can learn, based on the examples given in the input. It is also an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. <strong>Machine learning focuses on the development of computer programs</strong> that can access data and use it for themselves.</p><p>The challenge of machine learning is to allow a computer to learn how to automatically recognize complex patterns and make decisions that are as smart as possible. The entire learning process requires a dataset as follows:</p><ol><li><strong>Training set</strong>: This is the knowledge base used to train the machine learning algorithm. During this phase, the parameters of the machine learning model (hyperparameters) can be tuned according to the performance obtained.</li><li><strong>Testing set</strong>: This is used only for evaluating the performance of the model on unseen data.</li></ol><p>There are basically 3 paradigms that are used in machine learning:</p><ol><li><strong>Supervised</strong>: Supervised learning is the automatic learning task simpler and better known. It is based on a number of pre-classified examples, in which, the category to which each of the inputs used as examples should belong. In this case, the crucial issue is the problem of generalization. After the analysis of a sample (often small) of examples, the system should produce a model that should work well for all possible inputs. The set consists of labeled data, that is, objects and their associated classes. This set of labeled examples, therefore, constitutes the training set. Most of the supervised learning algorithms share one characteristic: the training is performed by the minimization of a particular loss or cost function, representing the output error provided by the system with respect to the desired possible output because the training set provides us with what must be the desired output.</li><li><strong>Unsupervised</strong>: In unsupervised learning, a set of inputs is supplied to the system during the training phase which, however, contrary to the case supervised learning, is not labeled with the related belonging class. This type of learning is important because in the human brain it is probably far more common than supervised learning. The only objects in the domain of learning models, in this case, are the observed data inputs, which often is assumed to be independent samples of an unknown underlying probability distribution. Unsupervised learning algorithms are used particularly in clustering problems, in which a given collection of objects, we want to be able to understand and show their relationships. A standard approach is to define a similarity measure between two objects, and then look for any cluster of objects that are more similar to each other, compared to the objects in the other clusters.</li><li><strong>Semi-supervised machine learning algorithms: </strong>fall somewhere in between supervised and unsupervised learning, since they use both labeled and unlabeled data for training — typically a small amount of labeled data and a large amount of unlabeled data. The systems that use this method are able to considerably improve learning accuracy. Usually, semi-supervised learning is chosen when the acquired labeled data requires skilled and relevant resources in order to train it / learn from it. Otherwise, acquiring unlabeled data generally doesn’t require additional resources.</li><li><strong>Reinforcement learning: </strong>Reinforcement learning is an artificial intelligence approach that emphasizes the learning of the system through its interactions with the environment. With reinforcement learning, the system adapts its parameters based on feedback received from the environment, which then provides feedback on the decisions made. For example, a system that models a chess player who uses the result of the preceding steps to improve their performance is a system that learns with reinforcement. Current research on learning with reinforcement is highly interdisciplinary and includes researchers specializing in genetic algorithms, neural networks, psychology, and control engineering.</li></ol><p><strong>A CLOSER LOOK AT DEEP LEARNING</strong></p><p>Deep learning is a machine learning research area that is based on a particular type of learning mechanism. It is characterized by the effort to create a learning model at several levels, in which the most profound levels take as input the outputs of previous levels, transforming them and always abstracting more. This insight on the levels of learning is inspired by the way the brain processes information and learns, responding to external stimuli.</p><p>Now, let&#39;s illustrate this by looking at how the brain works. The visual cortex, which is intended to solve image recognition problems, shows a sequence of sectors placed in a hierarchy. Each of these areas receives an input representation, by means of flow signals that connect it to other sectors. Each level of this hierarchy represents a different level of abstraction, with the most abstract features defined in terms of those of the lower level. At a time when the brain receives an input image, the processing goes through various phases, for example, detection of the edges or the perception of forms (from those primitive to those gradually more and more complex).</p><p>As the brain learns by trial and activates new neurons by learning from the experience, even in deep learning architectures, the extraction stages or layers are changed based on the information received at the input.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1991e83b11bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android App Development— Understanding the Concept of an Activity]]></title>
            <link>https://medium.com/@mosesbasseyekwere/android-app-development-understanding-the-concept-of-activity-afb6a728ec3e?source=rss-32c1d3f882e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/afb6a728ec3e</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-activity]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Moses Bassey]]></dc:creator>
            <pubDate>Mon, 30 Jul 2018 05:55:06 GMT</pubDate>
            <atom:updated>2018-07-30T19:59:19.868Z</atom:updated>
            <content:encoded><![CDATA[<p>In building a native android application with Java, one of the major key concept to understand is working with components. An <strong>activity</strong> is an example of a component.</p><p>In this post i will explain the concept of an <strong>activity</strong></p><p>An <strong>Activity by definition </strong>is an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a photo, send an email, or view a map. Each <strong>activity</strong> is given a window to draw its user interface.<br>An activity also represents a single screen with a user interface just like window or frame, for example, a simple calculator would use one single activity. If you enhanced the calculator app to switch between a simple version and a scientific version, you would then use two activities.</p><p>If you have used C# or Java programming language then you must have seen that your program starts from <strong>main()</strong> method or function. This is very similar way, Android system initiates its program with in an <strong>Activity</strong> starting with a call on <em>onCreate()</em> callback method.</p><p>Every Android application runs inside its own process. Processes are started and stopped to run in an application and also can be killed to conserve memory and resources. Activities, in turn, are run inside the main UI thread of the application’s process. Once an activity is lunched, it goes through its <em>life cycle</em>, a term that refers to the steps the activity progresses through as the user (and OS) interacts with it. There are specific method callbacks that let you react to the changes during the activity lifecycle.</p><p>This callbacks are define in the Activity class. You don’t need to implement all the callbacks methods. However, it’s important that you understand each one and implement those that ensure your app behaves the way users expect.</p><ul><li><strong>onCreate()</strong> this is the first callback and its called when the activity is created for the very first time. Data could be initialize when this activity callback is called.</li><li><strong>onStart()</strong> is called when the activity is becoming visible. This is an ideal place to write code that affects the UI of the application, such as an event that deals with user interaction. This callback is normally followed by onResume but could be followed by onStop if the activity becomes hidden.</li><li><strong>onResume()</strong> is called when the activity is running in the foreground and the user can interact with it. It is followed by onPause.</li><li><strong>onPause()</strong> is called when another activity comes to the foreground. The implementation needs to be quick, because the other activity cannot run until this method returns. The onPause callback is followed by onResume if the activity returns to the foreground, or by onStop if the activity becomes invisible.</li><li><strong>onStop()</strong> is called when the activity is invisible to the user; either a new activity has started, an existing activity has resumed, or this activity is getting destroyed.</li><li><strong>onRestart()</strong> is called when the activity is being restarted, as when the activity is returning to the foreground. It is always followed by onStart.</li><li><strong>onDestroy()</strong> is called by the system before the activity is destroyed, either because the activity is finishing or because the system is reclaiming the memory the activity is using.</li></ul><p>An example of a simple implementation of an activity class in an android application would look like this</p><pre>//This code was copied from //<a href="https://www.tutorialspoint.com/android/android_acitivities.htm">https://www.tutorialspoint.com/android/android_acitivities.htm</a></pre><pre>package com.example.helloworld;<br><br>import android.os.Bundle;<br>import android.app.Activity;<br>import android.util.Log;<br><br>public class MainActivity extends Activity {<br>   String msg = &quot;Android : &quot;;<br>   <br>   /** Called when the activity is first created. */<br>   @Override<br>   public void <strong>onCreate</strong>(Bundle savedInstanceState) {<br>      super.onCreate(savedInstanceState);<br>      setContentView(R.layout.activity_main);<br>      Log.d(msg, &quot;The onCreate() event&quot;);<br>   }<br><br>   /** Called when the activity is about to become visible. */<br>   @Override<br>   protected void <strong>onStart()</strong> {<br>      super.onStart();<br>      Log.d(msg, &quot;The onStart() event&quot;);<br>   }<br><br>   /** Called when the activity has become visible. */<br>   @Override<br>   protected void <strong>onResume()</strong> {<br>      super.onResume();<br>      Log.d(msg, &quot;The onResume() event&quot;);<br>   }<br><br>   /** Called when another activity is taking focus. */<br>   @Override<br>   protected void <strong>onPause()</strong> {<br>      super.onPause();<br>      Log.d(msg, &quot;The onPause() event&quot;);<br>   }<br><br>   /** Called when the activity is no longer visible. */<br>   @Override<br>   protected void <strong>onStop()</strong> {<br>      super.onStop();<br>      Log.d(msg, &quot;The onStop() event&quot;);<br>   }<br><br>   /** Called just before the activity is destroyed. */<br>   @Override<br>   public void <strong>onDestroy()</strong> {<br>      super.onDestroy();<br>      Log.d(msg, &quot;The onDestroy() event&quot;);<br>   }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afb6a728ec3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android APPS — Design, Develop, Distribute]]></title>
            <link>https://medium.com/@mosesbasseyekwere/android-apps-design-develop-distribute-bb105c128b?source=rss-32c1d3f882e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb105c128b</guid>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[mobile-application]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[app-development]]></category>
            <dc:creator><![CDATA[Moses Bassey]]></dc:creator>
            <pubDate>Sat, 28 Jul 2018 18:46:06 GMT</pubDate>
            <atom:updated>2020-01-10T17:52:42.120Z</atom:updated>
            <content:encoded><![CDATA[<p>According to <a href="https://android-developers.googleblog.com/2014/06/building-successful-global-app.html">android for developers google blog post</a>, there are over 1 billion active Android users, an increasing number of developers are building successful global businesses on Google PlayStore, thus technically making their users buyers.<br>This article explains the concept of designing, developing and distributing a simple mobile android application.</p><h4><strong>DESIGN</strong></h4><p>Designing an android application is one of the very first steps into building an Android App, this encompasses the user experience, menu navigation, animation and how each component are being arranged to make application intuitive for end-users. whilst, they have been some nuances that make designing for Android tricky which involves the android target version (e.g Marshmallow, Kitkat, Lollipop e .t .c).</p><p>They android team has been working pretty hard in updating their operating system to further improve their platform APIs, user interface for optimal performance, hence reaching out in surpassing their competitors (IOS and Windows).</p><p>In a real sense, it would be ideal to design for the latest Android OS. But the reality is, only 25.5% (according to <a href="https://en.wikipedia.org/wiki/Android_version_history">wikipedia</a>) of current devices will be actually running the latest version. However, since the introduction of<em> </em><strong><em>material design</em></strong> in Lollipop 5.0, all versions above 2.1 support material design. So apart from a few tweaks and changes, your designs will translate across most versions of the OS very well. Most developers tend to target a minimal version in development which is not always the best case scenario, that is why most developers prefer the hybrid way.</p><p>“But you still need to know what versions you’re designing for, as different versions indicate different design variables.”</p><h4>DEVELOP</h4><p>There are different ways one could develop an android application, basically, I would touch just 2 popular ways which is used by most developers worldwide, the hybrid and native way of development.</p><p><strong>Hybrid Apps:</strong> by definition are web applications (or web pages) in the native browser, such as UIWebView in iOS and WebView in Android (not Safari or Chrome). <strong>Hybrid apps</strong> are developed using HTML, CSS, JavaScript, and then wrapped in a native application platform like Cordova.</p><p>An example of some popular hybrid app development frameworks are phoneGab, ionics (which uses angular a popular javascript framework for buiding Single Page Application and powered by google) React native and Native Script (both React Native and Native Script also uses angular, albeit, the both frameworks does not make use of the traditional webview like other hybrid apps does). If your familiar with Html, JavaScript and CSS, trust me you are just one step ahead of building your own hybrid android app with any of these hybrid technologies.</p><p><strong>Core Native using Java for android:</strong> The best way to develop an android application is using Java programming language. I call this the best way because Java is the official programming language for android which is supported by google the owners of the android operating system, Using Java for development gives your application core native feeling and less app performance issues. Most of the native API on the android operating system were written in Java.<br>To develop with Java, one has to be acquainted with the java programming language, i will suggest this website <a href="https://www.tutorialspoint.com/java/">https://www.tutorialspoint.com/java/</a> for Java tutorials. The next step is the tools needed for development, Well the official IDE (Integrated Development Environment) which is used for writting android apps with Java (now supporting kotlin) is <a href="https://developer.android.com/studio/">android studio</a>. Working with android studio makes it more easier in developing android apps with Java. Another approach, though not the best is using <a href="http://www.eclipse.org/downloads/packages/">eclipse</a> (IDE) for development, this requires setting up android development environment. You will be required to have <a href="https://searchenterprisedesktop.techtarget.com/definition/Windows-XP">Windows XP</a> or later, or Mac OS X 10.5.8 or a later version to start Android application development process. <br>Then, there are four tools that you will need and they are available on the Internet for free:</p><ol><li>Java JDK5 or JDK6</li><li><a href="http://developer.android.com/sdk/index.html">Android SDK</a></li><li>Eclipse IDE for Java Developers (optional)</li><li>Android Development Tools (ADT) Eclipse Plugin (optional)</li></ol><p>But fear not, if you want to use android studio for development, most of these tools would be setup automatically for you. Once you understand the concepts in java programming language and you have android studio on you PC, you are at the verge of developing your own native android app with Java.</p><h4>DISTRIBUTE</h4><p>As a developer, one lesson i have learnt is that before distributing your application, it is a good practice to test (beta test) every aspect of your app with difference devices and users to ensure that every aspect of your application is working properly, then you can distribute.</p><p>Usually most android users go to google playstore (android devices have the playstore app installed on thier phone by default) to get and update new Apps, so puting your App in playstore is one of the best approach of distributing your android application.</p><p>Another alternative is using <a href="https://www.amazon.com/mobile-apps/b/ref=topnav_storetab_mas?ie=UTF8&amp;node=2350149011">Amazon Underground App Store</a> its quite a popular option to use when looking to expose your app to more users. It became quite popular in the past for its “Free app of the day” section where lots of users were visiting the Store to download for free, a paid app that would find on Google Play Store. With the introduction of Amazon Underground, Amazon gave the option to users to find several popular paid titles of apps, for free, as publishers of these apps get paid according to the amount of time their app is used. There are also many options in distributing your android apps like SideME, Yandex , GetJar e. t. c</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb105c128b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Message Queue - What it is, How it works, And when to use it]]></title>
            <link>https://medium.com/@mosesbasseyekwere/message-queue-what-it-is-how-it-works-and-when-to-use-it-2b7fb5dcef48?source=rss-32c1d3f882e5------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b7fb5dcef48</guid>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Moses Bassey]]></dc:creator>
            <pubDate>Sat, 14 Jul 2018 19:05:48 GMT</pubDate>
            <atom:updated>2020-05-23T14:09:41.416Z</atom:updated>
            <content:encoded><![CDATA[<p>This article explains the concept of Message Queue, What it is, How it works and when to use it.</p><p>A <strong>Queue</strong> in this context could be define as a list of data items, commands, or task, stored so as to be retrieve in a specific order, usually the order of insertion.<br><strong>Message</strong> on the other hand, is data transported between a sender and a receiver (an e.g could be messages you sent to your friends on either whatsApp or facebook messenger). But, in the context of our discussion the best definition we could give a message should be something that tells a system to start processing a particular task, it could contain information about a finished task or just a simple message of a completed task.</p><p>Now lets talk about <strong>message queue, </strong>A message queue is a form of asynchronous service-to-service communication used in microservices architectures (i.e a method of developing software systems that tries to focus on building single-function modules with well defined operations which could be written in any programming language). Messages are stored in the queue until they are processed and deleted. Each message is processed only once by a single consumer.</p><p>The basic structure or architecture of a <strong>message queue</strong> is simple, you have a client application called <strong>producers</strong> that create messages or make request to be delivered in a queue. Another application which is called a <strong>consumer</strong>, connect to the queue and get the messages to be processed. Messages placed in the queue could be stored in a system memory until the <strong>consumer</strong> processes them accordingly. The producer which is the client and the consumer of the message do not need to interact with the message queue synchronously.</p><p>Many producers and consumers can use the queue, but each message is processed only once by a single consumer. When a message needs to be processed by more than one consumer, message queues can be combined with Pub/Sub messaging in a fanout design pattern.</p><p>Let&#39;s talk about this in a use case scenario, imagine you have a web service or an API that receives many requests every second and all requests needs to be processed by a process that is time-consuming and your web service has to be highly available and ready to receive new request instead of being locked by the processing of previously received requests. In this case, it is ideal to put a queue between the web service and the processing service. Messages in a queue and the other process can take and handle messages in order. The two processes will be separated or decouple from each other and does not need to wait for each other. If you have a lot of requests coming in a short amount of time, the processing system will be able to process them all anyway. The queue will store or persist the requests if their number becomes really huge.</p><p>Now if your workload is growing and you need to scale up your system. All that is needed to be done now is to add more workers, receivers, to work off the queues faster.</p><p>Another use case could be when working on an imaging system where people upload images and then you have a service that generates thumbnails for each uploaded message, in this case, your best solution would be to implement the concept of “message queue”.</p><p>An example of a queue base solution is RabbitMQ, AXON, e.t.c</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b7fb5dcef48" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>