April 2013

NetBeans Podcast 64

What is NetBeans Podcast?

NetBeans Podcast refers to Latest News about NetBeans, NetBeans IDE, NetBeans Community, Interviews from NetBeans Community, new features of NetBeans, etc.

NetBeans Podcast 64 :

Featuring Ruby and Rails plugin update, Tinu’s new blog and interviews of Atul Palandurkar (Author : NetBeans IDE How-to Book | Packt Publishing, UK), Tushar Joshi (Easy Flow Charts using HTML5 features of NetBeans IDE) and David Konecny (Promoter of HTML5 features of NetBeans IDE).

Click here for details : NetBeans Podcast

Android Emulator Keyboard Shortcuts

Objectives:

  • How to use Emulator for Android?
  • What are the Android Emulator Shortcuts?
  • What are the Android Emulator Keyboards Shortcuts?
  • What are the Keyboard Shortcuts for Android Emulator?
  • How to use Android Emulator from Keyboard?

Keyboard shortcuts for Android Emulator :

Emulator Key / Function

Keyboard Shortcut

Home Home
Menu F2 or Page-up
Star Shift + F2 or Page-down
Back Esc
Call / Dial F3
Hang-up / End Call / Lock Screen F4
Search F5
Power F7
Volume-up Keypad ‘+’ or Ctrl + 5
Volume-down Keypad ‘-’ or Ctrl + 6
Camera Ctrl + Keypad 5 or Ctrl + F3
Previous Layout Orientation Keypad 7 or Ctrl + F11
Next Layout Orientation Keypad 9 or Ctrl + F12
Toggle Cell Networking ON/OFF F8
Toggle Code Profiling F9 (only with -trace startup option)
Toggle Full screen Mode Alt + Enter or Alt + Return
Toggle Trackball Mode F6
Enter Trackball Mode Temporarily Delete
DPad Left Keypad 4
DPad Right Keypad 6
DPad Up Keypad 8
DPad Down Keypad 2
DPad Center Keypad 5
Increase Onion Alpha Keypad * (Multiply or Star)
Decrease Onion Alpha Keypad / (Divide)

Enjoy coding.

Source : Android

DVM vs. JVM

Objectives :

  • What is DVM?
  • What is Dalvik Virtual Machine?
  • What is JVM?
  • What is Java Virtual Machine?
  • What are the differences between DVM & JVM?
  • What are the differences between Dalvik Virtual Machine & Java Virtual Machine?

 

DVM (Dalvik Virtual Machine)

JVM (Java Virtual Machine)

It is Register based which is designed to run on low memory.

It is Stack based.

DVM uses its own byte code and runs “.Dex” file. From Android 2.2 SDK Dalvik has got a Just in Time compiler

JVM uses java byte code and runs “.class” file having JIT (Just In Time).

DVM has been designed so that a device can run multiple instances of the VM efficiently. Applications are given their own instance.

Single instance of JVM is shared with multiple applications.

DVM supports Android operating system only.

JVM supports multiple operating systems.

For DVM very few Re-tools are available.

For JVM many Re-tools are available.

There is constant pool for every application.

It has constant pool for every class.

Here the executable is APK.

Here the executable is JAR.

 

Easy Flow Charts

Always get tensed while drawing Flow Charts for your programs? What if someone draws Flow Charts for you? I think that will be great! Yes! Now you don’t need to worry about drawing flow charts.

Here is the Online Flow Charts Generator for you : Easy Flow Charts

This is MIT licensed and open source, free to use learn and contribute by anyone out there. This great and innovative solution is developed by Tushar Joshi, Principal Architect at Persistent Systems, Nagpur (India), apart from developing innovative applications he is a very good teacher and poet.

So use it freely to design, sorry to generate the flow charts for you now.

Lets have a look, how easily you can generate flow chart for you :

Steps :

  1. Write/customize your program according to syntax given in left panel.
  2. Click “Update” Button above left panel. This will show flow chart generated according to your code.
  3. Click “Show As Image” Button above Image panel to save the Flow chart as Image.

Three easy steps and you are done.

Here is my first flow chart using Easy Flow Charts ;

Script :

[sourcecode language=”text”]

Start->Input A
Input A->Input B
Input B->B ==0
B ==0->Cannot divide by zero: yes
B ==0->Will Proceed: no
Cannot divide by zero->Stop
Will Proceed->C = A / B
C = A / B->Print C
Print C->Stop

[/sourcecode]

Output :

Easy Flow Charts

Easy Flow Charts

Then if you want to save huge amount of time in drawing flow charts use Easy Flow Charts.

Interview by NetBeans Team

Hello Friends,

I am glad to tell you that 11th April 2013 that is on the occasion of Gudhipadwa (Marathi New Year) I got interviewed by Tinuola Awopetu who is Principal Program Manager for NetBeans IDE in Oracle and Country Lead for the Czech Republic chapter of Oracle Women’s Leadership (OWL).

I got interviewed for my work for “NetBeans IDE How-to” Instant Book which is published by Packt Publishing, UK on 27th March 2013. Geertjan Wielenga who is Principal Product Manager for NetBeans IDE in Oracle for this Interview, thanks a lot for asking me for this. Tinu (Tinuola Awopetu) conducted the interview on Phone, it was supposed to be conducted via Skype but due to some technical issues the interview was conducted on Phone.

It went simply great! I was like in dreams because Oracle people were interviewing me that too for my little efforts I put into framing a concept book into reality. I went through some questions related to book, my experience with NetBeans IDE and future books. The interview will be published in NetBeans Community Podcast 64. Now I am eagerly waiting for the NetBeans Community Podcast. So guys do your bit for Java and NetBeans IDE and get recognition from Oracle.

I am really grateful of Geertjan and Tinu for the great opportunity and for starting my new year with a bang.

My Interview by NetBeans Team is now published in NetBeans Podcast 64.