[android-developers] Re: NFC send Photo

2011-06-29 Thread Dominik
You can simply push a NDEF message which contains one Ndef-Record of type image/png or image/jpeg. Beyond memory (and time) there seem to be no restrictions regarding the size of the message. I just transferred an image of size 51K. Android delivered the 51166 byte message in 206 packages of size

[android-developers] Re: NFC send Photo

2011-05-29 Thread Bob Kerns
Yes, I understand it varies by culture. Here (US), it's exacerbated by a lot of factors with how we handle credit, jobs, etc., but we also have a moderate expectation of privacy. (The Europeans are stronger on it, at least in terms of what laws are on the books. I think our attitudes and our law

Re: [android-developers] Re: NFC send Photo

2011-05-29 Thread Bob Kerns
Note that using HTTPS does not give you end-to-end security in this scenario. The server is a man-in-the-middle. It's not a surreptitious one, but it is a man-in-the-middle nonetheless. The cert only serves to ensure it's the *right* man in the middle. So you'll still want to encrypt the payloa

[android-developers] Re: NFC send Photo

2011-05-29 Thread Zsolt Vasvari
Well, I am just throwing idea out there. I haven't decided on NFC or that it would use encryption -- it might based on your feedback. I just won't be going the centralized server route, that's I am 100% certain about. Salary information is sensitive enough in the Western world, but if you ever d

[android-developers] Re: NFC send Photo

2011-05-29 Thread Bob Kerns
Ah. Well, I'm going to assume you understand your customers (but suggest you always question whether you do! :=) Indeed, one should always keep one's security practices in conformity with the nature of what you are protecting. But I would certainly consider salary information to be sensitive e

[android-developers] Re: NFC send Photo

2011-05-29 Thread Zsolt Vasvari
I have zero problems with using a servers, but my customers do. My app doesn't require an Internet permission and I intend it to keep it that way. By "sensitive" I dont' really mean to the point where if I steal a user's phone, I can drain his bank account empty. The worse that will happen is th

Re: [android-developers] Re: NFC send Photo

2011-05-29 Thread Nikolay Elenkov
On Mon, May 30, 2011 at 12:51 PM, Bob Kerns wrote: > Don't worry about the terminology -- "ad hoc wifi network" is what you're > looking for. I just wanted to figure out what you intended to say. > > Hmm, "peer-to-peer" and "sensitive financial data" has me a bit concerned. > I don't advocate send

[android-developers] Re: NFC send Photo

2011-05-29 Thread Bob Kerns
Don't worry about the terminology -- "ad hoc wifi network" is what you're looking for. I just wanted to figure out what you intended to say. Hmm, "peer-to-peer" and "sensitive financial data" has me a bit concerned. I don't advocate sending sensitive data, via servers or not, unencrypted. I hop

[android-developers] Re: NFC send Photo

2011-05-29 Thread Zsolt Vasvari
I thought I've read somewhere that the sticker would communicate with the phone via Bluetooth. I guess that cannot be right as it would need a power source. On May 30, 11:35 am, Nikolay Elenkov wrote: > On Mon, May 30, 2011 at 11:41 AM, Zsolt Vasvari wrote: > > > I wonder if those "stickers" Go

Re: [android-developers] Re: NFC send Photo

2011-05-29 Thread Nikolay Elenkov
On Mon, May 30, 2011 at 11:41 AM, Zsolt Vasvari wrote: > > I wonder if those "stickers" Google promised to retrofit phones for > Google Wallet would be usuable for general purpose NFC applications. Most probably not. A sticker is just an NFC chip that you can glue to your phone or anything else f

[android-developers] Re: NFC send Photo

2011-05-29 Thread Zsolt Vasvari
By peer-to-peer WIFI I meant that there is no router. I am no networking expert (as you can tell), so my terminology is probably off. An intermediary server in my case is not an option due to the sensitive nature of my custumers' financial data, so it needs to be some sort of "peer-to-peer" commu

[android-developers] Re: NFC send Photo

2011-05-29 Thread Bob Kerns
Android does support peer-to-peer wifi network, what exactly are you talking about? I suspect you mean something somewhat different. Ad hoc access points? You wouldn't want to do that anyway -- it would kill the user's active WiFi connection, and this isn't even remotely a legitimate applicatio

[android-developers] Re: NFC send Photo

2011-05-29 Thread Zsolt Vasvari
So are you saying the NFC would not be good for a Bump-type comm between two devices? It just seems so much easier than pairing two Bluetooth devices and since Android doesn't even support peer-to-peert WIFI networking, that's completely out of the question. On May 29, 9:13 am, Bob Kerns wrote:

[android-developers] Re: NFC send Photo

2011-05-28 Thread Bob Kerns
Sorry, I was interrupted and sent this out prematurely. Anyway, that's the standard. Then you need to consider what the library you use is doing. If you're talking about the Android side, it looks like it does the chunking for you: http://developer.android.com/intl/de/reference/android/nfc/Ndef

[android-developers] Re: NFC send Photo

2011-05-28 Thread Bob Kerns
Send? Just what do you think NFC is, exactly? It sounds like you think it's an alternative to WiFi or Bluetooth. That's not exactly true, or only approximately true, depending on how you want to look at it. While in theory you could use it to communicate between two devices, the short range inv

[android-developers] Re: NFC send Photo

2011-05-25 Thread arik...@hotmail.com
hi, I do not think I explained myself well. What I need is the code, so that when i take a photo with my mobile. it bring me the option to send the picture by nfc. thx On 13 mayo, 17:28, cg-dev wrote: > Hi, > > As far as I know, I don't think you can put an image into a tag in a > standard way

[android-developers] Re: NFC send Photo

2011-05-13 Thread cg-dev
Hi, As far as I know, I don't think you can put an image into a tag in a standard way. Check with Smart Poster Ndef tag type, maybe you can with this type. If only your application need to read and write the image, you can simply use Ndef type "Text" and put your image in a raw buffer. Regards.