forked from ysavary/WindMobile-Android
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yann Savary <yann.savary@gmail.com>
- Loading branch information
Showing
121 changed files
with
4,822 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,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="6" | ||
android:versionName="1.0" package="ch.windmobile" android:installLocation="auto" android:debuggable="false"> | ||
<application android:icon="@drawable/windmobile" android:label="@string/app_name" android:name="WindMobile" | ||
android:theme="@android:style/Theme.NoTitleBar"> | ||
<uses-library android:name="com.google.android.maps" /> | ||
|
||
<activity android:label="@string/app_name" android:name=".activity.StationTabActivity"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".activity.StationListActivity" /> | ||
<activity android:label="@string/app_name" android:name=".activity.StationBrowsingActivity" /> | ||
<activity android:label="@string/app_name" android:name=".activity.StationMapActivity" /> | ||
<activity android:label="@string/app_name" android:name=".activity.PreferencesActivity" /> | ||
<activity android:label="@string/widget_configuration_activity_name" android:name=".activity.WidgetConfigurationActivity" | ||
android:theme="@android:style/Theme.Dialog"> | ||
<intent-filter> | ||
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<receiver android:name="WidgetProvider" android:label="@string/app_name"> | ||
<intent-filter> | ||
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> | ||
</intent-filter> | ||
<meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_provider" /> | ||
</receiver> | ||
|
||
<service android:name=".WidgetProvider$UpdateService" /> | ||
</application> | ||
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="8" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | ||
</manifest> |
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,15 @@ | ||
# This file is automatically generated by Android Tools. | ||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
# | ||
# This file must be checked in Version Control Systems. | ||
# | ||
# To customize properties used by the Ant build system use, | ||
# "build.properties", and override values to adapt the script to your | ||
# project structure. | ||
|
||
# Indicates whether an apk should be generated for each density. | ||
split.density=false | ||
# Project target. | ||
target=Google Inc.:Google APIs:8 | ||
sdk-folder=Q:/android-sdk-windows-1.1_r1 | ||
apk-configurations= |
Binary file not shown.
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,3 @@ | ||
Windverhältnisse in Echtzeit für Gleitschirm Standorte. | ||
|
||
Dieses Programm verwendet die infos von den Wetterstationen von JDC (meteo.jdc.ch - 3 vorhanden). Es zeigt die Stärke und Richtung des Windes, Temperatur und Feuchtigkeit der verschiedenen Flug Standorte. |
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,3 @@ | ||
Permet de consulter en temps réel les conditions aérologiques des sites de vol libre. | ||
|
||
Cette application utilise le réseau des stations météo JDC (meteo.jdc.ch - 3 balises à ce jour). Elle affiche la force et la direction du vent, la température et l'humidité de l'air des différents sites de vols. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<alpha xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator" | ||
android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="500" /> |
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,3 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<alpha xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator" | ||
android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="500" /> |
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="500" /> | ||
</set> |
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<translate android:fromXDelta="0" android:toXDelta="-100%p" android:duration="500" /> | ||
</set> |
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<translate android:fromXDelta="-100%p" android:toXDelta="0" android:duration="500" /> | ||
</set> |
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<translate android:fromXDelta="0" android:toXDelta="100%p" android:duration="500" /> | ||
</set> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_pressed="true" android:drawable="@drawable/arrow_left_pressed" /> | ||
<item android:drawable="@drawable/arrow_left_default" /> | ||
</selector> |
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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_pressed="true" android:drawable="@drawable/arrow_right_pressed" /> | ||
<item android:drawable="@drawable/arrow_right_default" /> | ||
</selector> |
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<gradient android:angle="90" android:startColor="#252ccb" android:endColor="#a7a9cb" /> | ||
</shape> |
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,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> | ||
<gradient android:startColor="#A0000000" android:endColor="#A0000000" android:angle="270" /> | ||
<corners android:bottomRightRadius="12dp" android:bottomLeftRadius="12dp" android:topLeftRadius="12dp" | ||
android:topRightRadius="12dp" /> | ||
<stroke android:width="2dp" android:color="#FFFFFF" /> | ||
</shape> |
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,3 @@ | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:left="5dp" android:top="5dp" android:right="5dp" android:bottom="5dp" android:drawable="@drawable/rounded_box" /> | ||
</layer-list> |
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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_enabled="false" android:drawable="@drawable/btn_zoom_down_disabled" /> | ||
<item android:state_pressed="true" android:drawable="@drawable/btn_zoom_down_pressed" /> | ||
<item android:drawable="@drawable/btn_zoom_down_normal" /> | ||
</selector> |
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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_enabled="false" android:drawable="@drawable/btn_zoom_up_disabled" /> | ||
<item android:state_pressed="true" android:drawable="@drawable/btn_zoom_up_pressed" /> | ||
<item android:drawable="@drawable/btn_zoom_up_normal" /> | ||
</selector> |
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,54 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/station_data" | ||
android:orientation="vertical" android:background="@drawable/widget_background" android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" android:padding="5sp"> | ||
|
||
<RelativeLayout android:id="@+id/station_view" android:layout_width="fill_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<TextView android:id="@+id/station_name" style="@style/map_value" android:textSize="17sp" | ||
android:layout_width="wrap_content" android:layout_height="wrap_content" /> | ||
|
||
<TextView android:id="@+id/station_lastUpdate" style="@style/map_title" android:layout_toRightOf="@id/station_name" | ||
android:layout_alignBaseline="@id/station_name" android:gravity="right" android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" android:textSize="9sp" /> | ||
</RelativeLayout> | ||
|
||
<LinearLayout android:id="@+id/wind_view" android:orientation="horizontal" android:layout_width="fill_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<RelativeLayout android:id="@+id/wind_last_view" android:layout_weight="1" android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" android:paddingLeft="4sp" android:paddingRight="4sp" | ||
android:paddingBottom="4sp"> | ||
|
||
<TextView android:id="@+id/wind_last_title" style="@style/map_title" android:text="@string/wind_last_title" | ||
android:gravity="left" android:layout_width="wrap_content" android:layout_height="wrap_content" /> | ||
|
||
<TextView android:id="@+id/wind_last_average_unit" style="@style/map_label" android:layout_below="@id/wind_last_title" | ||
android:layout_alignParentRight="true" android:layout_marginTop="10sp" android:text="@string/kmh_unit" | ||
android:gravity="right" android:layout_width="wrap_content" android:layout_height="wrap_content" | ||
android:paddingLeft="10sp" /> | ||
|
||
<TextView android:id="@+id/wind_last_average" style="@style/map_value" android:layout_toLeftOf="@id/wind_last_average_unit" | ||
android:layout_alignBaseline="@id/wind_last_average_unit" android:textSize="25sp" android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" /> | ||
|
||
<TextView android:id="@+id/wind_direction" style="@style/map_value" android:layout_toLeftOf="@+id/wind_last_average" | ||
android:layout_alignBaseline="@id/wind_last_average_unit" android:textSize="25sp" android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" android:paddingRight="20sp" /> | ||
|
||
<TextView android:id="@+id/wind_last_max_unit" style="@style/map_label" android:layout_below="@id/wind_last_average_unit" | ||
android:layout_alignParentRight="true" android:layout_marginTop="10sp" android:text="@string/kmh_unit" | ||
android:gravity="right" android:layout_width="wrap_content" android:layout_height="wrap_content" | ||
android:paddingLeft="10sp" /> | ||
|
||
<TextView android:id="@+id/wind_last_max" style="@style/map_value" android:layout_toLeftOf="@id/wind_last_max_unit" | ||
android:layout_alignBaseline="@id/wind_last_max_unit" android:textSize="15sp" android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" android:paddingLeft="25sp" /> | ||
|
||
<TextView android:id="@+id/wind_last_max_label" style="@style/map_label" android:layout_toLeftOf="@id/wind_trend" | ||
android:layout_alignBaseline="@id/wind_last_max_unit" android:text="@string/wind_max_label" | ||
android:layout_width="fill_parent" android:layout_height="wrap_content" /> | ||
</RelativeLayout> | ||
</LinearLayout> | ||
</LinearLayout> |
Oops, something went wrong.