Introduction

Detailed Description

API List

System Library function

 * void GetHwConfig(int hwcfg[])
 * void GetSysMin(string str)
 * int GetSysUserID(string str)
 * void GetLocInfo(int info[])

Graphic Library function

 * void ClearWhite()
 * void ClearBlack()
 * void Clear(int c)
 * void PutPixel(int x, int y, int c)
 * void SetGamma(int gamma)
 * void SetColor(int c)
 * void ResetClip() after GVM2x
 * void SetClip(int x1, int y1, int x2, int y2)
 * void DrawLine(int x1, int y1, int x2, int y2)
 * void DrawHLine(int x1, int x2, int y)
 * void DrawVLine(int x, int y1, int y2)
 * void InvertRect(int x1, int y1, int x2, int y2) after GVM2X
 * void DrawRect(int x1, int y1, int x2, int y2)
 * void FillRect(int x1, int y1, int x2, int y2)
 * void DrawRectRound(int x1, int y1, int x2, int y2, int r) after GVM2x
 * void FillRectRound(int x1, int y1, int x2, int y2, int r) after GVM2x
 * void DrawEllipse(int x, int y, int rx, int ry)
 * void FillEllipse(int x, int y, int rx, int ry)
 * void SetStrType( int fsize, int c1, int c2, int align)
 * void SetStrFont(int fsize)
 * void SetStrColor(int c1, int c2)
 * void SetStrAlign(int align)
 * void DrawStr(int x, int y, string str)
 * void DrawStr2(int x, int y, string str, int mode) after GVM2X
 * void DrawStrSolid(int x, int y, string str)
 * void DrawStrSolid2(int x, int y, string str, int mode) after GVM2X
 * void DrawText(int x, int y, string str)
 * void DrawTextSolid(int x, int y, string str)
 * void SetPalette(int pal[], int pallist[])
 * void copyImage(int x, int y, image img)
 * void copyImageDir(int x, int y, image img, int dir)
 * void copyImagePal(int x, int y, image img, int pal[])
 * void copyImageDirPal(int x, int y, image img, int dir, int pal[])
 * void InitDepthq()
 * void AddDepthQ(int dummy, int x, int y, image img, int dir)
 * void DrawDepthQ(int order)
 * ScrollLCD(int lcd, int dx, int dy, int wrap) after GVM2X
 * void SaveLCD()
 * void RestoreLCD()
 * void Flush()

String Library function

 * int GetMediaSize(string m)
 * int GetMediaSize(image m)
 * int GetMediaSize(sound m)
 * int GetMediaSize(voc m)
 * int SetMediaSize(string m, int size)
 * int SetMediaSize(image m, int size)
 * int SetMediaSize(sound m, int size)
 * int SetMediaSize(voc m, int size)
 * void StrInit(string str, int size)
 * int StrLen(string str)
 * void StrCpy(string dst, string src)
 * void StrSub(string dst, string src, int start, int len)
 * void StrCat(string dst, string src)
 * void StrCmp(string str1, string str2)
 * int GetChar(string m, int ind)
 * int GetChar(sound m, int ind)
 * int GetChar(image m, int ind)
 * int GetChar(voc m, int ind)
 * int PutChar(string m, int ind, int ch)
 * int PutChar(sound m, int ind, int ch)
 * int PutChar(image m, int ind, int ch)
 * int PutChar(voc m, int ind, int ch)
 * int AsciiToInit(string str)
 * void IntToAscii(string str, int a)
 * int GetByte(int a[], int ind)
 * int PutByte(int a[], int ind, int ch)
 * int GetBytes(int a[], int ind, string str, int size)
 * int PutBytes(int a[], int ind, string str, int size)
 * void MakeStrStr(string dst, string f, string src)
 * void MakeStr1(string dst, string f, int v)
 * void MakeStr2(string dst, string f, int v1, int v2)
 * void MakeStr3(string dst, string f, int v1, int v2, int v3)
 * void MakeStr4(string dst, string f, int v1, int v2, int v3, int v4)
 * void MakeStr5(string dst, string f, int v1, int v2, int v3, int v4, int v5)
 * void StrInput(string title, string str)
 * void StrInput2(string title, string str, int maxlen, int type) after GVM2X

