Android :: Cannot Resolve .media.MediaFile?

Jun 22, 2010

I have android sdk 2.1 and it cannot resolve android.media.MediaFile package. Why is it so? How can I solve this problem? To which version does android.media.MediaFile belong? Has it been deprecated?

Android :: Cannot resolve .media.MediaFile?


Android :: Phone Version Supports Droid.media.MediaFile?

Jun 22, 2010

Does android 1.5 or 1.6 support android.media.MediaFile?

View 3 Replies View Related

Android :: Media Player Not Working On HTTPS As Data Source / Resolve It

Feb 15, 2010

I am able to play mp3 files from a HTTP server.I have given the link as Datasource and it is working fine.When I

replaced the link with HTTPS then media player is not working.Please help to resolve this issue.

View 2 Replies View Related

Android :: Handling Exception In A MediaFile App

Nov 24, 2010

I'm developing a media file app that is meant to play sounds stored in my raw folder. There are about 32 sounds in all. And this is what i'm doing on the click of each button:

CODE:.......

I get a runtime exception saying "app stops unexpectedly" with the follow messages in my logcat window:

CODE:................

View 1 Replies View Related

Android :: Want To Resolve Menu Items

Jul 15, 2010

I am trying to build inflate a context menu within the sample Grid View provided on the Android dev site. Eclipse tells me that the referenced items cannot be resolved, if someone could help find where I coded s.th. wrong, that would be great because I am stuck at the moment. Thanks. I posted my entire code below. I get the error message at: if (item.get Item Id() R.id.menu_face book) and the other R.id.

View 2 Replies View Related

Android :: Device Not Recognized / How To Resolve?

Jul 8, 2010

I am trying to add my motorola milestone device into PC and debug in the device. When i put the usb cable, the device opens in data storage mode and opens the folder. But when i do a "adb devices" i dont see any device. i did the usb_driver fresh installation guide, but it returned "windows could not find a better driver than currently installed" I havd pointed to sdpath/usb_driver what's wrong and how to resolve this?

View 2 Replies View Related

Android :: How To Resolve Deserializing Into Object?

Aug 8, 2010

I have an application that queries a server (not under my control). The server returns a serialized object. I have the model for the class - however the problem is that the class is in "default package"... something not recognizable by Android ClassLoader. How can I resolve this issue?

View 1 Replies View Related

Android :: Domain Name Won't Resolve To An IP Address

Sep 27, 2010

I am working on a program that will connect to a time server (time- a.nist.gov), retrieve the timestamp, and place it in a text field.

However, when I create the socket, I get an UnknownHost Exception for time-a.nist.gov

1. put the <uses-permission android:name="android.permission.INTERNET" /> tag right before the </ manifest> tag. I did this, and the change is still there.

2. use the static InetAddress.getByName() function to convert to an IP address (this still throws the same exception)

When I pass the IP address (129.6.15.28) to the socket constructor, the program works fine. It only breaks when I use the actual domain name.

I have written this program in Java and it works perfectly fine.

View 2 Replies View Related

Android :: Can't Resolve CalledFromWrongThreadException With Handler

May 12, 2010

I will try to keep it simple:

In my main activity I make a handler:

CODE:.......

CODE:......

But if I call the handleMessage method from a callback function in a other Class, definitely from a other thread, I still get the exception message: CalledFromWrongThreadException (Only the original thread that created a view hierarchy can touch its views) :

CODE:...................

View 2 Replies View Related

Android :: Cannot Resolve MapActivity Class

Sep 1, 2010

I have an application which has 11 different activities. One of these activities is an extension of MapActivity (it is a map for data visualization). To get to this activity the user must first travel through the launch activity, then 3 other activities.

The code to launch the MapActivity is:

CODE:..............

When this is executed I get the following output from the Log:

CODE:.......

I do have the target set to Google APIs, this is an app meant for Android 1.5, and specifies the minsdk to be level 3 in the manifest file. uses-library for maps is also in manifest file.

CODE:..........

I have been at this for almost 2 days now with no results. It seems that there are a lot of people having issues launching a MapActivity from other activities but there are no solutions anywhere.

View 2 Replies View Related

Android :: Hello World Example Not Working On OS X / Resolve This?

