Android Open Source - Weather-Station Weather Station Application






From Project

Back to project page Weather-Station.

License

The source code is released under:

MIT License

If you think the Android project Weather-Station listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.kresshy.weatherstation;
//from   ww w .  j a  v a  2s .  c o  m
import android.app.Application;

import com.kresshy.weatherstation.bluetooth.BluetoothService;
import com.kresshy.weatherstation.bluetooth.BluetoothService.State;

public class WeatherStationApplication extends Application {
  
  private BluetoothService mConnectionService = null;
  private State state = State.disconnected;
  
  @Override
  public void onCreate() {
    
  }
  
  public BluetoothService getConnectionService() {
    return mConnectionService;
  }

  public void setConnectionService(BluetoothService mConnectionService) {
    this.mConnectionService = mConnectionService;
  }

  public State getState() {
    return state;
  }

  public void setState(State state) {
    this.state = state;
  }

}




Java Source Code List

com.kresshy.weatherstation.ApplicationTest.java
com.kresshy.weatherstation.MainActivity.java
com.kresshy.weatherstation.SidusProgramActivity.java
com.kresshy.weatherstation.SidusStartActivity.java
com.kresshy.weatherstation.WeatherStationApplication.java
com.kresshy.weatherstation.bluetooth.BluetoothService.java
com.kresshy.weatherstation.fragment.BluetoothDeviceListFragmentTest.java
com.kresshy.weatherstation.fragment.BluetoothDeviceListFragment.java
com.kresshy.weatherstation.fragment.DashboardFragment.java
com.kresshy.weatherstation.fragment.DeviceInformationFragment.java
com.kresshy.weatherstation.fragment.NavigationDrawerFragment.java
com.kresshy.weatherstation.fragment.dummy.DummyContent.java