Commit 03f45ff0 authored by Romain Hunault's avatar Romain Hunault

Rebrand app

parent 9453ca2a
......@@ -5,8 +5,8 @@
# Good Weather
Open source weather app for Android.
[<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/repository/browse/?fdid=org.asdtm.goodweather)
[<img src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' alt='Get it on Google Play' width='210' heigh='80'>](https://play.google.com/store/apps/details?id=org.asdtm.goodweather)
[<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/repository/browse/?fdid=foundation.e.weather)
[<img src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' alt='Get it on Google Play' width='210' heigh='80'>](https://play.google.com/store/apps/details?id=foundation.e.weather)
## Features
* Different languages: Basque, Belarusian, Czech, English, French, German, Japanese, Spanish, Polish, Russian
......
......@@ -4,7 +4,7 @@ android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
applicationId "org.asdtm.goodweather"
applicationId "foundation.e.weather"
minSdkVersion 14
targetSdkVersion 25
versionCode 13
......@@ -19,7 +19,7 @@ android {
variant.outputs.each { output ->
output.outputFile = new File(
output.outputFile.parent,
output.outputFile.name.replace("app-release.apk", "GoodWeather-release-${variant.versionName}.apk"))
output.outputFile.name.replace("app-release.apk", "Weather-release-${variant.versionName}.apk"))
}
}
}
......@@ -29,7 +29,7 @@ android {
variant.outputs.each { output ->
output.outputFile = new File(
output.outputFile.parent,
output.outputFile.name.replace("app-debug.apk", "GoodWeather-debug-${variant.versionName}.apk"))
output.outputFile.name.replace("app-debug.apk", "Weather-debug-${variant.versionName}.apk"))
}
}
}
......
......@@ -16,4 +16,4 @@
# public *;
#}
-keep class org.asdtm.goodweather.model.WeatherForecast { *; }
\ No newline at end of file
-keep class foundation.e.weather.model.WeatherForecast { *; }
\ No newline at end of file
package org.asdtm.goodweather;
package foundation.e.weather;
import android.app.Application;
import android.test.ApplicationTestCase;
......
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:tools="http://schemas.android.com/tools"
package="org.asdtm.goodweather"
package="foundation.e.weather"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
......@@ -12,7 +12,7 @@
<uses-permission android:name="android.permission.VIBRATE"/>
<application
android:name=".GoodWeatherApp"
android:name=".WeatherApp"
android:icon="@mipmap/ic_launcher"
android:installLocation="internalOnly"
android:label="@string/app_name"
......@@ -91,9 +91,9 @@
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
<action android:name="android.intent.action.LOCALE_CHANGED"/>
<action android:name="org.asdtm.goodweather.action.FORCED_APPWIDGET_UPDATE"/>
<action android:name="org.asdtm.goodweather.action.APPWIDGET_THEME_CHANGED"/>
<action android:name="org.asdtm.goodweather.action.APPWIDGET_UPDATE_PERIOD_CHANGED"/>
<action android:name="foundation.e.weather.action.FORCED_APPWIDGET_UPDATE"/>
<action android:name="foundation.e.weather.action.APPWIDGET_THEME_CHANGED"/>
<action android:name="foundation.e.weather.action.APPWIDGET_UPDATE_PERIOD_CHANGED"/>
</intent-filter>
<meta-data
......@@ -104,9 +104,9 @@
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
<action android:name="android.intent.action.LOCALE_CHANGED"/>
<action android:name="org.asdtm.goodweather.action.FORCED_APPWIDGET_UPDATE"/>
<action android:name="org.asdtm.goodweather.action.APPWIDGET_THEME_CHANGED"/>
<action android:name="org.asdtm.goodweather.action.APPWIDGET_UPDATE_PERIOD_CHANGED"/>
<action android:name="foundation.e.weather.action.FORCED_APPWIDGET_UPDATE"/>
<action android:name="foundation.e.weather.action.APPWIDGET_THEME_CHANGED"/>
<action android:name="foundation.e.weather.action.APPWIDGET_UPDATE_PERIOD_CHANGED"/>
</intent-filter>
<meta-data
......@@ -120,4 +120,4 @@
<service android:name=".service.CurrentWeatherService"/>
<service android:name=".service.LocationUpdateService" />
</application>
</manifest>
\ No newline at end of file
</manifest>
package org.asdtm.goodweather;
package foundation.e.weather;
import android.content.res.Configuration;
import android.os.Bundle;
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.app.ProgressDialog;
import android.content.Intent;
......@@ -20,8 +20,8 @@ import android.view.MenuItem;
import android.view.View;
import android.widget.TextView;
import org.asdtm.goodweather.service.CurrentWeatherService;
import org.asdtm.goodweather.utils.Utils;
import foundation.e.weather.service.CurrentWeatherService;
import foundation.e.weather.utils.Utils;
public class BaseActivity extends AppCompatActivity {
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.app.Dialog;
import android.app.DialogFragment;
......@@ -14,8 +14,8 @@ import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import org.asdtm.goodweather.utils.Constants;
import org.asdtm.goodweather.utils.Utils;
import foundation.e.weather.utils.Constants;
import foundation.e.weather.utils.Utils;
public class BitcoinDonationDialog extends DialogFragment {
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.content.Context;
import android.net.ConnectivityManager;
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.app.ProgressDialog;
import android.content.SharedPreferences;
......@@ -21,15 +21,15 @@ import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet;
import com.github.mikephil.charting.interfaces.datasets.IDataSet;
import org.asdtm.goodweather.model.WeatherForecast;
import org.asdtm.goodweather.utils.AppPreference;
import org.asdtm.goodweather.utils.Constants;
import org.asdtm.goodweather.utils.CustomValueFormatter;
import org.asdtm.goodweather.utils.LanguageUtil;
import org.asdtm.goodweather.utils.PreferenceUtil;
import org.asdtm.goodweather.utils.XAxisValueFormatter;
import org.asdtm.goodweather.utils.Utils;
import org.asdtm.goodweather.utils.YAxisValueFormatter;
import foundation.e.weather.model.WeatherForecast;
import foundation.e.weather.utils.AppPreference;
import foundation.e.weather.utils.Constants;
import foundation.e.weather.utils.CustomValueFormatter;
import foundation.e.weather.utils.LanguageUtil;
import foundation.e.weather.utils.PreferenceUtil;
import foundation.e.weather.utils.XAxisValueFormatter;
import foundation.e.weather.utils.Utils;
import foundation.e.weather.utils.YAxisValueFormatter;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
......@@ -45,7 +45,7 @@ import java.util.Date;
import java.util.List;
import java.util.Locale;
import static org.asdtm.goodweather.utils.Utils.getWeatherForecastUrl;
import static foundation.e.weather.utils.Utils.getWeatherForecastUrl;
public class GraphsActivity extends BaseActivity {
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.os.Build;
import android.os.Bundle;
......@@ -19,7 +19,7 @@ public class LicenseActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
((GoodWeatherApp) getApplication()).applyTheme(this);
((WeatherApp) getApplication()).applyTheme(this);
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_license);
setupActionBar();
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.Manifest;
import android.app.ProgressDialog;
......@@ -40,17 +40,17 @@ import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import org.asdtm.goodweather.adapter.WeatherForecastAdapter;
import org.asdtm.goodweather.model.CitySearch;
import org.asdtm.goodweather.model.Weather;
import org.asdtm.goodweather.model.WeatherForecast;
import org.asdtm.goodweather.service.CurrentWeatherService;
import org.asdtm.goodweather.utils.AppPreference;
import org.asdtm.goodweather.utils.Constants;
import org.asdtm.goodweather.utils.LanguageUtil;
import org.asdtm.goodweather.utils.PermissionUtil;
import org.asdtm.goodweather.utils.PreferenceUtil;
import org.asdtm.goodweather.utils.Utils;
import foundation.e.weather.adapter.WeatherForecastAdapter;
import foundation.e.weather.model.CitySearch;
import foundation.e.weather.model.Weather;
import foundation.e.weather.model.WeatherForecast;
import foundation.e.weather.service.CurrentWeatherService;
import foundation.e.weather.utils.AppPreference;
import foundation.e.weather.utils.Constants;
import foundation.e.weather.utils.LanguageUtil;
import foundation.e.weather.utils.PermissionUtil;
import foundation.e.weather.utils.PreferenceUtil;
import foundation.e.weather.utils.Utils;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
......@@ -64,8 +64,8 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import static org.asdtm.goodweather.utils.AppPreference.saveLastUpdateTimeMillis;
import static org.asdtm.goodweather.utils.Utils.getWeatherForecastUrl;
import static foundation.e.weather.utils.AppPreference.saveLastUpdateTimeMillis;
import static foundation.e.weather.utils.Utils.getWeatherForecastUrl;
public class MainActivity extends BaseActivity implements AppBarLayout.OnOffsetChangedListener {
......@@ -128,7 +128,7 @@ public class MainActivity extends BaseActivity implements AppBarLayout.OnOffsetC
@Override
public void onCreate(Bundle savedInstanceState) {
((GoodWeatherApp) getApplication()).applyTheme(this);
((WeatherApp) getApplication()).applyTheme(this);
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mGetWeatherProgress = getProgressDialog();
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.app.SearchManager;
import android.content.Intent;
......@@ -22,9 +22,9 @@ import android.widget.Filter;
import android.widget.Filterable;
import android.widget.TextView;
import org.asdtm.goodweather.model.CitySearch;
import org.asdtm.goodweather.utils.CityParser;
import org.asdtm.goodweather.utils.Constants;
import foundation.e.weather.model.CitySearch;
import foundation.e.weather.utils.CityParser;
import foundation.e.weather.utils.Constants;
import java.util.ArrayList;
import java.util.List;
......@@ -44,7 +44,7 @@ public class SearchActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
((GoodWeatherApp) getApplication()).applyTheme(this);
((WeatherApp) getApplication()).applyTheme(this);
super.onCreate(savedInstanceState);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
getWindow().setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimaryDark));
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.Manifest;
import android.app.Activity;
......@@ -30,8 +30,8 @@ import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import org.asdtm.goodweather.service.NotificationService;
import org.asdtm.goodweather.utils.Constants;
import foundation.e.weather.service.NotificationService;
import foundation.e.weather.utils.Constants;
import java.util.List;
......@@ -41,7 +41,7 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
((GoodWeatherApp) getApplication()).applyTheme(this);
((WeatherApp) getApplication()).applyTheme(this);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
getWindow().setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimaryDark));
}
......@@ -173,7 +173,7 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
case Constants.PREF_THEME:
entrySummary(key);
if (changing) {
GoodWeatherApp app = (GoodWeatherApp) getActivity().getApplication();
WeatherApp app = (WeatherApp) getActivity().getApplication();
app.reloadTheme();
app.applyTheme(getActivity());
restartApp(getActivity());
......@@ -372,7 +372,7 @@ public class SettingsActivity extends AppCompatPreferenceActivity {
public static class SettingsAlertDialog extends DialogFragment {
private static final String ARG_MESSAGE_RES_ID = "org.asdtm.goodweather.message_res_id";
private static final String ARG_MESSAGE_RES_ID = "foundation.e.weather.message_res_id";
public SettingsAlertDialog newInstance(int messageResId) {
SettingsAlertDialog fragment = new SettingsAlertDialog();
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.app.Activity;
import android.app.Application;
import android.content.res.Configuration;
import org.asdtm.goodweather.utils.LanguageUtil;
import org.asdtm.goodweather.utils.PreferenceUtil;
import org.asdtm.goodweather.utils.PreferenceUtil.Theme;
import foundation.e.weather.utils.LanguageUtil;
import foundation.e.weather.utils.PreferenceUtil;
import foundation.e.weather.utils.PreferenceUtil.Theme;
public class GoodWeatherApp extends Application {
public class WeatherApp extends Application {
private static final String TAG = "GoodWeatherApp";
private static final String TAG = "WeatherApp";
private static Theme sTheme = Theme.light;
......
package org.asdtm.goodweather;
package foundation.e.weather;
import android.app.ProgressDialog;
import android.content.SharedPreferences;
......@@ -15,12 +15,12 @@ import android.view.View;
import android.widget.ImageView;
import android.widget.Toast;
import org.asdtm.goodweather.adapter.WeatherForecastAdapter;
import org.asdtm.goodweather.model.WeatherForecast;
import org.asdtm.goodweather.utils.AppPreference;
import org.asdtm.goodweather.utils.Constants;
import org.asdtm.goodweather.utils.LanguageUtil;
import org.asdtm.goodweather.utils.PreferenceUtil;
import foundation.e.weather.adapter.WeatherForecastAdapter;
import foundation.e.weather.model.WeatherForecast;
import foundation.e.weather.utils.AppPreference;
import foundation.e.weather.utils.Constants;
import foundation.e.weather.utils.LanguageUtil;
import foundation.e.weather.utils.PreferenceUtil;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
......@@ -33,7 +33,7 @@ import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import static org.asdtm.goodweather.utils.Utils.getWeatherForecastUrl;
import static foundation.e.weather.utils.Utils.getWeatherForecastUrl;
public class WeatherForecastActivity extends BaseActivity {
......@@ -47,7 +47,7 @@ public class WeatherForecastActivity extends BaseActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
((GoodWeatherApp) getApplication()).applyTheme(this);
((WeatherApp) getApplication()).applyTheme(this);
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_weather_forecast);
......
package org.asdtm.goodweather;
package foundation.e.weather;
import org.asdtm.goodweather.model.CitySearch;
import org.asdtm.goodweather.model.Weather;
import foundation.e.weather.model.CitySearch;
import foundation.e.weather.model.Weather;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
......
package org.asdtm.goodweather;
package foundation.e.weather;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import org.asdtm.goodweather.utils.Constants;
import org.asdtm.goodweather.utils.Utils;
import foundation.e.weather.utils.Constants;
import foundation.e.weather.utils.Utils;
public class WeatherRequest
{
......
package org.asdtm.goodweather.adapter;
package foundation.e.weather.adapter;
import android.content.Context;
import android.support.v4.app.FragmentManager;
......@@ -7,8 +7,8 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import org.asdtm.goodweather.R;
import org.asdtm.goodweather.model.WeatherForecast;
import foundation.e.weather.R;
import foundation.e.weather.model.WeatherForecast;
import java.util.List;
......
package org.asdtm.goodweather.adapter;
package foundation.e.weather.adapter;
import android.content.Context;
import android.graphics.Typeface;
......@@ -7,10 +7,10 @@ import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import org.asdtm.goodweather.R;
import org.asdtm.goodweather.fragment.ForecastBottomSheetDialogFragment;
import org.asdtm.goodweather.model.WeatherForecast;
import org.asdtm.goodweather.utils.Utils;
import foundation.e.weather.R;
import foundation.e.weather.fragment.ForecastBottomSheetDialogFragment;
import foundation.e.weather.model.WeatherForecast;
import foundation.e.weather.utils.Utils;
import java.text.SimpleDateFormat;
import java.util.Date;
......
package org.asdtm.goodweather.fragment;
package foundation.e.weather.fragment;
import android.graphics.Typeface;
import android.os.Bundle;
......@@ -9,9 +9,9 @@ import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import org.asdtm.goodweather.R;
import org.asdtm.goodweather.model.WeatherForecast;
import org.asdtm.goodweather.utils.Utils;
import foundation.e.weather.R;
import foundation.e.weather.model.WeatherForecast;
import foundation.e.weather.utils.Utils;
import java.util.Locale;
......
package org.asdtm.goodweather.model;
package foundation.e.weather.model;
public class CitySearch
{
......
package org.asdtm.goodweather.model;
package foundation.e.weather.model;
public class Weather {
......
package org.asdtm.goodweather.model;
package foundation.e.weather.model;
import java.io.Serializable;
......
package org.asdtm.goodweather.receiver;
package foundation.e.weather.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import org.asdtm.goodweather.service.NotificationService;
import org.asdtm.goodweather.utils.AppPreference;
import foundation.e.weather.service.NotificationService;
import foundation.e.weather.utils.AppPreference;
public class StartupReceiver extends BroadcastReceiver {
......
package org.asdtm.goodweather.service;
package foundation.e.weather.service;
import android.app.IntentService;
import android.content.Intent;
......@@ -6,12 +6,12 @@ import android.content.SharedPreferences;
import android.support.v4.content.LocalBroadcastManager;
import android.util.Log;
import org.asdtm.goodweather.ConnectionDetector;
import org.asdtm.goodweather.utils.AppPreference;
import org.asdtm.goodweather.utils.Constants;
import org.asdtm.goodweather.utils.LanguageUtil;
import org.asdtm.goodweather.utils.PreferenceUtil;
import org.asdtm.goodweather.utils.Utils;
import foundation.e.weather.ConnectionDetector;
import foundation.e.weather.utils.AppPreference;
import foundation.e.weather.utils.Constants;
import foundation.e.weather.utils.LanguageUtil;
import foundation.e.weather.utils.PreferenceUtil;
import foundation.e.weather.utils.Utils;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
......@@ -22,16 +22,16 @@ import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import static org.asdtm.goodweather.MainActivity.mCitySearch;
import static org.asdtm.goodweather.MainActivity.mWeather;
import static foundation.e.weather.MainActivity.mCitySearch;
import static foundation.e.weather.MainActivity.mWeather;
public class CurrentWeatherService extends IntentService {
private static final String TAG = "WeatherService";
public static final String ACTION_WEATHER_UPDATE_OK = "org.asdtm.goodweather.action.WEATHER_UPDATE_OK";
public static final String ACTION_WEATHER_UPDATE_FAIL = "org.asdtm.goodweather.action.WEATHER_UPDATE_FAIL";
public static final String ACTION_WEATHER_UPDATE_RESULT = "org.asdtm.goodweather.action.WEATHER_UPDATE_RESULT";
public static final String ACTION_WEATHER_UPDATE_OK = "foundation.e.weather.action.WEATHER_UPDATE_OK";
public static final String ACTION_WEATHER_UPDATE_FAIL = "foundation.e.weather.action.WEATHER_UPDATE_FAIL";
public static final String ACTION_WEATHER_UPDATE_RESULT = "foundation.e.weather.action.WEATHER_UPDATE_RESULT";
public CurrentWeatherService() {
super(TAG);
......
package org.asdtm.goodweather.service;
package foundation.e.weather.service;
import android.Manifest;
import android.app.Service;
......@@ -19,9 +19,9 @@ import android.os.Looper;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import org.asdtm.goodweather.utils.Constants;
import org.asdtm.goodweather.widget.LessWidgetService;
import org.asdtm.goodweather.widget.MoreWidgetService;
import foundation.e.weather.utils.Constants;
import foundation.e.weather.widget.LessWidgetService;
import foundation.e.weather.widget.MoreWidgetService;
import java.io.IOException;
import java.util.List;
......
package org.asdtm.goodweather.service;
package foundation.e.weather.service;
import android.app.AlarmManager;
import android.app.IntentService;
......@@ -12,17 +12,17 @@ import android.support.v4.app.NotificationCompat;
import android.support.v4.app.NotificationManagerCompat;
import android.util.Log;
import org.asdtm.goodweather.ConnectionDetector;
import org.asdtm.goodweather.MainActivity;
import org.asdtm.goodweather.R;
import org.asdtm.goodweather.WeatherJSONParser;
import org.asdtm.goodweather.WeatherRequest;
import org.asdtm.goodweather.model.Weather;
import org.asdtm.goodweather.utils.AppPreference;
import org.asdtm.goodweather.utils.Constants;
import org.asdtm.goodweather.utils.LanguageUtil;
import org.asdtm.goodweather.utils.PreferenceUtil;
import org.asdtm.goodweather.utils.Utils;
import foundation.e.weather.ConnectionDetector;
import foundation.e.weather.MainActivity;
import foundation.e.weather.R;
import foundation.e.weather.WeatherJSONParser;
import foundation.e.weather.WeatherRequest;
import foundation.e.weather.model.Weather;
import foundation.e.weather.utils.AppPreference;
import foundation.e.weather.utils.Constants;
import foundation.e.weather.utils.LanguageUtil;
import foundation.e.weather.utils.PreferenceUtil;
import foundation.e.weather.utils.Utils;
import org.json.JSONException;
import java.io.IOException;
......
package org.asdtm.goodweather.utils;
package foundation.e.weather.utils;
public class ApiKeys {
......
package org.asdtm.goodweather.utils;
package foundation.e.weather.utils;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
......@@ -8,9 +8,9 @@ import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.support.v4.content.ContextCompat;
import org.asdtm.goodweather.R;
import org.asdtm.goodweather.model.Weather;
import org.asdtm.goodweather.model.WeatherForecast;
import foundation.e.weather.R;
import foundation.e.weather.model.Weather;
import foundation.e.weather.model.WeatherForecast;
import java.util.List;
......
package org.asdtm.goodweather.utils;
package foundation.e.weather.utils;
import android.app.AlarmManager;
import android.app.PendingIntent;
......
package org.asdtm.goodweather.utils;
package foundation.e.weather.utils;
import android.net.Uri;
import org.asdtm.goodweather.model.CitySearch;
import foundation.e.weather.model.CitySearch;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
......
package org.asdtm.goodweather.utils;
package foundation.e.weather.utils;
public class Constants {
......@@ -56,11 +56,11 @@ public class Constants {
* Widget action constants
*/
public static final String ACTION_FORCED_APPWIDGET_UPDATE =
"org.asdtm.goodweather.action.FORCED_APPWIDGET_UPDATE";
"foundation.e.weather.action.FORCED_APPWIDGET_UPDATE";
public static final String ACTION_APPWIDGET_THEME_CHANGED =
"org.asdtm.goodweather.action.APPWIDGET_THEME_CHANGED";
"foundation.e.weather.action.APPWIDGET_THEME_CHANGED";
public static final String ACTION_APPWIDGET_UPDATE_PERIOD_CHANGED =
"org.asdtm.goodweather.action.APPWIDGET_UPDATE_PERIOD_CHANGED";
"foundation.e.weather.action.APPWIDGET_UPDATE_PERIOD_CHANGED";