Back to project page Toury-Glass.
The source code is released under:
MIT License
If you think the Android project Toury-Glass 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 twilight.of.the.devs.touryglass; /* www .ja v a 2 s . co m*/ import com.google.android.glass.app.Card; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class TestActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { Card card = new Card(this); card.setText("Testing"); setResult(RESULT_OK, new Intent()); setContentView(card.getView()); super.onCreate(savedInstanceState); } }