[android-developers] NFC Secure Element by Software

2012-09-10 Thread Gorka
Hi all, I would like to know which are the solutions that nowadays are being proposed in order to develop software-based secure elements. I know what a Secure Element is, so please don´t tell me that the Secure Element must be a hardware device by definition and that it could be an UICC/SIM or

[android-developers] Re: does NFC in gingerbread support card simulate?

2012-05-17 Thread Gorka
Hi Shailen, I guess you have emulated your MIFARE4k tag rooting your mobile phone and applying any of the patches that are available on the Internet. Am I right? I ask you because this solution is fine for research purposes, but it cannot be applied if you want to publish your app or sell it.

[android-developers] Problem Creating new Contact with photo

2012-02-03 Thread Gorka PlanetMedia
Hi, I am trying to create a new Contact with a photo, but my code doesn´t work properly. The thing is that the first time I execute the code the new contact doesn´t appear on the Contacts List, but the second time I execute it the contact appears twice and properly. I have tried the same code but

[android-developers] Problem Creating new Contact with photo

2012-02-01 Thread Gorka
Hi, I am trying to create a new Contact with a photo, but my code doesn´t work properly. The thing is that the first time I execute the code the new contact doesn´t appear on the Contacts List, but the second time I execute it the contact appears twice and properly. I have tried the same code but

[android-developers] Share my Contact

2012-01-19 Thread Gorka
there must be another way to get my own information, but I cannot figure it out. I would appreciate any suggestion. Thanks a lot, Gorka -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers

[android-developers] Problem working with SOAP (lib kSOAP2)

2011-05-10 Thread Gorka
of an object.;} It would be great if someone knows how can I solve my problem. Thanks a lot, Gorka -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] Re: Filtering NFC intents, NDEF message external type

2011-05-04 Thread Gorka Hernando
Hi, Thanks for your response. On 4 mayo, 08:04, Michael Roland mi.rol...@gmail.com wrote: Hallo Gorka, for the moment Android provides no means to directly dispatch your application based on anNFCForumExternalType (btw, yourexternal type name does not follow the RTD specification

[android-developers] Re: Filtering NFC intents, NDEF message external type

2011-05-03 Thread Gorka
the techlists for filtering. Regards, Gorka. On 3 mayo, 10:16, pubu he pubu...@gmail.com wrote: Have you tried to use techlist for filtering? I think it should work now. On Mon, May 2, 2011 at 6:23 PM, Gorka gork...@gmail.com wrote: Hi, I am trying to work with NDEF and external message

[android-developers] Filtering NFC intents, NDEF message external type

2011-05-02 Thread Gorka
the dispatcher. Is that possible¿¿ By the way, I cannot filter smartposter and URI NDEF message types. Could someone tell me how to do this?? Thanks a lot, Gorka. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Intent not received after application started

2011-04-18 Thread Gorka
Hi, Finally I made it work, so I post the solution as someone could be interested in the future: The point is to set the activity launchmode to singleTask (singleInstance should work too) instead of singleTop android:launchMode=singleTask Bye. On 11 abr, 14:54, Gorka gork...@gmail.com wrote

[android-developers] Re: Intent not received after application started

2011-04-11 Thread Gorka
correctly. Should look like this: @Override public void onNewIntent(Intentintent) {     ... } On 8 Apr, 16:11, Gorka gork...@gmail.com wrote: Hi, I am trying to read NFC tags with my Nexus S mobile. In my Manifest file I have theintentfiltered:          intent-filter

[android-developers] Re: Intent not received after application started

2011-04-11 Thread Gorka
/.nfcvoicereader (has extras) } from pid 189 Thanks. On 11 abr, 09:48, Gorka gork...@gmail.com wrote: Hi, Yes, I have the onNewIntent method declared as you said. @Override     public void onNewIntent(Intent intent) {     Log.d(TAG, On New Intent); } The problem is that i don´t get

[android-developers] Re: Intent not received after application started

2011-04-11 Thread Gorka
¿? On 11 abr, 10:22, Gorka gork...@gmail.com wrote: Hi, Here is the message I get when the phone detects the tag. As I said, the first time the app is started, but the second time nothing happens. I/ActivityManager (107): Starting intent: {act=android.nfc.action.NDEF_DISCOVERED typ=text

[android-developers] Re: Intent not received after application started

2011-04-11 Thread Gorka
the onNewIntent messages I am supposed to used. So the application reads all the tags. However, if the application is started when it detects a tag, it doesn´t receive onNewIntent messages anymore. Does anyone know how to solve this? I continue reading ... Bye. On 11 abr, 10:36, Gorka gork

[android-developers] Intent not received after application started

2011-04-08 Thread Gorka
Hi, I am trying to read NFC tags with my Nexus S mobile. In my Manifest file I have the intent filtered: intent-filter action android:name=android.nfc.action.NDEF_DISCOVERED/ data android:mimeType=*/* / category

[android-developers] Intent Not Received after application started

2011-04-07 Thread Gorka Hernando
Hi, I am trying to read NFC tags with my Nexus S mobile. In my Manifest file I have the intent filtered: intent-filter action android:name=android.nfc.action.NDEF_DISCOVERED/ data android:mimeType=*/* / category

[android-developers] Re: Activity without GUI - Activity

2011-04-06 Thread Gorka Hernando
Hi, Thanks a lot for your time. It was really helpful On 6 abr, 09:13, Dianne Hackborn hack...@android.com wrote: Right use Theme.NoDisplay AND You MUST call finish() by the time you return from onResume(). Different component types are not interchangeable.  If something is launching an

[android-developers] Activity without GUI - Activity

2011-04-05 Thread Gorka
Hi, I want to deploy an application that reads a NFC tag and shows the text on the screen with a Toast and reads it using a texttospeach class. So, I don´t want to start an activity because I don´t need any GUI. Is that possible? I have tried to remove the activity tags from the manifest but

[android-developers] Re: Activity without GUI - Activity

2011-04-05 Thread Gorka Hernando
: An app without a UI is a service. On Apr 5, 3:55 pm, Gorka gork...@gmail.com wrote: Hi, I want to deploy an application that reads a NFC tag and shows the text on the screen with a Toast and reads it using a texttospeach class. So, I don´t want to start an activity because I don´t

[android-developers] Re: Activity without GUI - Activity

2011-04-05 Thread Gorka Hernando
_context, Intent _intent) { . } } Can someone tell me what I am doing wrong ?? Thanks On 5 abr, 10:01, Zsolt Vasvari zvasv...@gmail.com wrote: An app without a UI is a service. On Apr 5, 3:55 pm, Gorka gork...@gmail.com wrote: Hi, I want to deploy

