Android Open Source - awareness-android Geofences Activity






From Project

Back to project page awareness-android.

License

The source code is released under:

MIT License

If you think the Android project awareness-android 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.contexthub.awareness.ui;
//  www  .j  a  v  a2 s  .c o  m
import com.contexthub.awareness.R;
import com.contexthub.awareness.ui.widget.Item;

/**
 * Created by andy on 11/10/14.
 */
public class GeofencesActivity extends ChildListActivity {

    @Override
    protected Item[] getItems() {
        return new Item[] {
                new Item(R.string.create_geofence, R.string.create_geofence_description),
                new Item(R.string.find_by_tagged, R.string.find_by_tagged_geofence_description),
                new Item(R.string.find_by_id, R.string.find_by_id_geofence_description),
                new Item(R.string.update_geofence, R.string.update_geofence_description),
                new Item(R.string.delete_geofence, R.string.delete_geofence_description),
        };
    }

    @Override
    protected String getEventName() {
        return "geofence_event";
    }
}




Java Source Code List

com.contexthub.awareness.ApplicationTest.java
com.contexthub.awareness.AwarenessApp.java
com.contexthub.awareness.push.NotificationHandler.java
com.contexthub.awareness.ui.BeaconsActivity.java
com.contexthub.awareness.ui.ChildListActivity.java
com.contexthub.awareness.ui.GeofencesActivity.java
com.contexthub.awareness.ui.MainActivity.java
com.contexthub.awareness.ui.PushActivity.java
com.contexthub.awareness.ui.VaultActivity.java
com.contexthub.awareness.ui.fragments.AboutFragment.java
com.contexthub.awareness.ui.fragments.ContextualObjectsFragment.java
com.contexthub.awareness.ui.widget.DividerItemDecoration.java
com.contexthub.awareness.ui.widget.Item.java
com.contexthub.awareness.ui.widget.ItemsAdapter.java
com.contexthub.awareness.ui.widget.SimpleSectionedRecyclerViewAdapter.java
com.contexthub.awareness.ui.widget.ViewHolder.java