473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Launch 3rd party app and resume it on the state where the user has left it

Hi, I am new to android development field.In my app I want to launch an app by its package name and I can successfully do that by using this code
Expand|Select|Wrap|Line Numbers
  1. Intent intent=getPackageManager().getLaunchIntentForPackage("com.android.mms");
  2.             startActivity(intent);
It launches the app successfully but it restart the app from its main launcher even if my app is running in the background .I want to launch that certain app in such a way that it should be resumed from where the user has left it..

I tried set flags method with intent but it always restarted the app from beginning..
Thanks in advance
Jul 8 '16 #1
1 2104
You should find related documentation.

Saving the state from outside involve saving the whole process including OS resources in use. And relaunch with restoration means exact process restoration, including OS resources, which can be pretty complicated and almost impossible.

Though I'm not sure about this.
Dec 9 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Matt Garman | last post by:
I'm working on a curses-based application in Python. I've implemented what I call a "Chooser" (a fancy name for a menu): ---> 1. Choice 1 <--- 2. Choice 2 3. Choice 3 So the user can use...
2
by: Srinivas Chundi | last post by:
I have to display tif images using .asp page. I have tried to read the image as a binary file and stream it to the browser. The relevant code is as follows. Unfortunately, the display on the...
4
by: Chaim Fried | last post by:
Hello! We have a maintenance job on MSSQL server scheduled for the weekend. some times we arrive at the beginning of a week and see that a user left his screen open on a SQL record and the job is...
0
by: Chuck Anderson | last post by:
I am writing a Php script to run on my home PC (Windows) that downloads an Apache access log file and inserts new entries into a database.. The only way I can access these log files is through a...
5
by: Cc | last post by:
hi, is there a way to get form state before resize?
3
by: Franck | last post by:
Hi, Got a windows Service which run under LOCAL SYSTEM account. Its main goal is to printout xls file to pdf. It seems that LOCAL SYSTEM account has not enough rights to do that (as launching...
2
by: jeff_m | last post by:
Hello, I'm having some trouble with a combination of these elements: the Session state, a Repeater control, a TreeView control, and a button. Here's the process: - User logs in (loginid...
5
by: cooltoriz | last post by:
Hello there, I am not asking how to impersonate a process within C# windows application. I already know that, in C# v2.0, you can easily achieve it using ProcessStartInfo. You can run a process...
23
by: andyoye | last post by:
How can I launch Outlook on users machines when they click a button on a web form (InfoPath)? Thanks
0
by: starrysky | last post by:
I have a process (A) that runs at user login on many systems. The users are usually not Administrators. I want the process to be able to launch a process (B) to do Admin level tasks. I have a common...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.