Questions tagged [android-sdk-2.1]

For issues relating to developing with the android SDK, version 2.1 API level 7

Android 2.1 is a minor platform release deployable to Android-powered handsets starting in January 2010. This release includes new API changes and bug fixes. For information on changes, see the Framework API section.

Read More : Android 2.1

178 questions
1
vote
1 answer

I cant access internet in avd's below 3.0

Help - I couldn't use internet in my emulator. I m in a corporate network. Even after giving my proxy settings in telkilla APN, i couldnt able to access the network. However if i try to access internet in AVD's above 3.0, its reachable. Kindly…
1
vote
1 answer

How to hide the screen behind a Dialogue

I have a Password Dialogue and, to prevent "peeking", I would like to hide the screen behind the window. The best I could come up with was the following code to Blur the screen's contents: Window window = dialog.getWindow(); LayoutParams…
Tom anMoney
  • 1,231
  • 1
  • 14
  • 29
1
vote
2 answers

Android;Problem in Pick song from SD card and return path

I have made an Application in which I want to pick a song from sd card and the selected song's path should be returned back to onActivityResult() so that I can do bla bla bla..How can I get that?Any help is appreciated.It's really important for…
Geetanjali
  • 1,043
  • 3
  • 13
  • 37
1
vote
1 answer

Android:problem on cropping image by camera activity

I have made an App in which I have captured an image from camera and a rectangle is shown to crop the selected area. But I'm facing two big problems in it: when we change the dimensions of rectangle appeared to large size for cropping the image…
Geetanjali
  • 1,043
  • 3
  • 13
  • 37
1
vote
2 answers

Android:small size image taken by camera

I have called an intent by passing action "android.media.action.IMAGE_CAPTURE" i.e. intent.setAction("android.media.action.IMAGE_CAPTURE");and the image I get is small size.and i want to get Full Sized image of 730X1115 size.How can I get that.
Geetanjali
  • 1,043
  • 3
  • 13
  • 37
1
vote
1 answer

avds not being listed on console

Im using android sdk with eclipse in fedora. I successfully installed everything, created an virtual device from Android SDK and AVD manager, installed my app and tested on it, everything works fine. But when i try the command "android list…
ghostCoder
  • 1
  • 9
  • 49
  • 72
1
vote
2 answers

How to use Messenger as argument in Android IPC

Basically I want to implement a service that exposes his interface to be used via Android IPC in other apps. The client application should then be able to register a Messenger to receive messages from the service. Since Messenger is Parcelable I…
n_l
  • 844
  • 1
  • 6
  • 19
1
vote
2 answers

Writing a text file to SDCard gives a IllegalArgumentException in Android

Possible Duplicate: Android write to sd card folder Writing a File with this Code: public void writeFile(String data){ try { // catches IOException below final String TESTSTRING = new String(data+"-"); String…
Nirav
  • 5,700
  • 4
  • 34
  • 44
1
vote
1 answer

Android apk file Installation error

Possible Duplicate: Problem installing my Android apps Any body can tell me how can I solve this error. Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED It generates when I am trying to install apk file into emulator or mobile. Thank…
Nirav
  • 5,700
  • 4
  • 34
  • 44
1
vote
1 answer

JDK, SDK, and Gradle errors trying to build a Unity game for Android

The question: My environmental variable JAVA_HOME is set to the location of my manual installation of Java, so why is Unity claiming it is an invalid directory? Supporting information: I'm using Unity to build a game for Android phones with the…
1
vote
1 answer

Is there an Android OS 2.1 API to find out if a device screen lock password is setup?

Is there a way to find out if the user has a device lock password setup on Android OS 2.1 (i.e. as set up through Settings -> Location & security -> Change screen lock)? My application wants to check this minimum level of security is present…
Dan J
  • 25,433
  • 17
  • 100
  • 173
1
vote
2 answers

onPreviewFrame doesn't change the data

It is my first time programming on Android, and more I am not that familiar with the java programmation. I tried to find some answer on my problem over the internet but didn't find any solution. I hope one of you will be able to help me. What I want…
1
vote
1 answer

Flutter Web: CreateProcessW failed 2

I am not being able to debug my Flutter Web App. There is an error in the debug console and the webpage won't load up in my browser. I tried removing spaces and disabling windows firewall but it is still not working. I expect the webpage to load up…
1
vote
4 answers

use External database in android

I have created database AddressBookMaster.db using Sqlite Browser and also create table AddressBook in mentioned database. But now problem is that I want to use this .db file in my application so where should I put this db file and how to fetch in…
Nirav
  • 5,700
  • 4
  • 34
  • 44
1
vote
0 answers

Answer phone call and hang up phone call within the application?

I want to be able to answer a phone call and hang up the phone call as soon as it starts ringing within my application without having to touch the phone. I have searched but I haven't found much about this. Can some one please help?
Christian
  • 958
  • 5
  • 23
  • 52