Comments (10)
你好,这个坑我也遇到过,在官方的pixel launcher上表现正常,但是到了Nova launcher上,有的shortcut就不能正常显示了。后来我发现貌似是因为intent 和 categories等需要配置完全。可以参考这个:
<intent
android:action="com.marktony.zhihudaily.homepage"
android:targetPackage="com.marktony.zhihudaily"
android:targetClass="com.marktony.zhihudaily.homepage.MainActivity" />
<categories android:name="android.shortcut.conversation" />
可以参考我的文章: 老司机带你吃牛轧糖--适配Android 7.1 Nougat新特性
希望对你有所帮助,如果有任何问题,请不要犹豫,直接在issue里面说明,我们一起解决。
from paperplane.
不知道是什么原因,写Shortcut测试Demo的时候显示完全没问题,但是用同样的方法集成到项目中就是说啥也显示不出来,手头还没有7.0的机器,真是不知道怎么回事了
from paperplane.
Manifest注册了吗?
可以的话可以给我发个Apk,我现在手头有7.1的设备
from paperplane.
感谢感谢,也找朋友借了一台设备,虽然7.0设备上 Shortcut 可以显示,但是又开始报 App isn't installed 应该可能这个问题。我再去 Google 研究研究
from paperplane.
7.0及以上工作没问题了,就是这Nova一直不成,真是诡异
from paperplane.
貌似nova和pixel launcher解析的方式不同😂
from paperplane.
好吧,我最近再研究研究,也非常感谢哈,以后有问题还会多多交流
from paperplane.
ok,请问还有别的问题吗?没有的话我就把这个issue关掉 了。
from paperplane.
没有了,请关闭吧
from paperplane.
ok,有什么问题的话,不要犹豫,开一个issue,我们一起讨论。😉
from paperplane.
Related Issues (20)
- 2017/03/24 一个新问题 HOT 2
- App运行崩溃问题 HOT 2
- 如果第一次进入应用,且没网,会奔溃 HOT 2
- 学习你的代码写了个APP HOT 5
- No more apk upgrade in the future HOT 4
- 下载下来导入一直编译,改了一下sdk版本和gradle版本 HOT 8
- Out of memory HOT 3
- 学习作者的代码写了个App HOT 7
- PaperPlane app for WordPress Blog HOT 1
- Force stop occurs in certain situation HOT 2
- Please make an improvment HOT 3
- 导入之后 字体文件报错怎么回事儿? HOT 9
- folder name interfaze should change to interface? HOT 2
- 关于CollapsingToolbarLayout的toolbar HOT 2
- ProductSans possible copyright infringement HOT 4
- Cancel the network request in ondestroy() of the activity, should you consider it HOT 3
- 闪退太多了 HOT 2
- 请问能发布原来的Java代码吗 HOT 3
- 2017/03/23果壳精选的API更改了一下,导致果壳精选获取不到数据了。 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paperplane.