Monday 28 May 2012

Wakeup Indians

Before 12 months 1 US $ = IND Rs 43
After 12 months, now 1 $ = IND Rs 54.73 (at the time of posting)

Do you think US Economy is booming? No, but Indian Economy is Going Down.

Our economy is in your hands….

INDIAN economy is in a crisis. Our country like many other ASIAN countries, is undergoing a severe economic crunch. Many INDIAN industries are closing down. The INDIAN economy is in a crisis and if we do not take proper steps to control those, we will be in a critical situation.

More than 30,000 crore rupees of foreign exchange are being siphoned out of our country on products such as cosmetics, snacks, tea, beverages, etc… which are grown, produced and consumed here.

A cold drink that costs only 70 / 80 paisa to produce, is sold for Rs.9 and a major chunk of profits from these are sent abroad. This is a serious drain on INDIAN economy.

We have nothing against Multinational companies, but to protect our own interests we request everybody to use INDIAN products only at least for the next two years. With the rise in petrol prices, if we do not do this, the Rupee will devalue further and we will end up paying much more for the same products in the near future.

What you can do about it?

1. Buy only products manufactured by WHOLLY INDIAN COMPANIES.
2. ENROLL as many people as possible for this cause…..

Each individual should become a leader for this awareness. This is the only way to save our country from severe economic crisis. You don’t need to give-up your lifestyle. You just need to choose an alternate product.

All categories of products are available from WHOLLY INDIAN COMPANIES.

LIST OF PRODUCTS

COLD DRINKS:-

DRINK LEMON JUICE, FRESH FRUIT JUICES, CHILLED LASSI (SWEET OR SOUR), BUTTER MILK, COCONUT WATER, JAL JEERA, and MASALA MILK…

INSTEAD OF COCA COLA, PEPSI, LIMCA, MIRINDA, SPRITE

BATHING SOAP:-


USE CINTHOL & OTHER GODREJ BRANDS, SANTOOR, WIPRO SHIKAKAI, MYSORE SANDAL, MARGO, NEEM, EVITA, MEDIMIX, GANGA , NIRMA BATH & CHANDRIKA.

INSTEAD OF LUX, LIFEBUOY, REXONA, LIRIL, DOVE, PEARS, LESANCY, CAMAY, PALMOLIVE, FIAMA DI’WILLS.

TOOTH PASTE:-


USE NEEM, BABOOL, PROMISE, VICO VAJRADANTI, PRUDENT, DABUR PRODUCTS, MESWAK

INSTEAD OF COLGATE, CLOSE UP, PEPSODENT, CIBACA, FORHANS, MENTADENT.

TOOTH BRUSH: -


USE PRUDENT, AJANTA , PROMISE

INSTEAD OF COLGATE, CLOSE UP, PEPSODENT, FORHANS, ORAL-B

SHAVING CREAM:-


USE GODREJ, EMAMI, VICCO

INSTEAD OF PALMOLIVE, OLD SPICE, GILLETE

BLADE:-


USE SUPERMAX, TOPAZ, LAZER, ASHOKA

INSTEAD OF SEVEN-O -CLOCK, 365, GILLETTE

TALCUM POWDER:-


USE SANTOOR, GOKUL, CINTHOL, WIPRO BABY POWDER, BOROPLUS

INSTEAD OF PONDS, OLD SPICE, JOHNSON’S BABY POWDER, SHOWER TO SHOWER

MILK POWDER:-


USE INDIANA, AMUL, AMULYA

INSTEAD OF ANIKSPRAY, MILKANA, EVERYDAY MILK, MILKMAID.

SHAMPOO:-


USE LAKME, NIRMA, VELVETTE

INSTEAD OF HALO, ALL CLEAR, NYLE, SUNSILK, HEAD AND SHOULDERS, PANTENE

MOBILE CONNECTIONS:-


USE BSNL, AIRTEL, RELIANCE

INSTEAD OF VODAFONE, UNINOR, DOCOMO,

Food Items:-
Eat Tandoori chicken, Vada Pav, Idli, Dosa, Puri, Uppuma

INSTEAD OF KFC, MACDONALD’S, PIZZA HUT, A&W

Every INDIAN product you buy makes a big difference. It saves INDIA. Let us take a firm decision today.

BUY INDIAN TO BE INDIAN – We are not against of foreign products.

I AM NOT ANTI-MULTINATIONAL. WE ARE TRYING TO SAVE OUR NATION. EVERY DAY IS A STRUGGLE FOR A REAL FREEDOM. WE ACHIEVED OUR INDEPENDENCE AFTER LOSING MANY LIVES.
MULTINATIONALS CALL IT GLOBALIZATION OF INDIAN ECONOMY. FOR INDIANS LIKE YOU AND ME, IT IS RE-COLONIZATION OF INDIA. THE COLONIST’S LEFT INDIA THEN. BUT THIS TIME, THEY WILL MAKE SURE THEY DON’T MAKE ANY MISTAKES.

WHO WOULD LIKE TO LET A”GOOSE THAT LAYS GOLDEN EGGS”SLIP AWAY?

PLEASE REMEMBER: POLITICAL FREEDOM IS USELESS WITHOUT ECONOMIC INDEPENDENCE

RUSSIA, S.KOREA, MEXICO – THE LIST IS VERY LONG!! LET US LEARN FROM THEIR EXPERIENCE AND FROM OUR HISTORY. LET US DO THE DUTY OF EVERY TRUE INDIAN.

FINALLY, IT’S OBVIOUS THAT YOU CAN’T GIVE UP ALL OF THE ITEMS MENTIONED ABOVE. SO GIVE UP AT LEAST THREE (3) ITEM FOR THE SAKE OF OUR COUNTRY!

We would be sending useless forwards to our friends daily. Instead, please forward this note to all your friends to create awareness…!!

“LITTLE DROPS MAKE A GREAT OCEAN.”

PLEASE TRY TO BE AN INDIAN…..

THANK YOU…LOVE YOU India…!! ♥♥♥

Wednesday 9 May 2012

JAVA - How to store large number in java ??


 I want to store a big number, which cant be stored  "long" data type. How  to do?
 Solution is : BigInteger class of java.math package in Java
It has lots of helpful methods to do operations on it.For more information :
   http://docs.oracle.com/javase/1.4.2/docs/api/java/math/BigInteger.html

Example Program:
    http://www.roseindia.net/java/java-biginteger/java-biginteger.shtml

To store large decimals  we have BigDecimal class in same package.

Android - How to extract resources and source code from apk

 Hi Guys,

This is for the people who has apk file and lost the source code unfortunately and who wants some initial push to write great apps( i mean by copying :P ).

 First download the apk file you want to decode into a separate folder.

Step 1: How to Get images and Icons :
  •  add extension ".zip" to your .apk file.                                                                                               
          Ex:  Myexample.apk   rename to  Myexample.apk.zip
  • Unzip the file, then it will create a folder with all resources folders , AndroidManifest file and "classes.dex" file which contains source code.
Now,  you have all the images and all xml files. Problem is all xml files are in unreadble format.If you just need images this step is enough. If you want images and readable xml also then follow following approach.


Step 2 : Decode Resources and Xml files :

Open another new folder and put following  files in that
  • put .apk file which you want to decode
  • download apktool XX.tar and apktool-install-windows XXX.tar and extract both in same folder 
          http://code.google.com/p/android-apktool/downloads/list                                               

         apktool xx.tar will give you apktool.jar                                                                         
         apktool-install-XX.tar will give you apktool.bat. This bat file uses apktool.jar so both should be in
         same folder.
  • download framework-res.apk file and put it in same folder.                                      http://www.2shared.com/complete/MIFn5Cuo/framework-res.html 
  • Open command prompt
  • Navigate to the root directory of APKtool.bat and type the following command:     
             >  apktool if   framwork-res.apk                                                                                            
             >  apktool d "fname".apk ("fname" denotes filename which you want to decode)                     
                 Ex: apktool d Myexample.apk



             






Now you get a folder contains resources and readable xml files too. enjoy!!!

Not satisfied, you want source too.. then following steps are for you.

Step 3 : Decoding Source files :

  • First we need to do Step 1. 
  • When you open the folder you can see "classes.dex". We need to De-compile it.
  •  Download dex2jar tool from following link and extract to same folder.
           http://code.google.com/p/dex2jar/
  • Copy classes.dex file into extracted dex2jar folder where you can see "dex2jar.bat"
  • Open command prompt and reach to that folder which contains "dex2jar.bat" and type,
            >  dex2jar classes.dex

         you will get "classes_dex2jar.jar" in same location.That means you converted .dex files .class files.
  •  To get source code we again need to De-compile it. For this download following java De-compiler
           http://java.decompiler.free.fr/?q=jdgui
  • Now double click on jd-gui and click on open file then open  classes_dex2jar.jar  file from that folder...
  • Now you get class file...save all these class file (click on file then click "save all sources" in jd-gui)
  • It will give you "classes_dex2jar.src.zip" it contains all source files.






ENTERTAINMENT - Gabbar Singh movie

Gabbar singh releasing on 11th - may


Android - How to hide the application from Launcher and Application list

  Hi,
   Now a days there is more requirement of spy kind of applications, That means application should not be
   visible.

  From two places we can see the applications,
     1. Launcher
     2. settings --> applications.

  Lets see how to hide the application from laucher :

  Launcher application finds all installed application having launching category. So, we need to remove launcher category from manifest file and restart the launcher i mean restart the device.

              <category android:name="android.intent.category.LAUNCHER" />
  replace this with any other category for example

             <category android:name="android.intent.category.DEFAULT" /> 

  because an activity without category cant be opened/called.


  How can we hide from Application list :

   I am reading it :P

Process to Apply Passport in Hyderabad.

Hi all,

  In this blog i want to share my experience and information to you about passport applying in Hyderabad.

 There are two types  of passports  issued by government.

1. General :

  •   It costs 1000/-
  •   What you need is just a identity proof  like Driving licence or  ration card(it should have your photo)   voter id card or  PAN card.
  • You can get Forms at Post office near shamlal buildings, Begampat. If you give 20/- he will fill the  form  for you or you can get form in Internet at  http://passport.gov.in/cpv/Forms.htm 
  • You can take DD or pay cash directly. I will suggest you to pay cash.
  • If you are a student, apply from your college it is best because there will not be verification  problems
  • Big mistake in Filling Passport form:                

            Keeping permanent and present address as different. Here the problem is Police verification will happen in two places and you need to pay to mama's two times :) and several other problems at last  you will get passport after 6 months. So to avoid that keep only one address that is permanent.

  •  Submitting the form This is crucial phase in passport applying a bbbbig line and they will accept some   300 to 500 forms a day. So every body go early in the morning you also follow the same.
  •  If you fill the form through internet it will give you day of submission date  and time :)  That cant help  you to submit form with out standing in line.So dont believe that.
  •  Finally, if you want to apply through broker then dont pay him more than 2000/- If you want i will give   you contact numbers but my suggestion is do it on your own if you have any type of queries mail me..