레이블이 안드로이드인 게시물을 표시합니다. 모든 게시물 표시
레이블이 안드로이드인 게시물을 표시합니다. 모든 게시물 표시

2012년 2월 9일 목요일

Android - [PROJECT] WHOLI School


바쁜 학교생활 유용하게 사용할 수 있는 어플


=== Update ===
ver. 1.10

시간표 위젯!! - 시간표를 편하게 확인하세요


현재 요일 현재 시간이 표시되어 확인하기 편리합니다.








=== 핵심 기능 ===
학기, 과목 관리 - 한눈에 전체 학기 정보를 확인 가능. 학기별 과목관리가 쉽고 편리함.
시간표 - 과목별 색을 지정하여 한눈에 확인 가능.
학점관리 - 손쉽게 전체 과목에 대한 학점관리 가능.
메모 - 간단한 내용을 쉽게 메모.
그룹 관리 - 조별활동을 위한 그룹을 설정, 전체 SMS, eMail 송신 가능.




Useful application for busy school life



=== Update ===
ver. 1.10
Timetable Widget - Convenient and easy to check timetable



=== Key features ===
Semester, course management - You can check entire semester information easily. Convenient and easy to manage semester courses.
Timetable - Subjects can be easily identified by specifying a color.
Grade management - Grade for the entire course can be managed easily.
MEMO - Memo simple content easily
Group management - You can set groups for group activity and send SMS, eMail to group members.

=== Keywords ===
school, college, study, student, semester, course, grade, grade calculator, group, timetable, memo, 학교, 대학교, 학기, 학점, 학점계산기, 그룹관리, 그룹, 메모, 시간표


https://play.google.com/store/apps/details?id=jh.project.whomli.school 







     


     

     

2011년 11월 4일 금요일

Android - 단체 SMS 전송하기

매우간단함


Intent intent = new Intent(Intent.ACTION_SENDTO,Uri.parse("smsto:" + "수신인번호1;수신인번호2");
intent.putExtra("sms_body", "SMS TEXT");
context.startActivity(intent);

수신인과 수신인 사이 세미콜론 ";" 삽입

Android - eMail 전송하기


Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.parse("mailto:" + "수신1@gmail.com, 수신2@gmail.com"));
intent.putExtra(Intent.EXTRA_CC, new String[]{"참조1@gmail.com", "참조2@gmail.com"}); //참조
intent.putExtra(Intent.EXTRA_SUBJECT, "TITLE"); //제목
intent.putExtra(Intent.EXTRA_TEXT, "Body"); //본문
intent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file:///sdcard/파일")); //첨부파일

context.startActivity(intent);

2011년 9월 27일 화요일

Android - Color를 XML로 정의하여 사용하기

XML에 정의
/res/values/colors.xml


<?xml version="1.0" encoding="utf-8"?>
<resources>
    <color name="color01">#ffff0000</color>
    <color name="color02">#ff00ff00</color>
    <color name="color03">#ff0000ff</color>
    <color name="color04">#ff000000</color>
</resources>





사용하기

<TextView android:id="@+id/textView4" android:text="TextView" android:layout_height="wrap_content" android:layout_width="wrap_content" android:textColor="@color/color01"></TextView>

2011년 7월 28일 목요일

Android - 이벤트시 icon 변경 (Selector 이용)

사용자 정의 버튼이나 이미지 버튼을 만드는 경우

버튼이 눌러지거나, 포커스를 받는경우

아이콘 모양을 변경시켜 이벤트가 발생함을 표시할 필요가 있다



예) 평소 왼쪽과 같은 상태이지만 터치나, 포커스를 받는 이벤트가 발생할 경우 오른쪽 모양처럼 변한다.

  -터치, 포커스->
                                        menuiconsubject.png                           menuiconsubjectselected.png
                                 


이럴경우 Selector 라는 놈을 사용한다.


기본적인 파일 위치와 정의는 아래와 같이 한다.

res/drawable/menu_item_subject.xml

<?xml version="1.0" encoding="utf-8"?>

<selector xmlns:android="http://schemas.android.com/apk/res/android"
    android:dither="true">

    <item android:state_pressed="true" android:drawable="@drawable/menuiconsubjectselected" />
    <item android:state_focused="true" android:drawable="@drawable/menuiconsubjectselected" />
    <item android:drawable="@drawable/menuiconsubject" />

</selector>



정의된 selector를 사용하는 방법은 아래와 같다.

<ImageView
android:id="@+id/icon" 
android:layout_width="wrap_content" 
android:layout_height="wrap_content"  android:clickable="true" android:src="@drawable/menuiconsubject"/>


2011년 6월 24일 금요일

Android - Custom Font 적용

폰트파일위치 - assets/fonts

소스
Typefact tf = Typeface.createFromAsset(getAssets(), "fonts/폰트파일명");
TextView tv = (Textview) findViewById(R.id.CustomFont);
tv.setTypeface(tf);


이렇게 해주면 해당 폰트가 적용이 된다~