Pages Navigation Menu

Coding is much easier than you think

Android Updates

Advertisements

Re-installation failed due to different application signatures – Android Error

Posted by on Apr 20, 2013 in Android | 1 comment

Re-installation failed due to different application signatures – Android Error

  Cause Mainly this error occur for same application sign.If you port your app to another device, there may be a problem with keystores. it’€™s called debug.keystore and located in %USER_HOME%/.android/ folder. It happens because eclipse tries to push apk with re-install key. The digital signature is driven by a signing key that exists on the machine that signs the app. If Developer A compiles an app using the standard debug key and installs it in an emulator, then tries installing some other variation of the app — one...

read more

Android tutorial for beginners

Posted by on Apr 20, 2013 in Android | 4 comments

  Wanna Learn Android easily????!!!! Here you go!!!!     Learn and become an expert in developing android applications. In order to fully appreciate the below tutorial, basic knowledge on Java and XML is a prerequisite. Check out tutorials for :- JAVA XML ANDROID DEVELOPMENT TUTORIALS   Learn how to setup the environment for android development, create virtual devices and some of the app fundamentals involved in developing android application… SETUP ANDROID DEVELOPMENT ENVIRONMENT LEARN TO CREATE AND USE...

read more

Conversion to dalvik format failed with error 1 : Android Error

Posted by on Apr 19, 2013 in Android | 0 comments

Conversion to dalvik format failed with error 1 : Android Error

  java.lang.IllegalArgumentException: already added: package/MyClassclass; [2011-01-19 14:54:05 – …]: Dx1 error; aborting [2011-01-19 14:54:05 – …] Conversion to Dalvik format failed with error 1   Go to Project » Properties » Java Build Path » Libraries and remove all except the “Android X.Y” (in my case Android 1.5). click OK. Go to Project » Clean » Clean projects selected below » select your project and click OK. That should work. It is also possible that you have a JAR file located...

read more

How do you enable a microphone input in the android emulator?

Posted by on Apr 19, 2013 in Android | 0 comments

How do you enable a microphone input in the android emulator?

If you are trying to get the audio from Android emulator, you can not be successful. You can try this with different ways like by writing a custom speech to text application, by trying to compile voice recognition sample at Android SDK or by using in-built Speech Recorder on a Google API supported android emulator.   ** UPDATE: Android Complete tutorial now available here.   You would have given proper permission and you might have also selected Audio play back support in Hardware selection in creating new AVD (Android Virtual...

read more

How to call Android contacts list and Display his name and Phone Number after selection?

Posted by on Apr 19, 2013 in Android | 0 comments

How to call Android contacts list and Display his name and Phone Number after selection?

There are three steps to this process. 1) Permissions Add a permission to read contacts data to your application manifest. 2) Calling the Native Contact Picker Android already has behavior built in to select contacts. This is used to select contacts for phone calls and other native apps. But it can also be used by apps like yours so you don’€™t have top build it yourself. Intents are a generic mechanism for invoking an action that the system can respond to. When the Android action code processed that Intent, it saw the reference to...

read more

To find list of permissions used by an installed application in android

Posted by on Apr 19, 2013 in Android | 0 comments

To find list of permissions used by an installed application in android

The below code not only retrieves the permission  , but will also retrieve services , receivers . Be  careful on PackageManager tags. This will only fetch you the corresponding information on specific packages .   PackageManager p = this.getPackageManager(); final List < PackageInfo>; appinstall=p.getInstalledPackages(PackageManager.GET_PERMISSIONS|PackageManager.GET_RECEIVERS| PackageManager.GET_SERVICES|PackageManager.GET_PROVIDERS); for(PackageInfo pInfo:appinstall){ //PermissionInfo[]...

read more

How to get a list of installed android applications in Android

Posted by on Apr 19, 2013 in Android | 0 comments

How to get a list of installed android applications in Android

Starting from the your Activity context you can obtain an instance of PackageManager through the method called  getPackageManager(). Using that class is it possible to get a list of ApplicationInfo objects containing details about apps such as MetaData, Permissions, Services or Activities. Flag are very import for PackageManager .For example  PackageManager.GET_META_DATA will retrieve only meta data for all packages . Useful data are for example the name of the app, the packageName used to retrieve additional information with...

read more

Difference between minsdkversion and targetsdkversion

Posted by on Apr 16, 2013 in Android | 0 comments

Difference between minsdkversion and targetsdkversion

  android:minSdkVersion   An integer designating the minimum API Level required for the application to run. The Android system will prevent the user from installing the application if the system’s API Level is lower than the value specified in this attribute. You should always declare this attribute.android:minSdkVersion helps Google Play filter apps for the user based on their device. For instance, with minSdkVersion=”7″, someone browsing with a device that only supports 6 won’t see your app on Google Play,...

read more

How to find version of sql light database used in android

Posted by on Apr 15, 2013 in Android | 0 comments

How to find version of sql light database used in android

Below is android API version for corresponding SQL Light Version SQLite 3.7.11: 17-4.2-Jelly Bean 16-4.1-Jelly Bean SQLite 3.7.4: 15-4.0.3-Ice Cream Sandwich 14-4.0-Ice Cream Sandwich 13-3.2-Honeycomb 12-3.1-Honeycomb 11-3.0-Honeycomb SQLite 3.6.22: 10-2.3.3-Gingerbread 9-2.3.1-Gingerbread 8-2.2-Froyo SQLite 3.5.9: 7-2.1-Eclair 4-1.6-Donut 3-1.5-Cupcake There are also several other SQLite versions out there (list by no means exhaustive):   ** UPDATE: Android Complete tutorial now available here.   SQLite 3.7.6.3: LG Optimus...

read more

decompiling DEX into Java sourcecode

Posted by on Apr 15, 2013 in Android | 0 comments

decompiling DEX into Java sourcecode

Step 1: Make a new folder and put .apk file in it (which you want to decode). Now rename the extension of this .apk file to .zip (eg.: rename from filename.apk to filename.apk.zip) and save it. Now you get classes.dex files, etc. At this stage you are able to see drawable but not xml and java files, so continue. Step 2: Now extract this zip apk file in the same folder (or NEW FOLDER). Now download dex2jar from this link http://code.google.com/p/dex2jar/ and extract it to the same folder (or NEW FOLDER). Now open command prompt and change...

read more
%d bloggers like this: