Android Open Source - FirePhoneDemos Fire Fly Phone Activity






From Project

Back to project page FirePhoneDemos.

License

The source code is released under:

Apache License

If you think the Android project FirePhoneDemos 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.zappos.firephone.firefly;
//from   ww w  .j  ava 2s  .  c om
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import com.zappos.firephone.R;

import butterknife.ButterKnife;
import butterknife.InjectView;

/**
 * An activity that is launched from a fire fly event to handle phone numbers.
 */
public class FireFlyPhoneActivity extends Activity {

    @InjectView(R.id.tv_phone)
    TextView mTvPhone;

    // Get the intent that started this Activity and display the associated product data.
    @Override
    public void onCreate(Bundle b) {
        super.onCreate(b);
        setContentView(R.layout.activity_fire_fly_phone);

        ButterKnife.inject(this);

        final String phone = getIntent().getStringExtra(FireFlyDigitalEntityUI.EXTRA_PHONE);
        mTvPhone.setText(phone);
    }
}




Java Source Code List

com.zappos.firephone.ApplicationTest.java
com.zappos.firephone.activity.BaseActivity.java
com.zappos.firephone.activity.GestureActivity.java
com.zappos.firephone.activity.HeadTrackingCircleActivity.java
com.zappos.firephone.activity.HomeActivity.java
com.zappos.firephone.activity.HomeWidgetActivity.java
com.zappos.firephone.activity.NumericBadgeActivity.java
com.zappos.firephone.firefly.FireFlyDigitalEntityUI.java
com.zappos.firephone.firefly.FireFlyPhoneActivity.java
com.zappos.firephone.firefly.FireFlyPlugin.java
com.zappos.firephone.firefly.FireFlyProductActivity.java
com.zappos.firephone.receiver.WidgetBroadcastReceiver.java
com.zappos.firephone.view.CircleView.java