**** BEGIN LOGGING AT Sat Jan 19 02:59:59 2013 Jan 19 03:12:45 * juca away; out Jan 19 04:36:31 I'm trying to deploy to the x86 version of Android 4.1. The most up to date x86 version is only 4.1.1 however, and the SDK Platform seems to expect 4.1.2. Is there any way to get the older revision of the SDK Platform for API 16? Jan 19 05:09:15 hello, i have a problem. if i build the sources myself, the data connectivity doesn't work (at least in gingerbread), however if i install the ics / jb google image the data connectivity starts working and if i install the google image for gb it works there too, but as soon as i install my build images, it stops working again Jan 19 05:23:21 is there a quick/simple way to play a quick beep of somesorts? Jan 19 05:27:43 Hmm I thought JSONObject came in the Android SDK Jan 19 05:32:44 nvm Jan 19 05:51:31 hello all Jan 19 05:58:32 i am playing an mp3 via media player, and it cuts out after about 40 seconds Jan 19 05:58:54 i cant tell why Jan 19 05:58:57 any ideas? Jan 19 06:03:18 Are there any good tutorials on developing some good looking custom views? All I ever find is rectangles/circles/etc. Jan 19 06:08:38 figured it out Jan 19 06:08:44 mediaplayer was getting gc'ed Jan 19 06:25:43 Are there any good tutorials on developing some good looking custom views? All I ever find is rectangles/circles/bitmapsetc. Jan 19 06:46:38 How do I get a reference to two views id' in layout, one of the container and one of the listview, through using remoteviews in an app widget? Jan 19 07:16:20 lasserix: first you get handle to your views via RemoteViews views = new RemoteViews(context, R.layout....); then you can access the view's within that using views. Jan 19 08:13:19 wow, the c++ reference 4e (stroustrup) is 1300+ pages Jan 19 09:56:20 anyone ever used this: sensorEventQueue = ASensorManager_createEventQueue(sensorManager, looper, LOOPER_ID_USER, get_sensor_events, sensor_data); ? Jan 19 09:56:49 the get_sensor_events function pointer is what is giving me (and others on the internet) headaches Jan 19 09:57:28 I have yet to see an example that uses this (where the pollAll variant is documented, but not what I need) Jan 19 09:58:12 get_sensor_events is now a static function (required to be able to pass it as pointer to the function) Jan 19 09:58:40 but that bloks me from using my mutexes and checking on shared memory in this function Jan 19 09:59:14 I know pointer-to-memberfunctions exist, but those look very outlandish to me Jan 19 10:13:38 I'm creating a multitouch gesture Jan 19 10:14:07 but when the user lets go of a finger I need it to become a single touch gesture Jan 19 10:14:17 and for that I need to know which finger was released Jan 19 10:14:38 how do I detect which finger was associated with the MotionEvent.ACTION_UP Jan 19 10:14:40 ? Jan 19 10:18:31 guidocalvano: i dont know, but out of curiosity, what kind of gesture is this? seems complicated. Jan 19 10:18:48 complicated gestures are usually bad usability Jan 19 10:18:50 it is a basic pinch zoom gesture, but on some stuff I rendered myself Jan 19 10:19:14 and I want the pinch zoom to convert into a basic scroll Jan 19 10:19:36 its for my own agenda Jan 19 10:19:42 intended for personal use Jan 19 10:19:53 so once the 2nd finger leaves the pinch / xoom becomes scroll then Jan 19 10:20:02 yes Jan 19 10:20:10 or when the first finger leaves the pinch Jan 19 10:20:41 but I like the feel of pinch zoom and scroll as fingers that are 'stuck' to the 'paper' Jan 19 10:21:04 is the opposite possible? when you are scrolling with one finger, and then put your second finger down, it goes from scroll -> pinch & zoom? Jan 19 10:21:14 yup Jan 19 10:21:21 in fact I can go back and forth Jan 19 10:21:38 its just that I don't know how to get my "oldY" set correctly Jan 19 10:35:10 I fixed the problem Jan 19 10:35:17 :) Jan 19 10:35:20 just assigned oldY = -1 Jan 19 10:35:36 that way I could detect I was leaving a pinch zoom from the scroll code Jan 19 10:35:54 and assign oldY the current event.getY() Jan 19 10:36:11 you loose a single frame but who cares Jan 19 10:36:35 now I want to create a function in an instantiation of an abstract class Jan 19 10:36:40 and it won't let me Jan 19 10:50:33 what is the android version of javascripts settimeout ? Jan 19 10:52:53 or better yet Jan 19 10:52:55 set interval Jan 19 10:59:31 guido (new Handler()).postDelayed(new Runnable() { void run() { .. } }, delayMilliseconds); Jan 19 11:14:01 wow i just found out that archos has a highrees tablet for 260 euros Jan 19 11:29:53 k0nichiwa: tnx Jan 19 11:31:03 k0nichiwa: can I also stop the runnable? Jan 19 11:31:11 before it is executed? Jan 19 11:33:44 guidocalvano, yes Jan 19 11:33:52 you have to save it in a variable Jan 19 11:34:00 you have to also save the handler to a variable Jan 19 11:34:18 and then call m_handler.cancelCallbacks(m_runnable) Jan 19 11:34:26 ok Jan 19 11:34:35 removeCallbacks (Runnable r) is the wrong call? Jan 19 11:34:41 something like that, google the key words android developer handler look at the docs Jan 19 11:35:02 i just didnt remember the method name Jan 19 11:35:06 k Jan 19 11:35:12 removeCallbacks i think is right Jan 19 11:35:33 it will perform the callback on whatever thread you are on Jan 19 11:35:37 I need to implement a custom scrollable view Jan 19 11:35:43 so if you might not be on the main thread, but need it in the main thread Jan 19 11:35:51 I need it to add some speed to the scroll Jan 19 11:35:55 you have to do new Handler(Looper.getMainLooper()) instead Jan 19 11:36:09 if there is no chance you'r enot on the main thread u dont need to worry about it Jan 19 11:36:16 k Jan 19 11:36:18 usually everything is on the main thread Jan 19 11:36:20 probably not Jan 19 11:36:31 its my own code and I hate threads Jan 19 11:36:41 if possible I use the eventqueue (: Jan 19 11:39:04 a quick final question, when a new activity is pushed on the stack, what event is fired in the old activity Jan 19 11:39:23 sorry dont know Jan 19 11:39:35 maybe onpause Jan 19 11:39:49 k Jan 19 11:39:50 onpause can fire for other reasons also tho Jan 19 11:39:53 thanks for the help Jan 19 11:40:35 I just need to make sure that the thing doesn't keep scrolling on and on for ever if the activity isn't on the screen Jan 19 11:41:13 look at android lifecycle diagram Jan 19 11:41:22 when it goes off screen, i think it's onstop you get Jan 19 11:41:22 anyone knows how C/C++ callbacks work which are passed as function pointers? Jan 19 11:41:39 onpause can show when for example a dialog goes up but parts are still visible Jan 19 11:41:47 I don't want to poll my sensors, I want to rely on their callbacks Jan 19 11:41:48 ss/show/fire Jan 19 11:41:51 k0nichiwa: but is pause also called when it goes offscreen? Jan 19 11:42:18 look at the lifecycle, it wong tet to stop w/o going thru pause i think Jan 19 11:42:27 but stop i think is more correct for what you want to do Jan 19 11:42:27 k Jan 19 11:43:02 well, the worst case is that the thing stops scrolling when it should continue Jan 19 11:43:06 that isn't a bad thing Jan 19 11:43:29 just a minor nuisance in an exceptional case Jan 19 11:44:25 if the thing keeps on scrolling though, and the user can't see it... that is terrible... cause the agenda ends up in january 5 3031 Jan 19 12:15:55 hi Jan 19 12:35:06 ok Jan 19 12:36:23 KNERD hi Jan 19 12:36:27 hello guys Jan 19 12:36:28 i have Jan 19 12:37:08 someone use windev mobile for android apps developmt Jan 19 12:37:49 zu Jan 19 12:44:29 friduxxx: ? Jan 19 12:45:51 If in an activity I want a certain portion of the screen to behave like the 'surfaceview' and an other portion with standard controls (buttons, radio buttons, spinners, etc) - how do I go about doing this? Jan 19 12:46:51 create an app for that Jan 19 12:47:08 u r developper?? Jan 19 12:48:50 friduxxx: me? just getting started with android Jan 19 12:49:20 ok Jan 19 12:49:25 not grave Jan 19 12:49:50 so i dont know exactly what u want to do Jan 19 12:50:01 can you explain me?? Jan 19 12:51:02 friduxxx: I want to create a view with multiple images. touching an image should pop up some buttons/controls. How do I go about doing this? Jan 19 12:51:36 friduxxx: the images need to be scattered in the view - turned/rotated/scaled. So I will have to draw the images myself. Jan 19 12:51:49 From what I understand, a SurfaceView can be used to accomplish that Jan 19 12:52:57 yes Jan 19 12:53:01 surely Jan 19 12:53:03 http://thumbs.dreamstime.com/thumblarge_317/12229400833asaqa.jpg Jan 19 12:53:11 friduxxx: Something like that. Jan 19 12:54:39 very cool ur view Jan 19 12:56:10 k0nichiwa: scrolling with momentum is working Jan 19 12:56:13 (: Jan 19 12:56:31 and I just had a call from a friend while debugging, so the onpause works too Jan 19 12:56:40 thanks for the help Jan 19 12:57:36 anyone ever used callbacks for the sensors in NDK? Jan 19 12:58:10 seems other IRC channels are infested with 15yr olds, which aren't of much help except for "lol" and "wut" Jan 19 13:00:02 friduxxx: Fragments _might_ be the answer - but I'm not sure Jan 19 13:19:03 what would be the correct method to get data back from a service when a thread task on that service has finished ? Jan 19 13:19:14 back to my activity that is Jan 19 13:21:46 I know I can call methods of the service directly, I just wanted some way to pass info through an interface to my activity, and not have to trigger async tasks from my activity as the service (formally a fragment) does this Jan 19 13:27:51 StingRay_: you want the service to alert the activity at a certain event? Jan 19 13:27:57 add an interface ? Jan 19 13:28:34 well the docs say create a handler to avoid doing the aidl stuff Jan 19 13:29:10 but my main activities have a nice interface message handler Jan 19 13:29:32 but cant find examples of getting a service instance and setting the interface Jan 19 13:29:42 still looking though :) Jan 19 13:43:56 oh ok, to skip some of the IPC stuff in a message you set a replyTo that is the return handler Jan 19 13:44:01 hmm Jan 19 13:44:16 btw if thats wrong please comment :) anyone :) Jan 19 13:59:31 I'm making an app in HTML5+jQuery in a WebView, but the WebView seems to behave entirely different in about every version of Android ever released. it works flawlessly in android 4.1+, but in 2.x and 3.x it's completely useless. any help? Jan 19 13:59:36 in 2.3 it works, but you can't scroll. in 3.2 you can scroll, but hitting an item doesn't do a thing Jan 19 14:01:56 nobody? :/ Jan 19 14:02:28 never used webview Jan 19 14:02:34 or html5 Jan 19 14:02:51 but I agree with the disparity between versions ;) Jan 19 14:03:52 android is a bit of a mess in that regard, i've noticed :p Jan 19 14:10:35 goddamnit glitchy android Jan 19 14:11:07 why you decided to go with html5+jquery? Jan 19 14:11:11 rather than native Jan 19 14:11:16 out of interest Jan 19 14:11:18 :) Jan 19 14:11:41 "it's easier for cross-platform development" HEH Jan 19 14:14:14 doesnt seem that way Jan 19 14:14:43 seems like cause it's reliance is a fair way downstream of other things that it would cause more control problems than gains Jan 19 14:14:53 but I'm looking from the outside :) Jan 19 14:16:07 StingRay_, cause I suck at java :p Jan 19 14:16:32 you dont know java ? Jan 19 14:16:50 and i honestly don't think it's worth learning java, as as far as i'm concerned it's a dead language for anything but embedded devices Jan 19 14:17:02 i do know java, but only the basic stuff Jan 19 14:17:12 well you dont suck then!! Jan 19 14:17:23 to suck at something you need to know it very well Jan 19 14:17:28 and still be sh*t Jan 19 14:17:30 :) Jan 19 14:17:31 what i don't know, however, is the whole Graphics object stuff, which is why HTML+CSS gives me more options Jan 19 14:18:15 java is dead? Jan 19 14:18:26 and seeing, frankly, what a complete mess android is, that has strengthened my belief that it's not worth it for me to keep learning java Jan 19 14:18:38 but that's just my opinion Jan 19 14:19:03 golang is the future maybe? lol Jan 19 14:19:09 nah :p Jan 19 14:19:29 i dunno what the future is. if it's C# then it's not all too bright Jan 19 14:19:51 lol probably D Jan 19 14:19:55 java and C# are both great languages, but the frameworks surrounding them are complete and utter garbage :p Jan 19 14:20:45 StingRay_: http://stackoverflow.com/questions/2463175/how-to-have-android-service-communicate-with-activity Jan 19 14:20:48 something like that? Jan 19 14:21:03 still nobody online here who knows about the webview stuff? Jan 19 14:21:11 belgianguy, vlaams of waals? :p Jan 19 14:21:54 belgianguy cheers, I figured it out, going the handler route is much easier for 2 way stuff, just have to be aware that a service takes a while to bind, so dont msg it anything...que it up while it's binding Jan 19 14:22:19 but getting there now :) Jan 19 14:23:18 i don't even have a clue how i should start on analysing this problem. i don't get a single related error or warning in the console, and nothing crashes because the event simply does not trigger Jan 19 14:29:01 do you not get an event from the touch of a webview ? Jan 19 14:50:54 RobinJ: Vlaams :) Jan 19 14:51:22 belgianguy, ok :p Jan 19 14:51:38 StingRay_,
  • Beh
  • Jan 19 14:51:52 when the user hits it it doesn't get triggered on androuid 3.x Jan 19 14:52:01 android 2.x and 4.x do trigger it Jan 19 14:56:57 anyone? it does trigger the onClick event on my image, but not on the list items :/ Jan 19 15:11:15 list? Jan 19 15:11:19 listView ? Jan 19 15:11:20 don't list items have their own listeners? Jan 19 15:11:25 onListItemClick etc? Jan 19 15:11:43 (I prefer the code way rather than the xml way when it comes to listeners) Jan 19 15:13:43 RobinJ and is this imageView on an item in a listView ? Jan 19 15:13:58 no imageview at all Jan 19 15:14:00 WebView Jan 19 15:14:35 the problem is that it doesn't seem to pass clicks on certain items in the webview, while it does pass them on others Jan 19 15:16:18 wow, now i'm actually seriously confused Jan 19 15:16:41 who can make sense of this? if i dump the links in div#launcher, the clicks work, in div#dash they don't Jan 19 15:16:48 RobinJ: is that HTML in the onClick? Jan 19 15:17:04 I see a
  • , as in list item? Jan 19 15:17:05 ? the thing itself is HTML+JS, yes Jan 19 15:17:12 yes Jan 19 15:17:37 the problem's only present in android 3.x (or 3.2 more specifically, not sure about other 3.x's) Jan 19 15:20:15 stuff like this really makes me go wtf Jan 19 15:21:18 RobinJ: http://stackoverflow.com/questions/9176802/catch-javascript-onclick-events-in-an-html-page-hosted-in-a-webview Jan 19 15:21:24 something like that? Jan 19 15:21:44 lol no it has nothing to do with that Jan 19 15:22:01 my problem is just that the bloody webview refuses to act when an item is "clicked" Jan 19 15:23:46 I'm curious - does anyone here use some software for prototyping animations/transitions for your apps? Jan 19 15:25:30 AAAAAAK STOEMEN BROL Jan 19 15:29:59 liquidmetal if it were complex I may consider it Jan 19 15:30:30 StingRay_: What software would you use for it? Jan 19 15:30:38 I'd write something in Maya Jan 19 15:30:50 it take the xml defs Jan 19 15:30:55 The 3D modeling package? Jan 19 15:31:03 erm Jan 19 15:31:12 if CG complete package yes Jan 19 15:31:17 not just modeling Jan 19 15:31:17 :D Jan 19 15:31:19 THIS FUCKING THING IS DRIVING ME INSANE Jan 19 15:31:19 :) Jan 19 15:31:35 if i put the EXACT same chunk of code in ANY other part, it works FLAWLESSLY Jan 19 15:31:45 it works everywhere, but not where it needs to be Jan 19 15:31:53 RobinJ pastebin some code...and what do you mean any other part ? Jan 19 15:32:37 RobinJ any compositing package with script language would be used also Jan 19 15:32:49 just I'm actually an maya autodesk intructor Jan 19 15:32:51 RobinJ: Are there threads involved somewhere? Jan 19 15:33:03 * hackkitten is considering learning Maya too :o Jan 19 15:33:05 but you could do it in nuke, maybe AE, others... Jan 19 15:33:06 liquidmetal, no threads Jan 19 15:33:07 I'm using 3DS now :) Jan 19 15:33:12 StingRay_: ah - okay. I was considering some 2D vector animation software Jan 19 15:33:49 http://pastebin.com/bbF2qmjs <<
    is in the code twice. the bottom one is where it needs to be, but nothing happens when the user selects one of the items. the top one works, but is in the completely wrong position Jan 19 15:33:54 liquidmetal if I were considering frame by frame I would do a little exporter from a package Jan 19 15:34:43 href="http://www.google.com/" << that's just in there for testing purposes to see what triggers and what doesnt Jan 19 15:34:58 StingRay_: an exporter? Like exporting an avi/mov file? Jan 19 15:35:12 liquidmetal no export android anim xml Jan 19 15:35:19 Is there some homemade components somewhere? Jan 19 15:35:30 I want to experiment creating some Jan 19 15:38:14 anyone who can save me from insanity? Jan 19 15:38:25 oh my fucking... Jan 19 15:41:02 WHAT Jan 19 15:41:04 WHAT?!?! Jan 19 15:41:31 I JUST SPENT 9 FUCKING HOURS DEBUGGING BECAUSE ANDROID'S RETARDED CSS ENGINE TRANSLATES overflow: auto; INTO "NO I DON'T WANT YOU TO WORK!!!!"?! Jan 19 15:43:07 RobinJ go native :) Jan 19 15:43:13 seems to be easier Jan 19 15:44:06 nope Jan 19 15:44:41 android first gets to provbe to me that it's a viable platform. cause the longer i'm messign around with it, the more i'm conviced that the moment something better comes along, android will get kicked of it's throne within a week. Jan 19 15:45:02 your messing with a small component that aint all that Jan 19 15:45:07 your not messing with android Jan 19 15:45:29 i used to. Jan 19 15:45:42 i moved to html5 because the native framework was nothing but trouble Jan 19 15:45:57 well no actually it seems like mainly eclipse and the adt plugin are, but i don't give a shit. Jan 19 15:45:58 well I aint a programmer, I'm an artist/td/3d guy Jan 19 15:46:05 and I find android ok most of the time Jan 19 15:46:08 and java Jan 19 15:46:18 I'm in the NDK, and so far quite like it Jan 19 15:46:23 NDK? Jan 19 15:46:36 holy cow Jan 19 15:46:40 The NDK is a toolset that allows you to implement parts of your app using native-code languages such as C and C++. Jan 19 15:46:45 i didn't even know this was bloody possible Jan 19 15:47:01 well you do now :) Jan 19 15:47:15 well i don't know C/C++, so i guess it's not an option for me either :p Jan 19 15:47:53 Java is easier, but C/C++ can get some performance squeezed out Jan 19 15:48:00 RobinJ you talk as if there is no chance of ANYONE learning ANYTHING new!.... do you not think that a bit...well wrong ? Jan 19 15:48:14 is there a dedicated c++ channel? Jan 19 15:48:20 course there is Jan 19 15:48:22 this is freenode Jan 19 15:48:26 they have channels for everything :p Jan 19 15:48:30 or some place I can go ask about Android NDK :p Jan 19 15:48:44 I'm stuck at an API call, that doesn't seem to do anything at all Jan 19 15:49:22 I found Java a breeze to learn Jan 19 15:49:31 C++ has its complexities Jan 19 15:50:21 :p Jan 19 15:50:31 prolly depends on what programming experience you already have Jan 19 15:51:32 well, some, but the Android NDK has its darker regions, too :) Jan 19 15:52:21 and I'm trying to pass a function pointer to another function (which will use the pointer as a callback) Jan 19 15:52:40 I need that to be able to read out the sensors (and I still refuse the polling techniques) Jan 19 15:52:49 lol Jan 19 15:53:28 does Dianne Hackborn ever come here? Jan 19 15:53:35 Yes Jan 19 15:53:46 AlCapwn: what's her nick? Jan 19 15:54:00 hackbod I think Jan 19 15:54:27 ah, good to know, she's been a great help at Google Groups concering NDK and C++ Jan 19 15:57:05 I don't think I've ever seen her here Jan 19 15:59:21 she was here back in December... 2009 Jan 19 15:59:31 :( Jan 19 16:00:37 and given that I have logs going back that far, I don't see her logging in since then Jan 19 16:01:22 she's got more important things to do than hang with us losers :) Jan 19 16:01:55 can anyone help me in pageviewer ? Jan 19 16:02:10 I found her website, but I'm not to keen on bugging her Jan 19 16:02:14 what.the.hell. Jan 19 16:02:29 she states that she doesn't appreciate such things on Google Groups Jan 19 16:02:41 if the layer is scrollable, it doesn't register clicks, but you can scroll. if it's not scrollable, you can't scroll, but you can click. Jan 19 16:02:48 yeah, don't bug her directly Jan 19 16:02:55 die, android, die. that's what i feel like right now. Jan 19 16:03:19 i have a viewpager that have 2 page load from 2 url online my page one show perfectly but page 2 dont show and empty Jan 19 16:03:20 RobinJ you mean die html5 and webview die Jan 19 16:03:26 "The Android, the" Jan 19 16:03:32 it's German Jan 19 16:03:34 no, die android die. android's the problem. Jan 19 16:03:48 belgianguy: :) Jan 19 16:03:56 well, that or a PEBCAK problem Jan 19 16:03:56 no one help me in my code ?? Jan 19 16:04:02 those are always hard to solve Jan 19 16:04:05 nope. Jan 19 16:04:30 RobinJ: what are you trying to do? Jan 19 16:04:40 *facepalm* Jan 19 16:04:46 http://stackoverflow.com/questions/14395259/how-can-i-use-notifydatasetchanged-in-this Jan 19 16:04:54 i'm trying to get android to work properly with click events. Jan 19 16:05:54 pencilvania you just call it Jan 19 16:06:08 it's a method on the adapter Jan 19 16:06:51 RobinJ: IMO the WebView is a wrapper around a WebKit browser window Jan 19 16:07:13 it is. in theory. Jan 19 16:07:21 it's only android 3.x being an asshole Jan 19 16:07:56 which is one other thing to add to my list of why android 3.x was the worst android version ever Jan 19 16:08:13 if you've ever used android 3.2, you know it's terrible Jan 19 16:08:59 fortunately, you're pretty much clear to ignore Android 3.X - most other people do - since it's got a tiny userbase Jan 19 16:09:35 it was the tablet only Android, right? Jan 19 16:09:52 This is not really programming related, but I have had problems selecting longer mp3 tunes as ring signals since android 4 Jan 19 16:09:52 and Google TV is a branch of 3.X iirc Jan 19 16:14:16 yeah, 3.X was tablet-only... it was also closed-source until the 4.X source was released Jan 19 16:14:38 yeah I recall some hullaballoo surrounding that Jan 19 16:16:52 Leeds: is this chat logged somewhere? Jan 19 16:16:58 or do you have private logs? Jan 19 16:18:21 belgianguy I would suspect both Jan 19 16:18:25 :) Jan 19 16:20:12 Hi, Im having some problems getting a popup window with multi select list working. My activity java file is: http://pastie.org/5722744 with the helper java being: http://pastie.org/5722750 - My xml for the activity is: http://pastie.org/5722746 with pop_up_window xml being: http://pastie.org/5722749 and drop_down_list_row xml being: http://pastie.org/5722748 Jan 19 16:21:12 AFAIK there are no public logs, but I've got my own... Jan 19 16:28:06 Leeds: good to know :) Jan 19 16:40:38 Anyone here used OpenCV for android? Jan 19 16:48:53 hello dudes. i have a checkable as row for my listview (2.3+) Jan 19 16:49:13 how can i disable some items based on data? Jan 19 16:49:37 hm i think i did it Jan 19 16:49:43 but i want to change the style Jan 19 16:50:11 return something else from getView :) Jan 19 16:51:13 heh Jan 19 16:51:23 i overide isEnabled for adapter Jan 19 16:52:07 /selector> Jan 19 16:52:09 doesnt work Jan 19 16:52:14 makes all items gray Jan 19 17:02:19 hm it seems that android doesnt remember state Jan 19 17:03:14 android doesn't really have a memory though :) Jan 19 17:03:20 unless it's defined Jan 19 17:03:35 by state you mean drawable background ? Jan 19 17:03:52 on one of your items / Jan 19 17:03:53 ? Jan 19 17:04:24 yes Jan 19 17:04:40 well it only does what the getView does Jan 19 17:04:41 android:state_enabled="false" makes everything this color even enabled Jan 19 17:05:00 i had to set android:state_enabled="true" to work correctly Jan 19 17:05:07 i mean both Jan 19 17:05:21 your setting xml attribs ? Jan 19 17:05:40 what do you mean ? Jan 19 17:05:53 what is it your wanting to do ? Jan 19 17:06:01 rather than how your attempting to do it Jan 19 17:06:32 i want some items in my ListView to be disabled Jan 19 17:06:37 and their background to change Jan 19 17:06:55 disabled ? Jan 19 17:07:07 yes Jan 19 17:07:18 and what would be the result of disabling them ? Jan 19 17:07:23 not clickable ? Jan 19 17:08:14 if you just want them not clickable, dont do anything with them onItemClicked Jan 19 17:08:18 yes not selectable Jan 19 17:08:28 they are checkable Jan 19 17:09:00 you have a list view that has checkboxes ? Jan 19 17:09:35 why not handle the checkbox state in onItemClicked Jan 19 17:09:40 then you have full control Jan 19 17:09:54 and also in getView Jan 19 17:10:46 i created a custom relative layout that is checkable.Because having checkbox is ultra-retarted Jan 19 17:11:09 initialy i had one and the ios developer and all the guys were making fun of me and android Jan 19 17:11:25 for hours Jan 19 17:11:44 i think i fixed it Jan 19 17:19:21 Have any of you made android apps using c++? Jan 19 17:47:37 Guys, Is it possible that when i Try to Parse JSON through JAVA and php to get data from databases, it doesnt work BUT when you just simply try mysql_connect command with some query that gets data from db it works fine Jan 19 17:51:06 DOSP php code ? Jan 19 17:51:11 pastebin ? Jan 19 17:51:17 can it be private ? Jan 19 17:51:20 cause I do exactly the same Jan 19 17:51:30 private ? Jan 19 17:53:49 wow Jan 19 17:53:51 fucking useless Jan 19 17:53:55 is romainguy the person I think he is? Jan 19 17:55:25 Depends who you think he is Jan 19 18:01:32 SimonVT: http://www.curious-creature.org/ this guy? Jan 19 18:03:30 finally figured out how to "symbolicate" an android crash dump in logcat (for ndk) Jan 19 18:03:47 which means i finally stumbled on the right search terms to put into google Jan 19 18:05:10 Yep, that guy Jan 19 18:06:42 he did the 2009 or something google io talk on listview Jan 19 18:12:43 my mediaplayer always plays the same song, even when i am passing the file descriptor to what should be a different song to MediaPlayer.setDataSource(). why is this happening? Jan 19 19:24:17 hello, is there a chat room for AOSP building/porting? Jan 19 19:33:44 Haia there. I'm using the SwipeyTabs library for nice swipey tabs, but I noticed a red line under the tab names, which are in Dutch. I guess this line has something to do with spelling errors or anything? Does anybody know how I can resolve this issue? Jan 19 19:34:03 hello every body i am having a problem using gdbserver to debug shared library Jan 19 19:34:04 http://stackoverflow.com/questions/14417895/cannot-access-memory-at-address-0x1-after-setting-up-gdb-and-eclipse-to-debug-sh Jan 19 19:34:31 hello guys Jan 19 19:34:36 if i have a flag with or Jan 19 19:34:38 how to remove it? Jan 19 19:41:00 Hi guys, can you please tell me why after i wat to debbug my app, i dont see anything in debug windoows although a have debugger attached Jan 19 19:43:38 project set to debug enabled ? Jan 19 19:46:06 where do i set it ? everything i found about debugging i ave enabled or allow and nothign happens Jan 19 19:46:41 manifest Jan 19 19:47:57 aaah, yea, i was repairing project and forgot about that :) Jan 19 19:47:59 thanks Jan 19 19:54:17 hello, can anyone help me with a building problem? Jan 19 19:54:36 i don't like the fact that i always have to compile the external libraries if i don't change anything about them Jan 19 19:54:39 Have an of you programmed in c++ for the android platform? Jan 19 19:54:57 can i somehow compile them once, then just replace them with binaries? Jan 19 19:56:19 StringRay even after enabling in Manifest it wont whows me anything in debug windows, Whats wrong? Jan 19 19:59:34 hello guys Jan 19 19:59:45 is there any workaround because checkedItems.size() returns wrong size Jan 19 20:00:01 if it is called second time works Jan 19 20:01:07 "As processors and memory get exponentially smaller and smaller, the cell phone will swallow up every device in the home. By 2020 you won't even need a separate computer or laptop. By 2040 cell phones will be in charge of the planet, and our job will just be to tote them around from place to place so they can have meetings with each other." Jan 19 20:01:12 lol'd Jan 19 20:02:13 ok... Jan 19 20:02:40 wow you need a fucking postdoc to run an app consistently under eclipse. Jan 19 20:02:40 pragma-: so far sounds logical :) Jan 19 20:06:52 Could anyone help me for with this issue? http://stackoverflow.com/questions/14418173/red-line-underneath-tab-name Jan 19 20:09:10 kampernoelie Jan 19 20:12:11 xorgate: hm? Jan 19 20:12:23 Yes, kampernoelieroomsoep. Jan 19 20:15:03 Is there a way to get the correct checked item size? Jan 19 20:18:43 What a vague question Jan 19 20:19:21 It's a vague glitch too if you ask me :P Jan 19 20:20:25 Yours too Jan 19 20:20:45 : D Jan 19 20:20:47 "I use swipey tabs, there's a red line, here's some pictures" Jan 19 20:20:55 Yeah well... Jan 19 20:20:58 What should I add more? :P Jan 19 20:21:21 There is no code that 'sets' the title, that all belongs to swipehtabz. Jan 19 20:21:49 So with no code at all it adds titles Jan 19 20:22:03 Indeed. Jan 19 20:22:04 Well, no. Jan 19 20:22:07 Amazing Jan 19 20:22:44 SimonVT: doesn't your sliding drawer library automatically populate the menu items ? Jan 19 20:22:54 no setup required, right? Jan 19 20:23:27 What g00s said. Jan 19 20:23:35 Yep, you just add it as a dependency, and it injects itself into all your activities, finds your fragments, and adds a menu item Jan 19 20:23:45 thats awesome Jan 19 20:24:11 Ah, I found it: Jan 19 20:24:36 public TextView getTab() { Jan 19 20:24:36 TextView title = (TextView) LayoutInflater.from(context).inflate(R.layout.tab_indicator, layout, false); Jan 19 20:24:40 title.setText(getStringFromCalendar(date)); Jan 19 20:24:42 return title; Jan 19 20:24:45 } Jan 19 20:26:18 guys I have question. When an APK installs do files get unzipped and placed somewhere? Jan 19 20:26:40 because I have an application that can ready assets fine (when there's few of them) Jan 19 20:26:56 but can't when there's a lot of them and the APK is 680 megs Jan 19 20:27:00 (very large game) Jan 19 20:27:30 ah, SimonVT, managed to fix it :) Jan 19 20:27:31 also need to note, I've forced the assets to not be zipped because I read them from JNI Jan 19 20:27:43 I had to add this: title.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS); Jan 19 20:27:47 weirdly enough. Jan 19 20:28:07 Silox|, what are you dealing with? Soft keyboard? Jan 19 20:28:14 That sounds more like an edittext than a textview Jan 19 20:28:29 SimonVT: Yeah but ... it fixes it. :P Jan 19 20:28:40 Silox|, make sure to try several tablets phones Jan 19 20:28:46 barque: Nah, dealing with http://stackoverflow.com/questions/14418173/red-line-underneath-tab-name Jan 19 20:28:54 I've seen code that works on Samsung Galaxy 10.1 but doesn't on Galaxy 2 7.0 Jan 19 20:28:57 (edittext is basically just a styled textview.. maybe you messed up your theming) Jan 19 20:29:12 There is no theming ... Only the textview. Jan 19 20:29:48 oh wait there is Jan 19 20:30:55 but still, there is no inputtype in the theming... Jan 19 20:32:23 hi guys Jan 19 20:32:42 i'm searching good tutorial/documentation for sqllite best pratice Jan 19 20:32:44 usage Jan 19 20:33:35 that's way too vague Jan 19 20:33:37 what are you trying to do Jan 19 20:34:30 i want to have db layer in app, but without memory leaks and usless memory usage but still with good performance Jan 19 20:35:29 "without memory leaks"? Jan 19 20:35:34 i dont even know how you'd leak memory with a database Jan 19 20:35:47 open handels to db Jan 19 20:35:58 or static objects with db elements Jan 19 20:35:59 Close them after each query? Jan 19 20:36:16 an open handle is not a "lot" of memory Jan 19 20:36:16 so anyone still able to tell me about APKs unwrapping? Jan 19 20:36:27 and so dont keep around static objects Jan 19 20:36:30 when you install are APKs just placed over the FS for easy access or something? Jan 19 20:36:33 can you mod *any* android app for your phone? Jan 19 20:36:51 so, this channel is about app development, using the sdk Jan 19 20:37:00 not modifying existing applications Jan 19 20:37:16 canadiancow: well i was trying to find some documents about good/bad solutions Jan 19 20:37:19 apks are put in data/app/ Jan 19 20:37:35 the entire APK? Jan 19 20:37:39 or is it unzipped? Jan 19 20:37:39 Yes Jan 19 20:37:43 No Jan 19 20:37:55 I see, so fetching from assets is just reading from the APK Jan 19 20:38:06 Yep Jan 19 20:38:26 funny, should very large APKs (like 680 megs) have trouble reading assets? Jan 19 20:38:42 Well, apk's distributed through play store can't be larger than 50 MB Jan 19 20:38:46 So that's not really an issue Jan 19 20:38:48 no installed from device Jan 19 20:39:03 I develop on PC, use USB Jan 19 20:39:05 to put on device Jan 19 20:39:28 a lot of assets (images, videos etc.) Jan 19 20:39:32 it's a very large game Jan 19 20:39:45 and the publisher has its own method of distribution Jan 19 20:39:51 (for future) Jan 19 20:40:05 why dont they use apk expansion files Jan 19 20:40:09 which would thenw ork in the play store Jan 19 20:40:14 hi all, what's the best calendar for work on android? thanks Jan 19 20:40:17 APK expansion files? Jan 19 20:40:28 lmgtfy Jan 19 20:40:30 which's free one of course Jan 19 20:40:33 winsen, Google Calendar Jan 19 20:41:00 thanks, appart of google calendar? Jan 19 20:41:31 so you want to know the best calendar, aside from the best calendar? Jan 19 20:41:35 i dont know, because i only use the bestr Jan 19 20:41:55 but if you use the bestr, there must be a bestest right ? Jan 19 20:42:02 sigh Jan 19 20:42:09 but if I placed a very large APK through USB, should that still have an issue with loading assets? Jan 19 20:42:31 and if I used APK expansion files can I still load the contents as 'resources'? Jan 19 20:42:32 i dont know Jan 19 20:42:41 why dont you go read all about them Jan 19 20:42:43 e.g. using them through JNI Jan 19 20:42:46 then you can decide if they will work for you Jan 19 20:43:50 SERIOUSLY? ANDROID? When I load a date with a locale, and turn my screen, the locale vanishes and the date is english again. Jan 19 20:44:11 canadiancow: do you mean appart of google, there's no other good calendar? Jan 19 20:44:18 no Jan 19 20:44:20 i mean google is the best Jan 19 20:44:25 so why would i have ever used anything else Jan 19 20:44:58 I'd like to change it from GC to another one Jan 19 20:51:14 canadiancow not that you want to know, but my db service is starting to work now, I understand a bit more Jan 19 20:51:41 if you don't think i want to know something, why are you telling me :P Jan 19 20:52:18 cause there was "me thinking you didnt want to know" then there was this override that was "I want to tell you" Jan 19 20:52:29 comes down to values, mine was greater Jan 19 20:52:31 :) Jan 19 20:52:35 lol Jan 19 20:53:03 You should pm him daily updates on your progress Jan 19 20:54:14 it's not a persistent value Jan 19 20:54:18 it diminishes Jan 19 20:54:23 like now it's gone Jan 19 20:54:38 SimonVT T_T Jan 19 20:54:43 :D Jan 19 20:55:57 is the /sdcard/Download thing? Jan 19 21:09:18 Guys, please would you be so kind and tell me why after parsing i have this error ? Value
    cause you have " yea :D i know i just am so happy about the error i posted it here :D just quick fix Jan 19 21:20:42 Ok this is interesting Jan 19 21:20:49 I really would appreciate some help on this now Jan 19 21:21:03 I'm using AAssetManager *mgr; in NDK Jan 19 21:21:09 and using assets Jan 19 21:21:20 in Java using getAssets() Jan 19 21:21:37 basically I'm passing what I'm getting in Java with getAssets() back to native and storing it in *mgr Jan 19 21:21:44 How do I do this with APK expansion files? Jan 19 21:24:04 barque: have you read http://developer.android.com/google/play/expansion-files.html ? Jan 19 21:24:07 It's just a file on the external storage Jan 19 21:24:15 Get a path, pass it to native Jan 19 21:24:32 timroes, yes I have Jan 19 21:24:34 Do whatever it is you do with the filetype it is Jan 19 21:24:48 I see.... so it'll simply be a file there to be read Jan 19 21:24:58 I get no help whatsoever? Jan 19 21:25:02 as in Jan 19 21:25:05 NDK help Jan 19 21:25:09 It's kinda pointless if you're not distributing through play store Jan 19 21:25:20 basically the publisher will... Jan 19 21:25:39 so I'm guessing there will be downloading and storing of APK expansion files Jan 19 21:25:47 now it's a question of accessing it in C++ Jan 19 21:25:49 You said earlier they had their own method of distributing Jan 19 21:25:59 it *most* likely will be that Jan 19 21:26:15 given that they will (most probably) use the Google Play Store to do it Jan 19 21:26:47 Well, you need to figure out which it is Jan 19 21:26:55 Reading up on apk expansion files is pointless if it's not play store Jan 19 21:27:07 Coding your own downloading stuff is pointless if it is Jan 19 21:27:07 mhm Jan 19 21:27:09 holly shit Jan 19 21:27:13 Either way, you end up with a file on the sd card Jan 19 21:27:21 no it probably won't be my own download stuff Jan 19 21:27:38 and yeah it will probably be play store Jan 19 21:27:39 How you read it really depends on what type of file you choose Jan 19 21:27:47 they're already putting the current stuff on play store Jan 19 21:27:52 I see... I see... Jan 19 21:27:55 If it's a zip file, I'm sure there's some ready made zip reading code somewhere on google Jan 19 21:28:14 Ok , I see.... Jan 19 21:28:26 it's basically my file to do whatever I want Jan 19 21:28:37 maybe anything under the sun Jan 19 21:28:43 Yep Jan 19 21:28:49 ok , great. Thank you. Jan 19 21:31:28 is there a reliable way to get checked items ? Jan 19 21:31:37 i cant figure out how so many hours Jan 19 21:37:14 Hello, where can i see if my device(virtual device) supports OpenGL2.0SE ? or where can i change that? Jan 19 21:38:01 v1c3: http://stackoverflow.com/questions/9198293/is-there-a-way-to-check-if-android-device-supports-opengl-es-2-0 Jan 19 21:38:11 but you could also just check for you device name online Jan 19 21:39:56 timroes: I'll checkt the link, thanks. its a virtual device, only for testing. i get a "minimum requirements not fulfilled" message. Jan 19 21:41:23 v1c3: i think when you mke your AVD you need to enable gpu emulation (via SO) Jan 19 21:45:39 g00s: there is only an option for "use host gpu". I don't find "enable gpu emulation". Jan 19 21:49:23 v1c3: thats it :) Jan 19 21:49:37 you are using the intel image I guess, if it's labeled like that Jan 19 21:51:46 im from linux, so plz bear with me. how doyou query something like uptime or simple stats like cpu usage or load? is there a cli interface where i can run various commands and pipe stuff? Jan 19 21:53:14 wow can adroid.jar be ANY more inconvenient to try to learn off of? Jan 19 21:54:42 Why are you trying to learn from android.jar Jan 19 21:54:51 Are there any war stories trying to get c++ to work? Jan 19 21:55:03 SimonVT: i am open to your sage advice. Jan 19 21:55:08 I modied the xml file. Jan 19 21:55:10 azizLIGHTS: `adb shell uptime` ? Jan 19 21:55:17 or in general `adb shell` Jan 19 21:55:21 But I want 0 xml and c++ ability in future attempts. Jan 19 21:55:27 if thats at all possible. Jan 19 21:57:36 JohnnyL: android is not a pure c++ environment, so if you wish to code pure C++ and see no xml or java, you might want to try another platform :) Jan 19 21:58:06 timroes: not even the NDK? What's not 'pure' about it? Jan 19 21:58:20 i want to develop games and need the speed. Jan 19 21:58:29 timroes: i see. thamks. Jan 19 21:58:30 "i have the need for speed!" Jan 19 21:58:31 :) Jan 19 21:59:33 JohnnyL: if you really think c++ always faster then java, you should really get your head up to date Jan 19 21:59:55 *(ofc there are cases C++ is faster, but also the other way around, especaially if it comes to object orientation) Jan 19 22:00:03 interpreted over asm level? Jan 19 22:00:21 just in time compiling, can give you speed advantage over static compilation? Jan 19 22:00:25 say i wanted to query gps coords, cell tower info every 30 seconds and record this all to a txt file, how would i dp this Jan 19 22:00:28 anyway, I want to convert doom bfg source to android. Jan 19 22:00:28 because it can better predict your behavior Jan 19 22:00:35 in theory Jan 19 22:00:48 this depends a lot of the JIT in question Jan 19 22:00:51 that would be a reason you want to use only c++ :) Jan 19 22:01:06 timroes: is it possible> Jan 19 22:01:07 if you need control and want to do AAA level games use C++ Jan 19 22:01:07 ? Jan 19 22:01:12 there is no debate here Jan 19 22:01:26 TheBunny: yeah, and also a lot on the C++ compiler :) but i've worked a lot about that topic in university groups, and its funny how ppl still think c++ outruns java every single time Jan 19 22:01:43 Or you can use Unity etc and save yourself a lot of pain and still have good speed and Garbage collection in a Java like language Jan 19 22:01:50 what do you guys recommend for porting the doom3 bfg source? Jan 19 22:01:55 Nah unity is lock in. Jan 19 22:02:29 timroes: Im a big supporter of modern jits etc just NOT for game dev. But I don't consider Java slow on the server etc Jan 19 22:03:02 what do you mean buy recommend for porting? Jan 19 22:03:18 TheBunny: definately you want to use it for AAA tiles Jan 19 22:03:22 Its light C++ code, so you need the NDK and new GL / shaders etc Jan 19 22:03:30 i just don't like AAA tiles in general :) Jan 19 22:03:34 :D Jan 19 22:03:43 last one was assassins creed i played i guess Jan 19 22:04:01 funny I generally don't like indy or most of the current gen of mobile titles. Jan 19 22:04:10 assassins creed 1? Jan 19 22:04:12 but honestly, i can only name one AAA title since 2000 that had a real inovative gameplay and really madee new fun to me Jan 19 22:04:16 thats a pretty long time ago Jan 19 22:04:16 and that was portal Jan 19 22:04:23 ah no AC brotherhood actually :D Jan 19 22:04:47 play what you like :) Jan 19 22:05:06 I like shiny production values,, and don't mind my games being over in 8 hours ;) Jan 19 22:05:28 yeah and we know that AAA titles are famous for gameplay longer then 8 hours ;) Jan 19 22:05:50 but anyway you wouldn;t be able to code AC in java Jan 19 22:05:57 or if, you would need a realy fast computer Jan 19 22:06:55 but also I would think that you don't want to code AAA titles for android, what makes it in my opinion pretty much okay, its primary focused on java and xml Jan 19 22:08:04 was the DOOM BFG code out out? Jan 19 22:08:09 I know doom 3 was Jan 19 22:08:23 but we just published the BFG addition before xmas... Jan 19 22:08:32 I assume it is not out Jan 19 22:11:16 ? Jan 19 22:11:35 TheBunny: you work for id? Jan 19 22:12:08 TheBunny: with ndk you can work in 'pure' c++? Jan 19 22:12:20 no ZOS.. but ZMI owns us all…. id, ZeniMaxonline etc Jan 19 22:12:29 ah ok Jan 19 22:12:47 Last time I used the NDK you still needed some Java on top for events and basic window set up etc Jan 19 22:12:55 same as you would on IOS with ObjC Jan 19 22:13:00 but its not much Jan 19 22:13:27 Im not sure if the newer OS versions let you do more in pure C land… rumor was they did... Jan 19 22:14:02 pretty sure you can do pure native apps - haven't tried myself but the nvidia dev kit has a NativeActivity example. Jan 19 22:15:13 JohnnyL: http://www.phoronix.com/scan.php?page=news_item&px=MTE0MTc Jan 19 22:15:18 So dooms been ported Jan 19 22:15:33 most of teh codes online, not sure if the android parts are yet Jan 19 22:15:43 but if thats what you want to work with you can go off that Jan 19 22:16:22 I started with the nvidia dev kit,,, it has a nice all in one installer for IDE/ Java/ NDK etc Jan 19 22:16:39 and debugger for both working Jan 19 22:22:00 TheBunny: interesting. Jan 19 22:22:21 actually I may not be able to do that project since I've been having major account problems and support with steam. Jan 19 22:22:34 when I start writing games I'm going to write my own Steam like service. Jan 19 22:22:39 they are so aweful. Jan 19 22:23:52 GOOD LUCK WITH THAT Jan 19 22:24:08 :D Jan 19 22:24:35 you could make your own matching service that kind of things is bot horrible these days… anyhow Jan 19 22:25:03 JohnnyL: go code somthing already... Jan 19 22:26:58 well Jan 19 22:27:07 i'd like to query you about ndk. Jan 19 22:27:26 is c++ possible with the ndk?(i mean ansi level.) Jan 19 22:27:39 at least the late 90s version. Jan 19 22:28:38 i didn't want to write pc version and then javaify it. Jan 19 22:28:44 ndk allows you to use C++ code, yes - have you looked at the examples and documentation? Jan 19 22:29:08 tm604: it's confusing and the sample i tried didn't work. the documentation didn't match the menus. Jan 19 22:29:17 i got adt to work fine. Jan 19 22:29:24 modifying hellow world works. Jan 19 22:29:33 opps Jan 19 22:29:35 sorry Jan 19 22:29:39 I mean Hello World! Jan 19 22:29:46 I am new to all this. Jan 19 22:29:48 except c++. Jan 19 22:30:31 what's confusing about it? and which menus are you talking about, is this something in Eclipse or the Android example application(s)? Jan 19 22:32:14 file/ new project Jan 19 22:32:44 the first part of the documentation for the ndk. Jan 19 22:32:52 it doesn't match Eclipse. Jan 19 22:33:42 ndk-build works. thats as far as I got. Jan 19 22:34:37 So what do you have instead? File/New, for example? if you're having difficulty finding out how to create a new project in Eclipse then working with the ndk might be a challenge :( Jan 19 22:35:09 give me 15 minutes. have to set this shit up to tell you the dets. Jan 19 22:35:21 working around and in Eclipse is slow and cumbersome. Jan 19 22:35:23 but if the docs don't match your version of eclipse, maybe raise that as an issue so it gets updated (or use the eclipse version they recommend instead). Jan 19 22:35:46 You can skip eclipse completely and just build with ant, take a copy of the example and modify that to get started. Jan 19 22:37:22 shame these fucking cygwin tools don't work in w8. Jan 19 22:37:28 excuse my french. Jan 19 22:37:34 i do have ant Jan 19 22:37:40 I'd rather go commandline in fact. Jan 19 22:37:55 can you point me to the right page? Jan 19 22:38:05 right page for what? using ant? Jan 19 22:38:24 no for building and running android apps written in c++. Jan 19 22:38:44 http://developer.android.com/tools/sdk/ndk/overview.html Jan 19 22:39:11 ant -> build.xml doesn't exist! Jan 19 22:39:25 Did you read the section that says "On the command line"? Jan 19 22:39:39 Where it has "Run the following command to generate a build.xml file"? Jan 19 22:39:41 yeah thats the page i used. Jan 19 22:39:56 hm no Jan 19 22:42:39 when it says 'android' at the cmdline. do they mean the SDK manager? Jan 19 22:42:44 android.bat? Jan 19 22:44:26 tools/android, never used the windows version of the SDK but it's the same android tool that's used everywhere else. Have you never created/updated an android project from the commandline? Jan 19 22:44:41 If not, better to start with the regular Java stuff to get familiar with it, I reckon. Jan 19 22:45:01 Diving straight into the NDK might not be a good idea. Jan 19 22:46:10 tm604: ok, adding tools to the path atm. Jan 19 22:46:34 i'm new so no, ndk-build was the only commandline. Jan 19 22:46:38 just installed ant last night. Jan 19 22:47:06 thought instructions for that were part of the general "getting started" steps, again I don't use windows so maybe that's not the case. Jan 19 22:50:53 well the ndk fails because there no radio button after you select file new project. Jan 19 22:51:12 so you're back in Eclipse now? Jan 19 22:51:18 nope Jan 19 22:51:24 i'm still fucking with my path Jan 19 22:51:34 so where's this "file new project"? Jan 19 22:51:34 brilliant process Jan 19 22:51:41 never knew this couldn't of been automated. Jan 19 22:52:12 1 b. ....ct the Create project from existing source radio button. Jan 19 22:52:17 that shit don't exist. Jan 19 22:56:20 s\hello-jni>android update project -p . -s Jan 19 22:56:22 Error: The project either has no target set or the target is invalid. Jan 19 22:56:24 wtf? Jan 19 23:00:00 ah Jan 19 23:00:02 fixed it. Jan 19 23:00:18 made a guess and it actually worked (now I expect a response from the room) Jan 19 23:02:29 ok, now where is the magic and missing bin directory? Jan 19 23:02:35 JohnnyL: you need to give a valid --target Jan 19 23:02:59 clever: didn' you just read what I wrote? Jan 19 23:03:09 cleveer: your a day late and a dollar short. Jan 19 23:03:25 (now I expect a response from the room) Jan 19 23:03:31 was answering because you said that :P Jan 19 23:03:40 ah ok Jan 19 23:03:42 nope Jan 19 23:03:55 i gather I should of used more emoticons. :) Jan 19 23:04:01 now for the missing bin dir!!! Jan 19 23:05:12 no idea why it would be missing Jan 19 23:07:53 ant debug made it Jan 19 23:08:00 but doesn't wnat me to use debug Jan 19 23:08:06 now i'm just missing the .apk file. Jan 19 23:08:15 (i had tried only ant with 'debug' prior) Jan 19 23:09:30 looks like i need JAVA_HOME Jan 19 23:14:17 there so far so good Jan 19 23:14:28 (it's actually working the compile now) Jan 19 23:16:45 yes it works on the virtual kit! Jan 19 23:16:47 HAHA! Jan 19 23:16:52 Now how compliant is this C++? Jan 19 23:24:39 I'm following the In-App-Billin 3 instructions on android.com, and I'm trying to figure out how to get a list of available products. The instructions only explain how to query for products by giving specific SKUs. What if I don't know the SKU #s for brand new products? Jan 19 23:25:34 iirc at least before that wasn't possible at all, no idea if that's changed... and really it's just stupid Jan 19 23:25:49 a lot has changed in IAB3, so I hope it's possible Jan 19 23:25:58 I would hope so too Jan 19 23:26:21 Zharf what about all those developers who added products to their online inventory? Did they have to release updates to their app every time their inventory was updated? Jan 19 23:26:40 so as to get info for new SKUs Jan 19 23:26:52 do you have to manually uninstall from the virtual device everytime? Jan 19 23:27:03 there has to be a commandline opt for this Jan 19 23:27:58 got it Jan 19 23:28:14 failure!!!!!!!!!!!!!!!!! Jan 19 23:29:28 hello guys Jan 19 23:29:33 what is a good dp height to use? Jan 19 23:31:16 I guess I shouldn't of expected to work. coming from the xml java apache spring world. Jan 19 23:32:24 Parhs: You're seriously bad at asking questions Jan 19 23:34:39 I hate dual booting but I like linux for development. Is it possible to do usb debugging through Virtualbox? Jan 19 23:35:02 Windows host, Linux guest (eclipse inside linux) Jan 19 23:35:07 manually removing from device works. Jan 19 23:35:19 but ant debug doesn't make a new version of the .c file. Jan 19 23:35:25 wtf? Jan 19 23:35:26 something tells me that there will be issues with usb Jan 19 23:35:28 pass the weed Jan 19 23:35:46 if you have a rooted device, wireless adb may be a more reliable option. Jan 19 23:36:11 ah Jan 19 23:36:15 have to ndk-build Jan 19 23:37:00 hip2p, I guess so Jan 19 23:39:00 yes! Jan 19 23:39:01 haha! Jan 19 23:39:06 (magical genius laughter!) Jan 19 23:39:28 okay, the ndk guys have to work on uninstall. it's bugged out. Jan 19 23:39:40 tm604, your comment was for me? Jan 19 23:39:49 RustyShackleford: yep Jan 19 23:39:55 i didn't know you could do that Jan 19 23:40:02 but you need root Jan 19 23:40:16 far as I'm aware, yes. Jan 19 23:40:28 just curious, what OS do you guys develop on? Jan 19 23:41:15 Java based app development: Failure! Jan 19 23:41:24 how difficult is NDK on windows? Jan 19 23:42:05 RustyShackleford: it's easy. Jan 19 23:42:13 toolchain and commands are the same on all platforms, I think? at a guess, you'll find people developing on Windows, Linux and OSX at least, possibly others. Jan 19 23:42:27 THE ONLY TWO THINGS IS, the documentation leaves out the -t commandline which is necessary. Jan 19 23:42:34 and uninstall using adb doesn't work. Jan 19 23:42:55 otherwise, make sure JAVA_HOME is setup up and you have 4 paths set up correctly. Jan 19 23:43:31 uninstall using adb works fine Jan 19 23:44:29 I get the impression from Freenode that everyone uses linux Jan 19 23:44:59 it could be selection bias :) Jan 19 23:45:05 I've met maybe 5 people in my CS classes using linux Jan 19 23:45:29 irc is one of the few forms of entertainment that actually works in lunux Jan 19 23:45:36 forget about a/v ;) Jan 19 23:46:15 hey, I can play .au files *and* realvideo on my linux setup, thank you very much =) Jan 19 23:46:29 freenode was formed by linux hackers for the support of free software, yeah, it makes sense Jan 19 23:46:53 hey, i did music production on linux for years. it's all there, if you feel like fiddling with it. Jan 19 23:47:01 yeah, IRC in general has been tanking - except for freenode (because of how it is used on open source projects) Jan 19 23:47:11 twitter has taken a lot of that Jan 19 23:47:29 and now stuff like kik, lots of group chat apps Jan 19 23:47:32 what ever happened to AIM? Jan 19 23:47:41 i'm about the only person that uses it anymore Jan 19 23:47:56 RustyShackleford: do you talk to yourself then :D Jan 19 23:48:05 i still have an unused aim and yim account around somewhere Jan 19 23:48:21 Hello guys. Where should i handle errors Jan 19 23:48:26 of network calls? Jan 19 23:48:26 and gtalk and jabber.org, etc. soemetimes comes in handy for work. Jan 19 23:53:41 i guess in usability testing, people are still having trouble with back being overloaded command - mainly when at the main / top level screen (and going back to the launcher) Jan 20 00:08:44 SimonVT: nah man, it's failure. it's probably a configuration. Jan 20 00:24:38 I'm following the In-App-Billin 3 instructions on android.com, and I'm trying to figure out how to get a list of available products. The instructions only explain how to query for products by giving specific SKUs. What if I don't know the SKU #s for brand new products? Jan 20 00:39:04 also, how do apps like ebay and amazon get away with selling products without being required to use in-app-billing? Jan 20 00:40:36 Because the terms doesn't require them to use in-app billing Jan 20 00:41:13 are they exempt for some particular reason? Jan 20 00:42:53 perhaps I'm not reading the terms correctly. They say, "All fees received by Developers for Products distributed via the Market must be processed by the Market's Payment Processor." I guess as long as you don't use the market to transfer a product to a user, you don't have to use their billing? Jan 20 00:43:37 Exactly Jan 20 00:43:57 Or well, it's rather Jan 20 00:44:17 If the product can only be used in your app, you have to use in-app billing Jan 20 00:44:55 amazon can sell books for its kindle app without using in-app-billing Jan 20 00:45:41 is that argument that you can't "only" use those books in the app? Jan 20 00:45:42 I can read kindle books on my pc Jan 20 00:46:57 ok then let's say I have a virtual currency (credits) in my app. People send me money to acquire credits. Now, they can also use these credits on my website outside of the app. Does that mean I don't have to use in-app-billing to handle these transactions? Jan 20 00:49:24 In-app purchases: Developers offering additional content, services or functionality within an application downloaded from Google Play must use Google Play's payment system as the method of payment, except: Jan 20 00:49:24 where payment is primarily for physical goods or services (e.g. buying movie tickets; e.g. buying a publication where the price also includes a hard copy subscription); or Jan 20 00:49:24 where payment is for digital content or goods that may be consumed outside of the application itself (e.g. buying songs that can be played on other music players) Jan 20 00:49:34 These are the terms, ask your lawyer if that applies to you Jan 20 00:50:30 is it by default to view httpurlconnection data at logcat? Jan 20 00:50:39 thank you, SimonVT. Where did you find that? Jan 20 00:50:55 http://play.google.com/intl/en/about/developer-content-policy.html Jan 20 00:50:58 thanks Jan 20 01:01:01 Can someone tell me if the docs are included with the SDKS? Or do you need to go online? Jan 20 01:04:28 They're included in the sdk under /docs Jan 20 01:09:02 SimonVT: can I use maven to get any of your libraries as a dependency? Jan 20 01:09:55 Only menudrawer Jan 20 01:10:48 bummer Jan 20 01:12:03 interesting Jan 20 01:12:12 I don't use maven myself, Jake set it up Jan 20 01:12:28 And I don't actually use any of the other libraries, dropped the project.. So don't expect a lot to happen :p Jan 20 01:13:10 Oh ok I just hopped on the maven bandwagon so that's why I asked Jan 20 01:14:17 I believe you should be able to pull the projects, create a pom, install it to your local repo, and reference them in your projects Jan 20 01:14:24 Don't ask me how that works tho Jan 20 01:15:15 dberg: great thanks. Jan 20 01:15:59 Ah that's pretty cool. I'll look into that Jan 20 01:16:32 SimonVT: you dropped the menu drawer project ? Jan 20 01:16:48 No, my other libraries Jan 20 01:16:52 ah, ok Jan 20 01:17:09 They were for an app I was making.. Which I dropped Jan 20 01:18:13 With the Android sources can you even change the OS? Jan 20 01:19:56 no, the invisible aether prevents your fingers from hitting the keyboard if you try to do so Jan 20 01:22:17 Anyone else recently switch to intellij? Jan 20 01:22:34 I switched in 2008 ;) Jan 20 01:22:49 Not recently Jan 20 01:23:07 haha wow Jan 20 01:23:29 i dunno i tried but there was always some issue now it finally works Jan 20 01:24:42 there a firewall on Android apps? Jan 20 01:25:37 i mean for each Android phone connected to the internet. Jan 20 01:26:14 Maven is handled so well in intellij Jan 20 01:26:23 Just open the pom and everything is set up Jan 20 01:26:44 Makes me want to use it (maven) Jan 20 01:27:30 i'm interested to see what the new grade build system looks like Jan 20 01:27:37 haven't had a chance to investigate yet Jan 20 01:28:20 Yeah it's awesome. That's why I asked about your libraries **** ENDING LOGGING AT Sun Jan 20 02:59:58 2013