Skip to main content

Posts

Create a forum or wall for your social media app

 In this tutorial we will cover how to create a forum or wall for our social media app. This will be slightly more complex than what we have covered so far. This will be your main activity feed and thus it is important to think deeply about what you want your users to see or experience. Building your layout I have created the following layout for the forum.  I started by dragging a linear H onto my layout Inside the linear h, I placed the following: I.) Imageview- this will hold the profile picture of the user II.) A linear V-  this will just be a place holder III.) imageview- this will reveal the options to add a new post IV.) Imageview- this will be our search button V. Edittext- this is where the user will type a search query VI. Imageview- this will clear and hide the search field Adding a Customview We will need to add a customview to determine how our wall posts will be displayed.  I have created my customview and given it the name "custom". It looks as shown below: Now

Songs to help you get through a heartbreak

If you're having girl(or boy) problems I feel bad for you son(or daughter), I got 99 problems but a b**** ain't one.  Who am I kidding? Heartbreak happens to the best of us... yup, that's including me. While most people handle it fairly well, there are some whose lives end up ruined as a result of the ultimate betrayal. I've been depressed at some points, and though time may heal most wounds, some scars become constant reminders of a love lost and the way it left us feeling empty. One thing I have learnt however is that whenever it happens, instead of being in denial, it is much wiser to face it head on. So I give myself time to grieve and let it all out. One of my best outlets is music. There are some songs which can plug into your chest, connect to your pain and then say the right words to your wall of shame. Heartbreak is definitely no laughing matter... and I know for some, it may even seem like the end of the world. Take a break, cry or do whatever you feel will he

The most romantic RnB love songs for lovers

Is there a name for that warm fuzzy feeling that you feel in your chest when you're in love? Ever been so in love that whenever you get a free moment, all you want to do is just shut your eyes and smile on the inside as you think about all the wonderful things you see in your beau.  The way that crooked tooth perfects their smile. How they giggle. The way they say a certain word, or even how they walk. Beautiful isn't it? (Especially if they feel the same too.) Well, I hope the following songs will perfect those moments for you. If you're still searching for the one, then I hope these songs will renew your faith in love and reinforce your belief in romance. The whole idea is to give you a collection of songs that you can sing to your partner, or better yet, dance to as you hold each other close. Please note that there are way too many love songs to cover in a single article. So I hope you understand that this list is neither conclusive nor exhaustive. It is simply a songs t

Hip hop and RnB songs to apologize to your partner

Love is a beautiful thing, but it often goes wrong. This often leads to pain, suffering and sorrow.  Being imperfect beings, hearts tend to get broken all the time regardless how hard we may try to avoid it.  The heartbreak is often inadvertent but at times we find ourselves in the wrong. An oversight, a word unsaid or even a lapse in our judgement can cause our loved ones harm. This doesn't always have to be the end though. Oftentimes, relationships can be mended by simply uttering three simple words: "I AM SORRY". This article is a collection of some of my favourite 'I'm sorry' songs. I hope you'll enjoy these apology songs, but more importantly, I hope you will get a few quotables and some wisdom nuggets from them.  The best apology however, is to change behaviour (got that from a Jay Z interview) so as you apologize, please remember that it was your actions that hurt them. The best apology is one which involves you not repeating those same mistakes aga

How to easily set Firebase Rules for your app

How to easily set Firebase Rules for your app When building apps or websites, you might want to add a database where information is stored online so that users can easily access if from multiple locations. Google's Firebase platform allows you to do just that. It comes with a number of useful functions such as enabling user authentication, providing online storage, databases and even cloud messaging.  You can read this email to find out more on how you can connect your mobile app to firebase. Once you've set up your app and connected it to Firebase, you will need to control who or which of your users have access to specific parts of your database. This article will help you set rules and also highlight common mistakes which you should avoid. To set your Firebase rules, navigate to your Firebase Database Console and click the tabs section. This is shown in the images below: Navigate to the Firebase Realtime Database section. Navigate to Rules and select Edit rules By default you

The smartest street kid

A former colleague once told me a story of a wealthy doctor whose car hit a street kid whilst driving around town. The streetkid was so badly injured that he needed medical attention. Acting in speed, the doctor took this kid, put him in his car and rushed him to the nearest hospital. Feeling bad about what had happened, the doctor paid all the medical bills and made sure the boy was well taken care of. Eventually, the boy recovered and was to be discharged. So the doctor asked him if he had anywhere to go or a place to stay after being discharged. Upon realizing that the child had no home, the Doctor invited the child to stay with him in his beautiful mansion. That way he could monitor his recovery and continue paying for any medication that was needed. The doctor went a step further, gave him the best food, bought him beautiful shoes, clothes and even got him a haircut. See, over time he grew close to the boy and made the decision to adopt him as his own child. This meant that he wou

Social media marketing

  Social Media a Necessary Evil in Business Many a time companies think social media is bad for business and that it leaves them exposed to the public. However, things have changed and social media is now a necessary evil especially as we move deeper into th is  new information technology era.   It is not about having social media accounts and simple posting on a daily basis. The value of social media is not only the popularity  your  website but how these sites connect  your   business  directly to  existing  and potential  clients .  Social media  marketing  generate s   awareness about a company’s product or services .   In order for this to happen you need a  clear   social media strategy that defines the message,  distribution , execution and evaluation of any proposed plan .  Having a strategy in place make s  it easier to select the   appropriate platforms to deliver your message. Let’s  talk about social media strategy!  Social media strategy simple refers to the way in which y