When you develop an application you might want to protect your code. A good way to accomplish this is to use obfuscation. ProGuard is a good open-source tool you can use for this purpose.…
Read article ↗Most programmers know how to define and use a function in JavaScript. For example, the following function displays an alert containing the string passed in as a parameter: How many…
Read article ↗Here are some code snippets showing how to accomplish this: This first example creates a table with only two columns: id and person. The first is the PK of the table and the second has type…
Read article ↗Often it is useful to intercept the key pressed within an element of an HTML form, such as a text box. For this purpose you can use JavaScript to extract the code of the key that was…
Read article ↗