Skip to content

steffanc/Tahoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OddJob

For the things that need doing, and the people that can help.

Setup instructions

Migrating away from Gradle project:

  1. Close your existing project.

  2. git clean your current repo

  3. git checkout this branch

  4. Reimport the project into Android Studio. Do not choose Gradle/Maven type of build.

    image

  5. Setup your Project Structure->Modules->Tahoe as such (i.e. make sure you have Google Play Services + Facebook module added as a Dependency:

    image

  6. Add the Google Play and Facebook module as a dependency to the Tahoe module (look for the + sign at the right side):

    image

    You should see under Tahoe Google Play Services + Facebook added and the Export button clicked:

    image

  7. Make sure to mark the Google Play Services as a Library module. Otherwise, you may get NoClassDefError issues for com.google.android.gms.R$styleable.

    image

If you get NoClassDef exceptions for the Google Play or Facebook, make sure you have made sure you followed steps 6 & 7.

image

  1. Add AndroidMapsUtils as a module:

    Google Play Services module + google-play-services.jar need to be added as dependencies to AndroidMaps Utils

    image

  2. Mark this module as export as library:

    image

  3. Add to the dependency list:

image

Other stuff

  • Verify that you can traverse the libs/ dir (there should be + signs).

    image

If not, Add as Library -- in Linux, I trigger the right click.

  • One useful tip -- inside Edit->Run Configurations, make sure to clear LogCat per run. It's often easy to get confused of stack traces:

    image

  • Make sure to friend Jon Azoff and become a joint developer on his app.

    You may need to go to https://developers.facebook.com/apps and look for the tiny yellow bar.

    See the part on https://developers.facebook.com/docs/android/getting-started/ and add your hash to the developer app:

    keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
    
    You will be prompted for a password. This should be 'android' without
    quotes. You'll then be given a key hash of 30 characters or so. (If you are not
    prompted for a password, something is wrong and you must check your paths above
    to ensure the debug.keystore is present.)
    
  • Add your hash also to the Google API console (https://code.google.com/apis/console/b/1/?pli=1#project:261246281766:access)```

  • Setup your GPS coordinates in Genymotion.

Fonts styling

We are using the Roboto font styles.

Use <com.lake.tahoe.CustomTextView> and <com.lake.tahoe.CustomEditText> instead of TextView and EditText so you can keep our fonts consistent in the app. If you need to extend to other Android Views, take a look at the views/ directory.

About

Tahoe real time marketplace for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published