Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
ff815b3
Full project check in
jdrichards50 Jan 20, 2021
46d1713
Update README.md
jdrichards50 Jan 25, 2021
6043ffe
Update README.md
jdrichards50 Jan 25, 2021
e171d4f
Update to latest production code
jdrichards50 Feb 1, 2021
cde13de
Merge pull request #1 from ChartIQ/Q4_code_freeze
jdrichards50 Feb 3, 2021
6f5659b
Remove unnecessary files.
jdrichards50 Feb 3, 2021
98cefb0
Merge branch 'main' of https://github.com/ChartIQ/ChartIQ-Android-SDK…
jdrichards50 Feb 3, 2021
75c02b2
Remove unnecessary file
jdrichards50 Feb 3, 2021
9e53cff
Merge branch 'main' of https://github.com/ChartIQ/ChartIQ-Android-SDK…
jdrichards50 Feb 3, 2021
68e9255
Update gitignore for demo folder
jdrichards50 Feb 3, 2021
c603163
Merge branch 'main' of https://github.com/ChartIQ/ChartIQ-Android-SDK…
jdrichards50 Feb 3, 2021
eaa5f16
Merge branch 'main' of https://github.com/ChartIQ/ChartIQ-Android-SDK…
jdrichards50 Feb 3, 2021
b4a8110
add dokka docs
Feb 3, 2021
7d651b7
use dokkaHtml
Feb 4, 2021
55b8efa
fix spacing
Feb 4, 2021
e9847d8
Updated to 8.2.0.
jeckenrode-ciq Feb 5, 2021
8ced36b
Added "End of legacy app support" subheading.
jeckenrode-ciq Feb 5, 2021
72b4213
Added link to legacy app.
jeckenrode-ciq Feb 8, 2021
19744ae
Merge pull request #2 from ChartIQ/32751_dokka_docs
jdrichards50 Feb 8, 2021
7a62409
Merge pull request #3 from ChartIQ/8.2_README_Update
jdrichards50 Feb 8, 2021
2b435a7
Update application urls
jdrichards50 Feb 8, 2021
1e7ffd2
Update README.md
jdrichards50 Feb 8, 2021
f4a649b
Update gradle minimum version
jdrichards50 Feb 8, 2021
de688a0
Update README.md
gusmatlis Feb 8, 2021
9bfee14
Reorganized content.
jeckenrode-ciq Feb 9, 2021
bdccac0
Revised content.
jeckenrode-ciq Feb 9, 2021
fcb3517
Added app screen shots.
jeckenrode-ciq Feb 9, 2021
66cba98
Added app screen shots to README.
jeckenrode-ciq Feb 9, 2021
70fe518
Added app screen shots.
jeckenrode-ciq Feb 9, 2021
75c4c69
Changed screen shot sources to main repository.
jeckenrode-ciq Feb 9, 2021
99d5f6d
Revised screen shot proportions.
jeckenrode-ciq Feb 9, 2021
4235295
Restyled screen shot captions.
jeckenrode-ciq Feb 9, 2021
4e79d6e
Restyled screen shot images.
jeckenrode-ciq Feb 9, 2021
6d567e0
Make same changes to the Android project
jdrichards50 Feb 10, 2021
1644ee2
Merge pull request #4 from ChartIQ/8.2_README_Update
jdrichards50 Feb 10, 2021
7343c68
Change app name from "demo" to "ChartIQ"
jdrichards50 Feb 10, 2021
e4d7791
Merge pull request #5 from ChartIQ/32962_android_pagination
jdrichards50 Feb 10, 2021
4ff0d34
Update README.md
gusmatlis Feb 10, 2021
93df2e4
Added Getting Started section to README.
jeckenrode-ciq Feb 10, 2021
ea750b7
Revised tutorial title.
jeckenrode-ciq Feb 10, 2021
252d2dd
Merge pull request #6 from ChartIQ/README_Getting_Started
jdrichards50 Feb 11, 2021
438639e
Revised screen shot sources to enable image view in editor.
jeckenrode-ciq Feb 11, 2021
3c8390e
33012 candles jump around
jdrichards50 Feb 17, 2021
9f7aac3
Added beta release notification.
jeckenrode-ciq Feb 18, 2021
926becc
Formatted beta release notification as a single-cell table.
jeckenrode-ciq Feb 18, 2021
2332960
Merge pull request #7 from ChartIQ/33012_jump_data
jdrichards50 Mar 1, 2021
a8f2eb5
Change icon app name
jdrichards50 Mar 1, 2021
87d9639
Merge pull request #8 from ChartIQ/33172_mobile_app_ranking
jdrichards50 Mar 3, 2021
8d576bf
Added the Customization section.
jeckenrode-ciq Mar 5, 2021
f43493f
Merge branch 'main' into 33756_Color_Customization
jeckenrode-ciq Mar 5, 2021
a7480b5
Merge pull request #9 from ChartIQ/33756_Color_Customization
jdrichards50 Mar 10, 2021
8139ff3
33821 Plots list covered by hud
jdrichards50 Mar 12, 2021
374cf40
Updated beta release date.
jeckenrode-ciq Mar 15, 2021
f51c310
Merge pull request #11 from ChartIQ/33821_chart_hud_adjustment
jdrichards50 Mar 15, 2021
030014c
Update README.md
gusmatlis Mar 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
89 changes: 73 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,80 @@
# Compiled class file
# Built application files
*.apk
*.aar
*.ap_
*.aab

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Log file
# Generated files
bin/
gen/
out/
# Uncomment the following line in case you need and you don't have the release build type files in your app
# release/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# BlueJ files
*.ctxt
# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

