DeepLink SDK之魔窗的使用,浏览器直接跳转详情页

想要实现在网页里一键调到你APP的指定页面吗,好比打开 JD的一个商品的网页,从网页调到APP这个商品的页面。APP服务化, 使用魔窗SDK可以轻松实现!

老规矩:效果图奉上
这里写图片描述

1.注册魔窗账号,创建APP

注册地址:www.magicwindow.cn

创建你的app
这里写图片描述

2.嵌入sdk

这里只介绍Android Studio的嵌入方法
转载请注明出处:http://blog.csdn.net/wingichoy/article/details/52063229

(1)下载aar包,将其放到libs目录
这里写图片描述

(2)在gradle内配置

(3)配置Manifest.xml

在你的引导页面 加入以下代码:

3.调用SDK

1.在引导页(SplashActivity) 进行Activity的初始化:

2.在自定义Application 注册session

4.注册mLink

![这里写图片描述]
这里写图片描述

这里的key就是 从你的SplashActivity 路由到你具体Activity的 key。

接下来,只需要在你的SplashActivity 注册路由即可。具体分析看注释,尤其注意其中有个 坑!!!!!小心,鼓捣了我好久。

此时onCreate的代码如下:

接下来添加你的短链接,按照提示添加即可
这里写图片描述

下面我们从浏览器里打开 短链接,看看发生了什么、
这里写图片描述

很神奇的从 网页转跳到了详情页 有木有!!!

快去试试吧~~

DEMO下载地址

