C# 으로 안드로이드 또는 아이폰 어플 개발

IT/Dot Net 2011/04/06 12:06

1. Andriod
http://monodroid.net/
Sample => https://github.com/mono/monodroid-samples

2. iPhone
http://monotouch.net/
Book => http://www.amazon.com/Professional-iPhone-Programming-MonoTouch-NET/dp/047063782X/

과연 퍼포먼스가 제대로 나올지.. 테스트 해봐야 겠군...
저작자 표시 비영리 동일 조건 변경 허락

설정

트랙백

http://blog.kkomzi.net/trackback/222 관련글 쓰기

댓글

중국어 간자체 변환

IT/Dot Net 2010/08/20 13:31

일단 문자열 변환만 가능...

 

Public Function ToSCUnicode(ByVal str As String) As String
  Dim arrByte_GBK As Byte()
  Dim arrByte_UTF16 As Byte()
  Dim strUTF16 As String

  ' 현재 시스템 인코딩
  Dim _defaultEncoding As Encoding = System.Text.Encoding.GetEncoding(0)
  ' Chinese Simplified (GB2312)
  Dim encGBK As System.Text.Encoding = System.Text.Encoding.GetEncoding(936)
  ' UTF - 16
  Dim encUTF16 As System.Text.Encoding = System.Text.Encoding.Unicode()

  ' 현재 시스템 인코딩에서 받은 문자열을 Chinese Simplified (GB2312) 로 바이트로 변경
  arrByte_GBK = _defaultEncoding.GetBytes(str)
  ' 다시 UTF-16 으로 변환
  arrByte_UTF16 = System.Text.Encoding.Convert(encGBK, encUTF16, arrByte_GBK)
  ' 문자열로 추출
  strUTF16 = encUTF16.GetString(arrByte_UTF16)
  Return strUTF16
 End Function

설정

트랙백

http://blog.kkomzi.net/trackback/197 관련글 쓰기

댓글

Win32 Data Type Conversion Table

IT/Dot Net 2008/12/03 11:13

 

Windows Data Type

.NET Data Type

BOOL, BOOLEAN

Boolean or Int32

BSTR

String

BYTE

Byte

CHAR

Char

DOUBLE

Double

DWORD/LPDWORD

Int32 or UInt32

FLOAT

Single

HANDLE (and all other handle types, such as HFONT and HMENU)

IntPtr, UintPtr, or HandleRef

HRESULT

Int32 or UInt32

INT

Int32

LANGID

Int16 or UInt16

LCID

Int32 or UInt32

LONG

Int32

LPARAM

IntPtr, UintPtr, or Object

LPCSTR

String

LPCTSTR

String

LPCWSTR

String

LPSTR

String or StringBuilder*

LPTSTR

String or StringBuilder

LPWSTR

String or StringBuilder

LPVOID

IntPtr, UintPtr, or Object

LRESULT

IntPtr

SAFEARRAY

.NET array type

SHORT

Int16

TCHAR

Char

UCHAR

SByte

UINT

Int32 or UInt32

ULONG

Int32 or UInt32

VARIANT

Object

VARIANT_BOOL

Boolean

WCHAR

Char

WORD

Int16 or UInt16

WPARAM

IntPtr, UintPtr, or Object


'IT > Dot Net' 카테고리의 다른 글

.Net 3.5 관련 IIS MIME 셋팅  (0) 2009/02/02
User control in toolbox  (0) 2008/12/09
Win32 Data Type Conversion Table  (0) 2008/12/03
LoaderLock 문제 해결  (0) 2008/11/06
라이센스 컴파일러 대체법 - MSBuild 수정  (0) 2008/10/14
네트웍 되는지 테스트  (0) 2008/10/14

설정

트랙백

http://blog.kkomzi.net/trackback/160 관련글 쓰기

댓글