Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 5 of 5
  1. Thread Author  Thread Author    #1  

    Default NFC to open specific document

    I'm trying to figure out if I can use NFC tags to open specific documents. I do repair on computers, and would like to start keeping my repair notes digitally, but want a simple way to open the correct notes for a device, and am thinking NFC tags could be a great way to do it. Walk up to a device, scan the tag, and have the correct repair notes open to start editing.

    Is this doable? I'm having trouble finding specific information on the forum or in a general internet search.
  2. #2  

    Default Re: NFC to open specific document

    It depends on what app you're using to open the notes. If there's an intent that allows you to open up a specific document in the app you want then you can do what you want with Tasker. It will likely be a bunch of 'If' statements, which may be messy, but still possible. Once you get that figured out you'd be able to access the notes other ways (e.g. voice) as well.
  3. Thread Author  Thread Author    #3  

    Default Re: NFC to open specific document

    Quote Originally Posted by garublador View Post
    It depends on what app you're using to open the notes. If there's an intent that allows you to open up a specific document in the app you want then you can do what you want with Tasker. It will likely be a bunch of 'If' statements, which may be messy, but still possible. Once you get that figured out you'd be able to access the notes other ways (e.g. voice) as well.
    Well it needs to be something that doesn't require a lot of setup each time. Each tag would get reprogrammed with a new document link probably 2-3 times a week. So far it almost seems like I'm better off doing QR codes and putting up with using Google Docs in a browser instead of the app, but it seems like there ought to be a better way. A solution that opens in the app would be preferred, and the NFC tags would be better so I didn't have to open a QR scanning app to open each document.
  4. #4  

    Default Re: NFC to open specific document

    Quote Originally Posted by YAYTech View Post
    Well it needs to be something that doesn't require a lot of setup each time. Each tag would get reprogrammed with a new document link probably 2-3 times a week.
    The initial setup would probably take a little while, but it would be fairly easy to make a scene that allows you to change what document each NFC tag points to. You'd just assign a different task for each tag (I'm not sure there's a way to differentiate between tags within a task, but that would be cool) and that task would point to a document using a variable. The scene would change the variable for each task, so it would point to a different document. So your document path for NFC tag 1 might look like

    storage/emulated/0/Work/%Nfctag1

    And the scene would change %Nfctag1 to the name of the file you want that tag to point to.

    So you wouldn't have to actually reprogram the tag, you'd just change what Tasker does when it reads each tag.

    Again, this all depends on you being able to find a text editor that has an intent (share) to open a file from a path to use for editing the files.
  5. #5  

    Default Re: NFC to open specific document

    Might be late to the party with this, but this is my workflow for doing what you're talking about...
    Using NFC tags to open a specific spreadsheet:

    Setup:
    Hardware - Android mobile device, and an NFC tag
    Software - Google Sheets, and NFC Tools Pro (for writing), NFC Tasks (for executing)
    Existing data - a spreadsheet (or document) that currently exists on your cloud drive (Google Drive, for example)

    Open Google Sheets
    Find the specific sheet
    Tap it's menu (. . .) “button”
    Select ‘Share & Export’
    Select ‘Get link’ (link will be copied to the clipboard)
    Exit Google Sheets (go to home screen)

    Open NFC Tools Pro
    Tap ‘Tasks’ tab
    Tap ‘Add a task’
    Tap ‘Applications - Tasks binded to apps’
    Tap ‘URL / URI - Launch URL / URI’
    In the ‘Enter your URL / URI’ box, press and hold until ‘Paste’ pops up
    Tap ‘Paste’
    Tap ‘Ok’
    Tap ‘Write… ‘ (to the NFC tag)
    Exit NFC Tools Pro (go to home screen)

    Tap the NFC tag to open the sheet. Device may ask which app to open link with, choose Google Sheets (it will open in Chrome, for example.) It may also ask which account, (if more than one account on the device) select preferred account.

    Hope this helps.

Similar Threads

  1. How to get SWYPE keyboard back??
    By grumpygramps1 in forum HTC One M7
    Replies: 5
    Last Post: 06-10-2014, 07:26 PM
  2. sony xperia tipo want to root
    By gazzainayr in forum Android 4.0 Ice Cream Sandwich
    Replies: 3
    Last Post: 04-27-2014, 09:30 AM
  3. Difference that custom ROM "Beans"has made to my battery life
    By teleburst in forum Samsung Galaxy Note 3
    Replies: 6
    Last Post: 04-25-2014, 05:25 PM
  4. How to output android's camera output to PC through Wifi or Internet?
    By Awab Hassan Alvi in forum General Help and How To
    Replies: 6
    Last Post: 02-07-2014, 05:22 AM
  5. Set camera to rear only
    By Tigrisan in forum Samsung Galaxy S4
    Replies: 0
    Last Post: 02-06-2014, 11:48 AM

Posting Permissions