목록전체 글 (1533)
오늘도 공부
오늘은 푸시서버를 구현해보도록 할께요 카카오톡이나 많은 SNS서비스를 제공하는 앱들이 해당 기능을 활용하여 통신을 하고 있죠? 간단할 것 같지만, 막상 해보면 어디서 시작해서 어떤 방식으로 구현을 해야하는지 막막할 수 있어요 저 또한 그랬고 그래서 많은 서핑들을 하게 되는데, 항상 뭔가 아쉽더라구요. 너무 쉬워서 생략해놓은 곳도 있고 기본이라고 생각하고 그냥 언급하지 않은 내용들 때문에 하나 성공하고 나면 결국 다른걸로 막혀서 또 검색하고,,, 그걸 반복하면. 반나절이 지나가더라구요 저 처럼 헤매실 분들을 위하여 정리해보아요~ "렘군와 함께하는 푸시서버 만들기" 자~ 한 시간만 따라하면 아이폰으로 "Hello World" 메세지가 뜰 수 있어요~ 대신 엄청 집중하셔야 되요~ 깔끔하게 Action위주로 정..
출처 : http://artyst.egloos.com/2652130 (2) 서버 소스코드 개발환경 : 자바(JAVA) @ PHP 나 Objective C 는 다루는 곳이 많으므로 자바(JAVA) 로만 작성하도록 하겠다. APNS 와 통신하려면 먼저 java에서 편리하게 이용할 수 있는 라이브러리를 다운로드 받자. http://code.google.com/p/javapns/ 에서 jar 파일을 다운로드 받을 수 있다. 그런데 이 API를 사용하기 위해서 필요한 라이브러리가 있다. commons-lang-x.x.jar 가 없다면 org.apache.commons.lang.StringUtils 를 찾을 수 없다며 에러가 발생한다. bcprov-ext-jdk16-xxx.jar 가 없다면 암호화관련 에러가 발생한..
기본적인 tab(상단) http://blog.naver.com/lomi525?Redirect=Log&logNo=140113900088 tab 하단에 붙이기 http://mainia.tistory.com/554 tabWidget 높이 조절 http://neodreamer.tistory.com/420 tab - activitygroup, intent activity, 하단 http://rosaria1113.blog.me/110885107
[펌] Custom Android Button Style and Theme 안드로이드 / Programing... 2011/04/26 14:11 http://blog.naver.com/khch2489/30107398483 In this tutorial, we’ll see how it’s possible to create a custom button style for an Android application by using the Android styling API. First of all we need to define the new look for our custom button style. We would use three different NinePatch drawables. A custom bla..
setContentView앞에서 적용해야하는 것!! View titleView = getWindow().findViewById(android.R.id.title); if (titleView != null) { ViewParent parent = titleView.getParent(); if (parent != null && (parent instanceof View)) { View parentView = (View)parent; parentView.setBackgroundColor(Color.rgb(0x88, 0x33, 0x33)); } }
출처 : http://catnest.tistory.com/54 http://mudchobo.tistory.com/479 - HttpClient() 를 이용해서 tworld 로그인하기 http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/ - How-to: Android as a RESTful Client http://www.wiseant.net/95 - org.apache.http.client.ClientProtocolException on Android http://www.mail-archive.com/android-beginners@googlegroups.com/msg12690.html - [an..
출처 : http://blog.naver.com/leespop/140121910438 editText01 = (EditText) findViewById(R.id.EditText01); editText01.setOnEditorActionListener(new OnEditorActionListener() { @Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { if(actionId == EditorInfo.IME_ACTION_DONE){ // IME_ACTION_SEARCH , IME_ACTION_GO // Toast.makeText(MainActivity.this, "123", Toast.LENGTH_SHORT..
리소스에서 bitmap을 읽어오고 화면에 출력한 후 touch를 이용해서 drag하는 예제 추천 참고예제 : http://stackoverflow.com/questions/4255859/touch-and-drag-image-in-android http://www.droidnova.com/playing-with-graphics-in-android-part-iv,182.html 출처 : http://blackzaket.blog.me/80101582245 package com.jjihun.bitmaptest; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import and..
‘전체’ 목록(116) 목록열기 API Demos - 안드로이드 어플리케이션 예제 소스 전체공개 Android|2010/07/16 10:24 http://blog.paran.com/du19s/39468923 1.app - API Demos / 실행사진, 소스 추가 (2010/06/11)Activity 액티비티Hello WorldDemonstrates a basic screen activity.Code:HelloWorld.javaLayout:hello_world.xmlSave & Restore StateDemonstrates how an activity should save state when it is paused.Persistent StateDemonstrates how you can save and ..
출처 : http://android.attemptone.com/layouts/custom-tabs/ Tabs can be a difficult component when you first start building Android applications. To do something as simple as change the height of the tabs you need to build a view and pass it to setIndicator in the TabSpec. It might sound confusing but hopefully this code sample helps. It uses custom tab backgrounds, tab height, and programmatic tab ..
