Code Monkey home page Code Monkey logo

upordown's Introduction

Up or Down?

A super-simple sample Android application that uses http://downforeveryoneorjustme.com to test whether or not a website is online.

This app is written in Mirah using the Pindah build tool. It demonstrates the following:

  • Basic Mirah syntax for use with Pindah
  • How to use blocks and Android callbacks with Mirah
  • How to leverage third-party Java libraries in Mirah (jsoup)
  • How to handle exceptions in Mirah
  • How to deal with Mirah scoping weirdness (this = self)

Homework Ideas

  • Add a ProgressDialog and make the site test an AsyncTask
  • Record a log of website test history to a ListView
  • Allow users to browse test history through a separate activity
  • Store test history in a local Sqlite database (ListAdapter)

Credits

Copyright (c) 2011 Nick Plante. See LICENSE.txt for further details.

upordown's People

Contributors

zapnap avatar

Stargazers

 avatar Cortland Walker avatar Matthias Grosser avatar Adam Parrott avatar  avatar Kike Diaz avatar Andrei Fokau avatar           ​ ⁠             ⁠   Ån̶t̶hia¯₣ab̷r̷ε  ⚜ avatar Guillermo Iguaran avatar patrick jones avatar Mathieu Ravaux avatar David Ruan avatar  avatar

Watchers

James Cloos avatar

Forkers

asdbaihu

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.