[android-developers] Re: HID iCLASS
Just because it can read that certain standard doesn't mean it will read HID iClass cards. iClass cards hold encrypted data on them, but a simple google search told me that even the encryption can be cracked ( http://www.openpcd.org/HID_iClass_demystified, http://static.usenix.org/events/woot11/tech/final_files/Garcia.pdf). From only reading the abstract and glancing over the paper they do say Finally, we show that recovering an iClass master key is not harder than a chosen plaintext attack on single DES. Im assuming since the hardware used in android phones that can access that ISO standard would in theory be able to read an iClass card if you can program one to do so. On Monday, March 14, 2011 1:24:03 PM UTC-5, Paul Christensen wrote: Can anyone tell me, does the nexus s support reading HID iCLASS cards? I have not been able to scan them, but I don't know if this is due to the antenna, or that they're simply not supported. Thanks. -- 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Got my N1 today in Oslo Norway :) Awesome phone, thanks Google. On 3 Mai, 17:43, heedrox heed...@gmail.com wrote: TreKing: for those of us (including me) that have not received the N1, I think we still would like to hear ocasionally the sentence N1 received in... so as we can see that N1s are still being sent, and ours will arrive (soon?). I don't know if I'll have to wait one week or three or six more, but I will get very nervous if I don't see movement in this list, and I would feel very alone in this whole universe... Hope you understand. Thanks. -- 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Ahh, too late.. Allready posted the form Hopes its legit :) On the other hand I think Google can afford to give away phones to 1000 developers. As I see it, it would be a huge benefit for them to encourage the developers for futher development. -- 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Hello Andoid works then ... Not able to run android project
Thanks for help. Built Hello Android app on Galileo - it ran fine. Next day - unable to run android apps. ADT and DDMS show installed. PATH is set to SDK. There is no option to create a new android project or run android apps now. No idea what happened. I changed nothing I know of. So I tried reinstalling everything...No luck. Anyone know what to check to find out why I can't build or run android apps anymore? Shouldn't the Eclipse Installation Details tell me something? Thanks again, Zack. -- 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Hello Andoid works then ... Not able to run android project
The adt and ddms plug-ins were missing from the eclipse Plug-in directory. No idea how that happened. On Feb 22, 6:53 pm, Zack zpart...@cascadeaccess.com wrote: Thanks for help. Built Hello Android app on Galileo - it ran fine. Next day - unable to run android apps. ADT and DDMS show installed. PATH is set to SDK. There is no option to create a new android project or run android apps now. No idea what happened. I changed nothing I know of. So I tried reinstalling everything...No luck. Anyone know what to check to find out why I can't build or run android apps anymore? Shouldn't the Eclipse Installation Details tell me something? Thanks again, Zack. -- 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] droidcon London 2009 (conference for android developers) on December 2nd Wednesday in London
droidcon London 2009 will take place in London on December 2nd, Wednesday. This is UK's first community event for Android developers. The aim of droidcon is to bring together the Android development community in an informal environment where they can share ideas, demo new apps, talk to the experts and generally have lots of Android- related fun. This conference will feature Carl-Gustaf Harroch, Kevin McDonagh , Andreas Reuterberg, Alex Shaw, Akshay Dashrath, Gabor Paller, Martin Roth and two ParkBench Panel Discussions. For more information go to: http://skillsmatter.com/event/os-mobile-server/droidcon-london-2009/wd-451 And also follow the event on twitter #droidconlondon droidcon has a limited space of 125 delegates only, so reserve your ticket now. Fancy just sharing some ideas, hack and meet other Android developers? Attend Droidcamp London, on December 1st, tickets are free! -- 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] onDraw after all child views
Hi, I have a composite view which is extended from LinearLayout and contains a TableLayout which contains many ImageViews. I would like to overlay some effects on the resulting image that is produced by my custom view. It would seem that my CustomView's onDraw is only being called after before all of it's children's onDraw methods which basically is burying the changes I want to make. Makes sense, but does anyone know halfway decent way to do what I'm asking? Thanks! --~--~-~--~~~---~--~~ 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, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Go to the home screen.
Well, that was simple :) Thanks all. I knew System.exit() was what I was looking for. On Feb 27, 3:27 am, deepdr...@googlemail.com deepdr...@googlemail.com wrote: you should just remove it from the Java implementation :-) On 27 Feb., 04:40, Dianne Hackborn hack...@android.com wrote: And for heaven's sake don't call System.exit()! On Thu, Feb 26, 2009 at 10:50 AM, Marco Nelissen marc...@android.comwrote: On Thu, Feb 26, 2009 at 5:26 AM, Zack zhalbre...@gmail.com wrote: Hi, I'm trying to do something similar. I have a few activities in my app. When the app starts it goes from EULA - Loading Screen - Main Activity If I get to the Main Activity and hit the back button it will go back to the Loading Screen (which I understand) but now I'm trapping the onKeyDown for the back button in my Main Activity and would like to get to the home screen through startActivity() System.exit(1) as suggested below seems to just restart my Main Activity. Any suggestions? Thanks! You can just have your loading screen and EULA activities call finish() on themselves when they are done. That way your 'main' activity becomes the first activity in the chain, and exiting it will exit your app. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.- Zitierten Text ausblenden - - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ 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, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Go to the home screen.
Hi, I'm trying to do something similar. My app has 3 activities EULA (checks preference for accepted, so must of the time is not seen) - Loading Data - Main Activity If I get to the Main Activity and hit the back button, it goes back to the loading screen. Now, I'm catching onKeyDown, looking for the back button code and if I find it would like to use startActivity to launch the Home Screen. System.exit(1) performs the same thing as the back button. Anyone know what class / package I can use in an Intent to launch the home screen? On Feb 25, 12:39 am, suhas gavas suhas.ga...@gmail.com wrote: hi onclick just write System.exit(1); and it will do the rest for u reagrds, Suhas On Wed, Feb 25, 2009 at 11:07 AM, ipeg.stud...@gmail.com wrote: Hello Thanks for the reply. But my question is i have a exit button. I want to go to the home screen by clicking the button. I know the onClick() method. Please tell me the method by which i can go to the home page of android. btn4=(Button)findViewById(R.id.bt4); btn4.setOnClickListener(new ImageButton.OnClickListener() { public void onClick(View v) { } }); i dont want finish() method. Thanks in advance. --~--~-~--~~~---~--~~ 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, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Go to the home screen.
Hi, I'm trying to do something similar. I have a few activities in my app. When the app starts it goes from EULA - Loading Screen - Main Activity If I get to the Main Activity and hit the back button it will go back to the Loading Screen (which I understand) but now I'm trapping the onKeyDown for the back button in my Main Activity and would like to get to the home screen through startActivity() System.exit(1) as suggested below seems to just restart my Main Activity. Any suggestions? Thanks! On Feb 25, 12:25 am, Romain Guy romain...@google.com wrote: Or better yet, press theHomekey :) On Tue, Feb 24, 2009 at 9:25 PM, Romain Guy romain...@google.com wrote: Just press back :) On Tue, Feb 24, 2009 at 9:24 PM, ipeg.stud...@gmail.com wrote: Hi All Android Developers... Thanks for the replaies. I want to go to thehomepage of android from myactivity. Can anybody tell me how can i do this? I have tried a lot. Thanks in advance. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~-~--~~~---~--~~ 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, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] HttpPost - setting parameters but the web page is not receiving them?
Thanks for helping. in m5 : client = new HttpClient(); pmethod = new PostMethod(posturl); pmethod.addParameter(PacketNum, mStringPacketNumber); ...other parameters set here... int statusCode = client.executeMethod( pmethod ); in 0.9: HttpClient HClient = new DefaultHttpClient(); HttpParams HParams = new BasicHttpParams(); HClient.getConnectionManager(); HttpPost postRequest = new HttpPost(posturl); HParams.setParameter(PacketNum, mStringPacketNumber); ... other parameters set here... postRequest.setParams(HParams); HClient.execute(postRequest); The Post request is received by the web server in both cases but in the 0.9 version none of the parameters are received. What is the right way to set the parameters for 0.9 SDK. Thanks again. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: HttpPost - setting parameters but the web page is not receiving them?
Thanks Justin, so is it correct that I need to set the HttpPost entity? HttpPost postRequest = new HttpPost(posturl); InputStream postEntityInStream; HttpEntity postEntity = postRequest.getEntity(); postEntityInStream = postEntity.getContent(); postEntityInStream.what goes here;---do I put my data here? if so how? postEntity.setContent(postEntityInStream); postRequest.setEntity(postEntity); I'm definitely missing something here. Seems like a catch 22 to me. Can't setEntity w/o setContent w/o magically putting my data in the InputStream which comes from the postEntity which comes from the postRequest... I can't see how to put my sting variables in anywhere. Thanks again. On Aug 27, 4:15 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: params aren't what you think they are, take a look athttp://code.google.com/android/reference/org/apache/http/params/HttpP... . You're looking forhttp://code.google.com/android/reference/org/apache/http/HttpEntity.html . Cheers, Justin Android Team @ Google On Aug 27, 10:03 am, Zack [EMAIL PROTECTED] wrote: Thanks for helping. in m5 : client = new HttpClient(); pmethod = new PostMethod(posturl); pmethod.addParameter(PacketNum, mStringPacketNumber); ...other parameters set here... int statusCode = client.executeMethod( pmethod ); in 0.9: HttpClient HClient = new DefaultHttpClient(); HttpParams HParams = new BasicHttpParams(); HClient.getConnectionManager(); HttpPost postRequest = new HttpPost(posturl); HParams.setParameter(PacketNum, mStringPacketNumber); ... other parameters set here... postRequest.setParams(HParams); HClient.execute(postRequest); The Post request is received by the web server in both cases but in the 0.9 version none of the parameters are received. What is the right way to set the parameters for 0.9 SDK. Thanks again. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)
Thanks for your many helpful posts! I'm sure this one will be helpful to me but what do I need to do to be able to import org.apache.http.entity.mime.MultipartEntity;? I get The import org.apache.http.entity.mime cannot be resolved Do I need to configure eclipse and add something to it? Thanks again. On Aug 19, 4:18 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: Just to finish this thread off nicely, here's some code to use multipart posts. Again, you need mime4j, httpmime, and Apache Commons IO. import java.io.ByteArrayInputStream; import java.io.InputStream; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.mime.MultipartEntity; import org.apache.http.entity.mime.content.ContentBody; import org.apache.http.entity.mime.content.InputStreamBody; import org.apache.http.entity.mime.content.StringBody; import org.apache.http.impl.client.DefaultHttpClient; ... HttpClient httpClient = new DefaultHttpClient(); HttpPost request = new HttpPost(http://www.example.com;); // we assume 'data' is some byte array representing a jpeg InputStream ins = new ByteArrayInputStream(data); parts[0] = new InputStreamBody(ins, image.jpg); parts[1] = new StringBody(some bit of information); parts[2] = new StringBody(another bit of information); // create the multipart request and add the parts to it MultipartEntity requestContent = new MultipartEntity(); requestContent.addPart(image.jpg, parts[0]); requestContent.addPart(data_part1, parts[1]); requestContent.addPart(data_part2, parts[2]); // execute the request request.setEntity(requestContent); httpClient.execute(request); The HttpClient execute method will give you a handle to the response. From that you can do HttpResponse.getEntity().getContent() which will give you an InputStream to read the response. Unfortunately the InputStream doesn't produce a meaningful response for InputStream.available(). This might be because somewhere along the way the Content-Length header seems to be getting lost, but I haven't had time to look into this further yet. Cheers, Justin Android Team @ Google On Aug 18, 11:13 pm, code_android_festival_way [EMAIL PROTECTED] wrote: Thank you Justin for helping me out. It is working pretty fine now. :-) Cheers from Germany! On 19 Aug., 02:11, Justin (Google Employee) [EMAIL PROTECTED] wrote: Looks like you also need the Apache Commons IO library which you can get fromhttp://commons.apache.org/io/. Cheers, Justin Android Team @ Google On Aug 18, 3:19 pm, code_android_festival_way [EMAIL PROTECTED] wrote: So I'm back with a question. I've imported the libraries mentioned above and got the following setup: http://paste.pocoo.org/show/82631/ Now I get an error while executing the POST method with the HttpClient. Am I doing sth. wrong or what do I have to change to get it working. (the paste above is cutted down to the most important parts) The error message: Error in org.apache.commons.io.ouput.ByteArrayOutputStream I'm looking forward getting some answers. Regards! On 18 Aug., 22:35, code_android_festival_way [EMAIL PROTECTED] wrote: Thank you for your answer Dan. I'm looking now how to get the whole thing working. (since I'm not the best Java developer :) ) I will come back with the results later on. On 18 Aug., 22:26, Dan Morrill [EMAIL PROTECTED] wrote: To shed a bit more light, the reason the multi-part APIs were removed is because those APIs will not be final in the upstream Apache HTTPClient in time for Android's schedule for a final 1.0 version. Rather than ship an early/incompatible API, we chose to remove it, and rely on other libraries as Justin suggested. Note that this applies only to the multi-part APIs: the rest of the Apache HTTPClient APIs have been frozen, and so they are safe for us to include. (Seehttp://www.nabble.com/-VOTE--RESULT--HttpClient-4.0-API-freeze-td1863... ) - Dan On Mon, Aug 18, 2008 at 1:10 PM, Justin (Google Employee) [EMAIL PROTECTED]wrote: Note that this has been removed because it was removed from the Apache HttpClient library that we're bundling. What you want to do is get Mime4j (http://james.apache.org/mime4j/index.html) and HttpMime (http://hc.apache.org/httpcomponents-client/httpmime/index.html) and include these libraries in your Android project. From there, the usage ofmultipartrequests is pretty intuitive. Cheers, Justin Android Team @ Google On Aug 18, 1:06 pm, code_android_festival_way [EMAIL PROTECTED] wrote: Hello guys. I've seen that themultipartmethod has been removed in 0.9. I'm wondering now how to achieve these
[android-developers] Re: GPS LocationProvider journey simulation
The Location sample posted in the files section still gives me the error mentioned by Marcel in addition to about two hundred other errors. Will this only work on linux systems? I'm using Windows and eclipse. Thanks. On Aug 21, 2:13 pm, Megha Joshi [EMAIL PROTECTED] wrote: Can you try using the Location sample app posted in the Files section. There are also some sample gpx/kml files for input... On Thu, Aug 21, 2008 at 6:05 AM, marcel-182 [EMAIL PROTECTED] wrote: Hello again, I found something interesting whilst starting up the emulator: 08-21 13:01:44.762: ERROR/GpsLocationProvider(47): Could not open GPS configuration file /etc/gps.conf 08-21 13:01:44.762: ERROR/GpsLocationProvider(47): java.io.FileNotFoundException: /etc/gps.conf Maybe that's the reason why the default journey simulation doesn't work?! Regards, Marcel --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Keytool apparently not signing apk - What am I missing here?
Thanks for your help. add the JDK version of Keytool to your PATH variable. -- Done. Signing in Eclipse/ADT If you are developing in Eclipse and have set up Keytool as described above, signing in debug mode is enabled by default. When you run or debug your app, ADT signs the .apk for you and installs it on the emulator. No specific action on your part is needed, provided ADT has access to Keytool. Debug version on Windows Vista using eclipse... [2008-08-23 23:27:35 - HelloActivity] Installing HelloActivity.apk... [2008-08-23 23:27:38 - HelloActivity] Installation failed due to invalid APK file! Not sure what else I'm suppose to do. Is something missing from the directions that is obvious to experienced eclipse users? Do I some how have to direct eclipse to load the keytool plug-in? Thanks again. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---