javascript - code to open fb link with fb app in android app -


i'm making android application book i'm not in developing edit open source application need code open fb page fb app , if not installed open browser. want change code said before. in file index.html have

<li><a onclick="otherapps()" href="#" class="item-link ac-3"> <div class="item-content"> <div class="item-media"><i class="flaticon-smartphone146"></i> </div><div class="item-inner"> <div class="item-title">other apps</div></div></div></a></li> 

and other apps function in file start.js

function otherapps(){window.open("market://search?q="+storename,"_system")} 

please give me explanation how can edit code thank guys


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -