Question: I have an android application A and android application B.
I want to call application B from application A and get some data from application B and return back to same application A which was opened previously.

Application A

```
Intent app = new Intent(Intent.CATEGORY_LAUNCHER);
app.setComponent(new ComponentName("com.abc.applicationA","com.abc.applicationA.MainActivity"));
startActivity(applicationA);

```

Application B

```
Intent j = new Intent(Intent.CATEGORY_LAUNCHER);
j.setComponent(new ComponentName("com.abc.applicationB","com.abc.applicationB.MainActivity"));
j.putStringArrayListExtra("Data", data); //data is array list
startActivity(j);

```

But for the above implementation applicationA launches applicationB then again when applicationB launches applicationA once more time the applciationA is launched.so when i go back i will have applicationA which is called second time,then applicationB and applicationA called 1st time.

My intention is applicationA is launched and then go to applicationB get some data and come back to same applicationA launcehed before.

Answer: 
When you set your blog page via Settings -> Reading, WordPress is skipping the template you choose for that page and will load index.php if there isn't a specific category template (see more about template hierarchy: <https://developer.wordpress.org/themes/basics/template-hierarchy/>). 

So if you want your index-blog.php to be the template for your blog, you have to leave the 'Choose Posts Page' blank and only set your Blog page (Pages -> Blog) to use the blog template.
For a template to be used you can set it on a page you have set to be the “post page” in your settings reading. Just leave the settings > reading select box for post page blank.