Skip to content

Merka84/android-card-factory-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Android Card Factory Challenge

This is my code for an offline code challange for pushe.co, done in Feb 2016.

Challange description can be fined here and it is as follows:

Android Card Factory Challenage

An android development challenge for showing cards

Introduction

In this challenge, you are going to develop an android Card app which shows a random card on the main activity and has a 'Try' button. Whenever the user clicks on the 'Try' button, app should show him another random card which is not seen up to now.

Each card has at least 2 items:

  • title
  • description
  • We have different Cards which are shown differently:

Picture Card which shows a picture at the end of card content (code is 0) Vibrator Card which vibrates the device when it is shown (code is 1) Sound Card which plays a sound when the card is shown (code is 2) Cards can be shown in different themes meaning they will use a different icon and color representing their tag:

  • sport
  • art
  • fun You can choose your desired icon and color for each theme.

You should initialize cards list from this URL: http://static.pushe.co/challenge/json

Expectations

We want a clean, readable and maintainable code with meaningful comments and java docs.

Estimation

After reading and understanding the challenge and all of expectations, estimate the challenge development cost, send us your time cost estimation and your reasoning on how you've estimated this. Do not start development before getting a confirmation from us.

Tests

Write unit tests for your code with the testing framework of your choice Write instrument tests for your app

Task

Fork this repository (if you don't know how to do that, Google is your friend) Develop the given challenge using Android Studio Commit and Push your code to your new repository Send us a pull request, we will review your code and get back to you

About

Android Card Factory Challenage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 97.9%
  • Shell 2.1%