Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9295f18
Update gradle dependencies
bilal-alsharifi Apr 29, 2019
59b6868
Format code and fix some warnings
bilal-alsharifi Apr 29, 2019
e239151
Remove ProxyALM usage and use SdlManager instead
bilal-alsharifi Apr 29, 2019
3322001
Use SoftButtonmanager
bilal-alsharifi Apr 29, 2019
dee3f93
Updated method showConditions(boolean speak) to use sdl managers
Jan 15, 2020
27a8bc6
Update showNoConditionsAvail method to use sdlManager
Jan 15, 2020
b9028df
Update showWeatherError Method to use sdl managers
Jan 15, 2020
2e59e66
Updated writeDisplay method to use managers
Jan 15, 2020
e82cbac
Update showAlerts() method to use sdl Managers
Jan 15, 2020
8f3f85a
Update to use Choice managers
Jan 16, 2020
b2c7f3f
Added method getArtWork to get images for choiceManagers. Updated met…
Jan 16, 2020
1a409cd
App Icon issue
Jan 16, 2020
ba6741e
Updated showWelcomMessage() method to use managers
Jan 16, 2020
cfa5781
working on choice sets for forcast
Jan 17, 2020
ceab266
fixed issue with choice manager
Jan 21, 2020
d386ddc
redesigned menu
Jan 21, 2020
fbf3514
updating menu manager in progress testing
Jan 22, 2020
51e3ae5
Menu Manager is up and good
Jan 23, 2020
1e0cac7
Added lock screen capabilities
Jan 23, 2020
61ffeec
Cleaned up code and added comments
Jan 23, 2020
cddaa04
Fixed issue when switching form hourly to daily forecast.
Jan 23, 2020
191b78b
Updated a showRequest to use SdlManager in Forecast Items, Formatted …
Apr 29, 2020
72c3d82
Remove extra space
Apr 29, 2020
165e660
Remove space and got ride of custom lock screen
Apr 30, 2020
71e4759
Fixed welcome Screen, Aligned with IOS on preset buttons and data dis…
May 5, 2020
77d5b90
Fix welcomScreen skip
May 5, 2020
0069d8c
Removed unused proxy class, fixed proxy reset method
May 5, 2020
2e75d38
Code cleanup in sdlService
May 5, 2020
4a36a35
Added TCP connection instructions along with TCP connection fix for b…
May 7, 2020
f2477ae
Added Build Variant flavors of TCP and Multiplex, Fixed issue with we…
May 11, 2020
022ce03
Fixed issue with Menu and Alerts
May 11, 2020
b21ccb4
Merge pull request #15 from SmartDeviceLink-Examples/feature/4.10_upd…
May 12, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified MobileWeather/.idea/caches/build_file_checksums.ser
Binary file not shown.
Binary file added MobileWeather/.idea/caches/gradle_models.ser
Binary file not shown.
134 changes: 109 additions & 25 deletions MobileWeather/.idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions MobileWeather/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions MobileWeather/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion MobileWeather/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions MobileWeather/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion MobileWeather/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
flavorDimensions "default"
productFlavors{
multi_sec_off {
buildConfigField 'String', 'TRANSPORT', '"MULTI"'
buildConfigField 'String', 'SECURITY', '"OFF"'
}
tcp {
buildConfigField 'String', 'TRANSPORT', '"TCP"'
buildConfigField 'String', 'SECURITY', '"OFF"'
}
}
lintOptions {
disable 'GoogleAppIndexingWarning'
}
}

dependencies {
Expand All @@ -25,5 +39,5 @@ dependencies {
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.smartdevicelink:sdl_android:4.+'
implementation 'net.hockeyapp.android:HockeySDK:5.1.0'
implementation 'com.google.android.gms:play-services-location:15.0.1'
implementation 'com.google.android.gms:play-services-location:16.0.0'
}
45 changes: 22 additions & 23 deletions MobileWeather/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.sdl.mobileweather">


Expand All @@ -11,68 +12,66 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<!-- Required for current location -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<!-- Required for ??? -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<!-- Required to keep device awake during weather data processing -->
<uses-permission android:name="android.permission.WAKE_LOCK" />

<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<application
android:name="com.sdl.mobileweather.smartdevicelink.SmartDeviceLinkApplication"
android:name="com.sdl.mobileweather.smartdevicelink.SdlApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:allowBackup="true" >
tools:ignore="GoogleAppIndexingWarning">

<activity
android:name="com.sdl.mobileweather.activity.MainActivity"
android:label="@string/title_activity_main"
android:configChanges="orientation"
android:screenOrientation="portrait" >
android:label="@string/title_activity_main"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name="com.sdl.mobileweather.activity.LockScreenActivity"
android:label="Locked"
android:configChanges="orientation"
android:screenOrientation="portrait" >
</activity>
<activity android:name="net.hockeyapp.android.UpdateActivity" />

<service android:name="com.sdl.mobileweather.smartdevicelink.SmartDeviceLinkService" >
</service>
<service android:name="com.sdl.mobileweather.wunderground.WUndergroundService" >
</service>
<service android:name="com.sdl.mobileweather.forecastio.ForecastIoService" >
</service>
<activity android:name="com.smartdevicelink.managers.lockscreen.SDLLockScreenActivity"
android:launchMode="singleTop"/>

<service android:name="com.sdl.mobileweather.smartdevicelink.SdlService"/>
<service android:name="com.sdl.mobileweather.wunderground.WUndergroundService"/>
<service android:name="com.sdl.mobileweather.forecastio.ForecastIoService"/>

<service
android:name="com.sdl.mobileweather.smartdevicelink.SdlRouterService"
android:exported="true"
android:process="com.smartdevicelink.router">
<intent-filter>
<action android:name="com.smartdevicelink.router.service"/>
<action android:name="com.smartdevicelink.router.service" />
</intent-filter>
<meta-data android:name="@string/sdl_router_service_version_name" android:value="@integer/sdl_router_service_version_value" />
<meta-data
android:name="@string/sdl_router_service_version_name"
android:value="@integer/sdl_router_service_version_value" />
</service>

<receiver android:name="com.sdl.mobileweather.smartdevicelink.SmartDeviceLinkReceiver" >
<receiver android:name="com.sdl.mobileweather.smartdevicelink.SdlReceiver">
<intent-filter>
<action android:name="android.bluetooth.device.action.ACL_CONNECTED" />
<action android:name="sdl.router.startservice" />
</intent-filter>
</receiver>

<receiver android:name="com.sdl.mobileweather.weather.WeatherUpdateWakefulReceiver" >
</receiver>
<receiver android:name="com.sdl.mobileweather.weather.WeatherUpdateWakefulReceiver"/>

<meta-data
android:name="com.google.android.gms.version"
Expand Down
Loading