I am trying to create a very simple android app for that I am using ionic framework for that I am using default template with left menu and each link has a template url . But here I want to load the url of my site for each link suppose when I click on link sport it load the my website url/sports link . Not in json whole as it is in the browser .
- can you share what you have attempted?Mudasser Ajaz– Mudasser Ajaz2015-08-28 10:22:37 +00:00Commented Aug 28, 2015 at 10:22
- Right now I have a default template with slide menu he on left menu I need to add a link to my current site like url/sport and want to load whole website as it is is it possible simple webviewNilay Singh– Nilay Singh2015-08-28 10:26:45 +00:00Commented Aug 28, 2015 at 10:26
- You mean if someone click on any menu tab, it should open your site?Mudasser Ajaz– Mudasser Ajaz2015-08-28 10:31:03 +00:00Commented Aug 28, 2015 at 10:31
- yes but inside the appNilay Singh– Nilay Singh2015-08-28 10:33:06 +00:00Commented Aug 28, 2015 at 10:33
- I know a solution but that will cover your whole app then,I mean only that page will take place of whole frame, until you go back.Will that work?Mudasser Ajaz– Mudasser Ajaz2015-08-28 10:36:13 +00:00Commented Aug 28, 2015 at 10:36
| Show 2 more comments
1 Answer
You need to use inappBrowser for this purpose.It will open any external url in your application and has different target options.