2013-10-01 19:39:20 -04:00
|
|
|
package com.uncc.gameday.activities;
|
|
|
|
|
2013-10-04 21:17:50 -04:00
|
|
|
import java.util.List;
|
2013-10-01 19:39:20 -04:00
|
|
|
|
2013-10-04 21:17:50 -04:00
|
|
|
import twitter4j.Status;
|
|
|
|
import twitter4j.Twitter;
|
|
|
|
import twitter4j.TwitterException;
|
|
|
|
import twitter4j.TwitterFactory;
|
2013-10-04 20:22:54 -04:00
|
|
|
|
2013-10-04 21:17:50 -04:00
|
|
|
import android.content.Context;
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
|
|
|
import com.uncc.gameday.R;
|
2013-10-07 14:20:20 -04:00
|
|
|
import com.uncc.gameday.alerts.AlertFetcher;
|
2013-10-01 19:39:20 -04:00
|
|
|
|
2013-10-04 21:17:50 -04:00
|
|
|
public class Home extends MenuActivity {
|
|
|
|
|
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
setContentView(R.layout.activity_home);
|
|
|
|
|
|
|
|
Context ctx = getApplicationContext();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
private void getRecentAlerts() {
|
|
|
|
// Responsible for discovering what the most recent alerts are and showing them.
|
|
|
|
// Likely should be implemented by querying a local DB of alerts, grabbing recent 20.
|
2013-10-07 14:20:20 -04:00
|
|
|
new AlertFetcher().fetchAlerts();
|
2013-10-04 21:17:50 -04:00
|
|
|
}
|
2013-10-01 19:39:20 -04:00
|
|
|
}
|