안녕하세요 시원한 물냉입니다. 오늘은 좋은자료가 있어서 염치불구하고 이렇게 퍼와서 올립니다. 출처는 git Continuing from the last post about creating fade in fade out animations for textviews in Android, this post will focus on creating an Animator class that can be reused easily from any part of your code for sleekly animating textviews. First, Create your Custom Textview Animator class, here I call mine "KunmiViewFade_Animator"; 1: publi..
. 특정 Event 가 발생 할때 자동으로 임의의 처리를 하고자 할때 사용한다. . Trigger를 감사에 이용할 수 있다. => 디버그나 log로써 사용할 수 있다. . Application 개발 시 관련 테이블의 Transaction 처리를 간소화 할수 있다. . 데이터 무결성을 유지 하기 위해 사용 될 수 있다. . 분산처리 옵션이 없더라도 원격 데이터의 로컬 사본을 만들 수 있다. 사용 예) .어떤 자료가 ROLLBACK 될 때 어디의 자료로 ROLLBACK 해야 된다는 TRIGGER 작성가능 .인사 정보가 사라지면 인사과로 삭제되어야 한다. .테이블을 원격지에 똑같이 만들때 TRIGGER 종류 . DML TRIGGER : DML(INSERT, UPDATE , DELETE) Event 가 발생 할..
마켓에서 어플리케이션을 받아서 설치하거나, 삭제할 때도 이벤트가 발생합니다. 이 이벤트를 받으려면 BroadcastReceiver를 이용하면 됩니다. #1. 일단, AndroidManifest.xml 파일에 다음과 같이 BroadcastReceiver를 등록합니다. #2. BroadcastReceiver를 상속받은 PackageReceiver 클래스를 생성합니다. package plugin.prototype.app; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Handler; import android.os.Message; impo..
야호! 오늘도 시원한 물냉과 함께 하나 배워봅시다. 이클립스에서 jsp파일을 열면 다음과 같이 오류가 날때 가 있다. Could not open the editor: An unexpected exception was thrown 이런경우 오른쪽마우스 -> Open -> JSP 로 해서 열면 열리긴 한다.. 소스 하나하나 이렇게 열수는 없는노릇! 해결방법 : 이클립스 상단메뉴 Window - Preferences - General - Editors - File Associations 에서 File types: 에서 *.jsp 를 찾는다. Defalut를 JSP Editor로 해주고 OK하면 다음부터 이런에러 안생긴다.! 와우!
final TextView mSwitcher = (TextView) findViewById(R.id.bookContent); mSwitcher.setText("old text"); final Animation in = new AlphaAnimation(0.0f, 1.0f); in.setDuration(3000); final Animation out = new AlphaAnimation(1.0f, 0.0f); out.setDuration(3000); Button moveOn = (Button) findViewById(R.id.moveOn); moveOn.setOnClickListener( new OnClickListener() { public void onClick(View v) { mSwitcher.st..
String DisplayName = getString(R.string.app_name); String MobileNumber = getString(R.string.mobile); String HomeNumber = ""; String WorkNumber = ""; String emailID = ""; String company = ""; String jobTitle = ""; ArrayList ops = new ArrayList(); ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null) .withVa..
C#으로 코딩을 완료한 후 exe파일을 추출하는 방법입니다. 비주얼 스튜디오(Visual Studio)에서 디버깅(Debug) 버전이 아닌 배포를 위한 릴리즈(Release) 버전의 exe 파일 생성하는 과정입니다. 1. 먼저 속성 변경 후 다시 빌드(build)를 할 예정이므로 Clean을 먼저 해줍니다. (Build 메뉴 - Clean project) 2. 해당 프로젝트 속성창으로 이동합니다. (Project 메뉴 - project Properties) 3. 속성창의 Application 탭에 Target framework와 Output type을 변경합니다. - Target framework는 프로그램을 실행할 환경에 설치된 닷넷프레임워크 버전 중 하위 버전으로 선택하면 됩니다. - Output t..