http://miksnug.pe.kr/26 에서 가져 왔습니다 .50 선 2개를 한개로 합쳤습니다.
번호 |
제목 |
출처 |
요약 |
1 |
이미지와 텍스트가 같이 들어간 버튼 만들기 |
<Button android:layout_width="fill_parent" android:layout_width="wrap_content" android:drawableLeft="@drawable/ic_settings" android:drawablePadding="4dp" android:text="Settings" /> Button button = new Button(mContext); button.setText("Close"); Drawable close = Drawable.createFromPath("/data/icon/image.png"); close.setBounds(0, 0, close.getIntrinsicWidth(), close.getIntrinsicHeight());
button.setCompoundDrawables(close, null, null, null); | |
2 |
버튼 색깔 바꾸기 |
http://stackoverflow.com/questions/1521640/standard-android-button-with-a-different-color |
<?xml version="1.0" encoding="utf-8"?> |
3 |
전체화면 사용하기 (Status bar, Title bar 숨기기) |
http://www.androidpub.com/4710 |
|
4 |
ImageButton의 투명 효과 사용하기 |
http://joywoni.egloos.com/2847047 |
android:background="#a0000000" 를 설정하면 배경이 투명해지므로 버튼 모양을 안봐도 된다. |
5 |
Android 정리문서 |
http://sgap.springnote.com/pages/5076381 |
SurfaceView와 SurfaceHolder.Callback, thread |
6 |
네이티브 안드로이드 개발 관련 블로그 |
|
|
7 |
안드로이드 개발 각종 예제 소스 |
http://www.androidpeople.com/2010/01/ |
|
8 |
메뉴별 이미지 처리 |
http://stackoverflow.com/questions/2065430/fixed-android-detecting-focus-pressed-color |
<?xml version="1.0" encoding="utf-8"?> |
9 |
객체 Style 처리 |
http://www.anddev.org/viewtopic.php?p=37330 |
|
10 |
Button Highlight |
http://www.androidpeople.com/category/android-tutorial/ |
|
11 |
SurfaceView |
|
|
12 |
android:configChanges |
http://www.androidpub.com/52338 |
android:configChanges="orientation" onConfigurationChanged() |
13 |
전원관리 |
http://samse.tistory.com/entry/AlarmManager-PowerManager |
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "My Tag"); wl.acquire(); ..screen will stay on during this section.. wl.release(); |
14 |
하드웨어 콘트롤 관련 PDF 문서 |
|
|
15 |
unique device ID 고유값 가져오기 |
http://developer.android.com/reference/android/telephony/TelephonyManager.html#getDeviceId%28%29 |
TelephonyManager mTelephonyMgr = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); String imei = mTelephonyMgr.getDeviceId(); |
16 |
안드로이드 네이티브 라이브러리Ⅰ |
http://www.imaso.co.kr/?doc=bbs/gnuboard.php&bo_table=article&wr_id=34284 |
[다른블로그] http://infodev.tistory.com/322 |
17 |
Introduction android |
http://yotteum.tistory.com/entry/Introduction-Android |
안드로이드 소개 바인딩 설명 |
18 |
안드로이드 - 버튼 OnClickListener 인터페이스 구현 |
http://woosa7.tistory.com/entry/%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-%EB%B2%84%ED%8A%BC-OnClickListener-%EC%9D%B8%ED%84%B0%ED%8E%98%EC%9D%B4%EC%8A%A4-%EA%B5%AC%ED%98%84 http://www.cyworld.com/kkjw1801/3222534 |
|
19 |
Android - Change Tab Background |
|
TabWidget에서 추가되는 Tab의 Background변경하기 Tab마다 View를 얻어와서 직접 BackgroundDrawable을 지정하고 아래 막대부분은 reflection을 이용하여 꽁수로 바꿔치기 한다 tab_indicator.xml, tab_bar_left.xml, tab_bar_right.xml 내용은 <selector>로 정의 |
20 |
KH5200 드라이버 설치 |
http://kil.imradriss.co.cc:8000/tc/30 |
|
21 |
DrawableTop 이미지 변경하기 |
http://www.androidpub.com/10154 |
보기 1 ================================================ |
22 |
Layout 사이즈 동적변경 |
LinearLayout ll = (LinearLayout)findViewById(R.id.write_LinearLayout); LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.FILL_PARENT, 400); // 400 이라는 높이를 지정 ll.setLayoutParams(params); | |
23 |
Android UI 개발기: XML 안쓰고 UI 코딩하기 |
|
|
24 |
전화상태 변화감지 리스너 PhoneStateListener 예제 |
http://www.kandroid.org/board/board.php?board=AndroidTechQnA&page=124&command=body&no=432 |
MyPhoneStateListener phoneListener=new MyPhoneStateListener(); TelephonyManager telephonyManager =(TelephonyManager)getSystemService(TELEPHONY_SERVICE); telephonyManager.listen(phoneListener,PhoneStateListener.LISTEN_CALL_STATE); public class MyPhoneStateListener extends PhoneStateListener {...} |
25 |
안드로이드 하드웨어관련 자료(통화,폰상태,네트워크,카메라,센서) |
http://gtko.springnote.com/pages/5396297 http://developer.android.com/reference/android/content/Intent.html http://developer.android.com/reference/android/net/ConnectivityManager.html |
android.net.conn.CONNECTIVITY_CHANGE |
26 |
sms 수신해서 요약내용 보여주기 |
http://www.anddev.org/recognize-react_on_incoming_sms-t295.html |
android.provider.Telephony.SMS_RECEIVED // SMS 수신 감지 등록 IntentFilter smsRcvFilter = new IntentFilter(CSmsReceiver .ACTION); smsReceiver = new CSmsReceiver(); registerReceiver(smsReceiver, smsRcvFilter); //if(smsReceiver != null) { // unregisterReceiver(smsReceiver); //} <!-- SMS Broadcast Receiver 등록 --> <receiver android:name=".common.CSmsReceiver"> <intent-filter> <action android:name="android.provider.Telephony.SMS_RECEIVED" /> </intent-filter> </receiver> |
27 |
BroadcastReceiver XML설정하기 |
<receiver android:name="리시버클래스" android:enabled="true"> | |
28 |
각종 Management 클래스 |
http://www.imaso.co.kr/?doc=bbs/gnuboard.php&bo_table=article&page=10&wr_id=34565 |
|
29 |
Dialog 구조 분석 (아이콘,텍스트 위치등) |
| |
30 |
SMS 수신시 Toast 메시지 출력 |
http://www.androidpub.com/138352 |
Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.addCategory("android.intent.category.DEFAULT"); sendIntent.putExtra("address", PhoneNumberUtils.formatNumber(phoneNumber)); sendIntent.putExtra("exit_on_sent", true); sendIntent.putExtra("subject", "TEST MMS"); sendIntent.putExtra("sms_body", "MMS 테스트입니다."); context.startActivity(sendIntent); |
31 |
Broadcast Receiver :네트워크상태 체크 |
http://www.anddev.org/viewtopic.php?p=32088 |
OnReceive 메소드 내에서.. ConnectivityManager connec= (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); if(connec.getNetworkInfo(0).getState()==NetworkInfo.State.CONNECTED||connec.getNetworkInfo(1).getState()==NetworkInfo.State.CONNECTING ) { text.setText("hey your online!!!"); //Do something in here when we are connected } elseif(connec.getNetworkInfo(0).getState()== NetworkInfo.State.DISCONNECTED||connec.getNetworkInfo(1).getState() == NetworkInfo.State.DISCONNECTED ) { text.setText("Look your not online"); } |
32 |
안드로이드 API기능 설명 |
http://www.jopenbusiness.com/mediawiki/index.php/Android |
|
33 |
Actions for BroadcastReceiver |
http://www.dearsoft.org/tag/broadcastreceiver/ |
|
34 |
Layout.out.xml 생성되는 문제 |
main.out.xml 파일은 삭제해 주세효~ | |
35 |
Multi Touch |
http://www.mentby.com/naya/multitouch-support-in-android-20.html |
2.0 부터 지원 |
36 |
ScrollView 스크롤 하단으로 내리기 |
sv.post(new Runnable() { public void run() { sv.fullScroll(ScrollView.FOCUS_DOWN); } }); | |
37 |
Timer 만들기 |
http://developer.android.com/intl/de/resources/articles/timed-ui-updates.html http://www.developer.com/java/ent/print.php/3589961 |
|
38 |
Logcat 동작안하는 에러 발생시 처리 (Could not create the view: For input string: "") |
http://www.mail-archive.com/android-developers@googlegroups.com/msg60683.html |
hide details Aug 18 I have had the same problem. The logcat view crashes after I inserted a filter containing a ":" in the filtername. I solved the problem by changing the settings in the file ".metadata/.plugins/org.eclipse.core.runtime/.settings/ com.android.ide.eclipse.ddms.prefs" placed in the workspace of eclipse. com.android.ide.eclipse.ddms.logcat.filters= was the key of the fault setting.
|
39 |
SSL 인증서 등록하기 |
http://www.java2go.net/blog/197?TSSESSION=1202a1a23fa67bae15ce3ab15a5a0cea http://crazybob.org/2010/02/android-trusting-ssl-certificates.html |
keytool -import -keystore cacerts -file C:\cert\TrialRootCA.cer -alias afcert |
40 |
Signing By Private Key |
| |
41 |
영상 녹화하기 |
| |
42 |
SurfaceView 의 이해 |
http://androidhuman.tistory.com/entry/카메라를-이용하자-SurfaceView에-대한-이해 |
|
43 |
안드로이드 JAVA 소스 |
{SDK_LOCATION}/platforms/1.5/sources | |
44 |
SSL 인증서 우회하기 |
http://www.experts-exchange.com/Programming/Languages/Java/Q_23063074.html http://7bee.j2ee.us/blog/2008/03/28/1206704820000.html |
|
45 |
JAVA SSL 관련 공식문서 |
http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CreateKeystore http://java.sun.com/javase/6/docs/technotes/guides/security/jsse/JSSERefGuide.html#CodeExamples |
|
46 |
SSL 인증서 증명에러 해결하기 |
http://code.google.com/p/android/issues/detail?id=1946 http://developer.android.com/intl/de/reference/javax/net/ssl/TrustManager.html http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/200906.mbox/ http://www.exampledepot.com/egs/javax.net.ssl/GetCert.html?l=rel http://www.android-portal.com/2007/12/20/secure-server-socket-with-tlsssl-on-android-fails/ http://www.exampledepot.com/egs/javax.net.ssl/TrustAll.html? http://blog.keduall.co.kr/lsb76/entry/자바-SSL-접속-오류 해결방법: http://www.exampledepot.com/egs/javax.net.ssl/TrustAll.html |
// Create a trust manager that does not validate certificate chains TrustManager[] trustAllCerts = new TrustManager[]{ new X509TrustManager() { public java.security.cert.X509Certificate[] getAcceptedIssuers() { return null; } public void checkClientTrusted( java.security.cert.X509Certificate[] certs, String authType) { } public void checkServerTrusted( java.security.cert.X509Certificate[] certs, String authType) { } } }; |
47 |
안드로이드 Service 에서 Activity 를 실행하는 방법 |
http://blog.naver.com/huewu/110084868855 |
Intent i = new Intent(this, ServiceTest.class); PendingIntent p = PendingIntent.getActivity(this, 0, i, 0); try { p.send(); } catch (CanceledException e) { e.printStackTrace(); } |
48 |
안드로이드 이미지(사진) 불러오기 |
http://shinluckyarchive.tistory.com/469 http://developer.android.com/reference/android/graphics/BitmapFactory.Options.html |
import android.graphics.Bitmap; import android.graphics.BitmapFactory; ... BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 8; Bitmap src = BitmapFactory.decodeFile(fileListSDCard[i], options); Bitmap resized = Bitmap.createScaledBitmap(src, 100, 100, true);
|
49 |
SSL 인증키 무조건 우회하기 |
http://groups.google.com/group/android-developers/browse_thread/thread/62d856cdcfa9f16e |
public class _FakeX509TrustManager implements X509TrustManager { |
50 |
효과음 관련 자료(Creating Sound Effects in Android) |
public void playSound(int index) { float streamCurrent = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); float streamMax = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); float streamVolume = streamCurrent / streamMax; mSoundPool.play(mSoundPoolMap.get(index), streamVolume, streamVolume, 1, 0, 1f); }
|
번호 |
제목 |
출처 |
요약 |
51 |
모회사(?!) 제품개발팀 안드로이드(Android) 분석 스프링노트 |
http://fanpro.springnote.com/pages/4789459 |
|
52 |
BaseAdapter 활용 |
http://udroid.blogspot.com/2009/04/customized-list-adapter.html |
|
53 |
ListView에서 Selector 배경을 특정색으로 변경할려면? |
http://kippee.dothost.co.kr/kurt/entry/팁-ListView에서-Selector-배경을-특정색으로-변경할려면 |
this.setSelector(Color.RED); |
54 |
Tab Focuse에 따른 아이콘 변경하기 |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <!-- Non focused states --> <item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/tab_unselected" /> <item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_selected" /> <!-- Focused states --> <item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/tab_focus" /> <item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/tab_focus" /> <!-- Pressed --> <item android:state_pressed="true" android:drawable="@drawable/tab_press" /> </selector> | |
55 |
SoundPool 사용(MediaPlayer 관련) |
http://www.droidnova.com/creating-sound-effects-in-android-part-1,570.html |
|
56 |
MediaPlayer 버퍼 캐쉬 만들어 쓰기 |
http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/ |
|
57 |
Android Tutorial 3: Custom Audio Streaming with MediaPlayer |
http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/ |
|
58 |
SufaceView , MediaPlayer 만들기 |
http://groups.google.com/group/android-developers/msg/52618aafc7d82156 http://www.kandroid.org/board/board.php?board=AndroidTechQnA&page=2&sort=hit&command=body&no=312 |
|
59 |
Get the size of the screen. |
http://www.anddev.org/viewtopic.php?p=36355 |
|
60 |
Dialog 의 다른 출력방식 |
http://code.google.com/p/android/issues/detail?id=6225 |
onCreateDialog(int id) 정의 후, showDialog(1) 으로 호출 |
61 |
안드로이드에서 볼륨조절하기. 1.볼륨 조절 버튼으로 조절 하기. 2.화면에서 SeekBar를 통해서 조절하기 |
http://drcarter.tistory.com/entry/Android-안드로이드에서-볼륨조절하기 |
|
62 |
AudioTrack 활용하기 |
http://apistudios.com/hosted/marzec/badlogic/wordpress/?p=228 |
|
63 |
Memory leak 방지 올바른 Context 사용 |
http://samse.tistory.com/tag/Activity%20context http://developer.android.com/intl/de/resources/articles/avoiding-memory-leaks.html |
Context.getApplicationContext() Activity.getApplication() |
64 |
Bitmap image resizing source |
Bitmap bitmapOrg = BitmapFactory.decodeResource(getResources(),R.drawable.android); | |
65 |
MediaPlayer 재생시 특정시간후 소리가 Closing stereo device 현상 |
| |
66 |
Android 에서 현재 화면 top 에 있는 activity 알아내기. |
| |
67 |
Custom Media Streaming with MediaPlayer |
http://whyandroid.com/android/92-android-tutorial-3-custom-media-streaming-with-mediaplayer.html |
|
68 |
SDK상에서 MediaMetadataRetriever를 이용한 Video thumbnail 얻는 방법? |
private Bitmap getVideoFrame(String uri) { | |
69 |
android mediaplayer deadlock |
http://code.google.com/p/android/issues/detail?id=959 |
reset() is valid in any state, though we have a bug in RC30 if you haven't take a media player to prepare state, the app thread will deadlock in reset(). Will be fixed in a release soon. |
70 |
AsyncTask |
http://tigerwoods.tistory.com/28 |
|
71 |
MySql, Json, Android 연동 |
JSONArray jArray = new JSONArray(result); | |
72 |
PVMF Return Codes |
http://www.netmite.com/android/mydroid/1.5/external/opencore/doc/pvmf_return_codes.pdf http://www.netmite.com/android/mydroid/1.5/external/opencore/doc/ |
PacketVideo Multimedia Framework (PVMF). |
73 |
Java에서 동영상 변환 |
| |
74 |
android-jni-examples |
| |
75 |
How to take pictures in Android |
| |
76 |
JMF 2.1.1 - Supported Formats |
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html |
|
77 |
Android Camera Preview Filter Using Camera.PreviewCallback.onPrevi ewFrame |
http://stackoverflow.com/questions/1893072/getting-frames-from-video-image-in-android |
|
78 |
How to use WebView & WebViewClient |
| |
79 |
BitmapFactory.decodeByteArray gives pixelated bitmap |
| |
80 |
Android Bitmap Object Resizing Tip |
http://blog.naver.com/PostView.nhn?blogId=visualc98&logNo=79874750 |
|
81 |
|
|
|
82 |
Byte to File (Image) |
http://stackoverflow.com/questions/649154/android-bitmap-save-to-location http://developer.android.com/intl/de/reference/android/provider/MediaStore.Images.Media.html |
|
83 |
BITMAP 사이즈 줄이고 늘리기 |
| |
84 |
byte[]->bitmap변환시, Factory returned null메시지 |
| |
85 |
Android Supported Media Formats |
http://developer.android.com/intl/de/guide/appendix/media-formats.html |
|
86 |
Mastering_the_Android_Media_Framework (MediaPlayer Problems And Solutions 포함) |
http://docs.huihoo.com/google/io/2009/Mastering_the_Android_Media_Framework.pdf |
|
87 |
YUV420 to RGB565 conversion in Android |
http://blog.tomgibara.com/post/132956174/yuv420-to-rgb565-conversion-in-android |
|
88 |
Ffmpeg for android |
http://gitorious.org/~olvaffe/ffmpeg/ffmpeg-android http://zimly.tistory.com/entry/FFMPEG-on-Android http://slworkthings.wordpress.com/2010/02/23/ffmpeg-and-android-mk/ http://groups.google.com/group/prajnashi |
|
89 |
H.264 Stream 분석 |
| |
90 |
Broadcasting video with Android - without writing to local files |
| |
91 |
자바 튜토리얼 |
http://www.javadom.com/tutorial/ http://www.javadom.com/tutorial/serialize/ |
Java is Big Endian 빅 엔디안에서 더블을 표현할 때 1-2-3-4-5-6-7-8 바이트 순서라면, 리틀 엔디안에서는 8-7-6-5-4-3-2-1 바이트 순서로 해석하면 됩니다. |
92 |
자바와 C 사이의 SOCKET 통신 (BYTE로 통신,보너스로 LITTLE ENDIAN까지) |
http://shonm.tistory.com/category/JAVA/C와%20JAVA%20의%20SOCKET%20통신%20(LITTLE%20ENDIAN) |
|
93 |
자바 1.4의 새로운 입출력, NIO API 1부 - 버퍼와 채널 |
| |
94 |
안드로이드 내장 APKs 개발방법(초안) |
http://www.kandroid.org/board/board.php?board=androidsource&command=body&no=64 |
|
95 |
byte[] image data in onPreviewFrame can Cause out of memory |
| |
96 |
[안드로이드] Bitmap , Byte 간의 변환 |
| |
97 |
Android PC Remote Control |
http://androidpcremotecontrol.googlecode.com/files/image01.pdf |
|
98 |
How to restart video preview after the surfaceDestroyed()? |
| |
99 |
Google Android Camera Focusing Issue |
http://everyjoe.com/technology/google-android-camera-focusing-issue/ |
|
100 |
안드로이드 소스를 보고 싶으면?? |
http://androidhuman.tistory.com/232 |
http://android.git.kernel.org/ git://android.git.kernel.org/platform/platform/dalvik.git |
'IT > SmartPhone' 카테고리의 다른 글
카카오톡 에러 긴급대응 Android webview 찾기/삭제? (0) | 2021.03.23 |
---|---|
IOS 8.0.2 업데이트 (0) | 2014.09.28 |
안드로이드 인기어플을 찾아주는 사이트 베스트 3 (0) | 2010.10.10 |
DroidDraw (1) | 2010.10.09 |
Android Market (1) | 2010.10.09 |
댓글