aspose file tools
The moose likes Android and the fly likes android action_call intent Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "android action_call intent" Watch "android action_call intent" New topic
Author

android action_call intent

subu ananthram
Ranch Hand

Joined: May 16, 2004
Posts: 100

Hi
I am trying my hand on a simple application that I want triggered when the user dials a number .My activity has an intent ACTION_CALL and hence should be presented to the user to choose at runtime. I am trying this in the emulator and nothing is displayed it says mobile network is not available
Any help appreciated.
subu ananthram
Ranch Hand

Joined: May 16, 2004
Posts: 100
Hi
I think I got it wrong this is from the api.
public static final String ACTION_CALL

Activity Action: Perform a call to someone specified by the data.


What I want to do is allow the user to route his call through my app i.e similar to what happens with skype when you download it on the android.
How do I do that
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32768
How are you specifying that your app can handle that kind of intent? Post the relevant excerpt from the AndroidManifest.xml file.


Android appsImageJ pluginsJava web charts
subu ananthram
Ranch Hand

Joined: May 16, 2004
Posts: 100
<activity android:name=".PhoneDemo" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.CALL" />

</intent-filter>
</activity>


I have an activity called PhoneDemo that should be invoked when intent is call ....
subu ananthram
Ranch Hand

Joined: May 16, 2004
Posts: 100
can anyone help me out here?
I am learning how to program in android and was trying a simple implicit intent example i.e call a number and wanted to see if my app would be invoked
 
 
subject: android action_call intent
 
Threads others viewed
Closing Activity
Android Search Dialog onSearchRequested()
Data truncation: Truncated incorrect DOUBLE value:
Problem in starting activity from broadcast receivers
Trying to invoke Browser but getting exception
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture