Code Monkey home page Code Monkey logo

phone-library-android's Introduction

Phone library Android

This is an Android application for mobile phones and tablets. It gives access to an overview of specifications for a vast variety of mobile devices. The data comes from the free and open Fono Api. As of yet there are two languages supported: English and Dutch.

There is also an iOS version version of this application, go check it out!.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To access the code or run the application, you will require

Android Studio

Installing

  • Clone the repository from GitHub.
git clone https://github.com/RobinDeBock/phone-library-android.git
  • Open in Android Studio
  • Connect a device / start an AVD (Android Virtual Device)
  • Press the green start arrow in Android Studio
  • Select the device

Enjoy!

Running the tests

Both the Unit Tests and UI tests can be run using Android Studio in the same manner as described above. Every test has a clear name which describes it's function, but there is additional documentation supplied for each test class.

Unit Tests

There are two Unit Tests to check the 'Device' class. These tests include property checks and a check on the supplied comparators for sorting.

DeviceSortingUnitTest
DeviceUnitTest

UI tests

These use Espresso and test the application by mimicking certain user behaviour. It's important to remove the application from the device or clear the local storage beforehand. These can be run when the application is using a different locale.

BackpressNavigationTest
InvalidSearchTermShowsToastTest
NavigationDrawerAndStartScreenTest
SearchFavoriteShowsIconInListTest
...

Built With

Contributing

Contributions are more than welcome! If you found a bug in our code or wish to suggest a feature, choose one of these options.

  • Fork this repository, make changes, open a pull request
  • Open an issue, give a good title and description

I'll review these as fast as possible. Thanks for your cooperation!

Versioning

This repository (GitHub) is used as the only versioning system.

Authors

License

This product is free of licensing.

Acknowledgments

  • Big thanks to shakee93 who provides this public API.
  • Many thanks to shahsurajk for providing fast support for problems with the RecyclerViewFastScroller. It now works like a charm.

phone-library-android's People

Contributors

robindebock avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.