Do I need a server to send PDFs created in my app to the same app (different account) on another device?

huangapple 未分类评论48阅读模式
英文:

Do I need a server to send PDFs created in my app to the same app (different account) on another device?

问题

初学者在这里。

我正在使用Android Studio(Java)创建一个应用程序,用户可以在应用程序中创建和存储PDF,并将这些PDF发送到同一应用程序中的另一个帐户,位于不同的设备上。

用户将拥有存储在数据库中的联系人列表。

我需要一个服务器来实现这个吗?是否有任何在线教程展示如何编写这个功能?(我已经搜索了几个小时,但找不到与我问题相关的具体内容。也许我的表达方式不对吗…)

我曾考虑过使用Firebase,但我完全不知道从何开始。

谢谢!

英文:

Beginner here.

I'm creating an app in Android Studio (Java) where the user can create and store PDFs on the app and send these to another account on the same app, on a different device.

The user will have a list of contacts stored in a database.

Do I need a server to do this? Are there any tutorials online showing one how to code this? (I've been searching for hours but can't find anything specific to my problem. Maybe I'm wording it wrong...)

I was looking into Firebase but I'm completely lost on where to start.

Thanks!

答案1

得分: 0

对于简单的用例,您不需要服务器,可以使用Firebase代替。目前,他们有一个存储功能,可以让您将文件存储在他们的服务器上,并以后检索出来。

这是官方文档链接:Firebase云存储

您可以做的一件事是从Android设备上传文件,然后从另一个设备下载。

英文:

For simple use cases you don't need a server, you can use firebase instead. Currently, they have a storage feature that lets you store files on their servers and retrieve them later.

Here is the official documentation firebase cloud storage

One thing you could do is upload the file from android device and download from another one.

huangapple
  • 本文由 发表于 2020年5月29日 20:07:05
  • 转载请务必保留本文链接:https://java.coder-hub.com/62085596.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定