GithubHelp home page GithubHelp logo

imclab / tomahawk-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomahawk-player/tomahawk-android

0.0 2.0 0.0 2.36 MB

Tomahawk's Android Music Player

License: GNU General Public License v3.0

tomahawk-android's Introduction

tomahawk-android

Tomahawk's Android Music Player

setup

- Open Eclipse and go to "File"->"Import"
- Under Android/ select "Existing Android Code into Workspace."
- Browse to your tomahawk-android checkout.
- Two projects will appear in the import dialog. Import them both.
  One is the app and one is the unit tests.
- Right click on "tomahawk-android-test" and select "Properties". Now 
  select "Java Build Path" and the tab "Projects". Click on "Add" and
  choose "tomahawk-android". Finish by clicking "OK".
- tomahawk-android requires the third-party support library
  "ActionBarSherlock". Download and extract the library:
    - https://github.com/JakeWharton/ActionBarSherlock/zipball/4.1.0
- Now add it as an "Android Project" to your workspace: 
    - "File"-> "Import" -> "Android" -> "Existing Android Code into Workspace"
    - Go into the folder you've extracted your downloaded zip-file to and
      choose the "library" folder as your "Root Directory".
    - Check "copy projects into workspace" and click "Finish".
- Since the 4.1.0 release of ActionBarSherlock does include an outdated copy
  of the android support package v4, you'll need to update that manually by
  doing the following:
    - Make sure you have the latest version of the android support package v4 installed.
      You can update your support package with your Android SDK Manager.
    - Copy "/ANDROID_SDK_FOLDER/extras/android/support/v4/android-support-v4.jar"
      into the just created ActionBarSherlock project's "lib" folder.
      Confirm if asked to overwrite the existing "android-support-v4.jar".
- Now add the just created library project to tomahawk-android by
  right-clicking your "tomahawk-android" project and selecting "Properties"
- Select "Android" and add the library by clicking "Add...".
- To finish the process, choose your ActionBarSherlock library project and
  click "OK".

Notes:
    - There is a known issue when importing. The primary app name
      ends up being "org.tomahawk.tomahawk_android.TomahawkMainActivity".
      Right click on the project and go to "Refactor"->"Rename". Rename
      the project to "tomahawk-android" and this should fix any errors.
    - If you have troubles building ActionBarSherlock, confirm that you have android-14 installed
      in the sdk. This version is needed to build ActionBarSherlock, but you should use
      the latest version to build Tomahawk-Android.
    - If you have other build problems, confirm that your Java Compiler is set to v1.6. 
      ( in eclipse, go to tomahawk-android ( right click ) -> Properties -> Java Compiler -> 
      Compiler compliance level -> 1.6 )
    - Make sure that you don't tick the "Is Library" box in Properties->Android || Library in your
      tomahawk-android project. Only ActionBarSherlock is needed as a library project.
    - It is also good to add the sdk to your path. 

Code Style Guidelines for Contributors

In order to keep everything clean and cozy, please use the official android code style format preset: - https://github.com/android/platform_development/tree/master/ide

For a larger overview you could read the official android "Code Style Guidelines for Contributors": - http://source.android.com/source/code-style.html

recommended reading

recommended IDE

Since there are some glitches/bugs and performance issues with Eclipse, you should check out IntelliJ IDEA (http://www.jetbrains.com/idea/), which is basically Eclipse done better. Since IntelliJ IDEA 12 there's also great integration with the android SDK.

tomahawk-android's People

Contributors

creichert avatar hugolm84 avatar lalitmaganti avatar mrmaffen avatar muesli 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.