본문 바로가기

프로그래밍/Android55

Android Load More ListView 1. LoadMoreListView.classpublic class LoadMoreListView extends ListView implements OnScrollListener { private static final String TAG = "LoadMoreListView"; /** * Listener that will receive notifications every time the list scrolls. */ private OnScrollListener onScrollListener; private LayoutInflater inflater; // footer view private RelativeLayout footerView; // private TextView mLabLoadMore; pri.. 2015. 2. 12.
Android ExpandableListView 순서 1. class 2. xml 1. classpublic class ActScrap extends ActBase { private Context context; private ExpandableListView expandableListView; private AdapScrap scrapAdapter; private ArrayList groupList; // 1차 분류 private ArrayList childList; // 2차 분류 private ArrayList childContentList; // 2차 분류 내용 @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setC.. 2015. 2. 5.
Android create keyhash from debug.keystore and release.keystore 카카오 문서를 참고하였음 OS X와 리눅스 : Eclipse "ADT > Preferences > Android > Build > Default debug keystore" 에서 확인 가능합니다.예 : ~/.android/debug.keystoreWindows : Eclipse "Window > Preferences > Android > Build > Default debug keystore" 에서 확인 가능합니다.Windows Vista와 Windows 7 예: C:\Users\\.android\debug.keystoreWindows XP 예 : C:\Documents and Settings\\.android\debug.keystorekeytool : $JAVA_HOME/bin 아래에 존재합니다.ope.. 2015. 1. 30.
Android create keyhash 2가지 방법이 있다. 1. 첫번째 방법In order to generate key hash you need to follow some easy steps.1) Download Openssl from: here.2) Make a openssl folder in C drive3) Extract Zip files into this openssl folder created in C Drive.4) Copy the File debug.keystore from .android folder in my case (C:\Users\SYSTEM.android) and paste into JDK bin Folder in my case (C:\Program Files\Java\jdk1.6.0_05\bin)5) Open com.. 2015. 1. 26.
Android about Alarmmanager... Alarmmanager 주기적인 알람을 설정할 경우,정확한 시간에 알람이 울리지 않는 경우 고려할 사항 1. 알람 리시버에 WakefulBroadcastReceiver을 상속 받았는지 확인(1분정도의 딜레이가 발생할 가능성이 있으나 거의 정확히 알람이 울림) 2. Note: Beginning with API 19 (KITKAT) alarm delivery is inexact: the OS will shift alarms in order to minimize wakeups and battery use. There are new APIs to support applications which need strict delivery guarantees; see setWindow(int, long, long, Pe.. 2015. 1. 19.