'Android'에 해당되는 글 63건

  1. 2011.07.06 App call another app
  2. 2011.06.19 launchMode
  3. 2011.06.18 Window.FEATURE_CUSTOM_TITLE
2011.07.06 22:41
caller는

 Intent intent = new Intent(Intent.ACTION_RUN);
    intent.setClassName("com.park.callapp2", "com.park.callapp2.CallAppTest2");
    startActivity(intent);

호출받는 앱
<intent-filter>
                <action android:name="com.park.callapp2" />
                <category android:name="android.intent.category.DEFALUT" />
 </intent-filter>

'Android' 카테고리의 다른 글

WebView javascriptInterface  (0) 2011.07.17
App call another app  (0) 2011.07.06
launchMode  (0) 2011.06.19
Window.FEATURE_CUSTOM_TITLE  (0) 2011.06.18
requestWindowFeature(int)  (0) 2011.05.21
맵 API Key 발급  (0) 2010.10.29
Posted by hyunny82
2011.06.19 22:13

http://huewu.blog.me/110087045138

'Android' 카테고리의 다른 글

WebView javascriptInterface  (0) 2011.07.17
App call another app  (0) 2011.07.06
launchMode  (0) 2011.06.19
Window.FEATURE_CUSTOM_TITLE  (0) 2011.06.18
requestWindowFeature(int)  (0) 2011.05.21
맵 API Key 발급  (0) 2010.10.29
Posted by hyunny82
타이틀바를 원하는데로 구성
 
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
setContentView(R.layout.main);
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title);

---cutom_title.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center_vertical"
  >
  <TextView android:id="@+id/title_left_text"
      android:layout_alignParentLeft="true"
      android:ellipsize="end"
      android:singleLine="true"
      style="?android:attr/windowTitleStyle"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_weight="1"
    />
    <TextView android:id="@+id/title_right_text"
        android:layout_alignParentRight="true"
        android:ellipsize="end"
        android:singleLine="true"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:textColor="#fff"
        android:layout_weight="1"
    />
</RelativeLayout>

'Android' 카테고리의 다른 글

App call another app  (0) 2011.07.06
launchMode  (0) 2011.06.19
Window.FEATURE_CUSTOM_TITLE  (0) 2011.06.18
requestWindowFeature(int)  (0) 2011.05.21
맵 API Key 발급  (0) 2010.10.29
시간...  (0) 2010.10.26
Posted by hyunny82

티스토리 툴바