tucano2000 Active Member Licensed User Longtime User May 16, 2014 #1 [TUTORIAL] Inter-app Communication with Intents say: 5. Code the Requester to accept the data Again this code is very similar to the Provider except that it gets the data: Code: Copy Sub Activity_Resume Dim in as Intent in = Activity.GetStartingIntent If in <> null Then If In.HasExtra("Settings") Then AcceptSettings 'Do something here with your settings End If End If End Sub Click to expand... I need to do this in a service to retrieve putextra and I do not want to load the activity. Is it possible? How?
[TUTORIAL] Inter-app Communication with Intents say: 5. Code the Requester to accept the data Again this code is very similar to the Provider except that it gets the data: Code: Copy Sub Activity_Resume Dim in as Intent in = Activity.GetStartingIntent If in <> null Then If In.HasExtra("Settings") Then AcceptSettings 'Do something here with your settings End If End If End Sub Click to expand... I need to do this in a service to retrieve putextra and I do not want to load the activity. Is it possible? How?
tucano2000 Active Member Licensed User Longtime User May 17, 2014 #2 No necessary more. I already got this way: Code: Copy Sub Service_Start(startingIntent As Intent) Log(startingIntent.GetExtra("test_key")) End Sub Last edited: May 17, 2014 Upvote 0
No necessary more. I already got this way: Code: Copy Sub Service_Start(startingIntent As Intent) Log(startingIntent.GetExtra("test_key")) End Sub
C camolas Member Licensed User Longtime User Dec 7, 2015 #3 Hi. I need to do the same can you please explain better how you do it? Thanks Upvote 0
DonManfred Expert Licensed User Longtime User Dec 7, 2015 #4 1. This is an old thread. You should always ceate a new thread for a new question instead of pulling out an OLD one... 2. Create a new one and GIVE US MUCH MORE INFORMATIONS. 3. Search for inter app communication. Search for Intent filters and how they work. MAybe app deeplinking is right for you; search for it Upvote 0
1. This is an old thread. You should always ceate a new thread for a new question instead of pulling out an OLD one... 2. Create a new one and GIVE US MUCH MORE INFORMATIONS. 3. Search for inter app communication. Search for Intent filters and how they work. MAybe app deeplinking is right for you; search for it