2018/063 맥에서 비트나미 설정 후 DB 접근 이걸 주석.하면 되고..#skip-name-resolve=1웹서버 도큐먼트루트 변경은 여기서 Applications/mampstack-7.1.18-1/apache2/conf/bitnami/bitnami.conf 여기 수정. DocumentRoot "/Users/(USER)-pc/Web" 2018. 6. 8. Android BaseActivity 퍼미션 등록 및 프래그먼트 액티비티 등록. 안드로이드 베이스액티비티프래그먼트 등록 및 액티비티 전환 메서드.안드로이드 퍼미션 대응 public abstract class BaseActivity extends AppCompatActivity { @Override public void onBackPressed() { if (getSupportFragmentManager().getBackStackEntryCount() == 0) { //뒤로가기 2초 종료 유도 super.onBackPressed(); } else { super.onBackPressed(); } } /** * add 를 했을 때 액티비티에서 종료를 하면 앱이 0으로 표시된다. */ public void addFragment(int id, Fragment fragment) { addFra.. 2018. 6. 5. 디펜던시. implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support.constraint:constraint-layout:1.1.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' //RxJava,RxAndroid impleme.. 2018. 6. 4. 이전 1 다음