Oct 3, 2010

I am totally new to Android, and I am following this tutorial. My problem is that the Android Emulator does not show the Hello World text, it just displays "ANDROID" on the center of the screen and no buttons works. Is this a know problem, how do I get it fixed?

View 1 Replies View Related

Android :: Resolve Mail Address To Contacts Name

Jun 22, 2010

Assuming I have a contact saved in my addressbook, called "TomTasche" with the mail-address "stackoverflow@gmail.com". How can I retrieve the contact's name, if I only know the mail-address?

I already asked a similar questions about retrieving contact's nickname here, but if I change that code to query the mail, like that:

CODE:...........

It forces close and logcat tells me that there's a syntax error near @gmail.

CODE:..................

Interesting is that it seems to query fine. Logcat prints out the contact's name:

CODE:.............

How am I able to retrieve the name?

Syntax Error is caused by missing quotes, but cursor returns null anyway.

View 2 Replies View Related

Android :: Emulator Cannot Resolve Internet Address

Sep 2, 2010

When I run this code from Java project it works fine.

CODE:.................

When i try the same code from emulator (already tried few versions) I'm getting UnknownHostException. Internet works fine on emulator and I'm able to connect to IP address like "93.86.230.251" but never to hostname "something.org".

View 1 Replies View Related

Android :: Resolve Frequent Changes In Latitude And Longitude

Feb 15, 2010

In my application I write the code for fetching latitude and longitude of current location. But it is frequently changing while my device is not moving.

View 1 Replies View Related

Android :: Apps Never Finish Downloading / Resolve This?

Nov 4, 2010

I'm using "AppBrain App Market". I have installed a bunch of apps, but some get stuck and just stay in "Downloading" state. They just never finish downloading. I see the progress bar "barbershop pole" style but there is no sign of progress. Some are new installations, some are updates.

This is despite the fact that some apps HAVE successfully downloaded and installed. What could the problem be? How do I resolve this?

Cancelling the download and restarting the download resolved the problem once. (Downloads / click on neverending download item, Cancel Download)

But if the button series is (Downloads / click on neverending download item, *Installing*). Then the Installing button is greyed out then I'm stuck.

This thread did not provide any solutions: Market Apps Finish Downloading but Won't Install

View 6 Replies View Related

Android :: Aapt Crashes After Update To SDK 1.1r1 / Resolve This

Feb 18, 2009

I update my SDK from 1.0 to 1.1r1 running on Windows XP environment. I develop applications using Eclipse Ganymede.

Since this update my build process crashes on aapt calling.

I tried to reinstall ADT plugin but this doesn't change anything.

Do you have an idea to resolve this issue?

View 2 Replies View Related

Android :: Use Spinner In A Sub Tab In Phone App Causes Crash / Resolve It?

Sep 24, 2010

I'm trying to put a spinner in a sub-tab in my android app. Touching the spinner causes a crash.

Searching seems to suggest that for some reason it is not possible to use spinners in sub-tabs, but this seems silly to me. I've also tried using activity groups as an alternative to sub-tabs, but I get the same crash.

Has anyone resolved this?

View 1 Replies View Related

Android :: Unable To Resolve Activity For - Intent

Oct 11, 2010

I am having a problem in running Android unit test. I got this error when I tried to run a simple test.

Here's the log:

CODE:.........................

This error occurs for Android less than 2.2. It works fine for Android 2.2 emulator. Yet Android 2.2 emulator has a bug of sending a key twice even though we only press it one. Application to be tested runs on Android 2.2 platform.

View 1 Replies View Related

Android :: Unable To Resolve MapActivity To A Type?

Apr 26, 2010

I'm trying to use google maps on my android app but when i extend MapActivity instead of Activity in my activity file, there is an error that MapActivity cannot be resolved to a type...? I have <uses-permission android:name="android.permission.INTERNET"/> as a child of manifest and <uses-library android:name="com.google.android.maps" /> as a child of application too.....

Moreover, when i try to import com.google,android.maps.MapActivity, it says com.google cannot be resolved....

View 2 Replies View Related

Android :: Resolve Error While Loading Dexed JAR

Jun 16, 2010

