Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 facebook api 分享到我的应用程序的链接(play.google 上的链接)。但我必须在将应用程序投放市场之前将其放入我的代码中。除了在发布后立即更新我的应用程序之外,还有其他解决方案吗?
用这个
https://play.google.com/store/apps/details?id=<your package name>
你可以通过这种方式获取包名。
String packageName = getApplicationContext().getPackageName();
目前它不会显示任何应用程序,但在发布后会自动重定向到您的应用程序页面。