http - hyper text transfer protocol xmpp - eXtensible messaging and presence protocol. Both http and xmpp is communication protocol and open source. But their uses is completely different. XMPP is mostly used in chat type application. XMPP is faster than HTTP. It's a bi-directional functionality. Like chat application, user sends message from device, it's re-directs to server and receive's message to another user. It's handle both upstream and downstream.
Hi friends, have a great day. Now I'm going to explain the what is proguard and it's usage in android. Believe android is big sea, there is lot of things. What is Proguard? Proguard is a simple java tools to shrink apk, prevent re-engineering from hackers. It's a reduce the size of android apps and run faster. Proguard renames the classes, methods and objects to prevent the re-engineering the APK. Now hackers easily to hack your code and run for their uses. Proguard stops them and protect your code. In android project, proguard located in apps folder. proguard-rules.pro To enable the code shrinking, just add simple line in gradle. It's under buildTypes{ release{ minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } Please follow the below lines, that's very important to make it. -dontusemixedcaseclassnames #Specifies not to generate mixed-case c...
Hi friends, have a great day. In android development, initially most of developers are learn on eclipse, then android studio came with a lot of features. Most of developers hate because of GRADLE. In eclipse, we using maven. But gradle is completely different. Take a long time for making a build. Please don't take seriously, if you have enough RAM, Internet and good speed of processor. :) I give some suggestion to perform the faster gradle build. 1. Append the following lines in gradle.properties in your app. # The Gradle daemon aims to improve the startup and execution time of Gradle. # When set to true the Gradle daemon is to run the build. # org.gradle.daemon=true # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. # org.gradle.parallel=true # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. # Default value: -Xmx10...
Comments