본문 바로가기
반응형

Java7

[🔒 Security] HOTP (HMAC-based One-time Password algorithm) HMAC-based One-time Password algorithm (HOTP) is a one-time password (OTP) algorithm based on hash-based message authentication codes (HMAC). It is a cornerstone of the Initiative for Open Authentication (OATH). HOTP was published as an informational IETF RFC 4226 in December 2005, documenting the algorithm along with a Java implementation. Since then, the algorithm has been adopted by many comp.. 2020. 7. 31.
[Android] 상태바 숨기기 (How to hide status bar?) 📄 Hide status bar Source Code by Java getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 🚀 REFERENCE How to hide status bar? How can I hide the status bar for a specific activity? I found this similar question, but none of the answers worked for me. The app just crashed every time I tried to go to the activity: How to h... stackoverflow... 2019. 9. 2.
[Android] Custom Dialog 띄우기 (How to create a Custom Dialog in android?) 📄 Create a custom dialog in android Source Code by Java public class CustomDialog extends Dialog implements View.OnClickListener { public CustomDialog(@NonNull Context context) { super(context); requestWindowFeature(Window.FEATURE_NO_TITLE); // 다이얼로그의 타이틀바를 없애주는 옵션입니다. getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); // 다이얼로그의 배경을 투명으로 만듭니다. setContentView(R.layout.here_l.. 2019. 8. 7.
[Android] AsyncTask Asynctask in Android -Theory | Android Tutorial for Beginner - YouTube AsyncTask enables proper and easy use of the UI thread. This class allows you to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers. AsyncTask is designed to be a helper class around Thread and Handler and does not constitute a generic threading framework. A.. 2019. 7. 25.
반응형