Monday, February 21, 2011

Can not receiver android.provider.Telephony.WAP_PUSH_RECEIVED in MMS?

I have seen most of the people complaining about not receiving android.provider.Telephony.WAP_PUSH_RECEIVED intent. This is because most of the time they missed out on adding the MIME Type. This is the correct way to define the receiver

Sunday, February 13, 2011

Could not load definitions from resource proguard/ant/

To fix this,

1. Open add-proguard-release.xml
2. Goto Line 19.
3. add "lib" to the following location


Expecting class path separator ':' before '{' in argument number in Ant + Android build scripts

Today when I tried to Incorporate Ant build scripting with ProGard I got this error.

/path/to/add-proguard-release.xml:35: Expecting class path separator ':' before '{' in argument number 1

to fix this error add following line to your file:


Wednesday, February 9, 2011

-Dosgi.requiredJavaVersion=1.5 Error

JVM terminated. Exit code=-1
-os win32
-ws win32
-arch x86
-showsplash C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\\plugins\org.eclipse.platform_3.3.200.v200906111540\splash.bmp
-launcher C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup C:\Aruna\Android\eclipse-jee-galileo-win32\eclipse\plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
-product org.eclipse.epp.package.jee.product
-vm C:\Program Files\Java\jdk1.6.0_23\bin\..\jre\bin\server\jvm.dll

I started getting this error message today morning and after few hours of googling I found how to fix this.

For some reason, Eclipse is using 32-Bit version of the Java Run time and when it kicks up, it's looking for the 32-Bit version of the Runtime. To fix this you need to download 32-bit version of the SDK from here . Then make sure Path variable in the Envirnment variable set to the 32 bit path as well.

Hope this will save someones day.