DeepLink SDK之魔窗的使用,浏览器直接跳转详情页》有72个想法

  1. I just want to tell you that I am new to blogs and seriously loved this web blog. Almost certainly I’m likely to bookmark your blog . You really come with incredible posts. Kudos for sharing with us your website page.

  2. I precisely needed to appreciate you yet again. I’m not certain the things that I might have worked on without the entire ideas documented by you on such a theme. It actually was a real distressing dilemma in my position, but viewing a new well-written form you handled the issue forced me to leap with gladness. Now i am thankful for your advice and then hope that you find out what a powerful job that you are providing teaching others all through a web site. More than likely you haven’t encountered all of us.

  3. I want to express appreciation to you just for rescuing me from this dilemma. After exploring throughout the the net and coming across strategies which are not beneficial, I thought my entire life was gone. Existing without the solutions to the issues you have sorted out through your entire review is a serious case, as well as the ones which may have in a negative way affected my career if I hadn’t noticed the website. Your good talents and kindness in controlling every item was important. I am not sure what I would have done if I hadn’t discovered such a thing like this. It’s possible to at this moment relish my future. Thanks a lot very much for this specialized and effective help. I won’t be reluctant to recommend your web site to anybody who requires guidelines on this topic.

  4. Needed to compose you the tiny observation just to say thank you as before for all the lovely guidelines you’ve provided here. This has been certainly incredibly open-handed of people like you to convey unhampered just what many people would’ve marketed as an electronic book to make some cash on their own, and in particular considering that you could have done it in case you decided. Those strategies also worked to become a great way to know that some people have similar keenness the same as my personal own to know the truth a good deal more with regard to this condition. I believe there are lots of more pleasant times in the future for people who find out your blog.

  5. I want to express appreciation to this writer for bailing me out of this problem. Just after exploring through the world wide web and meeting ways that were not pleasant, I believed my life was over. Being alive minus the strategies to the difficulties you have resolved as a result of your entire guide is a serious case, and ones which could have adversely damaged my career if I hadn’t come across the website. Your personal capability and kindness in handling every item was useful. I am not sure what I would’ve done if I hadn’t come across such a subject like this. I can at this moment look forward to my future. Thanks very much for this professional and amazing guide. I won’t be reluctant to endorse your web sites to anybody who will need guidelines about this subject matter.

  6. Thank you a lot for providing individuals with remarkably superb chance to read articles and blog posts from this web site. It is always so ideal and also jam-packed with a lot of fun for me personally and my office fellow workers to search your site the equivalent of thrice a week to read through the latest items you will have. Of course, I’m so actually fascinated with your brilliant points you serve. Certain 1 areas on this page are in reality the finest I have ever had.

  7. Thanks a lot for providing individuals with remarkably nice opportunity to read from here. It really is very terrific and also packed with a good time for me and my office peers to visit the blog not less than 3 times weekly to read through the new secrets you will have. And of course, I’m usually satisfied concerning the fantastic suggestions served by you. Certain two areas in this article are honestly the simplest we have all had.

  8. I am commenting to let you be aware of of the incredible encounter my girl found using your blog. She came to find too many issues, not to mention what it’s like to possess a marvelous teaching spirit to let the rest completely master various multifaceted subject areas. You undoubtedly did more than our expectations. Many thanks for producing those priceless, healthy, revealing as well as fun guidance on this topic to Kate.

  9. This design is wicked! You certainly know how to keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Excellent job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!

  10. It’s appropriate occasion to get some preparations for the near future. I have read this piece of writing and if I have the ability to, I want to propose you some intriguing tips and advice.

  11. I precisely needed to appreciate you yet again. I do not know the things I could possibly have taken care of without the type of strategies provided by you on my area of interest. It had been an absolute difficult condition in my opinion, nevertheless observing your well-written mode you processed it forced me to jump with happiness. Now i am thankful for your help and as well , wish you know what a powerful job you were doing educating many people via your site. I am certain you have never met any of us.

  12. My husband and i felt absolutely more than happy that Albert could conclude his web research through the precious recommendations he was given using your web page. It is now and again perplexing just to continually be freely giving thoughts that many people might have been making money from. We acknowledge we need the blog owner to be grateful to because of that. All of the explanations you’ve made, the straightforward blog navigation, the relationships your site assist to engender – it’s got everything astonishing, and it is assisting our son in addition to our family feel that the matter is interesting, and that is unbelievably fundamental. Many thanks for the whole thing!

  13. My husband and i felt absolutely fortunate when Peter managed to conclude his web research while using the ideas he made from your very own web page. It is now and again perplexing just to always be freely giving guidance which usually most people may have been trying to sell. And we do understand we now have the writer to be grateful to for that. Those explanations you made, the simple site navigation, the friendships your site make it easier to foster – it is mostly astounding, and it is helping our son and the family consider that that issue is amusing, and that’s really mandatory. Thank you for the whole lot!

  14. On Pixabay you will find both, terrific photos and cliparts. I would imagine several of these images are copyrighted and even though I probably bought some type of license once I bought the digital content I am not going to be sharing those files. It’s possible to even download whole size images without registration.

  15. I really wish to share it with you that I am new to putting up a blog and very much adored your review. Most likely I am inclined to remember your blog post . You truly have fantastic article content. Be Grateful For it for swapping with us your main url post

  16. Howdy here, just started to be mindful of your webpage through Google, and found that it is very good. I’ll truly appreciate should you persist these.

  17. I precisely desired to thank you very much once again. I do not know what I might have done in the absence of these ways revealed by you relating to such a problem. It absolutely was a real hard crisis in my position, but looking at the very specialised manner you resolved the issue forced me to weep for fulfillment. I’m happy for your information and thus trust you know what a powerful job you’re undertaking instructing many others using your web page. I am certain you’ve never met any of us.

  18. I merely wish to advise you that I am new to having a blog and completely enjoyed your review. Very possible I am prone to bookmark your blog post . You undoubtedly have extraordinary article information. Be Thankful For it for discussing with us your main site write-up

  19. Thank you for the sensible critique. Me & my neighbor were just preparing to do a little research about this. We got a grab a book from our local library but I think I learned more from this post. I am very glad to see such wonderful information being shared freely out there.

  20. I simply desire to notify you that I am new to posting and really adored your website. Likely I am going to save your blog post . You undoubtedly have fantastic article content. Like it for giving out with us all of your internet site document

  21. I not to mention my pals have been analyzing the nice points found on your site while unexpectedly got an awful suspicion I had not thanked the blog owner for those techniques. Most of the women had been for that reason passionate to study all of them and have in effect in actuality been enjoying those things. Thank you for indeed being so thoughtful and for considering this kind of exceptional tips most people are really desperate to understand about. Our own sincere regret for not saying thanks to sooner.

  22. Thanks so much for providing individuals with an extraordinarily splendid possiblity to read critical reviews from here. It is always so superb and packed with a lot of fun for me personally and my office acquaintances to search your site really thrice every week to see the fresh guides you will have. Of course, I’m always pleased with your impressive pointers you give. Some two areas in this article are undoubtedly the most beneficial we have all had.

  23. I simply need to show you that I am new to writing a blog and certainly valued your article. Very possible I am inclined to save your blog post . You really have extraordinary article content. Delight In it for discussing with us your web document

  24. Thank you a lot for providing individuals with an extraordinarily brilliant possiblity to read critical reviews from this blog. It’s usually so beneficial and jam-packed with a good time for me and my office peers to visit your website more than thrice in 7 days to learn the fresh issues you have. And lastly, we’re usually motivated with all the tremendous things served by you. Selected 3 tips in this post are unequivocally the most impressive I have ever had.

  25. I intended to post you one very small word in order to thank you over again for your personal gorgeous basics you’ve shown on this site. It was really shockingly open-handed of people like you to allow openly what a lot of people could possibly have made available as an e book to make some money on their own, chiefly given that you might have tried it if you considered necessary. These solutions additionally worked to become good way to be certain that someone else have the same dreams really like my own to figure out many more with respect to this issue. I’m certain there are millions of more pleasant occasions up front for individuals who looked over your blog post.

  26. I precisely wished to thank you so much again. I’m not certain the things I would have tried in the absence of the entire smart ideas discussed by you over my area of interest. This was the difficult issue in my opinion, nevertheless encountering your well-written strategy you resolved that made me to jump over happiness. I am happier for the work and as well , believe you know what a great job you are always undertaking teaching the mediocre ones using your site. I know that you haven’t met all of us.

  27. I truly wanted to develop a quick remark so as to appreciate you for some of the great techniques you are showing at this website. My long internet look up has at the end been compensated with good suggestions to share with my companions. I would claim that many of us readers are quite endowed to be in a fine site with very many awesome people with very helpful things. I feel somewhat blessed to have used your web pages and look forward to some more entertaining moments reading here. Thanks again for everything.

  28. Very nice post. I just stumbled upon your weblog and wished to say that I’ve truly enjoyed surfing around your blog posts. In any case I will be subscribing to your feed and I hope you write again very soon!

  29. I intended to put you this very small word to thank you so much as before relating to the incredible ideas you’ve shown on this page. It has been certainly incredibly generous of people like you to allow openly exactly what many individuals would’ve marketed as an e book to generate some bucks for themselves, notably given that you might have tried it if you ever decided. These tips likewise served to become good way to recognize that most people have the identical fervor similar to mine to understand very much more in terms of this problem. I believe there are thousands of more fun periods up front for those who start reading your website.

  30. Thank you for your own efforts on this blog. Kate enjoys going through research and it’s really easy to see why. My spouse and i learn all of the powerful medium you render priceless guides by means of this website and therefore improve participation from other individuals about this point while our girl has been starting to learn a lot of things. Take advantage of the remaining portion of the year. You are conducting a terrific job.

  31. I am now not sure where you’re getting your information, however great topic. I needs to spend some time studying much more or understanding more. Thank you for fantastic information I used to be looking for this info for my mission.

  32. Excellent read, I just passed this onto a friend who was doing some research on that. And he actually bought me lunch since I found it for him smile Therefore let me rephrase that: Thank you for lunch!

  33. I was just searching for this info for a while. After 6 hours of continuous Googleing, at last I got it in your website. I wonder what’s the lack of Google strategy that do not rank this type of informative web sites in top of the list. Normally the top sites are full of garbage.

  34. Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but other than that, this is wonderful blog. An excellent read. I’ll certainly be back.

  35. I would like to thank you for the efforts you’ve put in writing this site. I’m hoping the same high-grade website post from you in the upcoming as well. Actually your creative writing abilities has encouraged me to get my own website now. Really the blogging is spreading its wings fast. Your write up is a great example of it.

  36. I just wanted to develop a brief comment to say thanks to you for these amazing tricks you are giving at this site. My prolonged internet search has finally been paid with useful facts and strategies to share with my visitors. I ‘d assert that many of us website visitors actually are very endowed to exist in a notable place with many brilliant people with helpful advice. I feel somewhat lucky to have encountered your web page and look forward to some more amazing minutes reading here. Thank you once again for a lot of things.

  37. I would like to show my thanks to you for bailing me out of this instance. After checking throughout the search engines and meeting techniques which are not helpful, I assumed my life was done. Being alive without the presence of strategies to the issues you have solved through your short article is a serious case, and those that would have in a negative way damaged my entire career if I hadn’t discovered your website. Your main know-how and kindness in handling the whole lot was very useful. I am not sure what I would’ve done if I had not discovered such a thing like this. I can also at this moment look ahead to my future. Thanks for your time very much for your reliable and amazing guide. I will not be reluctant to endorse the website to any individual who wants and needs care about this topic.

  38. you are actually a good webmaster. The web site loading pace is amazing. It sort of feels that you’re doing any distinctive trick. Moreover, The contents are masterwork. you have performed a magnificent task in this subject!

  39. Needed to write you the very small note to finally say thank you the moment again about the exceptional tactics you have discussed on this website. It is incredibly open-handed with you to make publicly precisely what a few individuals could possibly have marketed for an ebook to make some money on their own, primarily considering that you might well have done it if you ever considered necessary. These good ideas as well served like the great way to know that some people have a similar passion the same as my own to know more in terms of this condition. I am sure there are a lot more pleasurable times ahead for people who start reading your blog.

  40. you are actually a just right webmaster. The web site loading pace is incredible. It kind of feels that you are doing any unique trick. Moreover, The contents are masterpiece. you’ve performed a wonderful job in this topic!

  41. My wife and i got so fortunate that Albert could round up his researching while using the ideas he had from your site. It’s not at all simplistic just to always be freely giving thoughts which usually others have been trying to sell. And now we fully understand we have the writer to give thanks to for that. The entire illustrations you have made, the easy site menu, the friendships your site make it possible to promote – it’s mostly exceptional, and it’s leading our son and us reckon that the content is thrilling, and that’s tremendously important. Thank you for all the pieces!

发表评论

电子邮件地址不会被公开。