创建短信应用 Android

发布于 2024-11-26 03:08:12 字数 425 浏览 1 评论 0原文

所以我正在制作自己的短信应用程序,因为我找不到可以处理加密消息的合适应用程序。所以基本上我正在做的就是制作一个支持 AES 来加密/解密其他人的消息的应用程序,我有几个问题。

1)我意识到手机必须将短信保存在一个中央位置,但我似乎找不到它。它将它们保存到哪里?

2)我真的不想设置主密码,但我意识到这可能是我唯一的选择,因为显然用户不想每次都输入密码,但除了主密码之外我不能想出一种让手机记住密码的安全方法。有什么想法吗?

3) 实际上将显示您与联系人进行的所有“对话”的活动,应该如何对其进行编程?我猜我应该使用 ListActivity,但是有没有更好/更有效的方法?

编辑:另一个问题

4)在顶部通知栏中显示通知的最佳方式是什么?我应该在 SmsReciever 内放置通知吗?

我想这就是我现在的所有问题,感谢您的帮助/建议!

So I am making my own Text Messaging app because I cannot find a decent app out there that can handle Encrypted Messages. So basically what I am doing is making an app that will support AES to encrypt/decrypt messages from other people, and I have a few questions.

1) I realize the phone has to save text messages in a central location, but I can't seem to find it. Where does it save them to?

2) I don't really want a Master Password set-up, but I realize it may be my only option since Obviously a user doesn't want to enter in the password every time, but other than a Master Password I can't think of a secure way to have a phone remember a password. Any ideas?

3) The activity that will actually show all the "Conversations" you are having with contacts, how exactly should it be programmed? I'm guessing that I should use ListActivity, but is there a better/more efficient way out there?

Edit: another question

4) What would be the best way to have a notification in the notification bar at the top? Should I put up a notification inside the SmsReciever?

I think that's all my questions for now, Thanks for any help/advice!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

垂暮老矣 2024-12-03 03:08:12

1)只要您知道在哪里查找,就有大量关于这方面的信息。短信存储在内容提供程序中

2) 帐户管理器

3) 到底如何对此进行细化...这是您的工作,但是列表活动是一个好地方让你开始

1) There's a load of information on this so long as you know where to look. The sms are stored in a content provider

2) Account Manager

3) How exactly is a bit refined for this ... that's your job, but yes list activity is a good place to get you started

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文