I'm trying to make a bundle for Felix on Android which may take photos regularly.
All the code compiles well and it can be resolved by Felix, but when I try to start it, I get an exception (java.lang.VerifyError) and this trace in logcat :

CODE:...................

The CameraHandler class opens a Camera object, and implements PictureCallback and AutoFocusCallback.

The .jar file has been 'dexed', via a simple 'dx --dex --output=classes.dex ... && aapt add ... classes.dex'.

I don't know why this error raise, so if someone has a solution...

View 1 Replies View Related

Android :: Can't Get Geo Fixes To Droid Emulator / Resolve This?

Oct 31, 2010

I'm trying to send geo fixes to the Android Emulator in Eclipse. It has been working on some occasions but now it never works. I've tried targeting different platforms, setting the time zone in the correct emulator, changing the locale to English (US), wiping the user data in the emulator, used both telnet geo fix command and the DDMS...

View 1 Replies View Related

Android :: Code Won't Work In New Class / Resolve This?

Aug 31, 2010

The code in the main class works perfekt but i need a other thread but there the code won't work code...

The method create(Context, int) in the type MediaPlayer is not applicable for the arguments (Alarm, int)

and

The method getSystemService(String) is undefined for the type Alarm

View 1 Replies View Related

Android :: Can't Run Droid Application On Netneans 6.5 / Resolve This?

Nov 9, 2010

How to run android application on netbeans 6.5?

If i running the application means i got following error,

W/ResourceType( 1968): Bad string block: string #14 extends to 1847, past end at 60

How to resolve this issue?

View 1 Replies View Related

Android :: Can't Type Inside A Web View / Resolve This?

Apr 16, 2010

I have a problem interacting with a Web View. I'm showing an html login form within a web view and I can't type inside of any of the input fields of the forms. I do can interact with the links, select boxes, buttons, etc.

Here is an example of my code. Basically I'm retrieving the web view from the xml and setting it a WebViewClient and a WebChromeClient. code...

View 1 Replies View Related

Android :: Expandable List Not Looking Properly In 2.1 QVGA / Resolve It?

Nov 24, 2010

I have developed an application for 1.5 and above which uses expandable list ,but when i test it on 2.1 QVGA emulator expandable list dosent look proper .
Also i have tried running sample Expandablelist1 ,but it also has same issue.
so can anyone tell me is this issue with emulator only?
if yes how to resolve it?

View 1 Replies View Related

Android : More On Dreaded Market Install Failures / Can Resolve

Nov 5, 2010

Some more information on this old topic:

Sometimes Market fails up install application updates. The download is successful, but the actual installation fails. There is probably something in the logcat, but it doesn't help users.

I just had this happen to me on my development phone (I use one to develop, and update another phone from a different account to verify the update).

After this failure, Market lists the application as not installed, although the existing version (if there was one) actually stays installed.

I was able to resolve the issue by uninstalling the application via Settings -> Applications, then re-installing through Market.

View 5 Replies View Related

Android :: Droid Sdk Main.out.xml Parsing Error / Resolve This?

Mar 6, 2010

I just started a new Android project, "WeekendStudy" to continue learning Android development and I got stumped compiling the default 'hello weekendstudy' compile / run. I think that I missed a step in configuration and setup, but I am at a loss to find out where. I have an AVD configured, set and launched.

When I press 'run', the SDK is building a file main.out.xml and then fails as this code...

View 11 Replies View Related

Android :: Public Service To Report / Dispatch And Resolve Repairs

Jul 4, 2009

http://code.google.com/p/fixxit/
I had an idea to use Android in the public space to report public works and other problems that need repairs. Android provides a great tool to document and locate problems. Google APIs like Maps and Appengine can link these reports to help direct efforts to make the public space a better place to live. Unfortunately I'm a Java rookie and so lack the skills to even start the coding at this point. How to get this open source application started.

View 2 Replies View Related

Android :: While Installing Apps On Target Getting This Error Message How To Resolve?

Jan 12, 2010

want to know is there any architecture wise problem or else?

View 1 Replies View Related

Android :: Can't Attach Jpegs From Desktop And Send It To Droid / Resolve This?

Apr 17, 2010

I attach a jpeg and send it to my email and it comes out as winmail.dat and can't be opened.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved