Android :: Cannot Use Explicit Intents To Call Another Application?

Aug 29, 2010

Was trying to call another application using an *explicit* intent, but am finding it does not seem possible. I do not wish to use implicit intents. To test it out, try calling the YouTube main activity.

Intent i = new Intent(); ComponentName cn = new ComponentName("com.google.android.youtube","com.google.android.youtube.Home­Activity.class"); i.setComponent(cn); startActivity(i);

I get this error:

08-29 00:54:26.598: ERROR/AndroidRuntime(7332): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.google.android.youtube/ com.google.android.youtube.HomeActivity.class}; have you declared this activity in your AndroidManifest.xml? Does anyone know whether this is possible? (using explicit intents to call another application)

Android :: Cannot use explicit intents to call another application?


Android :: Implicit Vs Explicit Intents

May 26, 2010

Working with android I realized that implicit intents are good choice in most of cases due to their's flexibility. But what's about explicit intents? What are benefits of using them? What are common cases when it's a good practice to use them?

View 1 Replies View Related

Android : How To Call Service By Intents / Programmatically?

Nov 1, 2009

I'm rather new to Android, so please bear with me. I'm developing an application running a service in the background. The service is ONLY supposed to run when requested somewhere in the UI. The service must be able to be stopped through the UI as well. At the same time, while running, the service must be able to pick up intents such as "intent.action.DATA_SMS_RECEIVED" and "intent.action.NEW_OUTGOING_CALL".

View 2 Replies View Related

Android :: Instantiate AIR Application Regarding Intents

Jul 14, 2010

I have few intents in my manifest file and an AIR application. How can I instantiate AIR application from android.

View 3 Replies View Related

Android :: Launch Local Drawable Resource In Gallery Application Using Intents

Sep 1, 2010

I have an app with locally stored .jpg files. I would like to be able to send the images (1 at a time, on user interaction) to the Gallery app's activity using an explicit intent.

View 3 Replies View Related

Android :: Possible Bug With Intents / Pending Intents

Nov 7, 2009

I have some code that is creating and removing alarms, and which works great in Android 1.5 and 1.6 but breaks on the Android 2.0 AVD.The code that's giving this exception is: Code...

View 3 Replies View Related

Android :: How Can Call One Activity To Other Activity Without Using Intents And Services

Mar 12, 2010

How can i call one activity to other activity without using intents and services?

View 3 Replies View Related

Android :: ANDROID Intents Problem Launching Application

Jul 5, 2010

My problem is thus; I am new to programming on the ANDROID platform and have a 'working' application that piggy-backs on the API-Docs example. I wish it to launch three tabs one containing a list of reports, one a form to file a report and the last to show the geo-located reports. It doesn't appear as a separate application, it instead appears as a list to be launched by the API-Docs example.

Below is my manifest code...

View 1 Replies View Related

Android :: Set Explicit Alarm Time?

Oct 26, 2010

on my pim you can only set a reminder alarm as an offset from the event date/time and not as a specific date/time for the alarm itself

View 21 Replies View Related

Android :: Explicit Intent In Custom Preferences Screen

Aug 19, 2010

I'm currently using this in preferences.xml: .......................

This allows to trigger a custom Activity when this specific preferences item is triggered. Copying from the documentation, I'm using an implicit intent, and it's working. But I'd solve a problem if I could use an explicit intent, that is writing the fully qualified class name of the target Activity. I didn't find documentation about this, so I don't know whether it's possible and how to do that.

View 2 Replies View Related

Android :: ActivityNotFoundException On Explicit Class Declared In Manifest On G1

Sep 30, 2009

I have some code that starts another activity based on a menu item selection:

..........

I've spent quite a bit of time on this and am inclined to file a bug report at this point. I can see a reference to the allegedly missing class in the classes.dex file inside the APK and the code works properly in the emulator. I haven't been able to find anything like this, so if there is, an RTFM pointer will be humbly accepted.

View 4 Replies View Related

Android :: Unable To Find Explicit Activity Class - Not Found Exception

Aug 22, 2010

The error I receive is, "android.content.ActivityNotFoundException: Unable to find explicit activity class {com.droidea.birthday/ EditBirthdayActivity}; have you declared this activity in your AndroidManifest.xml?"
The error seems simple enough, but I don't see a problem with the way I have identified this activity in my manifest file. I have also been unable to see any problems with the activity class itself..............

View 4 Replies View Related

Android : Call Application API Inside An Application

Nov 5, 2010

I have downloaded a file manager application called "AndExplorer" inside my Android emulator.
My goal is to call this application inside my current custom application.

View 1 Replies View Related

Android :: Android - Receive Explicit Intent With Component Option Set?

Mar 16, 2010

Is it possible to receive an explicit intent with the component option set? Example: Starting activity: Intent { action=android.intent.action.VIEW data=http://example.org flags=0x10000000 comp={com.android.browser/com.android.browser.BrowserActivity}}

The reason why i want to this this is because i want receive this intent above, launch another browser than the default one, and drop the intent before it starts the default browser. In another words, i want to make another browser the default one.

View 1 Replies View Related

Android :: Android - Layout_alignParentBottom Ignored When Used Without Explicit Layout Height As Row In ListView

Mar 26, 2010

When I use a RelativeLayout with either fill_parent or wrap_content as height and an element which specifies: android:layout_alignParentBottom="true" it is ignored and it is aligned at the top. Setting the height of the RelativeLayout to an explicit value makes it work.

View 3 Replies View Related

Android :: Android Override Explicit Intent

Mar 7, 2009

My app needs to have a intent-filter that responds to a intent that has it's component set (a explicit intent.) Here is a example.

Intent i = new Intent();
i.setClassName("com.compareeverywhere","com.compareeverywhere.ScanActivity");
startActivity(i);

Just a simple intent-filter will not do - because the intent is made for a specific component (activity,) it just launches that without looking for intents at all. Is there a way to do this?

View 1 Replies View Related

Android :: Android Application Be Launched From Built-in Phone Call Log Application

Feb 21, 2010

I would like to know if it is possible to launch my application whenever a new entry is written to phone call log (i.e. out-going, in-coming or missed call). I wrote an application to manage the call log entries as per user preferences by listening to the publication of android.intent.action.PHONE_STATE events. My application is working fine as long as its process is running. However if the user has stopped my application with a task-killer application, then the log entries can not be managed as my app itself was not running. I need a way to make sure that my application is launched in the background if it is not already running when the android.intent.action.PHONE_STATE occurs. Or is it possible to launch my application as a service that always runs?

View 2 Replies View Related

Android : How Should I Call An Application From Another?

May 23, 2009

As the subject ,I want to know How should I call an application from another application?

View 3 Replies View Related

Android :: Need A Call Blocking Application?

Apr 6, 2010

I am developing a call blocking application for android. What I've achieved so far is that my application gets informed whenever there is some incoming call. Now i want my application to handle the incoming call instead of default android application. So for this, i am trying to kill the android phone process. Please tell me can i do so. If not, then how can i reject the incoming call.

View 4 Replies View Related

Android :: How To Call Camera From Own Application?

Jun 23, 2009

I want to call camera application from my own application, take video. Then I want to get the video back and return to my application. How Can I do it?

View 3 Replies View Related

Android :: How To Allow Application To End Phone Call?

Jan 11, 2010

There is way to allow the application to make a phone call using startActivity(new Intent(Intent.ACTION_CALL, Uri.parse(toDial))My question is, Is there any way to end the phone call through application, More specifically I need to try like end the call as soon as i get the call.

View 2 Replies View Related

Android :: Make Call From Application

Jun 29, 2009

how to make call from application ? Can i give input to that call? I mean i want to play file which the receiver can listen it. Is that possible if not at least tell me how can i make cal ?

View 3 Replies View Related

Android : How Can I Call One Droid Application From Another?

Apr 28, 2010

I want to call one android application from another application

View 2 Replies View Related

Android :: Need A Call-Blocking Application For Motorola?

Mar 18, 2010

I have someone who's calls I wish to block. No I don't want to forward him to voice mail (even though I already have). I want the phone's caller ID to recognize the caller and simply bloc the call (I don't want the phone to ring and I don't want it to accept any voice mails from this guy). I know google voice has this feature, but I don't want to activate the single number version of GV (I'm not ready to have only one number. I read a similar thread that was posted here some time ago, but there were no definitive answers on it: http://androidforums.com/support/6077-caller-id-based-blocking-call-forwarding.html. I was wondering if anyone was aware of any apps that could be used to block a specific incoming number, which could be installed without having to root the phone.

View 20 Replies View Related

Android :: Phone Call Simulator Application

Oct 28, 2010

Suppose I wanted to design a cheap little app which lets you schedule fake phone calls to yourself, along similar lines as this app:
http://magictap.net/fakecalls/

I'd imagine using an AlarmManager would be suitable for this purpose, the question is how to generate a fake incoming call screen, complete with the slide to answer call option. My initial approach, the AlarmManager should launch a PendingIntent. However, I'm not sure where to go from here, in particular to get an Activity started which displays the fake call screen.

View 4 Replies View Related

Android :: Any Application For Call Usage Statistics?

Dec 15, 2009

Is there an app that can show me call usage statistics for the phone? Particularly, I'm trying to figure out how many minutes I've spent talking to a particular person. Sure, I could go through and add up every single call I've made to them in my call log, but is there some app that does that for me?

View 3 Replies View Related

Android :: Application Taking Over Phone App Call

Mar 17, 2010

I have a task at sight but need some expert help: is it possible to place a phone call within an Activity without bringing up the native Phone app? I need to place a call from the app I am developing, so what I would like to do is to pass a phone number through an Activity that may or may not bring the Phone app up to screen.

View 5 Replies View Related

Android :: Application To Manage Call Usage?

Aug 12, 2010

Is there an app (or even a setting on the Desire itself) that can keep a track of the outgoing calls duration and total on my phone? I've recently dropped from 600 to 300 minutes and want to make sure I don't go over my allocation in the same way the "3G" app tracks my Internet usage!

View 4 Replies View Related

Android :: Not Able To Record Call Through Developed Application

Mar 22, 2010

I am developing application for call recording but i am not able to record the call and its throwing the exception .My code is as follows. Code:................

View 2 Replies View Related

Android :: Phone Call Application In Background

Dec 3, 2009

Sometimes I keep on hitting a call out to someone and I have a freak out session and put the phone call in the background. I thought of putting this into the app section but since I believe the droid is the main athlete who needs this application. Anybody willing to put one on? Simple idea, have this kill all / single phone with a slight tap of the icon on the background.

View 4 Replies View Related







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