Wednesday, January 29, 2014

10 Tricks to Boost Your Productivity While Using Eclipse IDE

By Admin   Posted at  9:38 AM   HowTo 8 comments
Hi guys,
Lets see 10 tricks that I find out
as cited on eclipsesource.com to Boost Your Productivity While Using Eclipse IDE, which  are worth sharing with you folks.




What I felt from my personal experience is that those who have just begun using Eclipse or have had “some experience” have used Eclipse only as a text editor or handled it in a really heavy way. The main issue being that they have not yet learned about Eclipse’s capabilities and how to utilize its strong features.

So
here are the top ten things, which will make your programming life a lot simpler and increase your productivity.

1. Letting Eclipse do the typing - A great IDE must assist the developer in writing his code quite instantaneously. Eclipse does this using Refactoring's, Quick Fixes, Code Assist/Code completion and more.  

2. Type Filters (for PDE / RCP developers) - Type Filters take out suggestions for certain types (e.g. classes, interfaces) from the “Open Type” dialog, content assist and quick fix proposals. As an RCP/SWT developer you would not want suggestions for Swing components like Button, Label, etc. You can find this setting in: Preferences > Java > Appearance > Type Filters

3. Text File Encoding - The default setting for saving files in the Eclipse workspace is through the useof file encoding of the underlying operating system. But you generally want to make a platform independent application. For accommodating this, set the file encoding to UTF-8. Using UTF-8 will prevent problems with special characters if deployed to a system running a different OS, running your build on a UNIX machine or in case someone else works on the code by using a different OS.

4. Save automatically before build - One thing I noticed is that people (including me) are constantly hitting Ctrl+S to save or even worse — grabbing the mouse to hit the Save action in the toolbar. This behavior seems to originate from experiences where an application was started from the workspace without saving and of course, changes were then lost. You can save some keystrokes and mouse clicks by enabling Save automatically before build. This is in: Preferences > General > Workspace


5. Use “Step Filtering” for Debugging – Using “Step Filters” you can filter out types you do not want to see, or step through while debugging. This assists you in staying focused on the actual code and does not expose you to the inner workings where you may not have the source.
6. Always launch the previously launched application - This option is for ensuring that your last launched configuration is utilized. Mentioned in the default setting, Eclipse strives to determine the most appropriate configuration for the currently selected resource that can be quite irksome. Set this under: Preferences > Run/Debug > Launching

7. Storing Your Launch Configuration in a Project – A great deal of time is invested in creating a launch configuration. It can be stored as a file in one of your projects. This allows you to share it with colleagues and save them from reinventing the wheel. You can find it in preference in: Menu: Run > Run Configurations... > Launch Configuration Tab: Common

8. Making a Launch Configuration always appear in the Menu – In case you have various Launch Configurations, you can select your favorite ones and stick them permanently to your Launch/Debug menu. You can go to - Menu: Run > Run Configurations... > Launch Configuration Tab: Common

9. Organising imports on save - The imports are instantly added to the class file. However, changing or removing code might make some imports useless. To fix that, you can Organize Imports by pressing shift+crtl+o or shift+cmd+o on a Mac and your imports will be cleaned up. You can also enable Organize imports on save and Eclipse will take care of it instantly. This can be found in: Preferences > Java > Editor > Save Actions
10. Formatting edited lines on save - The code formatter in Eclipse is quite a handy feature ensuring the code appears consistent in your projects irrespective of who has written it. It can also be easily read and understood by anybody. However, formatting the entire file can mess up the difference between two versions of the file. You can find this in -Preferences > Java > Editor > Save Actions.

Hope these tweaks/tricks will help you improve your productivity with eclipse as it helped me even after roughly 4 years of break.
 
HBK Says, " Happy Codding Have Fun " folks.

Monday, January 27, 2014

How to Install BackTrack on Android Mobile and Tablet

By Admin   Posted at  2:09 PM   HowTo-Android No comments
Hi Guys,

Lets see How we can Install BackTrack on Android Mobile and Tablet:



BackTrack Linux is a fine example of a specialized Linux distribution. Its only purpose is to test your network, devices, and systems for security vulnerabilities. BackTrack is packed with every security and hacker tool used by security professionals and professional hackers. I
f you're looking for all of the tools in one place, this is it. 

BackTrack is one of my favorite OS. First reason is it is made by world class hackers and second one is all hacking tools are available and last but not list one, it is flavor of Linux butI can use it only on PC. Android is booming now these days... Now you can Install Back Track Linux OS on Android smartphones and tablets. Now it is possible to install and run Backtrack on your Android devices.


Requirements:
(1) Root
(2) 1GHZ processor (recommended)
(3) 512MB Ram (recommended)
(4) Android 1.6 or higher
(5) Back Track 5 (http://goo.gl/CVVHgu)
Kernel will loop device support (this is included in most custom ROM’s)
(6) SD card with at least 3.5GB of free space
(7) Data connection on your device


Following Android Apps:

1.BUSY BOX (https://play.google.com/store/apps/details?id=stericson.busybox&feature=search_result#?t=W251bGwsMSwxLDEsInN0ZXJpY3Nvbi5idXN5Ym94Il0.) : It acts like a installer and uninstaller.it needs root permission to run.it has CPU cores and can run Linux kernels on android. click here

2. Superuser (https://play.google.com/store/apps/details?id=com.noshufou.android.su&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5ub3NodWZvdS5hbmRyb2lkLnN1Il0.) : This app just grants a superuser power to your phone just like "su " does for Linux. click here

3. Terminal Emulator (https://play.google.com/store/apps/details?id=jackpal.androidterm&feature=search_result#?t=W251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..) : Terminal Emulator is app that runs a terminal console in android. click here

4. Android VNC (https://play.google.com/store/apps/details?id=android.androidVNC&feature=search_result#?t=W251bGwsMSwxLDEsImFuZHJvaWQuYW5kcm9pZFZOQyJd) : Android VNC is a tool for viewing VNC in Android.

How to Install Backtrack on Android Tablet or Phone?


Download the complete set of files you need from here: 

http://goo.gl/CVVHgu

To your phones internal SDcard in a directory called “BT5″ (cAsE sEnSiTiVe)
Launch "Terminal Emulator" from your phone and type (everything after the $: or #: is user input):
$: su
#: cd sdcard
#: cd BT5
#: sh bootbt
#: export USER=root
#: vncpasswd
(make up a password"ex: toortoor")
#: tightvncserver -geometry 1280x720

While Backtrack is loaded (when you see a red “root@localhost“) start the VNC server by typing:root@localhost:~#: startvnc (stopvnc kills it)
Open 'AndroidVNC' and fill the form like this:
Nickname : BT5
Password : toortoor
Address : 127.0.0.1
Port : 5901

Connect it and you will see Backtrack 5 interface. Voila you just did it... Enjoy..!

Remember: Some of the Backtrack tools can’t work properly and do it for your own risk. I hope you can Install Backtrack on Android tablet without any problems, tell me if you get problems.



Monday, December 17, 2012

New Security Threat for the Samsung Galaxy Note 2 and Galaxy S3 << Updated with non-root Fix >>

By Admin   Posted at  9:50 AM   Vulnerability-Android No comments
New Security Threat for the Samsung Galaxy Note 2 and Galaxy S3 << Updated with non-root Fix >>


Another security threat was found by the Android developer community that affects the Galaxy S3, Note 2, Galaxy S2 and the Meizu MX. This exploit was also found to work on any device running the Exynos 4210 or 4412 processor. So what is this exploit? Well it makes for an easy root, but leaves the devices open for attack. Allowing for kernel code injections and RAM dumps from Malware apps that can be installed from the Google Play Store. According to XDA user Alephzain who found the exploit.


As we said this does affect all devices using the Exynos 4210 or 4412 processor, which are primarily Samsung devices, and newer ones at that. Members in the XDA forums have said that the issue has been reported to Samsung. And the amount of media coverage it’ll get in the coming hours will almost force Samsung to comment very soon.
If you’re one of those millions of people out there with the Galaxy Note 2, Galaxy S2 or 3, or the Meizu MX or some other device running on the Exynos 4210 or 4412 processor, and you’re rooted. Be careful with what your downloading from the Play Store. As we’ve said before, always check the reviews before downloading and see what others think about the app. If it’s got some pretty bad reviews you’ll want to leave it in the Play Store.
Update: Thanks to Supercurio, there’s now a non-root fix that you can apply to your device to fix this exploit. It’ll let you know if your device is vulnerable and then close it if it is. And most of all it “doesn’t modify your system, copy files, or flash anything”. You can turn the fix off and on as you choose, which is great since it messes with the front-facing camera. It also could mess with the HDMI output for some devices, but we aren’t 100% sure. So here’s a temporary fix for those that aren’t rooted, and hopefully Samsung will get an update out to fix this exploit ASAP.

Back to top ↑
Connect with Us

WhatsApp Share

What they says

one of the best mobile technology blog
one of the best mobile technology blog
one of the best mobile technology blog
one of the best mobile technology blog

Licencing

© 2013 Andropedia : The Android Fulcrum ™. Distributed By Blogger Themes | WP Mythemeshop Converted by Bloggertheme9
Blogger templates. Proudly Powered by Blogger.