Handset Library function

 * void PlaySound(sound m)
 * void StopSound()
 * void PlayVocoder(voc m)
 * void StopVocoder()
 * void StartVib(int t)
 * void StopVib()
 * void SetKeyTone(int sw)
 * void SetBackLight(int sw)
 * void GetUserNV(int a[], int size)
 * void PutUserNV(int a[], size)
 * void SetTimer(int t, int flag)
 * void SetTimer1(int t, int flag)
 * void SetTimer2(int t, int flag)
 * void ResetTimer()
 * void ResetTimer1()
 * void ResetTimer2()

Mathmatics Library function

 * void RandSeed(int s)
 * void Rand(int min, int max)
 * int RandRatio(int ratio)
 * int Abs(int v)
 * int Sgn(int v)
 * int Sin100(int v)
 * int Cos100(int v)
 * int Tan100(int v)
 * int ArcSin100(int v)
 * int ArcCos100(int v)
 * int arcTan100(int v)
 * int Avr(int v1, int v2)
 * int Avr3(int v1, int v2, int v3)
 * int Max(int v1, int v2)
 * int Max3(int v1, int v2, int v3)
 * int Min(int v1, int v2)
 * int Min3(int v1, int v2, int v3)
 * int FindMax(int a[], int size)
 * int FindMin(int a[], int size)
 * int FindNear(int a[], int size, int key)
 * void ArrayToVar(int a[], int v, int size, int op)
 * void ArrayToArray(int dst[], int src[], int size, int op)
 * void ArrayToArray2(int dst[], int src1[], int src2[], int size, int op)
 * 

Network Library function

 * void NetReconnect(string IP, int Port)
 * void NetSend(int buf[], int size)
 * int LoadMedia(string m, int key)
 * int LoadMedia(image m, int key)
 * int LoadMedia(sound m, int key)
 * int LoadMedia(voc m, int key)
 * int LoadMediaResult(string m, int key)
 * int LoadMediaResult(image m, int key)
 * int LoadMediaResult(sound m, int key)
 * int LoadMediaResult(voc m, int key)
 * void RsCom(int e, int buf[], int cnf)
 * void RsSend(int buf[], int cnt)
 * int SendSMS(int TI, string sial, string text)
 * void Download(int cpid, int gid, string dlsIP, int dlsPort, string svrIP, int srvPort)
 * void Download2(int cpid, int gid, string dlsIP, int dlsPort, string svrIP, int srvPort) after GVM2X
 * void BackToBrowser(string u)
 * void Exit()
 * int NetState() after GVM2X
 * void NetConnect(string IP, int Port)
 * void NetDisconnect()
 * void VoiceCall(string dial, int ret) after GVM2X
 * void PtpCall(string dial)
 * void PtpCallMmi() after GVM2X
 * void PtpWait() after GVM2X
 * void PtpRelease() after GVM2X

Miscellaneous Library function

 * int HitCheck(int v1, int v2, int range)
 * void GetDate(int a[])
 * void GetTime(int a[])
 * void LockChatMode(int sw)
 * void SetChatMode(int sw)

Vendor Library function

 * void RegMusicBell(string name, sound m)
 * void RegScreen(string name)
 * void SetSoMo(int so, int mo)

AdvancedAudio Library function

 * RegAdvAudio(string name, sound m)
 * void PlayadvAudio(sound m)
 * void ManAdvAudio(int cmd)

User Data Access Library function

 * int ReadHandsetData(int code, int major, int minor, string buf) after GVM2X
 * int WriteHandSetData(int code, int major, int minor, string buf)

OEM api Library function

 * void OemApi(int CarrierCode, int Apicode, int Param1, int Param2, int Param3, int Param4)

Extended api Library function

 * int ExtQueryFeature(int svcCode)
 * int ExtApiType7(int svcCode, int methodCode, media media_or_URL, int pos[], int size[], int clear, int reserved)

Debugging Library function

 * void Trace3(string f, int v1, int v2, int v3) after GVM 2X
 * void TraceS(string f, string s) after GVM 2x

How to Launch my application

1. 멋지게 기획한다.
2. 이미지 ( 150*600 단위로 나눈다.) 제작
3. 오디오를 제작
4. sdk 를 이용해서 개발한다.
5. 에뮬레이터 수준의 테스트 완료
6. 테스트 다운로드 서버에 등록해서 실제 폰에서 테스트 완료(http://www.gnexclub.com/gtc)
7. 이통사와 수정사항 협의
8. 실제 서비스
9. 돈 돈 돈 돈 돈

Idiea

Reference


CategoryGvm

검색어: gvm gnex

AboutGvm (last edited 2005-02-11 08:34:22 by )