# IntelliJ
.idea/

# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
#*.jks
#*.keystore

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
.cxx/

# Google Services (e.g. APIs or Firebase)
# google-services.json

# Freeline
freeline.py
freeline/
freeline_project_description.json

# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md

# Version control
vcs.xml

# Mobile Tools for Java (J2ME)
.mtj.tmp/
# lint
lint/intermediates/
lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# Android Profiling
*.hprof

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
# Android Studio
.project
64 changes: 63 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,63 @@
# ChartIQ-Android-SDK
# ChartIQ-Android-SDK

Native Android SDK for the [ChartIQ JavaScript library](https://documentation.chartiq.com).

<table>
<tr>
<td>:construction: <b>BETA Release</b>. Please visit us again starting March 31, 2021 to download the final release of this SDK and accompanying mobile application.</td>
</tr>
</table>

The ChartIQ Android SDK supports a basic charting application. The SDK can be extended to support more elaborate implementations by adding code to invoke ChartIQ library functions directly or by creating a bridge file similar to *nativeSdkBridge.js* (in the *mobile/js* folder of your ChartIQ library).

Contact us at <support@chartiq.com> to request sample code and guidance on how to extend the SDK.

## Requirements

- Version 8.2.0 or later of the ChartIQ library

Go to our <a href="https://cosaic.io/chartiq-sdk-library-download/" target="_blank">download site</a> to obtain a free 30-day trial version of the library, or send us an email at <info@cosaic.io>, and we'll send you an evaluation version.

- Android 8.1 Oreo (API level 27) or later

## Sample app

The [demo](https://github.com/ChartIQ/ChartIQ-Android-SDK/tree/main/demo) folder of this repository contains a sample app that was built using the SDK. Customize the app to quickly create your own Android charting application.

The app is also available on Google Play.

**App screen shots**

<table>
<tr>
<td><img src="https://github.com/ChartIQ/ChartIQ-Android-SDK/blob/main/screenshots/Candle_Chart.png?raw=true" alt="Candle chart" width="200" height="440"/></td>
<td><img src="https://github.com/ChartIQ/ChartIQ-Android-SDK/blob/main/screenshots/Chart_with_Studies.png?raw=true" alt="Chart with studies" width="200" height="440"/></td>
<td><img src="https://github.com/ChartIQ/ChartIQ-Android-SDK/blob/main/screenshots/Chart_Styles_and_Types.png?raw=true" alt="Chart styles and types" width="200" height="440"/></td>
</tr>
</table>

**End of legacy app support**

The Android app has been totally reengineered for improved usability and functionality using Kotlin. As a result, there is no upgrade path from the [legacy app](https://github.com/ChartIQ/Charting-Library---Android-Sample-App-Legacy) (which is compatible with ChartIQ versions 7.0.5&ndash;7.5.0) to the new app/SDK. To take advantage of the major improvements offered by the new mobile app, upgrade to Version 8.2.0 or later of the library and reimplement any custom functionality from your legacy app in the new app.

## Getting started

See the [Getting Started on Mobile: Android](https://documentation.chartiq.com/tutorial-Starting%20on%20Android.html) tutorial for instructions on installing the app and using the SDK.

## Customization

For information on changing the appearance of the app, see our [customization](https://documentation.chartiq.com/tutorial-Mobile%20App%20Customization%20Android.html) tutorial.

## API documentation

- [App/SDK](https://documentation.chartiq.com/android-sdk/chartiq/)

- [ChartIQ JavaScript library](https://documentation.chartiq.com)

## Questions and support

Contact our development support team at <support@chartiq.com>.

## Contributing to this project

Contribute to this project. Fork it and send us a pull request. We'd love to see what you can do with our charting tools on Android!
34 changes: 34 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.21'

repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.1.1"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.2"
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.4.20")



// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
google()
jcenter()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}
69 changes: 69 additions & 0 deletions chartiq/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'maven-publish'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'org.jetbrains.dokka'


ext.version_name = "4.0.0"

dokkaHtml.configure {
dokkaSourceSets {
named("main") {
noAndroidSdkLink.set(false)
outputDirectory.set(file("docs"))
}
}
}
android {
compileSdkVersion 30

defaultConfig {
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName version_name

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

repositories {
mavenCentral()
}

publishing {
publications {
aar(MavenPublication) {
groupId = 'com.chartiq'
artifactId 'chartiq'
version = version_name
artifact "${project.buildDir}/outputs/aar/chartiq-release.aar"

pom.withXml {
def root = asNode()
def license = root.appendNode('licenses').appendNode('license')
license.appendNode('name', 'MPL, Version 2.0')
license.appendNode('url', 'https://www.mozilla.org/en-US/MPL/2.0/')
license.appendNode('distribution', 'repo')
}
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation "androidx.appcompat:appcompat:1.2.0"
implementation "androidx.core:core-ktx:1.3.2"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "com.google.code.gson:gson:2.8.6"
}
5 changes: 5 additions & 0 deletions chartiq/docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### How to build documentation

Documentation is built with Dokka using the `dokkaHtml` task. Configuration in chartiq/build.gradle.

Documentation also includes chartiq styling, which is in chartiq/docs/chartiq.css. In order to apply that to the docs, copy the contents and add them to chartiq/docs/styles/main.css after running `dokkaHtml`.
51 changes: 51 additions & 0 deletions chartiq/docs/chartiq.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#main {
margin-top: 68px;
}

#logo {
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 0;
height: 68px;
width: 100vw;
background-image: url(https://documentation.chartiq.com/img/CIQ_logo_full_negative.png);
background-color: #131d24;
background-size: 121px 45px;
background-position: 20px center;
}

#logo::after {
content: "Native Android SDK";
position: absolute;
left: 160px;
color: white;
font-size: 16px;
top: 24px;
}

#leftColumn {
border-right: 0px;
align-items: center;
margin-top: 68px;
}

#paneSearch {
display: flex;
width: calc(100% - 1px);
align-items: center;
justify-content: center;
}

.paneSearchInputWrapper {
width: 248px;
}

#paneSearch, #sideMenu {
border-right: 1px solid #DADFE6;
}

.platform-tag.jvm-like {
background-color: rgb(59, 114, 98);
}
Loading