**** BEGIN LOGGING AT Sun Apr 01 02:59:58 2012 Apr 01 03:11:40 hi guys Apr 01 03:11:52 i just tried out the android compatibility samples Apr 01 03:12:00 it won't build R.java Apr 01 03:12:18 i've already referenced the compatbility jar Apr 01 03:12:30 any insight? Apr 01 03:12:35 what API are you compiling with? Apr 01 03:12:51 4.0.3 in eclipse Apr 01 03:13:02 android-support-v13 Apr 01 03:13:09 Support13Demos Apr 01 03:13:35 can't believe i'm debugging samples Apr 01 03:13:36 >.< Apr 01 03:14:37 lol Apr 01 03:14:44 theres a string reference in the layout Apr 01 03:14:45 android:text="@string/hello_world" Apr 01 03:14:52 and when i looked at the strings.xml Apr 01 03:14:59 Apr 01 03:14:59 AccelerometerPlay Apr 01 03:14:59 Apr 01 03:15:04 there's only one entry Apr 01 03:15:05 dafuq Apr 01 03:19:49 anybody? Apr 01 03:20:54 chups: i don't know....I think IOS has strings though. Should def use IOS instead. Apr 01 03:21:17 chups there may be more resource files that contain strings Apr 01 03:21:18 iOS* Apr 01 03:24:17 >.< Apr 01 03:24:20 sob Apr 01 03:24:34 i remember reading an archetype for this Apr 01 03:24:40 switching to maven Apr 01 03:24:41 >.< Apr 01 03:25:53 http://stackoverflow.com/questions/5712159/how-to-use-the-sample-of-android-sdk-windows-extras-android-compatibility-v4 Apr 01 03:25:55 lol Apr 01 03:26:37 wow Apr 01 04:02:44 jeez Apr 01 04:02:49 this is really stressing me out Apr 01 04:03:01 the android samples for the support package are as good as trash Apr 01 04:03:02 >.< Apr 01 04:03:19 it even has an innner class Apr 01 04:03:21 dafuq Apr 01 04:03:50 Does anyone know if there's a way to get the Motorola USB drivers on Windows 8? Apr 01 04:04:07 Their MotoHelper installer says no on an "unknown version" error. Apr 01 04:06:39 i hope that google lose the oracle suit and have to drop java Apr 01 04:06:58 then they can go with something usable like python Apr 01 04:07:17 jmg: right, that's going to happen... Apr 01 04:07:25 Lisp. That would be interesting. Apr 01 04:08:14 Fuck fuck = (Fuck) new Fuck.fuck("FUUUUUUUUCK"); Apr 01 04:08:42 apologies for the swear Apr 01 04:08:56 and syntax error Apr 01 04:09:33 stfu Apr 01 04:09:39 but this whole asynctask/progressbar thing really makes me want to give up Apr 01 04:09:49 thats easy peasy Apr 01 04:10:02 s/easy peasy/retarded/ Apr 01 04:10:11 I never had a problem doing it Apr 01 04:10:30 thats because you're actually a plant Apr 01 04:10:49 async task's middle parameter is the progress type, fire publishprogress in doinbackgorund Apr 01 04:10:57 and then override onProgress Apr 01 04:11:01 i have Apr 01 04:11:02 to have it set progressbar value Apr 01 04:11:26 it wont display, and the ui thread keeps executing while asynctask is running which leads to a race Apr 01 04:11:39 how does it lead to a race Apr 01 04:11:55 tries to open the file before it has been downloaded Apr 01 04:12:17 you fire the opening on postexecute Apr 01 04:12:22 and handlers make me want to rage Apr 01 04:12:27 hmmmm Apr 01 04:12:38 for this you really dont necessarily NEED handlers Apr 01 04:12:39 that sounds like an easy way to do it Apr 01 04:13:18 a lot of the ways you are supposed to do shit in android is firing shit off asynchronously Apr 01 04:13:28 and getting used to it Apr 01 04:13:54 if you want to set some value a particular view uses from a web request, you need to ensure the view isnt doing anything with that value until its set Apr 01 04:17:37 cant do it at postexecute because it doesnt know any of the variables used to launch the asynctask Apr 01 04:19:31 are you putting your asynctask subclass in a diff file? Apr 01 04:19:47 Hey guys, my line in AndroidManifest.xml contains this to try to put admob ads inside.: Apr 01 04:19:49 android:name="com.google.ads.AdActivity" Apr 01 04:19:51 android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize Apr 01 04:19:53 but then it gives the error of " Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize'). AndroidManifest.xml" Apr 01 04:19:54 How can I fix this? Apr 01 04:21:53 I've googled for some results, but they haven't worked. Apr 01 04:22:40 Snuupy: paste the actual line of the manifest that isn't working on pastie.org Apr 01 04:22:57 the android:config part? Apr 01 04:23:07 yes Apr 01 04:23:14 okay. Apr 01 04:23:35 readme: http://pastie.org/private/tdqjpdjxjv7xdrwf5xncg Apr 01 04:24:39 Snuupy: is that inside of an tag? Apr 01 04:24:48 Yes. Apr 01 04:25:17 paste whole android manifest Apr 01 04:25:20 Okay. Apr 01 04:25:27 what version of android/api level are you using as minSdk? Apr 01 04:25:39 http://pastie.org/private/3da15rzaqeb1xnv085bmlg Apr 01 04:25:44 version 2.2 Apr 01 04:25:45 API 8 Apr 01 04:27:16 you followed everything here, right https://developers.google.com/mobile-ads-sdk/docs/android/fundamentals?hl=de-DE Apr 01 04:27:59 readme: yes. Apr 01 04:29:08 What happens if you remove the entire android:configChanges part Apr 01 04:29:18 I need to remove that activity Apr 01 04:29:20 then the error's gone Apr 01 04:29:23 it's not crucial for compiling, just for admob to work properly Apr 01 04:29:30 Yeah, I know. Apr 01 04:29:32 if you remove just the configChanges, is the error still there? Apr 01 04:29:36 I want admob to display ads though. Apr 01 04:29:41 well 1 thing at a time Apr 01 04:29:51 readme: yes. Apr 01 04:29:56 it's gone, if I remove that one Apr 01 04:29:57 line* Apr 01 04:30:35 I've googled it, and that line should have nothing wrong with it Apr 01 04:31:08 add the line back, but this time, type the whole line yourself Apr 01 04:31:15 save the file before putting the line back Apr 01 04:31:18 okay. sure. Apr 01 04:32:31 readme: error pops back up after I type the thing back Apr 01 04:32:39 I typed out the whole line myself too =\ Apr 01 04:32:48 there aren't any weird characters there, I think Apr 01 04:33:04 ok, change your project to build against 4.03 Apr 01 04:33:09 sure Apr 01 04:33:25 then change android:targetSdkVersion="15" Apr 01 04:33:26 readme: just to confirm, right click, properties, build to 4.03? Apr 01 04:33:28 then build clean Apr 01 04:33:36 right click, android, select the 4.03 one Apr 01 04:34:04 android:targetSdkVersion goes in uses-sdk Apr 01 04:34:11 can't change project.properties, tells me "Could not open the editor: Resource is out of sync with the file system: '/crocodile/project.properties'." Apr 01 04:34:18 wtf, i call my method in onPostExecute for the downloadasynctask and it doesn't know what the arguments were Apr 01 04:34:24 click your project and hit f5 Apr 01 04:34:26 to refresh it Apr 01 04:34:32 null pointer excep Apr 01 04:34:46 readme: displays now, says "target=android-15" Apr 01 04:34:54 jmg: you've been asking questions for a while but we can't really hekp without code Apr 01 04:35:02 just paste it Apr 01 04:35:07 Snuupy: ok.. does it work now? Apr 01 04:35:12 build clean Apr 01 04:35:13 readme: that fixed it Apr 01 04:35:15 :) Apr 01 04:35:21 readme: but doesn't that mean it won't run on 2.2? Apr 01 04:35:34 only if you use APIs that are higher than api level 8. Apr 01 04:35:40 you need to watch for that yourself Apr 01 04:35:41 readme: is it possible to build for 2.2? Apr 01 04:35:47 it is already going to run on 2.2 Apr 01 04:35:52 oh. Apr 01 04:35:53 okay. Apr 01 04:35:59 I'll compile it and test it Apr 01 04:36:02 see if I can run it (: Apr 01 04:36:06 thanks for the help, readme Apr 01 04:36:09 np Apr 01 04:37:36 heh Apr 01 04:41:15 ok that bit is working Apr 01 05:29:42 is there a better way to download a file asynchronously than using asynctask? Apr 01 05:55:19 please help me http://i41.tinypic.com/op9u2x.jpg , is there any way to use internet in my cellphone through wifi of my laptop which is connected to internet Apr 01 05:55:38 christina: #android or #android-root Apr 01 05:55:43 this is a development channel Apr 01 06:05:23 jmg, service Apr 01 06:17:22 hi anybody can help me ? Apr 01 06:18:00 i took a survey Apr 01 06:18:03 everyone said no Apr 01 06:18:12 but they all said if you ask a question first they'd consider it Apr 01 06:18:57 christina: yes Apr 01 06:19:19 christina: you still there? Apr 01 06:19:19 byz: we don't know if we can help you until you ask a real question... Apr 01 06:19:31 Snuupy: #android Apr 01 06:19:38 I'm doing a clienthttp for retrive json datas from my local server and it's blocked on HttpResponse Apr 01 06:19:39 Leeds: I'm there already ;) Apr 01 06:19:48 no exceptions no activity Apr 01 06:20:00 do you have internet permission? Apr 01 06:20:45 yes I put it on main.xml Apr 01 06:20:50 and I checked on installed apps Apr 01 06:21:09 er Apr 01 06:23:58 what ip areyou using in the code? - to address the local server Apr 01 06:24:08 byz: do you have internet permission in your manifest? Apr 01 06:24:33 yes Apr 01 06:24:44 I checked 2 times Apr 01 06:25:22 quick: what's XHDPI icon size? Apr 01 06:25:27 It's very strange, I tested it on my tf101 with ics and on emulator and I can see it block when It's waiting response Apr 01 06:26:01 JakeWharton: launcher icon? 96x96 Apr 01 06:26:08 thanks Apr 01 06:26:17 http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html :P Apr 01 06:26:30 i didn't feel like googling Apr 01 06:26:40 i figured it was 36dp or 48dp Apr 01 06:26:44 couldn't remember Apr 01 06:26:47 didn't google - went to d.android.com and clicked 3 times Apr 01 06:27:19 just put in loads of log entrys till you see what breaks Apr 01 06:27:25 okay, 4 times Apr 01 06:27:27 a good site for copy&paste code ? Apr 01 06:28:11 codr.cc Apr 01 06:29:16 stack overflow is handy also Apr 01 06:29:32 wait you mean to copy&paste others' code? Apr 01 06:29:39 you shouldn't do that unless you understand it Apr 01 06:29:55 Leeds, icons are full-bleed now? Apr 01 06:30:11 do nw hw i uldwok if you didnt unerstand it Apr 01 06:30:19 o_O Apr 01 06:30:34 sorry this kb sucks Apr 01 06:30:49 chair to keyboard interface more like :) Apr 01 06:30:56 fgot to proof Apr 01 06:31:08 ;) Apr 01 06:31:19 so, +1 to logging Apr 01 06:31:27 and make sure you have your permission in the manifest in the right spot Apr 01 06:31:33 outside of the tag not inside Apr 01 06:31:55 JakeWharton: dunno - I don't bother trying to keep up with the random wanderings of Android UI styling Apr 01 06:32:27 I'm turning myself into our designer at work until we get a proper one Apr 01 06:34:15 hah, we don't have a designer at all, and I try pretty hard to avoid doing any designing, because I'm terrible at it... Apr 01 06:34:48 I really have no eye for it either Apr 01 06:34:49 Leeds: http://codr.cc/166619/java Apr 01 06:35:56 do fragments work on 2.x? Apr 01 06:36:07 yes. support library Apr 01 06:36:18 schweet Apr 01 06:36:48 I just finished my first app - and I'm making 2.0 in 2 week :) Apr 01 06:36:58 congrats! Apr 01 06:37:17 its com.pwc.uk.news Apr 01 06:37:21 theres bugs Apr 01 06:38:03 anybody have an httpclient working to show me, I tried various but I'm blocked on HttpResponse Apr 01 06:38:19 I really like android - its fun running it on a device Apr 01 06:39:02 byz: okay, back up... log the URL, check it works from your computer Apr 01 06:39:09 byz, i added stuff Apr 01 06:40:04 what are yyou guys workinig on? Apr 01 06:40:54 his codr.cc link above Apr 01 06:40:59 byz - whats the setup - is te local host the same comp as adb?? Apr 01 06:41:02 std0s: seems like your app needs an awful lot of permissions! Apr 01 06:41:15 I will try now Apr 01 06:41:18 itsa corporatet app - I did what i was told... Apr 01 06:41:32 #! Apr 01 06:41:44 std0s: ah well! Apr 01 06:41:52 if it is it maybe confusion about what the local address is Apr 01 06:42:44 can't do pattern fills in Pixelmator Apr 01 06:42:49 std0s: yup, fine GPS, read/write contact, phone state, prevent from sleeping... Apr 01 06:42:53 any of you have recommendations for a Mac photo editor? Apr 01 06:43:28 I need to find a student so I can buy CS6 Apr 01 06:43:53 I kinda inherited it as a half finished project and only had the time to do so much Apr 01 06:44:01 JakeWharton: doesn't gimp compile and run on os x? Apr 01 06:44:10 meh GIMP Apr 01 06:44:11 i use gimp on osx Apr 01 06:44:18 Pixelmator is worth the $30 over GIMP Apr 01 06:44:29 crop, copy, paste... these are the extent of my skills Apr 01 06:44:32 agree Apr 01 06:44:36 its got video and navigation in it - it shouldnt have read contacts tho Apr 01 06:44:39 I'm pretty solid in inkscape Apr 01 06:44:59 I made icons for canadiancow Apr 01 06:45:02 i know this is a mobile chanel mostly, but at work we have spent the whole last month thinking how should be the web and i'd like to share the result with you: http://t.co/HM15BtnS we call it web4.0 or postSemanticHyperGalacticWeb - we started a twitter campaing, you might look for #postSemanticHyperGalacticWeb hashtag, RT are very welcome. Thanks Apr 01 06:45:23 twitter camping?!? Apr 01 06:45:31 count me in Apr 01 06:46:16 r0ver: do you offer geocities development? Apr 01 06:46:22 we are only interested in that service Apr 01 06:46:36 twitter champagne Apr 01 06:46:39 Hey guys, how can I find out what screen sizes have what resolutions? Apr 01 06:47:02 Snuupy: it is covered in the supporting multiple screens document Apr 01 06:47:04 read the tech spec Apr 01 06:47:07 readme: just on april 1st Apr 01 06:47:09 Oh. Apr 01 06:47:09 :D Apr 01 06:48:48 how do i cast from File files[] to arraylist? Apr 01 06:49:00 you don't Apr 01 06:49:07 Arrays.asList(your files[] object) Apr 01 06:49:29 which, is not a cast, but of course a great way to accomplish your actual goal. Apr 01 06:49:59 blocked... same response infinite wait Apr 01 06:50:00 thanks Apr 01 06:50:15 it's an absurd Apr 01 06:51:02 byz - any firewall on your machine? Apr 01 06:51:22 * readme has yet to see a good april fools joke, if there is such a thing Apr 01 06:51:24 hmm Apr 01 06:51:35 readme, you didn't like the Google ones? Apr 01 06:51:49 i take it airplane mode on the emulator is not the same as on device? Apr 01 06:52:05 JakeWharton: oh, you mean google play? Apr 01 06:52:06 at least Google put the work in on their jokes Apr 01 06:52:10 JakeWharton: that one got me good Apr 01 06:52:14 readme, well played :) Apr 01 06:52:21 pun intended Apr 01 06:52:21 http://codr.cc/166619/java my problem Apr 01 06:52:25 jmg: in most important ways, the emulator *is* a device Apr 01 06:52:26 haha Apr 01 06:52:27 me too! i was like sweet some movies Apr 01 06:52:29 but no, Apr 01 06:53:11 jmg: your network calls should be on a separate thread from the main thread Apr 01 06:53:22 jmg: and you shouldn't touch UI components from the thread that your network calls originate on Apr 01 06:53:30 read the AsyncTask docs Apr 01 06:53:41 as for timeouts... make sure that your server is actually up Apr 01 06:53:44 im trying to test without any network Apr 01 06:53:59 ok, well the statement about threads and UI still stands Apr 01 06:54:00 but its still making http reqs when i have airplane mode on Apr 01 06:54:07 yeah, it will do that Apr 01 06:54:15 you can detect airplane mode with the connectivitymanager Apr 01 06:54:20 heh Apr 01 06:54:21 that way you don't have to time out Apr 01 06:54:27 and your code will be faster. Apr 01 06:55:01 but yes, your code still needs to be tested for this, for the other failure cases, like when your server is down Apr 01 06:55:39 readme, I like the clingfilm over the toilet - thats a classic Apr 01 06:57:05 ok Apr 01 06:57:16 my app needs lots of work - im quite newb to android Apr 01 06:57:31 we all start somewhere Apr 01 06:58:02 I've done lots of web stuff - but i really like android Apr 01 06:58:12 im lamp Apr 01 06:59:19 and its kinda tied together - if the services are well designed the app is nice and simple Apr 01 07:00:15 the orced me to parse same xml feed as the iphone app - its silly Apr 01 07:00:27 ok so i have Apr 01 07:00:28 *they forced Apr 01 07:00:31 under onCreate: Apr 01 07:01:16 try { new myAsyncDownloadTask(url); } catch (Exception e) { handleNoNetwork(); } Apr 01 07:01:41 is "myAsyncDownloadTask" an AsyncTask subclass? Apr 01 07:01:47 yes Apr 01 07:01:51 you need to call .execute Apr 01 07:02:02 well duh Apr 01 07:02:12 i omitted that for brevity :) Apr 01 07:02:17 and your "handleNoNetwork" should happen in onPostExecute() Apr 01 07:02:19 Jmg: I'm looking same class, do you have a working example with this class ? Apr 01 07:02:34 ok Apr 01 07:02:39 jmg: as soon as you create that "myAsyncDownloadTask" you hit the end of onCreate Apr 01 07:02:49 the exceptions caught are only those thrown by the constructor Apr 01 07:02:53 not by the doInBackground method. Apr 01 07:03:37 lcan you i thilein a rowse from the computer with th emulator? Apr 01 07:03:53 soory this kb is aweful Apr 01 07:04:18 i thought Exception e would catch everything? Apr 01 07:04:53 can you get the file from a browser on the machine with the emulator Apr 01 07:05:03 it won't, because the only thing that you're doing there is calling the constructor, then when you call execute even, the doInBackground happens on a different thread, so it will be spawned, and execute will return normally Apr 01 07:05:19 now i've moved it to postexecute Apr 01 07:05:25 your try catch needs to be in doInBackground. Apr 01 07:05:33 sigh Apr 01 07:05:35 :p Apr 01 07:05:47 https://plus.google.com/116696943168863559388/posts/6ztET38JqSK Apr 01 07:05:54 surely the file request should be in the backgroud? Apr 01 07:06:16 everything should be except updating the UI state Apr 01 07:07:43 faster phones are ok - I'm testing on a hero to make sure its fast Apr 01 07:08:16 i use the LG Optimus S Apr 01 07:08:20 lame Apr 01 07:10:27 java.lang.RuntimeException: An error occured while executing doInBackground() Apr 01 07:10:39 how does that get past the catch? Apr 01 07:10:55 this hero has a broken screen Apr 01 07:11:34 jmg: If you had simply pasted your code 5 hours ago when you started, I would have shown you the right way and you would have been done by now Apr 01 07:11:37 please, share, code Apr 01 07:11:39 jmg, because you're touching the UI thread Apr 01 07:11:42 er Apr 01 07:11:45 you're touching the UI Apr 01 07:11:48 on the wrong thread Apr 01 07:11:49 JakeWharton: no im not Apr 01 07:11:55 oh Apr 01 07:11:58 am i? Apr 01 07:12:05 tv1.setText Apr 01 07:12:08 that's UI Apr 01 07:13:15 ?? Apr 01 07:13:51 oh wait you're someone else Apr 01 07:13:55 :p Apr 01 07:14:00 are you Toasting in doInBackground? Apr 01 07:14:05 nope Apr 01 07:14:06 mmm... toast Apr 01 07:14:10 NOM Apr 01 07:14:13 paste your code Apr 01 07:14:14 i'm not guessing Apr 01 07:14:31 No, don't paste the code... Just let me see your palms. Apr 01 07:15:09 http://paste.nothing.net.nz/82ea41 Apr 01 07:15:38 jmg: the reason you didn't catch that exception, is because it's a RuntimeException, and you're catching IOException Apr 01 07:15:51 just catch Exception to get all Exceptions Apr 01 07:17:00 readme: thats what i had Apr 01 07:17:03 but it snuck past Apr 01 07:17:27 http://developer.android.com/reference/java/lang/RuntimeException.html Apr 01 07:17:44 RuntimeException inherits from Exception, meaning you can catch it by catching Exception Apr 01 07:17:51 you are missing something else Apr 01 07:18:09 what's in handleNoNetwork()? Apr 01 07:18:09 paste the stacktrace Apr 01 07:18:38 handleNoNetwork can't touch the UI either Apr 01 07:18:47 it doesnt Apr 01 07:19:14 You should include apache-io Apr 01 07:19:21 IOUtils.toString(InputStream) Apr 01 07:19:22 :) Apr 01 07:19:58 certain its client side? Apr 01 07:21:44 even though i have that try and i change the exception to Exception, i still get a runtime exception Apr 01 07:21:55 oh hmm Apr 01 07:22:22 some version of Android causes NullPointerException when invalid url is passed Apr 01 07:23:20 but you say RuntimeException, so its not the problem i guess Apr 01 07:23:33 jmg: paste the stacktrace from logcat, and you will have your answer Apr 01 07:24:00 yes its the fastest way Apr 01 07:43:13 Is there some javadoc with the OpenGL descriptions filled in? Apr 01 07:57:54 I give up. What is "offset"? glNormalPointer (int type, int stride, int offset) Apr 01 07:58:59 gridbag: http://www.opengl.org/documentation/ . In particular, http://www.khronos.org/opengles/documentation/opengles1_0/html/glNormalPointer.html Apr 01 08:03:28 kamoricks, that's a GLvoid *. The one im using that offset is an int. I assume bytes, but this is a waste of time guessing on everything. Apr 01 08:03:49 why am i getting null for System.getProperty("line.seperator" Apr 01 08:07:48 sigh :) Apr 01 08:14:26 So intents. They seem unnecessarily complex. You say you want to blah.blah.blah.CAPITALLETTERS, then that has to match something in an xml file, which points you to the method to use to handle CAPITALLETTERS. Besides the idea of two programs being able to CAPITALLETTERS and letting the user pick one, what's the advantage to this mess? Apr 01 08:16:05 those would be package names Apr 01 08:26:44 Does anyone know of a decent tool for making app mockups? Apr 01 08:26:54 preferably free. Apr 01 08:27:41 mspaint.exe Apr 01 08:27:53 gridbag: The GLES10 glNormalPointer takes a Buffer as the third argument, which is the Java wrapper for a GLVoid*. Apr 01 08:28:01 gridbag: Everything else is the same. Apr 01 08:28:28 hi, all Apr 01 08:28:45 http://yeblon.com/androidmockup/ Apr 01 08:28:58 I used a linear layout to implements some effect like tabs. Apr 01 08:29:06 This linear layout which contains at most 1 list view each time. Apr 01 08:29:15 When I switch between the buttons which try to remove old list and add the new listview Apr 01 08:29:22 I used linearlayout.removeallviews() first, and then decide which listview to add there. Apr 01 08:29:23 davidwan: And you didn't use a TabHost because? Apr 01 08:29:56 Because I need to add some custom things. Apr 01 08:30:31 thanks Loman Apr 01 08:30:45 My prob is that after linearlayout.removeallviews, and add the new listview, it presents well. Apr 01 08:30:55 But when I click some item of the item of listview, it never reacts. Apr 01 08:31:05 chrassidy: actually I don't think it's really good, just trying it now Apr 01 08:31:06 BTW, it acts well on android 2.2 emulator, but failed with android 3.2 emulator & real device. Apr 01 08:31:52 Anyone knows anything about this please give some help. Apr 01 08:34:59 kamoricks, im using the GLES11 glNormalPointer function that takes 3 ints. its a different api. Apr 01 08:46:20 Our community seems not to actice all the time. Any recommendation which is highly active on android? Apr 01 08:48:04 active recommendation..? Apr 01 08:51:09 does anyone has I9003 here? Apr 01 08:52:57 UnknownzD, what is your native language? Apr 01 08:53:25 i have an I9100 Apr 01 08:57:04 why you interested in that? :\ freecandy Apr 01 08:57:26 hmm Apr 01 08:59:55 Because I want to know if there is a language in which you can type without coming across retarded. Apr 01 09:02:14 that's harsh Apr 01 09:02:26 so dev has become a place to troll? Apr 01 09:03:33 UnknownzD: no place is safe :/ Apr 01 09:04:09 well there are some safe place in my IRC server and channel list :P Apr 01 09:04:49 yeah I have my own little channel, keeping it clean from trolls and tards :) Apr 01 09:10:36 woohoo seems to be mostly working. Apr 01 09:10:39 thanks guys Apr 01 09:15:08 May billing id's contain spaces? Apr 01 09:15:18 like "sword 001" instead of "sword_001" (dungeons example) Apr 01 09:15:55 i think not.. :P Apr 01 09:40:03 hi , can we generate a trace file for the network traffic generated by my android phone/ emulator . Apr 01 09:58:06 hi, I would like to call a function on UI thread from background service ... what's the best way to do that ... with callback functions or do services have any way to do this automaticall ? Apr 01 10:00:02 hi , can we generate a trace file for the network traffic generated by my android phone/ emulator . Apr 01 10:08:39 How do I use this @TargetSdk thing Apr 01 10:08:46 IntelliJ doesn't recognize it as an import Apr 01 10:09:23 JakeWharton: You gotta add sdk/tools/support/annotations.jar to module dependencies Apr 01 10:13:33 Also, it's @TargetApi ;d Apr 01 10:14:04 Maven doesn't like it Apr 01 10:14:24 I may have to wait for a new version of the plugin Apr 01 10:15:14 trying to do a simple learning exercise, attemptingg to just make an app that streams a url while the app is open. no big deal. using example code from the android dev guide -> mediaplayer -> "Playing from a remote URL." I've verified that the urls i'm trying to use are available in a browser, but every time i try to create a mediaplayer object it throws an IO exception. Apr 01 10:16:31 Aw, so no lint fixes yet Apr 01 10:16:41 the block of code i'm using is: http://pastie.org/3708124 and i'm only using a DI.fm url because i know they work without ports being specified, which i thought might have been my problem Apr 01 10:23:21 i thought it was interesting that Thoughtworks put maven on their shit list Apr 01 10:23:36 but i still like it, as long as i don't have to write a plugin :P Apr 01 10:24:16 I've written two plugins Apr 01 10:24:18 they're not too bad Apr 01 10:24:28 still a pain Apr 01 10:25:00 i guess they recommend gradle now Apr 01 10:25:06 who? Apr 01 10:25:09 i've never used it Apr 01 10:25:22 http://www.gradle.org/ Apr 01 10:25:55 who recommends it? Apr 01 10:26:03 ThoughtWorks Apr 01 10:27:49 i honestly can't figure out any reason that the code i'm using wouldn't work Apr 01 10:28:29 dualMoon: did you paste the exception? Apr 01 10:30:05 Leeds: i didn't, let me so that now Apr 01 10:30:42 Leeds: http://pastie.org/3708167 Apr 01 10:31:17 standard obvious question - do you have internet permission? Apr 01 10:31:55 Leeds: prelimenary yes, but let me double check it Apr 01 10:34:25 does http://stackoverflow.com/questions/3533837/mediaplayer-setdatasource-and-prepare-not-working-android help? Apr 01 10:35:42 i was thinking about writing an ant task that generated my pngs from svgs and put them in the res/ tree, based on some del specification Apr 01 10:35:50 i wonder if anyone else would find that useful Apr 01 10:36:05 *dsl spec Apr 01 10:37:00 Leeds: The permission was there, but I'm an idiot and put one 's'. Apr 01 10:37:14 * Leeds points and laughs at dualMoon Apr 01 10:37:15 a rookie mistake, it's "internets" Apr 01 10:37:16 working now? :) Apr 01 10:38:27 Leeds: I deserved that. Yes, testing the real url to make sure there isn't any choking on the port. Apr 01 10:39:09 I made a jar that generates my drawables from svg's, makes it a lot easier Apr 01 10:39:30 right now i have a python script that takes its config as a json file Apr 01 10:39:45 which files, which resolutions to produce, etc Apr 01 10:40:04 I just chose to provide any information in the file name Apr 01 10:40:12 ic_action_settings.32.32.svg Apr 01 10:40:17 For a 32x32dp drawable Apr 01 10:40:29 ah, ok. i used one sag for multiple icons Apr 01 10:40:33 *svg Apr 01 10:40:45 one per svg here Apr 01 10:41:01 i did ic_list.svg, which has all my list icons Apr 01 10:41:11 ic_ab, which has all my ab icons, etc Apr 01 10:42:42 Could probably do that, but them I'd have to figure out how to hide/show layers etc.. Right now I just call inkscape to generate them for me Apr 01 10:42:53 i call inkscape also Apr 01 10:42:55 :) Apr 01 10:43:28 each icon has an id. the export layer has the bounding boxes Apr 01 10:44:11 Sounds like a lot of work :p Apr 01 10:44:39 most designers will group icons in a file Apr 01 10:44:54 its easier to look at a bunch to see if there are discrepancies in style Apr 01 10:45:12 the inkscape icons are all in one file , for example Apr 01 10:45:28 gtk theme designers do that too Apr 01 10:45:28 Sure Apr 01 10:46:15 Meh, I should probably look in to that some time.. Apr 01 10:46:39 i just wish the adt let me specify additional res/ folders like aapt does Apr 01 10:46:56 i would like to put my generated stuff in a different res/ tree Apr 01 10:47:15 not everything i have in res/drawable-* is generated. its a mess Apr 01 10:47:26 When I get the time, my goal is to completely remove res/ from git Apr 01 10:47:37 Then I can sort it in art/ and just have my jar copy it all over Apr 01 10:47:41 Er, not res/ Apr 01 10:47:48 By .png's from /res Apr 01 10:47:54 ah, ok Apr 01 10:48:35 yeah, its almost like a recipe is needed that says - these icons should be generated at these dpis, but not these (maybe they are 9 patches) Apr 01 10:49:15 I have it copy .png's from art/ directly to res/ Apr 01 10:49:20 ah, ok Apr 01 10:50:18 i would like to get that level of separation too, so that res/drawable-* are all copied over, and like you said , not stored in git Apr 01 10:51:11 hi , can we generate a trace file for the network traffic generated by my android phone/ emulator . Apr 01 10:51:13 Just gotta find the time :p Apr 01 11:01:42 -JonathanD- it's not opening so I'm gonna assume it's a prank Apr 01 11:12:40 Does anyone know how can i get an intent out of another intents extras? Apr 01 11:12:56 i want to retrieve an intent as getExtras Apr 01 11:13:14 but i dunno what to get it as...getString wont work obviously... Apr 01 11:13:15 yo, I heard you liked Intents? Apr 01 11:13:19 haha Apr 01 11:13:21 yes Apr 01 11:13:26 Intentception Apr 01 11:14:03 sooo...how do i do this? Apr 01 11:14:11 I'd say extract whatever you need from the original Intent and slap it into the new one Apr 01 11:14:26 yes i want to do that but how do i extract it Apr 01 11:14:30 getFoo Apr 01 11:14:33 * aLeSD is back in black Apr 01 11:14:35 getString wont work on that key Apr 01 11:14:45 erm... Apr 01 11:14:59 getFoo on Intent 1, putFoo into Intent 2 Apr 01 11:15:27 what is Foo is what im asking Apr 01 11:15:40 Your data type Apr 01 11:15:46 Which is what i dont know Apr 01 11:15:52 what is intents data type Apr 01 11:15:55 you don't know what data you're being given? Apr 01 11:15:56 no Apr 01 11:16:07 no. its being given by some other app Apr 01 11:16:11 don't put the intent in the intent... put the extras from the first intent into the second intent Apr 01 11:16:13 i just know its an intent back to that app Apr 01 11:16:23 you must know what data you're being given, or you won't be able to handle it Apr 01 11:16:35 or you're doing something very weird Apr 01 11:16:53 This extra is being put by some other app Apr 01 11:17:01 that app is giving me as an extra, the intent back to it Apr 01 11:17:24 so its an intent. But hwo do i get it out of the extra is the question Apr 01 11:17:55 This is what i get if i try to get it out as a string: Apr 01 11:17:58 Key android.intent.extra.shortcut.INTENT expected String but value was a android.content.Intent. The default value was returned. Apr 01 11:18:10 Er.. So another app puts an intent in an intent? Apr 01 11:18:14 what apps are these? what are you actually trying to do with the bloody data? Apr 01 11:18:28 The intent is a shortcut intent Apr 01 11:18:48 this intent will help the shortcut take it back to the app that it belongs to Apr 01 11:18:58 that why it needs to put an intent leading back to it Apr 01 11:19:11 nope, sorry, my head has exploded Apr 01 11:19:17 :| Apr 01 11:19:26 Well, intents are parcelable Apr 01 11:19:29 So getParcelable Apr 01 11:19:40 wow. yes thats what im looking for Apr 01 11:19:40 thx Apr 01 11:19:46 ill try with parcelable Apr 01 11:21:23 SimonVT: its giving me a bound mismatch error on the string im passing as the key Apr 01 11:21:27 Bound mismatch: The generic method getParcelable(String) of type Bundle is not applicable for the arguments (String). The inferred type String is not a valid substitute for the bounded parameter Apr 01 11:23:43 No idea Apr 01 11:24:15 Applify: what's the full line of code? Apr 01 11:24:57 yes i was trying to assign the parcelable to an intent. Wrong. So i need ot figure out how to get the intent out of the parcelable now... Apr 01 11:25:21 The intent IS the parcelable Apr 01 11:25:24 Just cast it Apr 01 11:25:51 and the network IS the computer... Scott was just a decade or two ahead of his time Apr 01 11:27:17 SimonVT: yep, youre right, It works :) Apr 01 11:27:32 i got my intentception %-) Apr 01 11:27:41 thx Apr 01 11:27:52 its Parcels all the way down Apr 01 11:33:11 I'm sorry if this isn't the place to ask this, but I've got my Xperia Play in a state where it is constantly rebooting. It comes up and says "Sony Ericsson" and then will go black, same thing Apr 01 11:40:36 Is there a way to get the Xperia Play into recovery mode? I've tried everything I could google. Apr 01 11:40:59 enhancin: Might want to try #android or #android-root Apr 01 11:41:07 hi people i have a java (android) problem i am using this source for get the MJPEG stream from an axis ip cam http://stackoverflow.com/questions/3205191/android-and-mjpeg But, i don't arrive to put a button on my form : the mv object is seting as ContentView so something like this doesn't work : "button1 = new Button(); //buton settings [....] mv.addview(boutton1);" Apr 01 11:41:08 enhancin, try rebooting to recovery using Quick Reboot? Apr 01 11:41:16 but yeah, not the right channel Apr 01 12:15:48 hi people i have a java (android) problem i am using this source for get the MJPEG stream from an axis ip cam http://stackoverflow.com/questions/3205191/android-and-mjpeg But, i don't arrive to put a button on my form : the mv object is seting as ContentView so something like this doesn't work : "button1 = new Button(); //buton settings [....] mv.addview(boutton1);" Apr 01 12:37:46 keeping in mind that I am still learning...I see that many objects have a state, but I'm not sure how to acutally actively check an object's state...how would I do that? Apr 01 12:44:37 hi! in my developing i need to introduce a shake function… i look for it on internet but i haven't found anything… is somebody already use that? Apr 01 13:13:40 hello Apr 01 13:27:55 could I get another pair of eyes on this? http://pastie.org/3708828 line 82. Crashes with NullPointerException, but I can't divine as to why. Apr 01 13:30:04 dualMoon: at line 42, when you affect player Apr 01 13:30:09 you in fact create a local variable Apr 01 13:30:18 instead of refering to the player attribute Apr 01 13:31:11 => you should remove MediaPlayer at line 42 Apr 01 13:31:23 Estragon: ugh. I see that. thank you. let's see how things go now. Apr 01 13:32:56 Estragon: ahh the magic of a second pair of eyeballs. thank you again. Apr 01 13:33:29 Estragon: i'm just barely learning all this, so if I may...overall how outside of best practice is my code so far? i'm not used to java at all yet so I really don't know Apr 01 13:33:50 damn. ABS4 depends on android 2.1. Apr 01 13:36:37 dualMoon: yep seems quite good but im no expert in good practices :) Apr 01 13:37:27 Estragon: that makes me feel pretty good, thanks :) Apr 01 13:44:04 are some draw events held back, e.g. requires some sort of forced redraw? I'm noticing that when I try to set button text sometimes it just....doesn't Apr 01 13:45:21 I don't think so, but you can try invailidate() Apr 01 13:47:52 dualMoon: if it's a regular Button, and setText is not working, there is a problem with your code. Apr 01 13:48:40 readme: it's a togglebutton if that means anything Apr 01 13:49:03 i'm using setChecked(false) and setTextOff("foo") Apr 01 13:49:56 roar at stupid imac Apr 01 13:51:23 dualMoon: it does mean something Apr 01 13:51:32 dualMoon: you should call setTextOff before you call setChecked Apr 01 13:51:56 I just looked at the code, and setTextOff is just a setter, but setChecked calls a method called syncTextState, which calls setText, which calls invalidate() Apr 01 13:52:14 mikedg: man did you hear about the free io tickets they are giving away? Apr 01 14:17:00 readme: some of them Apr 01 14:17:03 what else is there Apr 01 14:39:13 mikedg: april fools Apr 01 14:39:32 but seriously, check out this new application Apr 01 14:39:35 gmail tap Apr 01 14:39:46 https://mail.google.com/mail/help/promos/tap/index.html Apr 01 14:40:59 readme: did you see that swiftkey released a special edition of their keyboard to support it? Apr 01 14:41:37 <`z> readme, yeah Apr 01 14:41:42 <`z> i downloaded it Apr 01 14:41:57 <`z> now i can type at 104wpm Apr 01 14:42:06 <`z> 1/04 Apr 01 14:42:29 Leeds: nah, i was wanting to try the actual app though Apr 01 14:42:32 i'll give it a spin later Apr 01 14:42:49 they must have coded it fast.... Apr 01 14:43:02 I guess if you already have the keyboard app written it's not much code. Apr 01 14:44:24 How reliable/fast are broadcasts Apr 01 14:44:37 If I finished writing to a file for example, then I fired off a broadcast Apr 01 14:44:57 and the BroadcastReceiver was responsible for making note that this file was completed, and needs to be uploaded somewhere Apr 01 14:45:02 is that sufficient? Apr 01 14:45:03 reliable and fast - enough to use for IPC, AFAIK Apr 01 14:45:27 I could obviously write to SQLite directly from the code that is finishing the file Apr 01 14:45:31 but I want to keep it modular Apr 01 15:31:08 http://www.ubuntu.com/devices/eyewear Apr 01 15:42:07 what makes some apps incompatible with my device? how do i see information on the incompatibilities? Apr 01 15:42:31 jnewt: you can click the '+' on web market to see Apr 01 15:42:35 probably size of apk Apr 01 15:42:41 though it won't say everything afaik Apr 01 15:42:56 size is rarely the reason Apr 01 15:43:02 i doesn't say anything, just the name of my device and that it's incompatible Apr 01 15:43:14 jnewt: then probably there's a hardware or OS requirement Apr 01 15:43:29 yeah, i'd like to see what those are Apr 01 15:43:57 try getting the APK ad running it through SDK tools to dump "badging" info Apr 01 15:44:09 way, way, way over my head Apr 01 15:45:18 i downloaded the sdk, and eclipse, and installed both. i got a hello world example to run on my device, and have read tons of documentation that is mostly just definitions and examples, which don't do what i want necessarily Apr 01 15:45:25 Country, openGL versions, Android version... Apr 01 15:45:27 What controls an eclipse project name? Apr 01 15:45:39 Or how can I change it Apr 01 15:46:01 I never change eclipse project names, just change package name/manifest details Apr 01 15:46:16 F2 is rename Apr 01 15:46:18 i just got an email from a store with a coupon. it says "no facsimiles" ... Apr 01 15:46:57 canadiancow: lol Apr 01 15:47:01 strange verbiage Apr 01 15:47:11 p_l can you explain what you're suggesting to someone who doesn't know what an APK ad is or how dump "badging" info? Apr 01 15:47:52 ok thanks, found the rename command.. still not seeing where its storing this in the project directory Apr 01 15:47:58 … I thought we are in -dev? Apr 01 15:48:06 as I have no manifest in there Apr 01 15:48:23 jnewt what app is it, and what device do you have? Apr 01 15:49:17 magnets: the app is Basic Accessory Demo 3.x by Microchip Technology Inc, and the device is a zenithink C71 tablet Apr 01 15:49:37 the version of andriod is 3.0.4 Apr 01 15:50:08 hi guy's i am using the code from here : http://stackoverflow.com/questions/3205191/android-and-mjpeg at the post #2 for get a MJPEG stream from a camera IP, It work fully (except the FPS is only around 7 - 6 (and the camera stream is send as 20 fps) i don't understand why i just have 6-7 fps, but the problem is not that actualy i dont arrive to put butons front of the image ! How can i do ? Maybe it's because of the "setcontener Apr 01 15:50:22 but afther i cant do "mv.addview(bouton1);" Apr 01 15:50:46 how can i put buttons ? :) Apr 01 15:50:51 jnewt: APK is the file containing the application. to dump badging info you need 'aapt' from SDK and call it like this: aapt dump badging Apr 01 15:52:35 1,000,000 nanoseconds = 1 millisecond, right? Apr 01 15:52:49 p_l: i just found the source code, 4 java files from microchip.com. maybe that will help / be a better route Apr 01 15:53:24 jnewt quick google suggests that the rom needs support for open accessories: http://www.microchip.com/forums/m612061.aspx Apr 01 15:54:31 Solirify: 10^6 * 10^-9 == 10^-3 == 1 ms Apr 01 15:57:06 magnets: seems right, so i'd need to include an "open accessory library" and recompile from source then? Apr 01 15:57:22 i guess so Apr 01 15:57:58 (in the ROM) Apr 01 15:58:34 can't i include the library in the app? Apr 01 16:00:30 well, no library included, and the app is running on my tablet. that is unexpected. Apr 01 16:00:35 Can someone take a look here and tell me what's wrong: http://pastebin.com/pg5skU9C Apr 01 16:01:17 gonna setup the accessory and test. google may just not have good data on my tablet Apr 01 16:03:26 Anyone? http://pastebin.com/pg5skU9C Apr 01 16:04:01 It's not converting correctly. I got "1897" milliseconds when it was supposed to be more than 20 seconds (= 20,000 ms) Apr 01 16:05:31 Solirify: why do you think it should be ~20k ms? Apr 01 16:05:54 Because it ran for about 20 seconds Apr 01 16:06:24 show more code Apr 01 16:07:51 This is long enough that you should be able to post the two variables to the screen to at least determine which is funky. Apr 01 16:08:05 readme: I'm not sure what other part of the code that you mean? Those are the only important ones and the other have nothing to do with it Apr 01 16:08:18 freecandy: What do you mean? Apr 01 16:08:31 Solirify: those are the only important ones? I don't agree. Apr 01 16:08:40 show me what you are timing Apr 01 16:08:55 freecandy: You mean the currTime too? Apr 01 16:09:08 I mean what I said. Put time and currTime on the screen. Apr 01 16:09:43 readme: Well, then I set it as a sharedpreference. But I log it before that and the log shows it's wrong so the rest shouldn't really matter, should it? Apr 01 16:10:51 Time: -1033. currTime: 16146165000 Apr 01 16:11:16 Weird :\ Apr 01 16:11:25 currTime gives correct value but not time Apr 01 16:11:38 Solirify: i really can't help without code Apr 01 16:12:01 readme: Ok, hold on Apr 01 16:13:37 readme: http://pastebin.com/S5Y8Um5B Apr 01 16:16:35 Should I post more values of currTime and time? @readme: and @freecandy: Apr 01 16:19:28 Did some tests and when doing "long milliTemp = (long) currTime / 1000000;" (instead of int) it's working :S Got any idea? Apr 01 16:19:43 ys long is 64bit int is 32bit Apr 01 16:20:03 Napalm: So how can I convert a long to an int? Apr 01 16:20:15 you can fine Apr 01 16:20:17 the problem you have Apr 01 16:20:30 is you were casting currTime to an int before the division Apr 01 16:20:33 not after Apr 01 16:20:41 int milliTemp = (int) currTime / 1000000; Apr 01 16:20:42 to Apr 01 16:20:42 So I should first divide then convert? Apr 01 16:20:48 int milliTemp = (int)(currTime / 1000000); Apr 01 16:20:52 Solirify: here's your answer Apr 01 16:20:53 http://pastie.org/3709625 Apr 01 16:20:57 and what you should have done Apr 01 16:21:08 replace the second with 16146 Apr 01 16:21:15 the cast to int is truncating the first val Apr 01 16:22:38 readme: have you cross-compiled any AV stuff for android before? Apr 01 16:23:27 Napalm: It's working!!! Thanks a lot :D Apr 01 16:23:32 And thanks to readme and freecandy too :) Apr 01 16:23:39 lol Apr 01 16:24:03 My project icon has an error icon on it but I can't find a list of the errors anywhere… ideas? Apr 01 16:24:21 TheBunny: clean the project Apr 01 16:24:25 did Apr 01 16:24:28 many times Apr 01 16:24:36 restarted eclipse? Apr 01 16:24:41 just to be sure Apr 01 16:26:08 Napalm: i haven't used the NDK, haven't had a need yet. You should ask TachyonDev Apr 01 16:26:24 did that also Apr 01 16:26:33 way past all the simple things Apr 01 16:26:34 readme: yea i would but he's away for the weekend Apr 01 16:26:44 other times I seem to inconistant erros in C++ Apr 01 16:26:55 like they show up if a file is open only Apr 01 16:27:30 TheBunny: you have native code in your normal project? Apr 01 16:27:32 Napalm: are you making a panorama :D Apr 01 16:27:42 nope Apr 01 16:27:54 readme: all will be explain, if i ever get around to releasing the app Apr 01 16:27:58 its a dual format project Apr 01 16:28:10 C++ support was added Apr 01 16:28:13 text messages are so slow Apr 01 16:28:25 but afther i cant do "mv.addview(bouton1);" Apr 01 16:28:25 yea i have one of those, did you add the ndk include paths to the C++ builder Apr 01 16:28:28 how can i put buttons ? :) Apr 01 16:28:31 but afther i cant do "mv.addview(bouton1);" Apr 01 16:28:35 hi guy's i am using the code from here : http://stackoverflow.com/questions/3205191/android-and-mjpeg at the post #2 for get a MJPEG stream from a camera IP, It work fully (except the FPS is only around 7 - 6 (and the camera stream is send as 20 fps) i don't understand why i just have 6-7 fps, but the problem is not that actualy i dont arrive to put butons front of the image ! How can i do ? Maybe it's because of the "setcontener Apr 01 16:30:36 TheBunny: ? Apr 01 16:31:33 yeah … missing the NDK etc makes diferent errors Apr 01 16:31:41 right now iM just not getting any errors Apr 01 16:31:50 even tho building say the project has some Apr 01 16:31:51 nothing in the problems view panel? Apr 01 16:32:39 found it Apr 01 16:32:41 thanks Apr 01 16:32:44 what was it? Apr 01 16:32:57 that panel was closed and I Was looking at console out puts instead Apr 01 16:33:04 addcident Apr 01 16:33:05 ah :| Apr 01 16:33:10 accident Apr 01 16:34:41 ok project fixed... Apr 01 16:34:52 now down to 2 link(?) errors that it reports about C++ Apr 01 16:35:06 which is odd since it claims to have found all the rest of the code.. Apr 01 16:35:32 Is there a global find in project command? Apr 01 16:35:37 I can't seem to find it Apr 01 16:36:54 TheBunny: yes, search menu Apr 01 16:37:24 is a function can not be resolved the same as a link error ? or is JUST an indexer problem? Apr 01 16:37:34 and the indexer needs to see all my code? Apr 01 16:37:46 pastebin your errors Apr 01 16:39:24 how? Apr 01 16:39:34 problems details does not let me cut and paste Apr 01 16:40:11 this Apr 01 16:40:12 http://i.imgur.com/3IHCa.png Apr 01 16:40:29 looks like what it says Apr 01 16:40:39 indexer doesnt have sharedApplication symbol listed Apr 01 16:40:47 yeah Apr 01 16:40:48 clear your indexer's cache perhaps Apr 01 16:40:50 so its a LINK error Apr 01 16:40:52 which is what I asked Apr 01 16:40:54 no Apr 01 16:40:58 its not a link error Apr 01 16:41:11 opening the file it says that 1 file as not compiled Apr 01 16:41:17 this is teh same as no symbols found Apr 01 16:41:26 but its not smart enough to tell me that Apr 01 16:41:28 then yes it is Apr 01 16:41:35 thats not listed in your screenshot Apr 01 16:41:36 :P Apr 01 16:42:06 cause the IDE is stupid Apr 01 16:42:25 heres a solid example.. 1 c file did not compiler Apr 01 16:42:36 the IDE tells you the error is on some other file Apr 01 16:42:49 UNLESS You happen to open up the file that did not compile. Apr 01 16:43:04 as i said, because the file was not listed in the indexer Apr 01 16:43:13 and by opening it, it parses and lists it Apr 01 16:43:25 you could have just cleared your indexer's cache Apr 01 16:43:33 how'? Apr 01 16:43:45 i believe its an option in the workspace prefs Apr 01 16:43:48 BTW it claims to have rebuld the indexes many times here Apr 01 16:43:51 after a clean etc Apr 01 16:46:04 I don't see any useful setting in there Apr 01 16:46:21 basically it seems to all be set to automatic by default Apr 01 16:51:53 can i compline native code from eclipse? ndk-build Apr 01 16:51:59 compile Apr 01 16:52:01 yes Apr 01 16:52:04 how Apr 01 16:52:24 zapa123: http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-android-cc-development/ Apr 01 16:52:43 things have slightly changed if you have the latest version of eclipse Apr 01 16:52:51 but you should get the gist Apr 01 16:53:06 for instance you wouldnt choose "galileo" Apr 01 16:53:18 you would choose "indigo" if your using that version for instance Apr 01 16:53:27 thanks Apr 01 16:53:40 its a giant pain in the ass have fun :P Apr 01 16:53:50 lol Apr 01 16:55:00 is it possible to have the C code in the IDE… and just have it use the compiled code thats sitting in a lib I made with make etc?,…. example Im trying to set up a SDK/NDK ccocos-x project I can actually debug the C side of Apr 01 16:55:35 not following your question TheBunny Apr 01 16:55:52 hi guys Apr 01 16:55:56 So far I have taken to ripping appart the project the IDE set up and put it back together part by part to figure out whats actually going on…. this is working well…. or much better then importing. Apr 01 16:56:06 Napalm: I have a Java/Native project Apr 01 16:56:07 what library do you use to make http requests to web services? Apr 01 16:56:12 for doPost and doGet? Apr 01 16:56:26 that uses a open source game engine that is native Apr 01 16:56:43 I have make files that can build the NDK parts / engine and all libs and that works fine Apr 01 16:57:30 TheBunny: right, so your engine and its libs are compiled as static code, then you link them in with your jni code in your Android.mk Apr 01 16:57:37 I want to be able to load and debug code in the IDE…. possibly I need to let the IDE build the whole engine for me? Apr 01 16:57:43 Yes Apr 01 16:57:43 to make the final shared object Apr 01 16:58:06 you can make and Android.mk file that would compile your engine and libs Apr 01 16:58:15 well make makes a bunc of libs etc .. back them up and then the IDE does the bundling Apr 01 16:58:37 for debugging. i suggest you read the articles on this blog http://mhandroid.wordpress.com/ Apr 01 16:59:19 Using Eclipse for Android C/C++ Development Apr 01 16:59:25 I basically followed this Apr 01 16:59:33 which mostly works Apr 01 16:59:53 I do need a nice editor for code also I migh as well use the IDE Apr 01 17:02:05 I made a sample C++ project , it has a bunch of standard include paths… how can I easily copy those to my project? Apr 01 17:02:37 you should only have like 2 system include paths from the ndk Apr 01 17:03:34 there is nothing easy about ndk lol Apr 01 17:03:38 I have 1 Apr 01 17:03:44 hey Jug6ernaut Apr 01 17:04:02 yo Apr 01 17:04:09 long time Apr 01 17:04:24 i saw youi floating over in #xda-devs a few minutes ago Apr 01 17:04:31 yep Apr 01 17:04:56 * Jug6ernaut has been busy lately Apr 01 17:05:39 Jug6ernaut: know anyone thats compiled AV libraries in the ndk? like ffmpeg/libav/libx264 ? Apr 01 17:06:39 how to add widgets to the palette on eclipse ? Apr 01 17:07:21 someone the other day was talking about it...i cant recall who tho Apr 01 17:07:27 damn Apr 01 17:07:28 ffmpeg that is Apr 01 17:08:06 i found precompiled shared objects, but thats not much good, id rather just have a ready made Android.mk Apr 01 17:08:27 i think more OSPs should have their configure scripts dump out a Android.mk Apr 01 17:08:53 * TheBunny reboots Apr 01 17:12:39 BroadcastReciever permissions are a pita Apr 01 17:14:36 The FragmentPager on Google Play and Google Plus, is the top navigation bar another custom FragmentPager or what? Apr 01 17:15:20 I understand the old TabHost/Tabs/Activites scheme, but the Fragment/FragmentPager is getting me confuss. Apr 01 17:15:37 what would cause the launch task to just hang at the start? Apr 01 17:19:21 Oh I want to add the C++ search paths because the headers like #include Apr 01 17:19:31 are not being found in the IDE. Apr 01 17:19:36 make works fine. Apr 01 17:19:56 So Napalm should I still not have to add the search paths? Apr 01 17:20:34 if your not compiling inside the ide then theres no real need to add them Apr 01 17:20:50 but at the same time, you will see lots of errors and stuff Apr 01 17:21:05 so if you want to stop the errors and add extra support like ctrl+click on header to open the file Apr 01 17:21:13 then you would need to add them to the search path Apr 01 17:25:16 Ok so I have some C files in the IDE… the IDE will try and compile them? or should it function as a editor if I have the lib in the project? I asume it is trying to build them? Apr 01 17:26:11 normally the IDE will not launch a project that has errors… do I need to surpress them and as long as the lib build ok with make Apr 01 17:30:32 role: PMing random people about contract work is annoying. Don't do it Apr 01 17:35:00 hi everyone! i want my app to look a little bit better (it's terrible at the moment ^^). the title bar got automatically a "3d" effect. i want to create a similar effect for other areas. can you give me some keywords to search? Apr 01 17:35:15 hi, in in app billing, i do not get any events (onReceive is never called) of my class BillingReceiver extends BroadcastReceiver Apr 01 17:35:21 It's registered in the manifest, too. Apr 01 17:35:38 Any idea what could be missing there? Do i need to register the broadcast receiver somewhere else? Apr 01 17:36:57 everythingWorks: how did you set the alarm? Apr 01 17:37:09 chris_cross: which alarm? Apr 01 17:37:20 sorry, the broadcast Apr 01 17:37:59 Just in the manifest. Apr 01 17:38:09 Isnt this enough? Apr 01 17:38:24 you have to send a broadcast in order to receive it Apr 01 17:38:57 hey guys :) which "alter table"-commands are implemented in SQLite? i found that i can add columns ... what about change name and/or type of a column? Apr 01 17:39:22 chris_cross: I am using in-app-billing Apr 01 17:39:50 Surfer2010: google sqlite ;) Apr 01 17:41:11 Surfer2010: you cannot rename columns in sqlite Apr 01 17:41:14 never used this, sorry Apr 01 17:41:36 Surfer2010: and types don't actually matter in sqlite :) Apr 01 17:43:03 meaning i can store a string in a <> ??? Apr 01 17:43:24 Surfer2010: yeah Apr 01 17:47:14 is there someone that use BaseAdapter fot a ListView ? Apr 01 17:47:18 oh okay makes things a lot easier thanks evancharlton Apr 01 17:47:26 I extendedt it and I have some doubts Apr 01 17:48:00 notifyDataSetChanged is used to tell the ListView that the number of elements of the list changed ? Apr 01 17:55:09 aLeSD: that any of the source data has changed, not just the total count Apr 01 17:55:15 aLeSD: yes, or that the contents have change Apr 01 17:55:18 changed* Apr 01 17:58:35 Napalm, evancharlton: for example I am changing the tect in a TextView contained Apr 01 17:58:49 do I hace to call notifyDataSetChanged ) Apr 01 17:59:09 / I am sorry : my keyboard is almost gone Apr 01 17:59:44 any ideas? -- http://stackoverflow.com/questions/9966791/glsurfaceview-causing-anr-after-activity-is-destroyed Apr 01 17:59:45 aLeSD: first, are you changing the data where the Adapter generates the content from? Apr 01 18:00:37 NDK looks messy. is it? i have been reading ndk documents today. Im familiar with sdk. Apr 01 18:00:53 Napalm: I have an adapter that generates Views inflating from resource ids .. Apr 01 18:01:02 jeppy don't you have to destroy the surface? Apr 01 18:01:03 zapa123: its not that bad, but it all depends on what your compiling Apr 01 18:01:39 magnets, doesn't calling mSurfaceView.onPause() destroy it? Apr 01 18:02:12 ... really I have a list of myclass that has a method createView ... it creates from the resource id the View ... that by Myclkass I change the data of the created View Apr 01 18:02:17 aLeSD: right and the Adapter say gets its content from a ArrayList object.. then if you were to change that arraylist you would then call notifyDataSetChanged and the listview would call getView for all the views again Apr 01 18:03:06 magnets, you can see toward the beginning of the traces.txt output that it is in the process of being destroyed Apr 01 18:03:07 Napalm, ok ... actually I am calling notifyDataSetChanged when the user add or remove a View contained in the ListView Apr 01 18:03:13 cause I am changing the array of view Apr 01 18:03:35 aLeSD: an array of views? in a listview? hmm Apr 01 18:03:52 Napalm, a kind ok ... I am just simplify the stuff Apr 01 18:04:24 my question is what if I am changing the state of a view ciontained ... Apr 01 18:04:44 mmm ... maybe only invalidate() the view Apr 01 18:04:45 is it ? Apr 01 18:05:09 aLeSD: well lets say i have a series of views in my listview each has a delete button. my adapter might have a function or interface where i can call deleteItem(databaseId) and i would then remove the item from the adapters data source and called notifyDataSetChanged Apr 01 18:05:44 aLeSD: if your just say on that button changing its text, then there is no change to the dataSet only the View of the data Apr 01 18:05:50 so no need to notify Apr 01 18:05:54 ok Apr 01 18:05:59 thanks Apr 01 18:06:07 aLeSD: read this http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller Apr 01 18:06:21 Napalm, I already know it Apr 01 18:06:44 ok so when you modify a view you are not changing the model of the data Apr 01 18:07:05 so if the activity/view is recreated it is reset as its not backed by data source Apr 01 18:07:06 no Apr 01 18:07:33 this is where we find out the View's are the data Apr 01 18:07:33 my views are observers of the model Apr 01 18:07:40 yes Apr 01 18:07:41 good Apr 01 18:08:05 I can add as many views I want to the same source Apr 01 18:08:05 anyone ported iphone game to android? Apr 01 18:08:34 the use can choose which views wants Apr 01 18:09:16 zapa123: i suggest you google around for Application.mk and Android.mk examples, and check the examples in the ndk Apr 01 18:09:54 Napalm, may I show you some dirty code ? It's for a strange behaviour I found Apr 01 18:09:57 really strange Apr 01 18:10:13 zapa123: your main issue is to first build the current native code into a static library, you would then create your own JNI interface to that codes functionality and this would be compiled as a shared object that java/dalvik-vm can then import Apr 01 18:10:34 aLeSD: go right head Apr 01 18:10:35 I have to ListView and I added them to a ViewPager Apr 01 18:10:37 ahead Apr 01 18:11:20 http://ideone.com/xUgqC Apr 01 18:12:28 i will port a iphone to android next summer. so im trying to learn this stuff before I start porting Apr 01 18:12:32 releaseAndUpdateViews is used bu the UI thread to check if new datas from the model arrived and redraw the view Apr 01 18:12:56 and to "delete" the view that are not visible in the ViewList Apr 01 18:13:11 ok ? Apr 01 18:13:12 https://mail.google.com/mail/help/promos/tap/index.html Apr 01 18:14:31 Napalm, that code ahs a strange behaviour Apr 01 18:14:59 i will check it out in a few minutes Apr 01 18:15:21 ok ... in the meanwhile I explain you the behaviour Apr 01 18:15:45 I add 2 ListView . listView1 page 1 , listView2 page 2 Apr 01 18:15:51 incredible easy Apr 01 18:16:15 I add a view on the listView in the page 2 ... and I see it in the page 1 Apr 01 18:16:28 I will repaste the code with better naming Apr 01 18:18:22 well forget my question Apr 01 18:18:23 lol Apr 01 18:18:29 i honestly cant believe that some days, i think to myself, "i need more microusb cables" Apr 01 18:18:37 apparently the one that came with my galaxy nexus was still in its box Apr 01 18:18:41 aLeSD: did you fix it? Apr 01 18:19:18 Hey guys, I'm having a long time war between sending a multipart httppost and my server on RoR, everything works fine except sending a bitmap, if someone could help me out that would be great. goo.gl/6v11k (Stack-Overflow) Thanks :) Apr 01 18:19:21 no ... a strange thin Apr 01 18:19:29 look this ... is better named Apr 01 18:19:30 http://ideone.com/r3B3J Apr 01 18:19:40 http://goo.gl/6v11k for clickable Apr 01 18:19:58 Napalm, as you can see I add the node(view) in the second page Apr 01 18:20:06 it can't see nothing Apr 01 18:20:17 if I change and I add on the first page Apr 01 18:20:22 the view is showne Apr 01 18:21:56 aLeSD: so your saying your adding a view to a listview? and its going in the wrong listview? Apr 01 18:22:42 Napalm, forget the first question .. I wil investigate later that strange behaviour ... Apr 01 18:22:46 aLeSD: i would suggest you set the background of each listview in this constructor after you create them, so you can see if they are simply not in the right order on the screen Apr 01 18:23:15 right, off to cooke me some dinner, laters Apr 01 18:23:17 Napalm, ah good idea. Thanks Apr 01 18:23:25 ok Apr 01 18:23:26 see ya Apr 01 18:24:29 ahhhhh Apr 01 18:25:33 Napalm, I set the first RED , the second BLUE .. I run and the first is red ... and the second is black Apr 01 18:25:35 ahhh Apr 01 18:25:39 am I crazy ? Apr 01 18:26:24 mmm Apr 01 18:27:20 someone shot me please Apr 01 18:27:49 it's very smart to create a switch block ... without use brack at the end of each case Apr 01 18:27:52 :( Apr 01 18:28:39 Napalm, all working. Thanks for the trick Apr 01 18:43:05 Hi, I've started a small bluetooth project, following the BT guide on the dev site http://developer.android.com/guide/topics/wireless/bluetooth.html#QueryingPairedDevices, I've got the following error (The method add(BluetoothDevice) in the type ArrayAdapter is not applicable for the arguments (String)) and i'm unsure on how to circumnavigate it. The code I've got can be Apr 01 18:43:05 found on the d.android link above or at http://pastebin.com/xtuDSj36. Thanks for any help in advance Apr 01 18:44:31 Brian125: sounds to me like your trying to add a String to an ArrayAdapter that uses BluetoothDevice Apr 01 18:47:37 just changed the to and it worked. Thanks for the quick reply!! Apr 01 18:50:05 hi , i want to take a trace of network traffic generated by emulator , how can i do this Apr 01 18:52:30 subh wireshark (on the market it's called "shark" or "shark for root") Apr 01 18:52:38 if you can root the emulator (not sure?) Apr 01 18:52:52 magnets: its already root Apr 01 18:53:11 ah yes Apr 01 18:53:21 is wireshark can capture the traffic of emulator Apr 01 18:53:50 subh that wasn't even english. Apr 01 18:54:03 sorry for weak english Apr 01 18:54:22 subh i'm not 100% sure, but it certainly can on my phone Apr 01 18:54:30 subh: I'd capture from the PC side Apr 01 18:54:41 since all the emulator traffic goes through your pc. Apr 01 18:55:08 will wireshark show interface of my running emulator Apr 01 18:55:31 It's also kind of sketchy if they named the tool wireshark on android, because it's not really wireshark. and wireshark is a very popular tool. Apr 01 18:55:47 Ah, it's not called wireshark on the android. Fair. Just a pcap writer. Apr 01 19:02:06 hi Apr 01 19:03:18 how can i debug an android app that makes use of the usb port on my tablet. if i have my pc connected, i'm guessing i could run it on an emulator, but i don't have a device port, and if it's on the tablet, i can't debug from the pc. there's no way around this is there? Apr 01 19:03:53 how to load an xml file previously downloaded in getFilesDir()+"/my.xml" ? Apr 01 19:06:57 jnewt: could you use adb over wifi? Apr 01 19:06:57 is there a method called in the BaseAdapter when a view goes out of the screen ? Apr 01 19:07:03 aLeSD: no Apr 01 19:07:32 cause I am storina a reference Apr 01 19:07:40 evancharlton, ah .. ok Apr 01 19:09:45 how to load an xml file previously downloaded in getFilesDir()+"/my.xml" ? Apr 01 19:11:13 evancharlton, looks like that requires a "rooted" device, which i don't think i have Apr 01 19:12:21 i think i am going to buy the htc one X Apr 01 19:12:30 or let my husband buy it for me actually Apr 01 19:13:02 let him, lucky guy Apr 01 19:13:03 hope they dont wait till october to release a new iphone Apr 01 19:13:17 i'm a girl Apr 01 19:13:22 i'm a boy Apr 01 19:13:31 i'm a grown man Apr 01 19:13:35 nice to meet you Apr 01 19:13:37 I cant believe its not butter Apr 01 19:13:44 here comes everything Apr 01 19:13:44 i'm a mom even Apr 01 19:13:51 and i'm a dad Apr 01 19:14:00 yay! Apr 01 19:16:01 i'm a son Apr 01 19:16:17 Can someone tell me why I'm getting a 411 Content Lenght Required code from this multipart POST while I'm clearly setting it? Thanks http://pastebin.com/ttBHfup2 Apr 01 19:24:19 hello. i have a ScrollView, where i add views, and it resembles a list view... i want to allow each view to have a context menu. i do that by calling setOnCreateContextMenuListener, and it now becomes long-clickable and shows the context menu correctly. but it doesn't show the selection highlight color. how can i do that? Apr 01 19:28:16 can someone help me to read this file: getFilesDir()+"/my.xml" ? Apr 01 19:28:27 where is adb? i found a post that says it's at c:\Android-sdk-windows\platform-tools\, but i don't have that folder, maybe it's been moved. is it even installed with the sdk? Apr 01 19:28:52 I can't use getResources().getXml in this case Apr 01 19:29:00 yes, it's installed with the SDK Apr 01 19:29:03 jnewt: did you use the .exe or the .zip for the sdk? Apr 01 19:29:29 drpenguin: exe i think, don't really remember Apr 01 19:29:52 jnewt: well if you idnt use the default install locatn... Apr 01 19:30:23 i think i did, is it in program files or program files(x86)? Apr 01 19:30:42 If it were in 1 of the 2, i would figure x86 Apr 01 19:31:24 ah, it's x86/android/android-sdk Apr 01 19:31:59 jnewt: run, adb tcpip 6120 Apr 01 19:32:21 this will make the adb daemon on your phone start listening on tcp/ip port 6120 Apr 01 19:32:29 then on your dev machine do Apr 01 19:32:30 my app says adb connect 192.168.1.76:5555 Apr 01 19:32:41 adb connect 192.168.1.X:6120 Apr 01 19:33:12 same difference Apr 01 19:33:15 Hey all, anyone in here have any experience with the samsung continuum series? Apr 01 19:33:21 just chose a different port Apr 01 19:33:24 ok, connected to 192.168.1.76:5555 Apr 01 19:33:43 now i guess i need to tell eclipse to use that somehow. Apr 01 19:37:00 Yuyo: check state_focused and state_window_focused on http://developer.android.com/guide/topics/resources/color-list-resource.html Apr 01 19:43:30 Hmm, I've been making a FragmentPager that works quite well. However, on every Fragment I make use of an AsyncTask to fetch data for each Fragment. Now, I can't really seem to figure out how/if it's possible to make the asnyctask only run when a Fragment is visible. Apr 01 19:44:35 drlaban: doesnt the Pager have 2 callback methods for when a fragment comes into view and when it goes away? otherwise the fragment itself should have one.. Apr 01 19:45:43 drpenguin: I can't seem to find what those callbacks would be.... I can't really make heads or tails of them. Hmm, maybe I have to override them all and see what the heck happens when.... Apr 01 19:47:12 drlaban: ell I figure it should either be the Tab (de)seleted or page (de)selected Apr 01 19:47:46 yo drpenguin, havne't seen you in a while Apr 01 19:47:51 hi QubeZ Apr 01 19:49:40 i need some help tracking down why my tablet won't show up as connected to my accesssory. i'm just using a demo program(s) from microchip, and can't even get started, much less begin to develop the app, if i can't even connect. i don't know where to look for errors or where to look in the software for clues / direction. can anyone help? Apr 01 19:49:41 drlaban: wouldn't it make sense to run the async task when the fragment is loaded? Apr 01 19:49:44 so it appears to load faster? Apr 01 19:49:50 mikedg Apr 01 19:49:54 ups Apr 01 19:51:29 mikedg: Well, at the moment I'm using progressbars to show visible progress on downloads (I download images off of a webserver) and they're toppling over eachother. I would just like to hold off a start of an asynctask until the fragment comes into view, for now. Apr 01 19:53:17 drpenguin: I'm not sure of which Tab/Page callbacks you refer to. I just no overrode (if that's what it's called) every on* method of the Fragment lifecycle and they only seem to trigger when the entire app is launched and closed respectively. Apr 01 19:53:29 s/no/now/ Apr 01 19:53:47 drlaban: Your class, what does it extend and implement? Apr 01 19:54:22 The Fragment itself extends ListFragment Apr 01 19:54:37 Fragments, that is. I've got two for now. Apr 01 19:55:05 drlaban: wait.. your actual app, its not tabs? Apr 01 19:55:15 drpenguin: I use a FragmentActivity to manage the FragmentPager Apr 01 19:55:21 drpenguin: FragmentPager Apr 01 19:56:41 drlaban: well now im not so sure what your doing.. but maybe you should look at Fragment Lifecycles Apr 01 19:58:07 drpenguin: My goal is fairly easy: I wanted to implement left/right-gesture for switching between activities. Nowadays Fragments seem to be the preferred way of doing this. Apr 01 19:58:34 drlaban: are you doing this just for yourself? because we already have that Apr 01 19:59:25 drlaban: I'm not following. What do you/we already have? :) Apr 01 19:59:40 drlaban: Actionbar with tabs Apr 01 20:01:04 drpenguin: Well, in that case I guess I'm doing this for myself. :) Apr 01 20:01:54 drlaban: What you can do is, since presumably 1 fragment will be in view at a time, is to override some of the lifecycle methods, such that when it is in view and active, have the async task run, and when it goes out of view, stop it Apr 01 20:02:23 drpenguin: What you describe there is exactly what I'd like to achieve. Apr 01 20:02:36 then just override some of the lifecycle methods then :P Apr 01 20:06:05 drpenguin: Well, you see, that's what I've been investigating. I override _all_ of them and the onAttach, onCreate, onCreateView, onActivityCreated, onStart and onResume are all run when the application starts. Apr 01 20:06:16 drpenguin: And this is for the Fragment not visible. Apr 01 20:06:32 the fragment becomes visible on onResume Apr 01 20:07:06 When I swipe between the fragments, none of the overrides are triggered. Apr 01 20:10:04 drlaban: thats probably because they are staying in onResume and not going thorugh onPAuse to onDestroy(or is it onDetach?)View Apr 01 20:11:58 I've now taken both Fragments and override all the methods of the Fragment lifecycle. When the application is launched, Fragment one's onCreateView, onActivityCreated, onStart and onResume is run in that order. Immediately after that Fragment number two goes through the same cycle. Apr 01 20:12:24 And that's on launch. Without human interaction. Apr 01 20:13:11 "Cannot invoke floatValue() on the primitive type long" Why is that happening? I have a variable that is a long that I'm trying to convert to a float, but I get that error Apr 01 20:13:41 Ah, I see onCreate is missing, but that's also being called in the cycle upon launch. Apr 01 20:14:07 Solirify: your doing Long.floatValue(myLong)? Apr 01 20:14:32 oh wait, cant do that floatValue doesnt take in parameters Apr 01 20:15:15 Solirify: how are you invoking floatValue..? it doesnt make sense to do it on a primitive long Apr 01 20:16:38 drpenguin: I thought it was myLong.floatValue(). But I tried what you wrote too and it gave me two errors Apr 01 20:16:57 drpenguin: "Multiple markers at this line - The method floatValue() in the type Long is not applicable for the arguments (long) - Cannot invoke floatValue() on the primitive type long" Apr 01 20:17:35 Solirify: a primitive long doesnt have methods because it isnt an Object.. make a Long Object (giggidy) whose value is set to your long and then invoke floatValue if you want to use that method Apr 01 20:19:08 drpenguin: What exactly do you mean by make a Long Object? Apr 01 20:19:29 Solirify: exactly what I said? Long is a class, specifically a wrapper class for the long primitive Apr 01 20:21:12 Wow, i'm so stumped with something so simple... is there any reason why after setting a buttons OnClickListener, pressing it would not call the listener? I can type buttonName.performClick(); and that works, when I press it, it even highlights green like it's pressed, but then does nothing.... really stumped, any ideas? Apr 01 20:21:17 I'm sure this is really simple.. Apr 01 20:21:31 NutterzUK: code NAO Apr 01 20:21:41 NAO? Apr 01 20:21:47 now? pastebin it Apr 01 20:22:17 Hey guys Apr 01 20:22:28 drpenguin: I'm not sure what you mean... I'm all new to this Apr 01 20:22:34 Hi Matt Apr 01 20:22:50 So I have a GLSurfaceView derived class, and I'm trying to handle touch input, but I am having trouble finding a solid broken-down example of how to handle more than one touch. Apr 01 20:22:51 Solirify: then you need a better background in Java if you don't know wha a Wrapper class for a primitive is Apr 01 20:23:19 I've broken open Replica Island's source, but that's hard to understand because of how he's structured the application. Apr 01 20:23:33 drpenguin: http://pastebin.com/wMadk3Gx Apr 01 20:24:04 Buttons i'm having problems with are buttonSubmitScore, and buttonChangeShowing. I can post the XML also Apr 01 20:25:45 XML here: http://pastebin.com/fHNYqQ4k Apr 01 20:28:22 Anyone know anything about getHistoricalX? Apr 01 20:29:56 drpenguin: Where can I read about how I use Long....? Apr 01 20:30:28 Solirify: in any self respecting Java tutorial Apr 01 20:33:06 This is nuts.... it's got to be some silly typo somewhere with these buttons Apr 01 20:33:25 Solirify, long is a data type. Apr 01 20:34:13 I know what long and Long is but I'm not sure how to "make a Long Object (giggidy) whose value is set to your long and then invoke floatValue if you want to use that method" Apr 01 20:35:20 Solirify: http://www.java-examples.com/java-long-example Apr 01 20:35:48 NutterzUK: Thanks :) Apr 01 20:35:52 Or, the javadoc is here for it if you need: http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Long.html Apr 01 20:36:36 Hmm.... I thought I did that before and then it gave me an error, but now it worked, lol... Maybe I made a type befor Apr 01 20:36:47 Solirify what are you trying to do.. Apr 01 20:36:54 :) glad it helped Apr 01 20:37:14 So I love Android development guys. I come from using C and Lua in most of my projects, complete newbie at Java and I've picked it up over the course of the week. Apr 01 20:37:52 Solirify also, if you are parsing a long from a json you can just do JSONObject.getLong("ID"); Apr 01 20:38:00 JoeTheGuest: I'm trying to convert a long to a float, but it's working now Apr 01 20:38:24 Java is really great, and so is the Android SDK. Java is so nice, I can write code without worrying about a bunch of little details. Apr 01 20:38:54 MattRB: you must be trollin' Apr 01 20:38:55 ;) Apr 01 20:39:07 drpenguin: do you think my problem is in the XML? Apr 01 20:40:35 HacDan, I'm not, it's actually pretty nice. Why do you say? Apr 01 20:40:50 I've heard of some ehh-ness of Java, like apparently strings suck to deal with. Apr 01 20:41:14 you came across like it was god's gift to a software engineer Apr 01 20:41:58 HacDan, oh no, it's just a lot like how I feel while writing C#, it's pretty easy to get going and 'just works'. Apr 01 20:42:09 Urgh.... if anyone was looking at the code I just pastebinned, I just found my error Apr 01 20:42:17 called setContentView twice Apr 01 20:42:20 I'm sure there's downsides and places where Java isn't the best tool for the job, but seeing as I'm mostly writing game logic it Apr 01 20:42:24 's working out well. Apr 01 20:42:28 Stupid mistake. sorry to bother you! Apr 01 20:42:33 And thanks :) Apr 01 20:42:52 sorry NutterzUK didn't even see the pastebin Apr 01 20:43:43 no probs, I think drpenguin was looking at it anyway... Apr 01 20:44:03 One of those things, you know when you do something slightly wrong, then spend ages looking for one line Apr 01 20:44:23 It was from cutting / pasting something into a handler from my onCreate ( wanted to change something around ) Apr 01 20:44:35 In future: check twice... cut once :) Apr 01 20:44:40 NutterzUK, I spent like two hours yesterday trying to debug why my app only worked in the emulator, and said "This app is not installed!" on the device.... Apr 01 20:44:49 I forgot a > in the manifest :( Apr 01 20:45:04 I don't know how/why it worked on the emulator. Apr 01 20:47:00 MattRB: :S... happens to the best of us :) Apr 01 20:47:27 hmmkay... so what was I doing before that silly mistake... haha Apr 01 21:28:55 i'm using mapview and i'm getting arrayindexoutofbounds in itemizedoverlay's draw method. all the clues are pointing to concurrent use of the itemizedoverlay list, but i'm certain all my adding and removing is done on onPostExecute. is it possible that the draw method somehow gets interrupted by ASyncTask's onPostExecute? Apr 01 21:29:37 no, it shouldn't Apr 01 21:30:20 but it's easy enough to rule it out Apr 01 21:30:33 simply stick logging in both draw and onPostExecute Apr 01 21:31:04 see if it enters one while it's still in the other Apr 01 21:31:12 the crash is very hard to reproduce :( Apr 01 21:32:00 that again points to a synchronization problem, yeah Apr 01 21:32:35 why not lock access to the array, just to be sure? Apr 01 21:33:15 you mean lock it in the beginning of draw? Apr 01 21:34:05 i'd really like to know what causes it, because i was being very careful with all the concurrent stuff Apr 01 21:34:39 Bye :D Apr 01 21:36:00 i guess i can't do anything else but to re-re-check every part that accesses the item list :/ Apr 01 21:36:54 yuizy: well, you shouldn't have a lot of potentially unsafe code paths accessing data Apr 01 21:37:07 well Apr 01 21:37:11 i don't think there's any Apr 01 21:37:23 yuizy: better to just provide one method to perform an operation on the list Apr 01 21:37:26 and do the locking there Apr 01 21:37:52 so you have to make sure it's correct in one place, instead of tens of places Apr 01 21:39:00 well Apr 01 21:39:06 'I don't think there's any' doesn't really help you since the bugs caused by this are rare Apr 01 21:39:09 and hard to debug Apr 01 21:39:12 but if my design is as i planned it, i don't need to do any locking anywhere Apr 01 21:39:20 if it isn't, there could be bugs anywhere Apr 01 21:39:39 sure, but the point of having no locking is usually performance Apr 01 21:39:49 performance doesn't seem to be an issue in this case Apr 01 21:40:23 yeah Apr 01 21:41:15 but it makes me feel really uncomfortable if i need to be second guessing myself on such big concepts as concurrency Apr 01 21:42:34 you shouldn't, I'm pretty sure draw and onPostExecute don't execute concurrently Apr 01 21:42:57 the problem you have is that if you did it wrong, you can't easily check Apr 01 21:44:11 i guess Apr 01 21:45:25 but what's bothering me more now is the fact that i've checked every reference to the itemizedoverlay several times and am "certain" that everything is done on the ui thread, but it seems it's not enough Apr 01 21:46:18 does anyone in here use scala and eclipse? Apr 01 21:47:46 yuizy: how many references are there? Apr 01 21:48:09 4 that have anything to do with removing Apr 01 21:48:23 mmm Apr 01 21:48:41 i assume it has to have something to do with removing an item, since it's an outofboundsexception Apr 01 21:51:36 Hi, someone use nbandroid ? what the hack to include external jar ? I've modified the ant build but doesn't help me Apr 01 21:55:26 MDijkstra: is it possible that a touch listener interrupts something? Apr 01 21:55:58 i managed to reproduce it a few times now that i kept touching the marker Apr 01 21:57:16 yuizy: no, if both are running on the same looper, which they should Apr 01 21:57:24 then they should never be able to interrupt eachotehr Apr 01 21:57:51 I mean, stick a while(true) in onPostExecute Apr 01 21:57:54 How can I add external jar to a project ? Apr 01 21:57:58 and watch your app hang :) Apr 01 21:58:07 yeah Apr 01 21:58:40 well, at least now i can reproduce the problem Apr 01 22:03:49 hi all Apr 01 22:04:15 if I'm managing my own cursor and not using start/stop managing cursor... do I close the cursor in onPause or in onDestroy? Apr 01 22:06:15 close it when you're finished with it Apr 01 22:06:18 kinda depends but most of the time ondestroy i think Apr 01 22:06:43 the q implies that the access to the cursor is continuous Apr 01 22:06:55 yea, usually its best practice to just close it when done but its hard to track issues later though... i prefer to do things in onPause/onDestroy/onResume etc.. Apr 01 22:16:25 anyone in here use usb in their development? how about the android.hardware.usb.UsbAccessory or usb.UsbManager? i can't seem to get any messages to / from the functions in those. device is showing up from the host side, so it seems the hardware is working, but my app doesn't seem to see anything. Apr 01 22:25:25 I'm blanking here... to use a custom cursor adapter for a list view for a Cursor that /doesn't/ contain "_id" what do I extend? CursorAdapter isn't right (requries the Cursor to have "_id") Apr 01 22:25:46 I have a question. Let's say I want to send some user data from my phone to a webservice. The user should be validated by username and password. How I send this along? As parametres in the URL? Or is there another way to do it? Apr 01 22:27:26 ghchinoy: I think its SimpleCursorAdapter Apr 01 22:27:28 as postdata Apr 01 22:27:45 QubeZ: SimpleCursorAdapter also requires that the Cursor given has "_id" Apr 01 22:27:51 mads-: http://www.androidsnippets.com/executing-a-http-post-request-with-httpclient Apr 01 22:28:10 MDijkstra: thats sent in cleartext? Apr 01 22:28:32 i wonder how to secure it... i'll be writing a client to a web service soon too so wondering Apr 01 22:28:57 hm, mads, might be a strange question, but did you play T2? Apr 01 22:29:22 ghchinoy: there is a neat trick here: http://stackoverflow.com/questions/5268673/android-cursor-id-field Apr 01 22:29:37 disregard it if you don't know what that means, but I used to know a dude with the nick mads :) Apr 01 22:29:41 MDijkstra: I don't know what that is, so I don't think to Apr 01 22:29:46 not sure why you dont have _id... its best practice Apr 01 22:29:50 ah, ok, nevermind then Apr 01 22:29:59 My name is mads, hence the nick :) Apr 01 22:30:27 yeah, anyway, check that link on how to do a POST request Apr 01 22:30:38 MDijkstra: thanks for the link. My question was more in regards to how secure it is sending username and password in cleartext through a http request Apr 01 22:30:57 well, you could use https Apr 01 22:31:04 or use some hashing technique Apr 01 22:31:14 QubeZ: I was thinking of doing a rawQuery and giving an alias of "_id" to one of my columns, but then I realized it's an index for a searchable table and there's no unique column :\ Apr 01 22:31:25 (or both) Apr 01 22:32:06 Guess the hashing technique could be replicated as well. I just don't know whether a person to could intercept the http request Apr 01 22:39:17 hi Apr 01 22:40:06 anyone here? Apr 01 22:40:52 yes, lots of people Apr 01 22:40:56 well Apr 01 22:41:05 somebody that could help me Apr 01 22:41:13 we dont even know what you need help with Apr 01 22:41:16 lol Apr 01 22:41:21 its like standing on the street yelling "can someone help me" Apr 01 22:41:22 wtf Apr 01 22:41:23 i want to make a custom market Apr 01 22:41:37 dont ask why Apr 01 22:41:46 i have a idea on how to do it Apr 01 22:41:56 but there may be a eayer way Apr 01 22:42:08 easyer Apr 01 22:42:16 when you get to your actual question, i'll listen Apr 01 22:42:20 for now i'll focus on other things Apr 01 22:42:58 is ther eany simple way to create a new market place? Apr 01 22:43:16 that question is too broad and probably wont be addressed here Apr 01 22:43:32 "hey guys, how can I make a better version of Android?" Apr 01 22:43:42 anyhow, im too much of an a-hole today.. im gonna go watch some tv Apr 01 22:44:17 u a frenchman? Apr 01 22:44:23 is there anyway i can see usb messages as they're sent / received, like a tail -F for a log in linux? but on my android tablet obviously. Apr 01 22:45:06 that was one of the stranges string of questions. Apr 01 22:45:21 mine? Apr 01 22:45:40 yeah Apr 01 22:45:45 mhmm Apr 01 22:45:55 its a really long story Apr 01 22:46:02 id Apr 01 22:46:10 and everyone here would kill me Apr 01 22:46:16 i'd say most work is not on android but on some server Apr 01 22:46:23 yea Apr 01 22:46:26 i know Apr 01 22:46:40 basicly a mini web browser Apr 01 22:46:54 QubeZ: fwiw, the trick of aliasing my FTS table with an _id works quite well. Apr 01 22:48:55 huh, achartengine just reached 1.0 Apr 01 22:57:01 hm seems like google sneakily changed the folders for the google api addons in the sdk Apr 01 22:57:43 from \addon-google_apis-google_inc_-11 to \addon-google_apis-google-11 Apr 01 22:58:02 xorgate: you should yell at them Apr 01 22:58:08 or maybe it's an april fool's joke :) Apr 01 22:58:31 :( Apr 01 22:58:54 thank god i didnt meet any other human today Apr 01 22:59:18 Is it possible to implement Actionbar tabs without resorting to fragments? Apr 01 23:12:38 ghchinoy: cool Apr 01 23:15:45 hi all Apr 01 23:15:47 I'm trying to build AOSP, but libwebcore build fails Apr 01 23:15:53 I get "Unknown parameter a interfaceName for tags/attrs" Apr 01 23:15:56 any idea? Apr 01 23:18:44 bash`, try #android-root Apr 01 23:25:33 is there any reason my mediaplayer object isn't calling my onInfoListenter? Apr 01 23:26:18 i have it set in implements, have it coded to log, and setOnInfoListener, so everything should be connected but it's never being calle Apr 01 23:26:22 called* Apr 01 23:38:59 I'm so confused. It's like.. Android has an onInfoListener implemented, but it's never called. Ever. Apr 01 23:42:06 i'm going to take a step back here, as i'm not finding much info on what i need. has anyone ever seen a pc app communicate with an android app? like press a button on one, and turn on a light on the other (or type a letter or anything really), and vice versa? Apr 01 23:42:45 via usb Apr 01 23:44:48 not via usb but xbmc can be controlled via your android device Apr 01 23:44:53 not sure if thats what you mean Apr 01 23:45:27 i mean if i have an app on my android device, and one on my pc, can they talk to each other? Apr 01 23:45:39 'talk' ? Apr 01 23:45:45 Over the usb is the unknown bit here. Apr 01 23:45:48 there are network packets going back and forth Apr 01 23:45:53 They can easily talk to each other through wifi and such Apr 01 23:47:31 where's the problem, is it the os drivers or app interface to os / kernel? Apr 01 23:47:43 jnewt: what are you trying to do ? Apr 01 23:49:01 i'm trying to communicate to / from an ouside host from an android app. i don't care what it does, if i can send a single byte and recieve a byte, i'd be happy. Apr 01 23:49:18 what's the problem with using sockets? Apr 01 23:49:57 ugh. i don't understand what the point of having this listener in the API is if it's never even used :/ Apr 01 23:50:51 dualMoon ok i'll bite.. pastebin your code? Apr 01 23:50:53 bankai_: I don't know if there is a problem, i just can't find any working examples of communication over usb (other than os level mass storage, which is built in in my case), and adb debugging Apr 01 23:51:06 and tethering Apr 01 23:52:13 hi, I'm trying to debug a c++ thingie, I have it all set up, now I just need to run the gdbserver, but when I run gdbserver I get this error: http://paste.kde.org/450308 Apr 01 23:52:19 any idea about how to fix this? Apr 01 23:52:32 jnewt: my point was why can't you use that, why do you want to achieve this over USB ? Apr 01 23:52:41 xorgate: http://pastie.org/3711739 everything works perfectly except that onInfoListener never fires. Apr 01 23:54:51 bankai_: i have a microcontroller project which communicates to a pc via usb (it's an otg port), and i want to replace the pc with an android tablet. the microcontroller has host, device, and otg ports, i currently use the device port to the pc, with a cdc driver on the pc and on the microcontroller. this allows serial comms over usb. Apr 01 23:54:54 dualMoon when do you expect it to be called? Apr 01 23:55:31 xorgate: i don't know when all it would be called, but i'm expecting it to be called on a metadata update. Apr 01 23:55:50 bankai_: i don't have more expensive stuff like an ethernet port or wifi on the setup and need to avoid large changes. Apr 01 23:55:55 dualMoon better make sure Apr 01 23:57:16 xorgate: what do you mean? Apr 01 23:57:29 here are the possible infos http://developer.android.com/reference/android/media/MediaPlayer.html#MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK Apr 01 23:57:55 yes, MEDIA_INFO_METADATA_UPDATE is the one i'm waiting for Apr 01 23:59:05 so probably when the stream changes song Apr 01 23:59:31 terrible music btw ;) Apr 01 23:59:39 right, but even when the stream is changing songs, and updating metadata, onInfoListener is not called Apr 02 00:00:08 bankai_: did i answer the question poorly? Apr 02 00:01:26 jnewt: sorry i just have no idea, i don't know how the USB communication works in android Apr 02 00:01:33 dualMoon i see more people have the same issue.. without a decent answer Apr 02 00:04:55 bankai_: i thought android would be the way to go, it seems to be loosely based on linux, which can use standard tools and do this all day long. Apr 02 00:22:36 any testers available for live wallpaper? Apr 02 00:22:58 http://db.tt/XrnWscYd Apr 02 00:24:54 hello #android-dev ... i think i'm really close to getting HelloAndroid to work, but i'm stuck. Apr 02 00:25:36 i'm trying to use command-line tools b/c that's my comfort zone, i hope that's okay (eclipse in my Ubuntu repo is too old it turns out; i just tried that) Apr 02 00:26:02 rather than try to install a new eclipse and dependencies, i'd like to do it command-line (and i'm sure i'm almost there) Apr 02 00:26:34 i run the emulator, and adb get-state says "device" Apr 02 00:26:51 <[deXter]> Um Apr 02 00:26:57 <[deXter]> rasfar: You don't need to install eclipse Apr 02 00:27:08 <[deXter]> if you download it from the website, you just have to extract it to a folder and thats it Apr 02 00:27:10 the error i am getting is Error: Could not access the Package Manager. Is the system running? Apr 02 00:27:12 <[deXter]> no installation, no dependencies etc Apr 02 00:27:16 <[deXter]> it's portable and self-contained Apr 02 00:27:56 [deXter] so you are strongly endorsing using Eclipse, and you are saying I can install a binary version of x86 which will include all dependencies? Apr 02 00:28:14 i could try that -- but i feel sure that i'll hit the same error... Apr 02 00:28:33 <[deXter]> yeah Apr 02 00:29:35 the emulator uses 100% cpu continuously, is that normal? also, the most i ever see is the animated "android" logo ... is the emulator perhaps not ready for an "install" command? Apr 02 00:29:53 <[deXter]> rasfar: If it's using 100% CPU that's probably the reason.. it could be timing out Apr 02 00:30:02 <[deXter]> try running the emulator again Apr 02 00:30:04 (this is "only" an Asus 1015px Apr 02 00:30:22 <[deXter]> Um yeah Apr 02 00:30:23 <[deXter]> there you go Apr 02 00:30:25 which is a netbook, but it's dual-core 1.5 GHz with 2 GB RAM so... Apr 02 00:30:30 <[deXter]> That means nothing Apr 02 00:30:44 i think it means a little something... Apr 02 00:30:47 <[deXter]> The emulator is slow as it is Apr 02 00:30:54 <[deXter]> Im talking about a Core2Duo Apr 02 00:31:03 <[deXter]> I used to use a 4GB system with c2d and it used to be slow as heck Apr 02 00:31:18 <[deXter]> You can't expect an Atom to keep up with it! Apr 02 00:31:22 <[deXter]> It's a puny CPU lol Apr 02 00:31:38 <[deXter]> there's one thing tough.. you'll have to check if your CPU supports VT-x Apr 02 00:31:42 well, i may just go ahead an purchase an android phone. the usb iterfeace will work with linux i hope? Apr 02 00:31:45 using a connected samsung captivate is way better than emulators Apr 02 00:31:47 <[deXter]> if it does then you could run the newer SDK Apr 02 00:31:51 <[deXter]> ^^ Apr 02 00:32:02 NightmareApps i guess it's working Apr 02 00:32:02 <[deXter]> rasfar: It works great with linux.. no drivers needed Apr 02 00:32:34 (b/c the android downloader/package manager (presumably not the same "Package Manager" mentioned in above error message) says it's not available for linux.) Apr 02 00:32:50 that's good news, thanks [deXter] Apr 02 00:33:27 <[deXter]> rasfar: that error only means that it's not been able to communicate with the package manager on the emulator ie because it's timing out.. 100% CPU usage is exactly the cause. Apr 02 00:33:34 <[deXter]> Atom is too slow for such stuff Apr 02 00:34:05 alrighty, i'll at minimum find a phone to borrow to test, and probably be back here to ask/help over the coming time... been putting off mobile dev way too long! Apr 02 00:34:16 <[deXter]> :) Apr 02 00:34:27 [deXter] thanks a lot for your help, this channel is not as rough as i expected! :) Apr 02 00:34:56 (and thanks dualMoon too) Apr 02 00:34:57 bye Apr 02 00:35:06 <[deXter]> rasfar: Don't let your experiences on #C++ deter you. :) Apr 02 00:35:20 heehee Apr 02 00:36:14 is there any way to solve that every time I run "run-as" I get a permission denied error? Apr 02 00:36:52 apol thats not enough info Apr 02 00:37:34 i/win 11 Apr 02 00:37:38 ugh Apr 02 00:39:50 xorgate: what further info can I give you? Apr 02 00:40:24 apol where do you run-as ? eclipse? what does the log say etc etc Apr 02 00:40:36 ok Apr 02 00:40:37 sorry Apr 02 00:40:59 xorgate: http://paste.kde.org/450332 Apr 02 00:41:57 ah commandline Apr 02 00:42:01 well, no clue sorry :0 Apr 02 00:42:37 ó.ò Apr 02 00:44:09 howdy Apr 02 00:45:40 Is it normal for it to take lockCanvas like... 10 seconds of repeated tries before it can get a lock on a surface? Apr 02 00:46:40 Sometimes it's getting a lock right away and sometimes it takes a very long time. Apr 02 00:47:44 Is it possible to stop LogCat from auto-pausing? Apr 02 00:48:00 Hi all, Eclipse is not regenerating the R file, I did all step found here: http://stackoverflow.com/questions/6661975/problem-with-r-java-and-resources-not-find Apr 02 00:48:23 none of them work, and I still have the Invalid preference page path: XML Syntax Apr 02 00:48:38 any tip how to fix this?! Apr 02 00:48:59 I'm about to re-install eclipse and ADT but find this a bit last resort Apr 02 00:50:10 is there a way i can have a surfaceview that is created but not displayed? i'm trying to capture preview data from the camera without displaying it directly Apr 02 00:51:36 mobidroid clean project and make sure your xml is correct.. try the new lint i think it has xml checks Apr 02 00:51:46 and check imports Apr 02 00:52:14 xorgate: I did, actually i was about to publish my apk, fixed a few lint suggestion... then all hell breaklose Apr 02 00:52:53 xorgate: all layout seem ok, these view are quite simple Apr 02 00:53:21 any way I can check the stacktrace of the eclipse error, now i see: An exception stack trace is not available. Apr 02 00:53:24 ok check if you don't import android.R Apr 02 00:53:33 sometimes eclipse likes to insert it for you Apr 02 00:53:45 xorgate: the file is not generate so the import fail Apr 02 00:53:56 yes Apr 02 00:54:05 your .java might have it in the import list Apr 02 00:55:00 Iv'e removed all import, even the one refering to the "not generated" file Apr 02 00:56:02 I'm having trouble finding the source for the "water" stock wallpaper. Anyone know where I can find it, or know how they did it? ie gl or MeshBitmap? Apr 02 00:59:25 mobidroid any chance of going back to before it went broken? like in your source control Apr 02 01:00:20 xorgate: sadly i was about to put on source control and release the app Apr 02 01:00:50 i'd take another close look at all the xml Apr 02 01:04:31 xorgate: here are the xmls, lint changed one of them to "optimize it" not sure if it's the cause: http://pastebin.com/Dfjt3pLe Apr 02 01:07:15 simply starting a new android project prompt errors... eclipse + adt are unstable i guess Apr 02 01:07:30 Failed to load properties file for project 'Testing123' Apr 02 01:07:50 hmm odd Apr 02 01:08:13 i agree eclipse isn't the best :0 Apr 02 01:08:32 i'll reinstall the beast :( Apr 02 01:09:24 or try IDEA Apr 02 01:09:54 xorgate: ADT work with IDEA? Apr 02 01:10:07 yup it's a standalone app basically Apr 02 01:10:37 k, if the reinstall dont fix the issue i guess ill migrate Apr 02 01:11:09 http://www.jetbrains.com/idea/features/google_android.html Apr 02 01:11:30 i was reluctant at first, but it's really such a relief coming from eclipse Apr 02 01:13:07 xorgate: thx for the link, I'm downloading it too Apr 02 01:13:52 what i said about adt isn't true btw Apr 02 01:14:08 but all functionality is there except layout builder Apr 02 01:17:44 argg layout builder is probably the only thing I needed :P fine tuning and see in real time the change is very effective (well at least until the adt explode) Apr 02 01:17:57 it has a layout viewer though Apr 02 01:18:57 k, well i'll try it ;) Apr 02 01:54:53 Hello Apr 02 01:56:50 is there a working guide for setup of android dev on Ubuntu 10.04 ? last time I kept getting errors on the download step. and after doing a couple of google searches it seems the error was due to the RSA breach Apr 02 01:57:36 what doco are you following? the one on the google site worked fine for me on ubuntu Apr 02 01:57:51 bankai_, Bleach? Apr 02 01:58:01 phpN00b: yep Apr 02 01:59:36 bankai_, it was on android.com for the installing and downloading source parts Apr 02 02:00:29 http://developer.android.com/sdk/installing.html this one ? Apr 02 02:01:11 yeah that looks like it Apr 02 02:02:13 bankai_, and i think it was this one for the source http://source.android.com/source/initializing.html Apr 02 02:03:11 has anyone used the google checkout callback with in app purchases? Apr 02 02:03:34 I'm not sure if it's supposed to be instant or with in a few hours Apr 02 02:03:40 My eclipse is not showing the layout editor - it's not starting it fully. Palette is missing items, layout intention (car dock etc) isn't shown... what's stopping it from loading fully? Apr 02 02:13:57 Someone make Google Tap happen. Please and thank you :) Apr 02 02:17:09 i did have the idea of making a stenography keyboard Apr 02 02:17:19 and then i abandoned the idea Apr 02 02:20:14 never knew how complicated stenography was. wow Apr 02 02:20:51 this one type was designed for writing on a horse Apr 02 02:21:01 perfect for writing on your phone while running ;0 Apr 02 02:21:22 wow Apr 02 02:21:24 lol Apr 02 02:56:06 vadi2: you in bris? Apr 02 02:56:14 yes Apr 02 02:56:25 aww good stuff :) me too Apr 02 02:56:34 nice **** ENDING LOGGING AT Mon Apr 02 02:59:58 2012