Android Open Source - awareness-android Beacons 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;
//  ww  w.  java2s . com
import com.contexthub.awareness.R;
import com.contexthub.awareness.ui.widget.Item;

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

    @Override
    protected Item[] getItems() {
        return new Item[] {
                new Item(R.string.create_beacon, R.string.create_beacon_description),
                new Item(R.string.find_by_tagged, R.string.find_by_tagged_beacon_description),
                new Item(R.string.find_by_id, R.string.find_by_id_beacon_description),
                new Item(R.string.update_beacon, R.string.update_beacon_description),
                new Item(R.string.delete_beacon, R.string.delete_beacon_description),
        };
    }

    @Override
    protected String getEventName() {
        return "beacon_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