Welcome to my blog, hope you enjoy reading
RSS
Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Tuesday, 13 January 2015

android Error in http connectionjavajava.lang.SecurityException: Permission denied (missing INTERNET permission?)

android Error in http connectionjavajava.lang.SecurityException: Permission denied (missing INTERNET permission?)

solution:
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Share

“appcompat_v7” project is created automaticaly after creating a new project in Eclipse

“appcompat_v7” project is created automaticaly after creating a new project in Eclipse

Do as follows to overcome this issue, this works for me. Create project as usual than follow below steps

Share

Thursday, 29 August 2013

Eclipse ADT update does not work

Eclipse ADT update does not work

Problem:
I updated my android sdk to and I tried updating my adt via ecplise through
Help-> Check for updates.
This action results in the dialog that says -
'no updates found'
But my sdk says-
This android is SDK requires Android Development Kit 21.1.0 or above
  Current version is 21.1.0.v201212060256-543035.

Share

Tuesday, 5 February 2013

Google Cloud Messaging for Android

Creating a Google API project

To create a Google API project:
  1. Open the Google APIs Console page.
  2. Create project:
  1. Click Create project. Your browser URL will change to something like: https://code.google.com/apis/console/#project:4815162342
   4. Take note of the value after #project: (4815162342 in this example). This is your project number, and it will be used later on as the GCM sender ID.
Share

Tuesday, 6 November 2012

How can I use my PC's keyboard on the Android emulator?


How can I use my PC's keyboard on the Android emulator?

That's howI fixed it.
  1. Eclipse > Window menu > AVD Manager
  2. Select your virtual device and click Edit
  3. Under Hardware, Click New
  4. Select Keyboard Support then click OK
  5. Edit its value to yes
My other AVDs that don't have this "keyboard support" hardware property added for sure don't accept my physical keyboard input

Share

Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties


Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties


That isn't the problem, Jack. Android SDK isn't x64, but works ok with x64 jvm (and x64 eclipse IDE).
As helios said, you must set project compatibility to Java 5.0 or Java 6.0.
To do that, 2 options:
  1. right-click on your project and select "Android Tools -> Fix Project Properties" (if this din't work, try second option)
  2. right-click on your project and select "Properties -> Java Compiler", check "Enable project specific settings" and select 1.5 or 1.6 from "Compiler compliance settings" select box.
Share

how to test website google android on your pc



             The addon for the bowser is the User-Agent Switcher

For chrome:
             A.  To install the following addon click here.

             B. For add the new User Agents.

Share

Saturday, 21 July 2012

Android Install in Eclipse



Step1: download the eclipse from the following link
                                eclipse download
Step2: unZip the elipse and install the following plugin in the eclipse
            ADT- https://dl-ssl.google.com/andr
oid/eclipse/(required)
            
Share