Giter Club home page Giter Club logo

umc15srv's Introduction

UA Mobile Challange 2015 Final Stage Task

This is a public version of the task that I've prepared for UA Mobile Challange 2015 final stage (junior section).

The participants were given six hours to implement the solution. Using of third-party dependencies were not allowed.

The Task

Develop univeral(iPhone, iPad) app โ€” an Mac-application management dashboard.

The app should connect to the special HTTP-server (included with the task, see below) which runs on your Mac and provides the list of currently running Mac applications (with name, icon, activity flag and time since launch).

The mobile app should update this data every 10 seconds and display it in the following way:

  • All applications should be displayed on the screen.
  • Currently active (foreground) application should be displayed in the center of the screen. It's icon should be larger then the rest.
  • Other application's icons should be located around it, the distance on the circumference between the icons should be the same.
  • Changing of the active application should be displayed animated (by moving and resizing icons)
  • Changes of the set of Mac-applications should be animated too.

Tapping an app's icon should switch active application on the Mac.

Bonus points: Implement two sorting options โ€” by app name or by the time of application launch.

Mac Server for UA Mobile Challange 2015

Server application

The server is command line foreground Mac application, developed on 10.11.

Building from Source Code

  • Check out git repository
  • Run 'pod install' (make sure you have CocoaPods)
  • Run in Xcode

Connecting

The server listens on 9091 TCP port.

Bonjour

The server advertises Bonjour service "_mch15._tcp."

API

Authorization

The server uses RFC 6750 Section 2.1-style authorization. Bearer token is output on server start.

Errors

HTTP status codes are used to indicate errors.

GET /apps

Response is JSON, array of dictionaries.

GET /apps/[pid]/icon/[size].png

[size] is PNG image size (the resulting image would be square)

POST /apps/[pid]/activate

umc15srv's People

Contributors

andrianbdn avatar

Watchers

 avatar  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.