How to determine wh...
 
Notifications
Clear all

How to determine when a memory card is inserted

4 Posts
3 Users
0 Reactions
1,763 Views
(@fksv13)
New Member
Joined: 11 years ago
Posts: 2
Topic starter  

Is there a way to determine when a memory card is inserted in Android device?? In particular Samsung Galaxy S4


   
Quote
jhup
 jhup
(@jhup)
Noble Member
Joined: 16 years ago
Posts: 1442
 

mount point log in dmesg


   
ReplyQuote
tito
 tito
(@tito)
Eminent Member
Joined: 9 years ago
Posts: 24
 

When you connect a memory card to run Android Media Scanner, which scans all the media files to the external drive. The list of files and the date of the scan (the date of the creation of records in the database) are recorded in external.db, /data/com.android.providers.media/database. If you have a memory card, which is connected, you can compare the files stored on it with a list of files included in external.db. Latest records about the files in external.db can testify about the date of a memory card connection.


   
ReplyQuote
(@fksv13)
New Member
Joined: 11 years ago
Posts: 2
Topic starter  

When you connect a memory card to run Android Media Scanner, which scans all the media files to the external drive. The list of files and the date of the scan (the date of the creation of records in the database) are recorded in external.db, /data/com.android.providers.media/database. If you have a memory card, which is connected, you can compare the files stored on it with a list of files included in external.db. Latest records about the files in external.db can testify about the date of a memory card connection.

Thank you. It helped me.


   
ReplyQuote
Share: