-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Imported to Android studio with required libraries:
- LibTrello - OpenATKLib
- Loading branch information
0 parents
commit 706e8cf
Showing
172 changed files
with
13,774 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# OSX | ||
.DS_Store | ||
gradlew | ||
gradlew.bat | ||
import-summary.txt | ||
|
||
# Android Studio | ||
.idea/ | ||
.gradle | ||
/*/local.properties | ||
/*/out | ||
/*/*/build | ||
/*/*/production | ||
*.iml | ||
*.iws | ||
*.ipr | ||
*~ | ||
*.swp | ||
!gradle/wrapper/gradle-wrapper.jar | ||
|
||
|
||
# Created by https://www.gitignore.io/api/android | ||
### Android ### | ||
# Built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# Files for the ART/Dalvik VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# Generated files | ||
bin/ | ||
gen/ | ||
out/ | ||
|
||
# Gradle files | ||
.gradle/ | ||
build/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Proguard folder generated by Eclipse | ||
proguard/ | ||
|
||
# Log Files | ||
*.log | ||
|
||
# Android Studio Navigation editor temp files | ||
.navigation/ | ||
|
||
# Android Studio captures folder | ||
captures/ | ||
|
||
# Intellij | ||
*.iml | ||
.idea/workspace.xml | ||
|
||
# Keystore files | ||
*.jks | ||
|
||
### Android Patch ### | ||
gen-external-apklibs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion 21 | ||
buildToolsVersion "23.0.2" | ||
|
||
defaultConfig { | ||
minSdkVersion 8 | ||
targetSdkVersion 18 | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.android.support:support-v4:21.0.3' | ||
compile 'com.google.code.gson:gson:2.2.4' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.openatk.libtrello" | ||
android:versionCode="1" | ||
android:versionName="1.0" > | ||
|
||
<uses-sdk | ||
android:minSdkVersion="8" | ||
android:targetSdkVersion="18" /> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme" > | ||
</application> | ||
|
||
</manifest> |
195 changes: 195 additions & 0 deletions
195
LibTrello/src/main/java/com/openatk/libtrello/TrelloBoard.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,195 @@ | ||
package com.openatk.libtrello; | ||
|
||
import java.util.Date; | ||
|
||
public class TrelloBoard extends TrelloObject { | ||
String id; | ||
String localId; | ||
|
||
String organizationId; | ||
Date organizationId_changed; | ||
|
||
String name; | ||
Date name_changed; | ||
|
||
String desc; | ||
Date desc_changed; | ||
|
||
String labelNames; | ||
Date labelNames_changed; | ||
|
||
Boolean closed; | ||
Date closed_changed; | ||
|
||
String lastSyncDate = ""; | ||
String lastTrelloActionDate = ""; | ||
|
||
TrelloBoard source; | ||
|
||
public static final String COL_ID = "id"; | ||
public static final String COL_LOCAL_ID = "local_id"; | ||
|
||
public static final String COL_ORGANIZATION_ID = "organization_id"; | ||
public static final String COL_ORGANIZATION_ID_CHANGE = "organization_id"; | ||
|
||
public static final String COL_NAME = "name"; | ||
public static final String COL_NAME_CHANGE = "name_changed"; | ||
|
||
public static final String COL_DESC = "desc"; | ||
public static final String COL_DESC_CHANGE = "desc_changed"; | ||
|
||
public static final String COL_LABEL_NAMES = "label_names"; | ||
public static final String COL_LABEL_NAMES_CHANGED = "label_names_changed"; | ||
|
||
public static final String COL_CLOSED = "closed"; | ||
|
||
public static final String COL_LAST_SYNC_DATE = "last_sync"; | ||
public static final String COL_TRELLO_ACTION_DATE = "last_trello_action"; | ||
|
||
//public static final String[] COLUMNS = new String[] { COL_ID, COL_LOCAL_ID, COL_ORGANIZATION_ID, COL_ORGANIZATION_ID_CHANGE, COL_NAME, COL_NAME_CHANGE, COL_DESC, COL_DESC_CHANGE, COL_LABEL_NAMES, COL_LABEL_NAMES_CHANGE, COL_CLOSED }; | ||
|
||
|
||
public TrelloBoard(){ | ||
|
||
} | ||
|
||
public TrelloBoard(Object makeNull){ | ||
if(makeNull == null){ | ||
this.name = null; | ||
this.desc = null; | ||
this.closed = null; | ||
this.labelNames = null; | ||
this.source = null; | ||
} | ||
} | ||
|
||
/*public Object[] toObjectArray(){ | ||
return new Object[] { this.getId(), this.getLocalId(), this.getOrganizationId(), TrelloObject.DateToUnix(this.getOrganizationId_change()), this.getName(), TrelloObject.DateToUnix(this.getName_change()), this.getDesc(), TrelloObject.DateToUnix(this.getDesc_change()), this.getLabelNames(), TrelloObject.DateToUnix(this.getLabelNames_change()), this.getClosed() }; | ||
}*/ | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public void setId(String id) { | ||
this.id = id; | ||
} | ||
|
||
public String getLocalId() { | ||
return localId; | ||
} | ||
|
||
public void setLocalId(String localId) { | ||
this.localId = localId; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public Boolean getClosed() { | ||
return closed; | ||
} | ||
|
||
public void setClosed(Boolean closed) { | ||
this.closed = closed; | ||
} | ||
|
||
public String getOrganizationId() { | ||
return organizationId; | ||
} | ||
|
||
public void setOrganizationId(String organizationId) { | ||
this.organizationId = organizationId; | ||
} | ||
|
||
public Date getOrganizationId_change() { | ||
return organizationId_changed; | ||
} | ||
|
||
public void setOrganizationId_changed(Date organizationId_changed) { | ||
this.organizationId_changed = organizationId_changed; | ||
} | ||
|
||
public Date getName_changed() { | ||
return name_changed; | ||
} | ||
|
||
public void setName_changed(Date name_changed) { | ||
this.name_changed = name_changed; | ||
} | ||
|
||
public String getDesc() { | ||
return desc; | ||
} | ||
|
||
public void setDesc(String desc) { | ||
this.desc = desc; | ||
} | ||
|
||
public Date getDesc_changed() { | ||
return desc_changed; | ||
} | ||
|
||
public void setDesc_changed(Date desc_changed) { | ||
this.desc_changed = desc_changed; | ||
} | ||
|
||
public String getLabelNames() { | ||
return labelNames; | ||
} | ||
|
||
public void setLabelNames(String labelNames) { | ||
this.labelNames = labelNames; | ||
} | ||
|
||
public Date getLabelNames_changed() { | ||
return labelNames_changed; | ||
} | ||
|
||
public void setLabelNames_changed(Date labelNames_changed) { | ||
this.labelNames_changed = labelNames_changed; | ||
} | ||
|
||
public Date getClosed_changed() { | ||
return closed_changed; | ||
} | ||
|
||
public void setClosed_changed(Date closed_changed) { | ||
this.closed_changed = closed_changed; | ||
} | ||
|
||
public Date getOrganizationId_changed() { | ||
return organizationId_changed; | ||
} | ||
|
||
public String getLastSyncDate() { | ||
return lastSyncDate; | ||
} | ||
|
||
public void setLastSyncDate(String lastSyncDate) { | ||
this.lastSyncDate = lastSyncDate; | ||
} | ||
|
||
public String getLastTrelloActionDate() { | ||
return lastTrelloActionDate; | ||
} | ||
|
||
public void setLastTrelloActionDate(String lastTrelloActionDate) { | ||
this.lastTrelloActionDate = lastTrelloActionDate; | ||
} | ||
|
||
public TrelloBoard getSource() { | ||
return source; | ||
} | ||
|
||
public void setSource(TrelloBoard source) { | ||
this.source = source; | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.