Category Archives: Tech

You Can Customize WordPress Website Author Link

Every author or website administrators doesn’t want to show/display a hint of their username for strangers or hackers.

This is really a frustration for wordpress Website managers. You can avoid this loop hole from the site. How ? Here are the steps,

 

Article on how to remove wordpress username from public link

Article on how to remove wordpress username from public link

  1. Go to your website admin page, make sure that your username and display name are different to avoid hackers guessing on your userid
  2. If you done the first step, go to your phpMyAdmin and go to the database and Tables created for your website
  3. The users table or authors tables usually comes with prefix _users, find it and check for user_login, user_nicename and user_email column
  4. Edit/Change user_nicename to something else which does not give a hint to the hacker
  5. You are done!

    Note : The user_nicename is publicly visible. Thanks, Enjoy Your Blogging.

 

Android Basics for Beginners

We all are familiar with Android Application, but few are good at developing such applications. So here are the basics of Android Development.

To write or use code smartly everyone needs a platform which is called Integrated Development Environment in short IDE. For Android, it is Android Studio which looks like the image shown below,

Android Studio Sample Screenshot

Android Studio Sample Screenshot

Before going to the coding sample you need to know XML (Xtensible Markup Language), which is developed in 1990s to overcome the drawback of HTML(HTML does not allow the definition of new text elements). In either means, XML is the language used for creating the layout or UI. Java is used to write dynamic code for an Application(Android).

 

Views: Can be images, text, buttons etc…

Here is the basic code format of Android,

Code starts here,

1 <TextView
2      android:text=”Happy Birthday Sister”
3      android:background=”@android:color/darker_gray”
4      android:layout_width=”150dp”
5      android:layout_height=”75dp” />

Coding Ends.

  • The numbers represents only lines which come with the platform
  • Whenever writes a code incorrectly, In Android Studio it will be displayed in Red colour