Posts

How to Add Git to Android Studio Projects and pushed it to (or) share it to GitHub

Image
To add version control such as git to your Android Studio Projects and then sharing it to Github follow the below steps: First, create the android project Then go to VCS  --> Import into Version Control  --> Create Git Repository Please find the image below for the reference Then select the root of your project for git init, refer to the image below Then go to Android Studio select root of project , right click and then select Git --> Add, refer to the image below Now again right click project name and select Git-->Commit, refer to the image below once you select commit you will be presented with another screen where you can write commit message and select commit Now our project has been added to the git any changes from now on will be tracked and added to the version control Share Project on GitHub To share the project on GitHub follows the below steps: Go to VCS --> Import into Version Control --> Share Project on GitHub, refer the image below ...

Android:How to parse JSON using Okhttp Library Example with Custom View (ImageView + TextView)

Hello to everyone, Today I am posting about JSON Parsing in Android using OkHttp Library. I went through many post for parsing json but there aren't any useful (or) detailed approach (or) step by step approach, so I decided to make a project with git and detailed every step in it.  You can get the whole code on GitHub JSONParsingUsingOkhttp .  Here each and every commit describe the steps I have taken to build the project, just import this project into the Android Studio and navigate through each and every commit to know the steps.  If you find it useful just share this project.

Google Brings Prompt as another option for Two-Step Verification for Android,iOS and Web

Technology giant Google has been advising on two-step verification for additional security of user accounts. For those who still don't use two-step verification, we recommend you enable the security feature following these simple steps. Now, Google is introducing a new Prompt feature to simplify its two-step verification process to make it easier to sign-in for Android and iOS users. While the new prompt feature in two-step verification will be available to Android as well as iOS users, Google points out that iOS users will need the Google Search app installed on their phone to use Google prompt. Android users will get the feature will have to update Google Play Services. Google says that the new feature is being rolled out gradually and may "potentially take longer than 3 days for feature visibility." Here’s how to do it: Go to the Google’s account page. Navigate to Sign-in & Security. Click the Signing in to Google button. And select 2-step verification option. Onc...

Windows 10 keyboard Shortcuts (or) Windows logo keyboard Shortcuts

Image
If you have installed the Windows 10 OS, want to have a look at the keyboard shortcuts for quick access then this the right place you have been, have a look at it, then try it yourself and enjoy!!!! Windows logo key +  t   =  Shows the Taskbar Taskbar Windows logo key +  a  =  Notifications (or) Action Center Action Center Windows logo key  +  d  =  Desktop Desktop Windows logo key  +  e  =  Quick Access Quick Access Windows logo key  +  h  =  Captures the Current Screen and Give You Option To Share Sharing Screen Windows logo key  +  i  =  Settings Settings Screen Windows logo key  +  j, Windows + f, Windows + n,Windows + w = Searches the desktop Desktop Screen Showing Selected files, folders and Application Shortcuts Windows logo key  +  k = Searches for Wireless Display and Audio devices and Connect them Wireless Display Screen Windows logo key ...

How to Change the [Windows logo key + e] to This PC (or) My Computer instead of Quick Access

Image
If you are recently installed the new Windows 10 OS to your PC, then the most recent change they have made to the most used keyboard shortcut  Windows logo key + e will point to Quick Access by default instead of This PC (or) My Computer , so if you are wondering how to change this setting you have to follow the below steps Just press Windows logo key + e go to Quick Access ---> Right Click on Quick Access on the Left Hand Side ---> Options ---> Chnage Open File Explorer to ---> This PC Below Are the Screenshots depicting the steps: Step 1 : Quick Access Step 2: Right Click and Select Options Step 3: Select This PC

To Show (or) Hide the Keyboard When User Launches the Activity

If you are developing an Android Application which make use of EditText view, which every developer make use of one way (or) other, here is tip to load the keyboard as soon as you enter the activity (or) disable and show only when user places the cursor on the EditText TIP 4:            To show the keyboard as soon as the user launches the activity (or) enters the screen which contains EditText fields, Add the below line of code to AndroidManifest.xml file inside the tag : android :windowSoftInputMode= "adjustResize|stateHidden"             To disable the keyboard and show only when user places the cursor use the below line of code: android :windowSoftInputMode= "adjustResize|stateVisible"

How to move between Edittexts using Android Softkeyboard

So, you are developing a Login Screen (or) Registration Screen in which you allowed the user to type their details (or) credentials one by one, so instead of placing the cursor in each of the fields, we can as a developer give them the option of navigating the fields through the inbuilt keyboard TIP 3:              To navigate (or) switch through the fields in the Login form (or) Registration from (or) Any other form just add the below attribute to every view android:imeOptions="actionNext"