Privacy Policy anonimeact built the Kamus Latin Hewan & Tumbuhan Binomial Nomenklatur app as an Ad Supported app. This SERVICE is provided by anonimeact at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or
Privacy Policy anonimeact built the Kompilasi Undang-Undang app as an Ad Supported app. This SERVICE is provided by anonimeact at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone
“JSON stands for JavaScript Object Notation. JSON is a lightweight format for storing and transporting data. JSON is often used when data is sent from a server to a web page. JSON is “self-describing” and easy to understand”, https://www.w3schools.com said. As we know, JSON is one of the important part on development process exactly when we are going to parse data. I usually use Gson to ease the parsing data process. For me, parsing object data is easier than parsing array data. Usually I forget how to parse array data directly into an array list. So I wrote it down here. Check it
If you use webview on developing android application and you arabic text be like Scandinavian or Icelandic Character(example: Ù?? بÙ??اللَّهÙ?? Ù…Ù??Ù†ÙŽ الشَّيْطَانÙ?? الرَّجÙ??يمÙ), you must use this type mime
1 |
text/html; charset=utf-8 |
This is for the example:
1 |
webView.loadData(HTMLCODE, "text/html; charset=utf-8", "utf-8"); |
may be useful…. 🙂
WebView is one of the features that are often used in Android application development. I have ever meet trouble that my hyperlink work in my emulator that user marshmallow and didn’t work in my smartphone that use pie operating system. Firest way i load my html code just like that,
1 |
webView.loadData(HTMLCODE, "text/html; charset=utf-8", "utf-8"); |
that code work only to show the web data, but my hyperlink so ambyar, not run at all. I thinking and try try try try………………. until mumet ndase. And finaly i got the trick, what is that? yes i use loadDataWithBaseURL.
1 |
webView.loadDataWithBaseURL(null, HTMLCODE, "text/html; charset=utf-8", "utf-8", null); |
the simple trick that make me dumbfounded. wkwk
Privacy Policy anonimeact built the Peta Ziarah app as an Ad Supported app. This SERVICE is provided by anonimeact at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone
Privacy Policy anonimeact built the Whasapan app as a Free app. This SERVICE is provided by anonimeact at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as
Permasalahan ini terjadi karena Anda belum menambahkan path mysql ke dalam perintah CLI di terminal. Untuk menambahkan path tersebut, silakan lakukan perintah tersebut di terminal:
1 |
export PATH=${PATH}:/usr/local/mysql/bin/ |
RecyclerView On Touch item listener
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
public interface ClickListener { void onClick(View view, int position); void onLongClick(View view, int position); } class RecyclerTouchListener implements RecyclerView.OnItemTouchListener { private ClickListener clicklistener; private GestureDetector gestureDetector; public RecyclerTouchListener(Context context, final RecyclerView recycleView, final ClickListener clicklistener) { this.clicklistener = clicklistener; gestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() { @Override public boolean onSingleTapUp(MotionEvent e) { return true; } @Override public void onLongPress(MotionEvent e) { View child = recycleView.findChildViewUnder(e.getX(), e.getY()); if (child != null && clicklistener != null) { clicklistener.onLongClick(child, recycleView.getChildAdapterPosition(child)); } } }); } @Override public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { View child = rv.findChildViewUnder(e.getX(), e.getY()); if (child != null && clicklistener != null && gestureDetector.onTouchEvent(e)) { clicklistener.onClick(child, rv.getChildAdapterPosition(child)); } return false; } @Override public void onTouchEvent(RecyclerView rv, MotionEvent e) { } @Override public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) { } } |
Pengaplikasian
1 2 3 4 5 6 7 8 9 10 11 12 |
recyclerView.addOnItemTouchListener(new RecyclerTouchListener(this, recyclerView, new ClickListener() { @Override public void onClick(View view, final int position) { // Do what do you want } @Override public void onLongClick(View view, int position) { // Do what do you want on long click item } })); |
Privacy Policy anonimeact built the Kamus Binnom app as a Free app. This SERVICE is provided by anonimeact at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except