Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8720745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:06:16+00:00 2026-06-13T07:06:16+00:00

I am making a small database of ttyUSB devices plugged in on an android

  • 0

I am making a small database of ttyUSB devices plugged in on an android device. To that extent, I made android ueventd write into a file to save some information like: vid, pid, serial and device path (e.g. /dev/ttyUSB0). I would like this file to be accessible by any android apps.

  1. Is there a directory in android FS accessible/readable by any app? Preferrably one that does not need special permissions. In which I could put my file?

  2. Is there a security risk in making a usb device’s serial number accessible this way to android apps?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:06:17+00:00Added an answer on June 13, 2026 at 7:06 am

    I would like this file to be accessible by any android apps.

    Why? Do you think the user wants this data “to be accessible by any android apps”? What does the user gain by your disclosing this data?

    Is there a directory in android FS accessible/readable by any app? Preferrably one that does not need special permissions. In which I could put my file?

    External storage is accessible by all apps, but it will require a permission to read from in future versions of Android. There is no other place accessible by all apps.

    Is there a security risk in making a usb device’s serial number accessible this way to android apps?

    Possibly. There may be a privacy risk.

    Please keep the file protected, and create a ContentProvider that you secure via a permission. That way, when users install apps that wish to access your data, the user gets to decide if that can happen or not.

    Also, bear in mind that the ueventd stuff that you are doing is beyond the scope of the Android SDK. If you are doing this in some ROM mod that you are creating, fine. If you are trying to play games with ueventd on arbitrary hardware, bear in mind that ueventd behavior may vary by device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a small webpage that is going to execute links, en specifics magnet
I'm making a small system for personal use on that I want to handle
I am making a small section of an app (phone and website) that can
I'm making a small tool application that user can minimize in the taskbar .
I am making a small C# GUI application that reads table-like (cells, rows, columns)
Sorry for the newbie question! I'm making a small website that allows users to
I am making a small iPhone application in which I have implemented the database
Im making a (small) site in php & mysql. The mysql database consists of
I am making a small web app that allows users to submit html, css
I need a small help in making a mysql database structure I am making

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.