Saturday, 22 October 2016

[Intellij] Configure Go to Implementation with CNTRL+ Left Click

This is not available out of the box, We need to configure this with Quicklists and keymap  
  1. Preferences/Settings-> Appearance & Behavior ->  "Quick Lists" 
  2. Give a name and save it.
  3. Add an action in the right side panel bottom (Click on the + at the bottom)
  4. Add the Go to Declaration action (Main Menu > Navigate > Declaration )
  5. Add the Go to Declaration action (Main Menu > Navigate > Implementation )
  6. Click Apply
  7. Go to Keymap in the settings
  8. "Quick List" -> Add a shortcut with (COMMAND/CNTRL+Click)
  9. If it is already assigned to something, do the needful.
Then you can try the shortcut

Friday, 29 July 2016

[Solution] How to embed images from dropbox in blogger

When we try to embed images uploaded in dropbox in your blog, when composing with Blogger.com.

Your public link will not work. As your link may look as below -

INCORRECT : https://www.dropbox.com/s/fbgl0r024v4vmbd/Android%20N%20Error.png?dl=0

This is not a actual link instead an embedded page. To resolve this  you postfix ?raw=1 in your URL and the problem will be resolved.

The new URL looks as below

CORRECT : https://www.dropbox.com/s/fbgl0r024v4vmbd/Android%20N%20Error.png?raw=1

Happy Blogging !!

[Android Studio] Solution : Android N requires the IDE to be running with JDK 1.8


Android N Requires the IDE To be running with Java 1.8 or later. Install a supported JDK.

Eventhough we install the JDK 1.8, this error comes up, and we are not able to work on Design view of a Mobile Phone.






Solution to the Problem :

Found a solution here http://stackoverflow.com/questions/35928580/android-n-requires-the-ide-to-be-running-with-java-1-8-or-later/35935433#35935433


  • Quit Android Studio
  • Edit the file /Applications/Android\ Studio.app/Contents/Info.plist
  • remove the versions and change it to 1.8
  • The changes in my file looks as below
      <key>JVMVersion</key>
      <string>1.8</string>

  • Restart Android Studio.

Now the problem will be resolved in the Design view of the Activity View


Wednesday, 15 June 2016

Run Pinned Shortcut in Taskbar as Administrator in Windows

Luckily you can set Run as administrator option from the shortcut in this case.
  1. Right-click the shortcut in your task bar.
  2. Right-click the program's name (say Command prompt for instance)
  3. Click on Properties.
  4. Click the Shortcut tab.
  5. Click the Advanced... ...
  6. Check the Run as administrator check box.
  7. Click the OK button.