Android Open Source - cmcc Main Activity






From Project

Back to project page cmcc.

License

The source code is released under:

Apache License

If you think the Android project cmcc 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 net.gongmingqm10.cmcc;
/*www  .ja  v  a  2  s . com*/
import android.app.Activity;
import android.os.Bundle;
import android.support.wearable.view.WatchViewStub;
import android.widget.TextView;

public class MainActivity extends Activity {

    private TextView mTextView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        final WatchViewStub stub = (WatchViewStub) findViewById(R.id.watch_view_stub);
        stub.setOnLayoutInflatedListener(new WatchViewStub.OnLayoutInflatedListener() {
            @Override
            public void onLayoutInflated(WatchViewStub stub) {
                mTextView = (TextView) stub.findViewById(R.id.text);
            }
        });
    }
}




Java Source Code List

net.gongmingqm10.cmcc.ApplicationTest.java
net.gongmingqm10.cmcc.MainActivity.java
net.gongmingqm10.cmcc.activity.BillActivity.java
net.gongmingqm10.cmcc.activity.CMCCApplication.java
net.gongmingqm10.cmcc.activity.MainActivity.java
net.gongmingqm10.cmcc.activity.RouterActivity.java
net.gongmingqm10.cmcc.jpush.JPushReceiver.java
net.gongmingqm10.cmcc.jpush.JPushUtils.java
net.gongmingqm10.cmcc.utils.Constant.java