-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart 6 #1
Open
ChristopherTRoy
wants to merge
3
commits into
applibgroup:main
Choose a base branch
from
ChristopherTRoy:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Smart 6 #1
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,2 @@ | ||
# SmartWatch | ||
### A watch design UI library developed by Christopher Roy |
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,38 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
apply plugin: 'com.huawei.ohos.app' | ||
|
||
//For instructions on signature configuration, see https://developer.harmonyos.com/en/docs/documentation/doc-guides/ide_debug_device-0000001053822404#EN-US_TOPIC_0000001154985555__section1112183053510 | ||
ohos { | ||
compileSdkVersion 5 | ||
defaultConfig { | ||
compatibleSdkVersion 4 | ||
} | ||
} | ||
|
||
buildscript { | ||
repositories { | ||
maven { | ||
url 'https://repo.huaweicloud.com/repository/maven/' | ||
} | ||
maven { | ||
url 'https://developer.huawei.com/repo/' | ||
} | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.huawei.ohos:hap:2.4.4.2' | ||
classpath 'com.huawei.ohos:decctest:1.2.4.0' | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
maven { | ||
url 'https://repo.huaweicloud.com/repository/maven/' | ||
} | ||
maven { | ||
url 'https://developer.huawei.com/repo/' | ||
} | ||
jcenter() | ||
} | ||
} |
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,27 @@ | ||
apply plugin: 'com.huawei.ohos.hap' | ||
apply plugin: 'com.huawei.ohos.decctest' | ||
//For instructions on signature configuration, see https://developer.harmonyos.com/en/docs/documentation/doc-guides/ide_debug_device-0000001053822404#EN-US_TOPIC_0000001154985555__section1112183053510 | ||
ohos { | ||
compileSdkVersion 5 | ||
defaultConfig { | ||
compatibleSdkVersion 4 | ||
} | ||
buildTypes { | ||
release { | ||
proguardOpt { | ||
proguardEnabled false | ||
rulesFiles 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
} | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) | ||
testImplementation 'junit:junit:4.13' | ||
ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100' | ||
} | ||
decc { | ||
supportType = ['html','xml'] | ||
} |
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 @@ | ||
{} |
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 @@ | ||
# config module specific ProGuard rules here. |
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,57 @@ | ||
{ | ||
"app": { | ||
"bundleName": "com.example.watchface", | ||
"vendor": "example", | ||
"version": { | ||
"code": 1000000, | ||
"name": "1.0.0" | ||
} | ||
}, | ||
"deviceConfig": {}, | ||
"module": { | ||
"package": "com.example.watchface", | ||
"name": ".MyApplication", | ||
"mainAbility": "com.example.watchface.MainAbility", | ||
"deviceType": [ | ||
"wearable" | ||
], | ||
"distro": { | ||
"deliveryWithInstall": true, | ||
"moduleName": "entry", | ||
"moduleType": "entry", | ||
"installationFree": true | ||
}, | ||
"abilities": [ | ||
{ | ||
"skills": [ | ||
{ | ||
"entities": [ | ||
"entity.system.home" | ||
], | ||
"actions": [ | ||
"action.system.home" | ||
] | ||
} | ||
], | ||
"name": "com.example.watchface.MainAbility", | ||
"icon": "$media:icon", | ||
"description": "$string:mainability_description", | ||
"label": "$string:entry_MainAbility", | ||
"type": "page", | ||
"launchType": "standard" | ||
} | ||
], | ||
"js": [ | ||
{ | ||
"pages": [ | ||
"pages/index/index" | ||
], | ||
"name": "default", | ||
"window": { | ||
"designWidth": 454, | ||
"autoDesignWidth": true | ||
} | ||
} | ||
] | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
entry/src/main/java/com/example/watchface/MainAbility.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,16 @@ | ||
package com.example.watchface; | ||
|
||
import ohos.ace.ability.AceAbility; | ||
import ohos.aafwk.content.Intent; | ||
|
||
public class MainAbility extends AceAbility { | ||
@Override | ||
public void onStart(Intent intent) { | ||
super.onStart(intent); | ||
} | ||
|
||
@Override | ||
public void onStop() { | ||
super.onStop(); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
entry/src/main/java/com/example/watchface/MyApplication.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,10 @@ | ||
package com.example.watchface; | ||
|
||
import ohos.aafwk.ability.AbilityPackage; | ||
|
||
public class MyApplication extends AbilityPackage { | ||
@Override | ||
public void onInitialize() { | ||
super.onInitialize(); | ||
} | ||
} |
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,8 @@ | ||
export default { | ||
onCreate() { | ||
console.info('AceApplication onCreate'); | ||
}, | ||
onDestroy() { | ||
console.info('AceApplication onDestroy'); | ||
} | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions
10
entry/src/main/js/default/common/images/calories_range-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions
10
entry/src/main/js/default/common/images/calories_range.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add copyright details in all new js and java files