달력

52024  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

제목: 정보은닉을 위한 안드로이드 비트맵 분석 연구

IEIE, pp. 1438-1441, June. 2015.

Posted by kingjung
|

제목: 안드로이드 얼굴 인식 시스템 구현

Academic Conferences of The Institute of Electronics and Information Engineers, 2016.10, pp. 74-77

Posted by kingjung
|

1. Linux Environments

2. Drozer

 

 

AndroidHackingnSecurity_AssessmentTools.pdf

 

'Lecture Notes > Android Hacking/Security' 카테고리의 다른 글

Android Application Attacks  (0) 2017.12.22
Android Application Protection  (0) 2016.02.03
Android Snooping  (0) 2015.10.28
Android Reverse Engineering  (0) 2015.10.28
Android Signature & Certificate  (0) 2015.10.08
Posted by kingjung
|
1. View 사용방법
2. SurfaceView 사용방법

Posted by kingjung
|

1. Thread 클래스 사용
 public class ThreadTest extends Activity {
    int mMainValue = 0;
    int mBackValue = 0;
   TextView mMainText;
   TextView mBackText;

   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.thread_threadtest);

      mMainText = (TextView)findViewById(R.id.mainvalue);
      mBackText = (TextView)findViewById(R.id.backvalue);
      Button btn = (Button)findViewById(R.id.increase);
      btn.setOnClickListener(new Button.OnClickListener() {
           public void onClick(View v) {
               mMainValue++;
               mMainText.setText("MainValue : " + mMainValue);
              mBackText.setText("BackValue : " + mBackValue);
          }
     });
  
     BackThread thread = new BackThread();
     thread.setDaemon(true);
     thread.start();
 }
 
 class BackThread extends Thread {
     public void run() {
        while (true) {
              mBackValue++;
              //mBackText.setText("BackValue : " + mBackValue);
              try {
                 Thread.sleep(1000);
              } catch (InterruptedException e) { }
        }
     } 

  } // end of main
 } // end of class

2. Runnable 인터페이스 사용
 public class ThreadTest extends Activity {
      int mMainValue = 0;
      int mBackValue = 0;
      TextView mMainText;
      TextView mBackText;

      public void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.thread_threadtest);

           mMainText = (TextView)findViewById(R.id.mainvalue);
           mBackText = (TextView)findViewById(R.id.backvalue);
           Button btn = (Button)findViewById(R.id.increase);
           btn.setOnClickListener(new Button.OnClickListener() {
                 public void onClick(View v) {
                      mMainValue++;
                      mMainText.setText("MainValue : " + mMainValue);
                      mBackText.setText("BackValue : " + mBackValue);
                 }
           });
  
           BackRunnable runnable = new BackRunnable();
           Thread thread = new Thread(runnable);
            thread.setDaemon(true);
            thread.start();
       }
 
      class BackRunnable implements Runnable {
            public void run() {
                  while (true) {
                          mBackValue++;
                          try {
                               Thread.sleep(1000);
                          } catch (InterruptedException e) { }
                  }
            }
       }
 }


Posted by kingjung
|

안드로이드 1.0 : Alpha, Android

안드로이드 1.1/1.2 : Beta, Petit four

안드로이드 1.5 : Cupcake 컵케익

안드로이드 1.6 : Donut 도넛

안드로이드 2.0 : Eclair 이클레어

안드로이드 2.2 : Froyo(Frozen yogurt)

안드로이드 2.3 : Gingerbread 진저브래드

안드로이드 3.0 : Honeycomb 허니콤

안드로이드 4.0Icecream sandwich 아이스크림 샌드위치

Posted by kingjung
|

'Lecture Notes > Android NDK' 카테고리의 다른 글

Introduction to Android NDK Programming  (0) 2010.07.15
Posted by kingjung
|
Posted by kingjung
|
Posted by kingjung
|
Posted by kingjung
|
Posted by kingjung
|
Android NDK is a toolset that lets you embed components that make use of native code in your Android applications

안드로이드 NDK를 이용한 Hello, World 기본 프로그램 만들기


Posted by kingjung
|

1. main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
<TextView 
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/hello"
    />
</LinearLayout>

2. strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="hello">Hello World, DefaultAndroid!</string>
    <string name="app_name">DefaultAndroid</string>
</resources>

3. android source code (DefaultAndroid.java)
package com.example.defaultandroid;

import android.app.Activity;
import android.os.Bundle;

public class DefaultAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}

4. AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.defaultandroid"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".DefaultAndroid"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="7" />
</manifest>

'Lecture Notes > Android Basics' 카테고리의 다른 글

안드로이드 설치 및 개발 환경 구축  (0) 2010.07.20
Javastyle Android Program (Basic)  (0) 2010.06.04
WIPI Basic Program  (0) 2010.06.03
J2ME Basic Program  (0) 2010.06.03
Basic Framework : Java SWING Program  (0) 2010.06.03
Posted by kingjung
|
2009~2010년
Posted by kingjung
|