Android : How Can I Start CallLog Activity Via Intent?

Sep 25, 2009

I have the following code in my application...

Android : How can i Start CallLog Activity via Intent?


Android :: Start Another Activity With Broadcast Intent

Nov 29, 2009

I'm trying to start an activity out of a widget so I can't use the startActivity() function. So I'm trying to create the correct intent but I don't find what I'm missing.

View 2 Replies View Related

Android :: Exception When Use Android Tabs With Intent To Start Activity

Nov 15, 2010

I have an error when i use intent to start activity when i choose a tab

CODE:...

The erroe is Sorry! The Application has stopped unexpectedly, please try again later

View 2 Replies View Related

Android :: Exclude Own Activity From Activity.startActivity - Intent

Oct 17, 2010

My app works with pictures. It can take multiple pictures as an input, process them, and send them again to another app.

As a consequence, my main Activity has declared an intent filter on ACTION_SEND_MULTIPLE for image/* mimetypes and can result in issuing a new Intent with the same action and data type using Activity.startActivity(Intent).

Is there a way to exclude my own activity from the list of apps that is displayed to the user after the startActivity() call ?

View 1 Replies View Related

Android :: How To Start An Intent To Launch The IM App

Jun 8, 2009

Can you please tell me how can I start an intent to launcher the IM application on android?

View 4 Replies View Related

Android :: An Intent / Notification Of An App Start?

Feb 24, 2009

I would like to know, if i can register for an intent or a notification that i could get every time android starts an application.

View 2 Replies View Related

Android :: Start An Activity And Return Back To Original Activity

Jan 26, 2009

I have an application with contains multiple activities. The main activity will start the others ( use startActivity() ) depends on user event, when an activity close, it calls finish() and return back to main activity. It appears to behavior like that.

However, the "problem" I see is main activity's onCreate function is called every time. I think the the main activity should be placed in the activity stack and simply push to front when others exit, therefore only onResume, onStart are called. Is there some flag I need to set or I misunderstand the activity behaviro?

In child activity, besides calling finish() or startActivity for main activity, what is other way to move main activity to front?

View 2 Replies View Related

Android :: Start Activity When Main Activity Is Running In Background

Jan 10, 2010

I created an application which enables the user to set whether he wants to receive notification while the application runs in background mode. If the notifications are enabled an activity should be started (the dialog should appear on the screen).

I tried to enabled it the following way:

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

This is the method from main activity. When onPause() is executed isRunningInBackground is set true.
When I tried to debug it when the main application was running in the background the line

startActivity(intent) had no effect (the activity didn't appear).

Does anyone know how to midify the logic in order to start an activity from the main activity when the main activity is running in the background (after onPause() is called)?

View 1 Replies View Related

Android :: Service Start Intent Problem

Aug 11, 2010

I've found a problem that may random FCs on some certain phones.

Here's the code snapshot:

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

View 9 Replies View Related

Android :: Start Call With Intent From Browser

Jun 3, 2009

is it possible to start a call from the android browser, let's say by clicking a link in an html file or with javascript after a button click? maybe with help of the gears api? i'd appreciate any hints, maybe an example of how to embed the intent in the html-file/in javascript.

View 3 Replies View Related

Android :: Start Another Application From Another Package With An Intent

May 6, 2010

I know how to update my own programs, and I know how to open programs using the a predefined Uri (for sms or email for example)

I need to know how I can create an Intent to open MyTracks or any other application that I don't know what intents they listen to.

I got this info from DDMS, but I havn't been succesful in turning this to an Intent I can use. This is taken from when opening MyTracks manually.

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

View 2 Replies View Related

Android :: Start Background Intent But Keep It Hidden?

Feb 4, 2010

Is it possible to start an Intent but keep it hidden? For example now to start the intent I am using startActivitity(intent). Suppose the intent is to start a web browser, the webbrowser is shown to user. Is it possible to keep this hidden?

View 3 Replies View Related

Android :: How To Start Intent Contacts With A Query

May 14, 2009

How can i open the contact view with a query?

I try this:

CODE:......

I get this error: android.content.ActivityNotFoundException: No Activity found to handle Intent { action=android.intent.action.SEARCH data=content://contacts/ people (has extras) }

Second Question: Is it possible to search also for address and telephone numbers? I have no problems in my own activity, it works fine. But i will start the device contact list search.

View 3 Replies View Related

Android : Create An Intent To Start Any One Of Those Applications?

Sep 8, 2010

In my application i want to create a shortcut (a button), to another application but i want the user to be able to select which application he wants...
So how do i access a list of all the installed applications and how do i create an intent to start any one of those applications ?

View 1 Replies View Related

Android :: Start An Activity In Different Apk Using StartActivity - Using The Activity Name Or Similar

Apr 20, 2010

I have tried to write an Android application with an activity that should be launched from a different application. It is not a content provider, just an app with a gui that should not be listed among the installed applications. I have tried the code examples here and it seems to be quite easy to launch existing providers and so on, but I fail to figure out how to just write a "hidden" app and launch it from a different one.

The basic use case is:

App A is a normal apk launchable from the application list.

App B is a different apk with known package and activity names, but is is not visible or launchable from the application list.

App A launches app B using the package and class names (or perhaps a URI constructed from these?).

I fail in the third step. Is it possible to do this?

View 3 Replies View Related

Android :: Activity Check Service To Start Another Activity

Sep 10, 2010

I need to made an activity (without layout) that on start check if a service is running. if it is true it starts Activity2, if it false it starts Activity1.

I tried with this code:

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

Enter code here

But when I check, in the onCreate method, if serviceConnect!=null I receive sometime a NullPointerExcption.

I tried also to insert the operation in the method onCreate in an Async Task:

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

View 2 Replies View Related

Android :: Start Activity And Clear Activity History

Apr 22, 2010

I have a huge maze of activities in my application. What I need to do, is that when the user logs in into the system, the activity history should be cleared. I cant just use finish() when I start a new activity, because I want the activities to have a history until the user logs in. I have experimentet with the different flags when starting an activity, but I have had no success.

View 1 Replies View Related

Android :: Difference Between Context And Start Service Intent

May 15, 2010

I wanted to know what is the difference between Context.startService(intent) and startService(intent) and does it matter which one is used?

View 1 Replies View Related

Android :: Not Allowed To Start Service Intent In Permissions

Aug 8, 2009

Having trouble with permissions. The error I get is this: Not allowed to start service Intent { comp= {com.commonsware.android.service/ com.commonsware.android.service.WeatherPlusService} } without permission private to package I installed the WeatherPlus app from Mark Murphy's dev book. I'm trying to call his weather service from a different app. I think I have an issue with permissions, not really sure how they work. I thought that you could just make your own, and then check against it. With that in mind, listed below is the client manifest, followed by the service manifest. I called my permission "mypermission". Code...

View 3 Replies View Related

Android :: Start An Intent To Launch An App To Background In Droid

May 16, 2010

I'm using Wikitude API 1.1 as an AR viewer in my application. The problem with Wikitude, if I haven't launched the actual Wikitude application since the phone's bootup, I will get a NullPointerException everytime I start my own application.

So I figure if I can start my app first and them check if Wikitude is installed and or running. If it's not installed, go to market n download. If it's not running, then we should run it straight to background so that my app doesn't loose its focuscode...

The part I block commented is the intent to start Wikitude. But I always failed in restricting Wikitude to background. Any help?

View 1 Replies View Related

Android :: Start A New Activity From Anther Activity

Nov 19, 2010

I want to start a new activity from ab activity that (extends from Linearlayout) .. but this code is not right

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

public class SearchResultForm extends LinearLayout{ ...

And i get this error ..

No enclosing instance of the type SearchResultForm is accessible in scope.

View 4 Replies View Related

Android :: Start An Activity From Non Activity Class

Aug 19, 2009

An activity can be called from existing activity through *startActivity(intent); *

Is t possible to call an activity from non Activity class ? and how?

View 2 Replies View Related

Android :: Handle Existing Instance Root Activity Launching Root Activity From Intent Filter

Apr 3, 2010

I'm having difficulties handling multiple instances of my root (main) activity for my application. My app in question has an intent filter in place to launch my application when opening an email attatchment from the "Email" app. My problem is if I launch my application first through the the android applications screen and then launch my application via opening the Email attachment it creates two instances of my root activity. steps: Launch root activity A, press home Open email attachment, intent filter triggers launches root activity A Is it possible when opening the Email attachment that when the OS tries to launch my application it detects there is already an instance of it running and use that or remove/clear that instance?

View 1 Replies View Related

Android : Unable To Start Service Intent Error In Client-Server Project / Fix It?

Feb 12, 2009

I am getting the below error when ever i am trying to call the bind service. 02-12 20:17:25.486: WARN/ActivityManager(58): Unable to start service Intent { action=oem.android.proj2.IRemoteService }: not found

I have created the Client-Server application. At the Server site i have used the AIDL to impliment the interfaces in my Service class. At Client site i have exposed the AIDL interfaces and have one Activity that mainly do the IPC mechanism , i mean ServiceConnection, bindService and then call the Serivce of the Client site. But i am getting the error i mentioned during the bindService call.

Could you please let me know the steps mainly i have to follow to run the Client -Server Application. For time being i am running the Client .apk first and then the Server .apk, but the server one giving me error.

It would be great if you could let me know what all permission short of thing to take care, as my Client and Server code are placed at different APks, so do i need to import the Client project in my Server Project, if yes then how to impliment that.

View 1 Replies View Related

Android :: Start A Map Activity From Other Activity

Apr 8, 2010

I am developing an aplication. This one is designed to login a user, then select how find a place, using simple data or using a map. When I try to set in the event OnClick for select the "Map way" (using intent):

startActivity(new Intent(getApplicationContext(), MapviewController.class));

I have problems and didn't work.

My class and manifest are:

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

Do you know any way to call the MapActivity from other?

View 3 Replies View Related

Android :: How To Listen For Changes On Calls.CallLog

May 31, 2010

Is there a way to listen to changes in Calls.CallLog. i have listen to SMS inbox changes using, code...

View 4 Replies View Related

Android :: Access CallLog From A Service / Broadcastreceiver

Aug 17, 2009

Is there any way, to access the CallLog from a service or BroadcastReceiver?

View 2 Replies View Related

Android : Way To Get Activity From An Intent?

Nov 2, 2010

Is it possible to get the Activity from an Intent?

View 2 Replies View Related

Android :: Get Hour Of Calling And Finishing From Droid CallLog?

Nov 11, 2010

I want to get the hour of the calling from the Android CallLog. It is, the exactly hour that the user start the calling and if possible when he finishes the calling. Someone knows how to?

View 1 Replies View Related

Android :: Set Root Activity/intent ?

Oct 14, 2010

I'm switching between different Activities using Intents. For one Activity, I would like it to clear the history stack so when the user presses the back button, it takes them Home instead of previous activities in my application.

View 2 Replies View Related







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