unable to solve intent

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

unable to solve intent

Postby adameve24 » Sat Dec 18, 2010 9:03 pm

can any one tell me what does this error mean ?

Error: Activity not started, unable to resolve Intent { act=com.android.phone/.ringer flg=0x10000000 }
adameve24
Developer
Developer
 
Posts: 29
Joined: Wed Dec 15, 2010 12:32 pm

Top

Re: unable to solve intent

Postby Jems » Sun Dec 19, 2010 3:12 am

Are you sure you registered the activity you want to start in the manifest?
Jems
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Thu Dec 09, 2010 7:42 pm

Re: unable to solve intent

Postby adameve24 » Sun Dec 19, 2010 7:16 am

hi, i dont know how to register the activity in manifest /
pls elaborate
adameve24
Developer
Developer
 
Posts: 29
Joined: Wed Dec 15, 2010 12:32 pm

Re: unable to solve intent

Postby adameve24 » Sun Dec 19, 2010 9:09 am

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.soundrecorder">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application android:label="@string/app_name"
android:icon="@drawable/ic_launcher_soundrecorder">
<activity android:name="SoundRecorder"
android:configChanges="orientation|keyboardHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.GET_CONTENT" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.OPENABLE" />
<data android:mimeType="audio/amr" />
<data android:mimeType="audio/3gpp" />
</intent-filter>
<intent-filter>
<action android:name="android.provider.MediaStore.RECORD_SOUND" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>

thsi is the manifest.xml file for soundrecorder
adameve24
Developer
Developer
 
Posts: 29
Joined: Wed Dec 15, 2010 12:32 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests