Back to project page FirePhoneDemos.
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.
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); } }