[android-developers] Re: Activity without GUI - Activity

2011-04-05 Thread Gorka Hernando
am doing make sense or not. Because it seems to me that I am wasting my time because this is not the correct form to work whit this things. Thanks. On 5 abr, 13:36, skink psk...@gmail.com wrote: On Apr 5, 10:45 am, Gorka Hernando g.herna...@ogmio.com wrote: Hi again, Sorry if I am

[android-developers] Re: Activity without GUI - Activity

2011-04-05 Thread Gorka Hernando
(); context.startService(serviceIntent); } Maybe you meant this line: context.startService(serviceIntent); when you sais how to start a service. The problem as I said is that I cannot get the intent On 5 abr, 14:42, Gorka Hernando g.herna...@ogmio.com wrote: Hi, Thanks for your response. I

[android-developers] Re: Activity without GUI - Activity

2011-04-05 Thread Gorka Hernando
your intent filter set up ok, you should at least receive the intent. On Apr 5, 8:45 pm, Gorka Hernando g.herna...@ogmio.com wrote: Sorry, I forgot to say that after the broadcast is catched withing the onreceive I have this code: public void onReceive(Context context, Intent intent

[android-developers] SIM NFC (card emulation). SWP support?

2011-03-28 Thread Gorka Hernando
Hi, I have just get a SIM card where a MIFARE Classic 1k tag has been emulated. I put it into the Samsung GT-5230N mobile phone and I can read it with my NFC reader as a common tag. This is possible because the 5230N has full SWP (Single Wire Protocol). Moreover, I can connect to the applet

[android-developers] Re: NFC doubts. JSR 257 - 177

2011-01-24 Thread Gorka Hernando
access to a sample NFC tag or reader.  Does anyone have any recommendations for a tag/reader they have actually used in creating a demo for NFC on Android 2.3? On Jan 18, 3:11 am, Gorka gork...@gmail.com wrote: Hi, I´ve been working on NFC with my Samsung 5230 mobile, and now I

[android-developers] NFC doubts. JSR 257 - 177

2011-01-18 Thread Gorka
Hi, I´ve been working on NFC with my Samsung 5230 mobile, and now I am considering to move to Android. Before I do that I have some questions. I´ve been reading the group and the developers web page, but still have some doubts. - Is it possible to read MIFARE DESFire tags using the standard API.

[android-developers] Re: Create Image from String

2010-10-08 Thread Gorka
(R.id.DTNApps_DTNReceive_ImageView); byte[] bytes = output.getBytes(); InputStream in = new BufferedInputStream(new ByteArrayInputStream(bytes)); Where am I doing something wrong?? Do I have to indicate any encoding string (output.getBytes(US-ASCII) or something?? On 7 oct, 12:55, Gorka gork

[android-developers] Create Image from String

2010-10-07 Thread Gorka
Hi, I am trying to depict on the screen the image I receive from my neighbour via a text message. I mean, the other node sends me a message where an image is encode (I can read the PNG header, ...) and now I want to show it on the screen, but it doesn't appear nothing. I must be doing something

[android-developers] Re: How to send a photo over Bluetooth

2010-07-01 Thread Gorka
to know this number before to create the byte[] array accordingly?? Once again thanks for your time, Gorka. On 29 jun, 13:36, Naoto naoto.kan...@gmail.com wrote: Hi, I happened to have written something similar just recently.  How about just opening the file with FileInputStream and use

[android-developers] Re: How to send a photo over Bluetooth

2010-07-01 Thread Gorka
Ups, there is the available function. I was reading the wrong API, xD. On 1 jul, 08:44, Gorka gork...@gmail.com wrote: Hi, Thank you, it seems that is exactly what I wanted. I have not tested it but apparently it works. By the way, I saw there is not an specific function defined

[android-developers] How to send a photo over Bluetooth

2010-06-29 Thread Gorka
messages reach the laptop is there something to do to rebuild the picture?? And secondly, by now I am copying the files to the drawable file of my project. Is it possible to directly get them from the folder where the picturea I take are stored?? Thank you very much for your help. Gorka -- You

[android-developers] Re: How to send a photo over Bluetooth

2010-06-29 Thread Gorka
I am sorry that I forgot to say that the photos are in JPEG format On 29 jun, 09:26, Gorka gork...@gmail.com wrote: Hello, I am trying to send a photo from my Android device to a laptop via Bluetooth. Right now I have a gallery on the screen where the photos are depicted. What I want to do

[android-developers] RfComm channel using listenUsingRfcommWithServiceRecord

2010-05-07 Thread Gorka
Hi, I am using listenUsingRfcommWithServiceRecord method to register my service in the mobile. Apparently the rfcomm channel where the service is registered is random, or at least it is not always the same. Can I somehow force the channel to be associated always to a particular RfComm channel??