I am on a Image Editing project. Its a WP8 based project. What I want is that the application to accept an image as an Input from the NFC(other device). I want to have a button click event clicking on which gets me the image.
secondly I also want that after editing the Pic , I can share it using NFC .I would use an application bar and provide a icon for sharing the image.
Help needed. Completely novoice in NFC !!
please see my previous answer to a similar question on the topic of NFC file transfers # WP 8 NFC File Transfer
The short version is that NFC isn't a good fit for file transfers, but you can use NFC to open sockets to other WP8/Win8 devices.
Related
I am interesting in writing an url to NTAG215 cards, so far I have download some apps for Ios tagwriter and NFC tools however once I try to read the card I have to open the app and read it, and my intention is to approach the phone and it will be able to pop up the window that let me open the link.
I have read and search quite a bit online about this but I am confused if this is something that needs to be develop using a sdk or its something the I have sort it out playing with the phone configuration.
any information will be much appreciated.
JL
So iOS does support some background processing of URL's in the correct form.
See https://developer.apple.com/documentation/corenfc/adding_support_for_background_tag_reading
If you look at the NDEF spec https://github.com/haldean/ndef/blob/master/docs/NFCForum-TS-RTD_URI_1.0.pdf and look to only support URI Identifier Code 3 & 4 and possibly not 1 & 2
And from Apple's doc's
Note
Background tag reading doesn’t support custom URL schemes. Use universal links instead.
Definitely not URI Identifier Code 0 (custom URL)
And NXP Tagwriter App seems to default to "custom URL", so try writing the URL using the https:// or http:// from the drop down menu.
We are developing PWA for our app because it's capable of 99% of our needs , however we do need NFC reading capabilities (not writing) and we would hate to abandon PWA and go Native just for this 1 thing
Our purpose for NFC is for reading the serial only. In fact we dont need fancy NFC functions. We just have a text field where the NFC code should be typed in, kinda like how barcode readers work (keyboard emulation)
Is this possible with PWA today?
The Web NFC API has a draft status at W3C. However, it seems to be the case that Chrome for Android has support for NFC, but only in experimental modus.
This means that currently, if you would release your application today, NFC will not generally be supported. However, the fact that Google has it available in experimental modus, seems to indicate it will be more widely available soon.
You can check the status here
For in-house solutions (or solutions where you have full control over the device) you can do it without NFC api in browsers (at least until it is available).
You will need to install Tasker app (paid, about 3 USD), which can create NFC read trigger, which then can open url like yourapp.com/{nfc_uid}. If YourApp is installed as PWA, you can select to open the url in the app instead of browser. This way it will look like the PWA is reading the NFC tag.
To make it work:
1. Install Tasker
2. Add new -> Event -> Network -> NFC Tag. Leave field blank and confirm (or just press back button)
3. Add new Task to this trigger: System -> Send intent
Action: android.intent.action.VIEW
Data: http://yourapp.com/%nfc_id
Extra: com.android.browser.application_id:yourapp
Target: Activity
4. Save
The reason we are not doing it using Task "Open url" is because we do not want to open new tab each time it is triggered.
If you have everything right and you scan NFC tag, your app should load with the NFC UID in url.
I think that you have any solution, if you don't have solution yet, so I recommender check this web site.
https://www.chromestatus.com/feature/6261030015467520#
https://googlechrome.github.io/samples/web-nfc/
to enable NFC experimental on Chrome type chrome://flags on G Chrome Android explorer
I tired to googling that how share videos form camera roll in windows phone 8 like in Nokia video upload and facebook app. I used to try this
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967563(v=vs.105).aspx
Only share picture but I want to share only videos for my app e.g. when my app show in list when share a video by camera roll of windows phone in sharing
To quote the link you included in your question:
Note that this extensibility is only available when the photo is a JPG
file.
And from my experience, I can confirm that it is not possible to register your app as a share target for a video file.
In other words, if a user tries to share a video from the camera roll or another app, there is no way to make your app appear as one of the options in that list.
Did you try using the share media task function?
Check this article out from the msdn :
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207027(v=vs.105).aspx
You can use MediaLibrary and there is already an answer for your question in this link. As said, there is no way to select existing sound media and video files through default choosers. Thank you.
I am trying to make a simple application which will store the sound said by user , say on click of record button and will play it back to him/her , say on click of play button.
Can anyone suggest me some appropriate way to do this ??
Thanks,
Miraaj
You can use QuickTime Kit's capture APIs to record a movie of the audio, and QTMovie (from the same framework) to convert it to a more conventional format for audio files and to play back both the intermediate file and the converted file.
There used to be a QuickTime Kit Programming Guide, but it didn't cover capturing and is now gone from developer.apple.com. You should file a bug against the docs.
This answer will work in a Cocoa (Mac) app. If you meant to ask about the iPhone, you should re-tag your question, as the solution will be completely different for a Cocoa app vs. a Cocoa Touch (iPhone) app.
I used direct sound to create an entire internet phone application a few years ago. Your question is far simpler, you won't have to deal with the circular buffer as critically. Direct sound is pretty main stream and you can find a lot of help with it in forums, and it's free!
I need to have a flash file be opened and viewed from a USB automatically on both Win and Mac.
I read about various solutions depending on the format of the flash output:
autorun.inf if Flash published as exe(Win)/app(Mac)) which seems to be working only on Win;
html embedding if Flash is published as swf, but this turns into a problem of launching html file.
What is the best known practice/solution?
For the PC, you can use an autorun script. On the Mac, there is no such feature (thankfully). What you can do on the Mac is have the Mac partition open, and using a background image, display instructions to "click here to start", or whatever other verbiage you desire, pointing to your Flash Projector file.
will this help ?