**** BEGIN LOGGING AT Fri Apr 12 02:59:58 2013 Apr 12 03:11:08 If I want to use AdapterView inside a ScrollView, I have to put a LinearLayout in between, why? Apr 12 03:45:17 Update to a question I asked earlier. Apr 12 03:45:24 I have a native application. Apr 12 03:45:30 Running OpenGL. Apr 12 03:45:39 I see nothing but clear color. Apr 12 03:46:22 If I hit the button for the app switcher, instead of getting the app switcher I watch the opengl view apparently peel away, and I get another view with some of the stuff I drew. Apr 12 03:46:33 If I hit the switcher button again I get the app switcher. Apr 12 03:46:44 Which seems like madness. Apr 12 03:46:52 Any idea what I've done here? Apr 12 05:14:27 hi, i can't use adb to access my grouper running 4.2.2 because i need adb 1.0.31. i downloaded the latest sdk (from 2013/02/19) and it still has adb 1.0.29, which won't work. where do i get 1.0.31? Apr 12 05:15:49 nvm, my bad it was getting the system copy Apr 12 05:19:05 is there an event when a fragment is popped back onto the stack ? like when pressing back? Apr 12 05:31:45 does anyone know how to get the position of a tab when using FragmentPagerAdapter? Apr 12 05:31:46 that would be off, not on Apr 12 05:31:56 and you can add a listener on the fragment manager for fragment pops Apr 12 05:32:08 hey, how can i turn these useless PRODUCT_COPY_FILES ignored messages off? See here https://p.6core.net/p/NkHCyNvt5AQMaoEbXG1fVZ7H . I have my own code under AOSP tree and after . build/envsetup.sh and lunch_maguro-eng in AOSP I can build with mm in my project. Build works fine but I get a lot of PRODUCT_COPY_FILES ignored messages, how can I turn these off? Apr 12 05:32:37 My code has nothing to do with those files, I have no idea why they show up Apr 12 05:34:35 or a quick tip on how to update a fragment in a tab Apr 12 05:37:35 hey i noticed that the android sdk jar file has packages with java.io.... are those the standard java.io classes rewritten specifically for android? Apr 12 05:37:54 erdos: yes. they're adapter from Apache Harmony Apr 12 05:37:58 *adapted Apr 12 05:38:09 ah cool thanks! Apr 12 05:41:36 If I am manually setting up a UI view, how do I force it to be centered? Apr 12 05:46:40 Have a relative layout as the parent, have the child view with centerInParent=true Apr 12 05:48:27 hi, I created a live wallpaper, but after installing the app, I don't see it anywhere. Its not in the devices App Management list, and its not in the Wallpaper list either (long tap home screen one). Does anyone know how your suppose to install it ? Apr 12 05:48:43 by installing the app i mean installing the apk Apr 12 05:51:09 mobydev: you have to register an activity to receive the intent for ACTION_SET_WALLPAPER I believe Apr 12 05:56:57 My activity goes "class MyWallpaper extends WallBase" . This is an older but functioning project that I dug back into to check something. But for the life of me, I can't remember how to install the damn thing. Apr 12 05:57:23 I remember I had trouble then too, but figured out how to do it. Forgot though... Apr 12 06:02:50 new developer console: "An unexpected error occurred. Please try again later." Apr 12 06:02:55 all... the... time... Apr 12 06:04:11 I can't tell if I'm updating recent changes for the previous version or the next version of the apk, either. Apr 12 06:06:00 Is there a reason maven is checking central for a local project library? Apr 12 06:34:20 is it a SNAPSHOT? Apr 12 06:34:34 what do you mean "local" Apr 12 06:39:58 Is there any way to profile a battery drain ? Apr 12 06:40:19 Or figure out whats eating the battery power ? Apr 12 06:41:01 Settings>Battery Apr 12 06:43:32 Metallica>Battery Apr 12 06:43:35 sorry. Apr 12 06:43:40 * Fall back in box Apr 12 06:44:40 http://developer.android.com/training/basics/fragments/creating.html#AddInLayout how can I access those fragments from my FragmentActivity? findViewById does not work, because Fragment class is not View. Apr 12 06:45:52 JakeWharton: None of my other projects seem to work properly so I pulled ABS from github and just did a plain old mvn install from inside one of the samples and it starts complaining about no artifacts in oss. Apr 12 06:47:06 JakeWharton: And then in my project i'm working on (library with packaging as apklib) it doesn't compile any of the library into my demo app which has my lib in the dependencies via the parent. Apr 12 06:47:57 JakeWharton: Updated maven and didn't fix anything, tried multiple new projects and hasn't worked, even tried using that android-bootstrap and it didn't work. Apr 12 06:54:04 huh, cool. the facebook guys used Quartz Composer to prototype FB Home. Their argument was that mockups in PS were too static. I never hear anyone talk about QC Apr 12 07:04:28 Oh yeah, QC. Heard about the IPC they did in KC with that RT. It was so raven. Apr 12 07:06:34 FK that Apr 12 07:08:28 I have a slightly off topic question, its for Android but deals with cipher text via asymmetric cryptography. Apr 12 07:09:07 I have a conversation (bi-direction) between two parties. I assume that there needs to be two public keys and two private keys (one for each party). Does that sound correct? Apr 12 07:09:58 e.g., user A generates a public/private key pair and sends the public key to User B. User B does the same and sends back it's public key. Leaving a way for both parties to send messages in a secure fashion. Apr 12 07:11:25 nm thats right. Apr 12 07:11:29 basically Apr 12 07:12:45 Now I need to think logically, how to implement this since when a user obtains a complete conversation, some messages are encryped by me and some by them. Apr 12 07:12:48 You just have to be careful if a third party is able to intercept/modify the communication in the middle Apr 12 07:13:10 JesusFreke it'll just fail on the other client Apr 12 07:13:14 nope Apr 12 07:13:31 oh because they can encrypt and push a new message Apr 12 07:13:39 that's what you mean if they have the public key Apr 12 07:13:52 yea, they'll intercept the public key of the other person, and then hand you their own public key Apr 12 07:14:09 I could handle that by implementing a sequence number or something that I can verify Apr 12 07:14:17 it would be easy enough to solve Apr 12 07:14:26 hah :) Apr 12 07:14:31 I guess now my issue is this sort of thing Apr 12 07:14:42 Message A send by 'bob' and Message B is sent by 'rich'. Apr 12 07:14:56 Let's say Rich wants to view the entire conversation fresh from the server. Apr 12 07:15:25 you have to either have a trusted third party (like a central certificate authority), or a trusted means of exchanging the keys Apr 12 07:15:26 How would Rich decrypt the message he sent and the message bob sent. Since it's a one way encryption Apr 12 07:15:38 (for the original issue I brought up) Apr 12 07:15:49 Right that'll be my server. it acts as a broker Apr 12 07:16:08 I'm just realizing that the messages a user sends, can't be decrypted by him once encrypted Apr 12 07:16:13 only verified Apr 12 07:16:23 sure they can Apr 12 07:16:28 he has his own public key Apr 12 07:16:37 which he can use to decrypt the messages he encrypted Apr 12 07:16:47 I send you a message using your public key.That message can't be decrypted on my side Apr 12 07:16:54 oh, right Apr 12 07:16:59 duh :) Apr 12 07:17:04 That's the edge case I can't solve BUT Apr 12 07:17:13 Since my messages are temporal, its even better ;) Apr 12 07:17:57 Okay I am offically happy. Apr 12 07:18:04 now to implement this puppy Apr 12 07:18:07 better than being unofficially happy Apr 12 07:18:16 you mean via drugs ;) Apr 12 07:18:41 hey, using the heirarchyviewer, should i be able to inspect views running on an actual device (as opposed to the emulator)? Apr 12 07:18:45 When I'm having a bad day, I just watch To Catch a Predator. The scum bags get busted and the kids are safe :) Apr 12 07:18:58 erdos there is Apr 12 07:19:00 montior Apr 12 07:19:02 monitor Apr 12 07:19:39 http://developer.android.com/tools/help/monitor.html Apr 12 07:19:43 mointor Apr 12 07:20:00 thanks guys :) just found the monitor.bat will read up on the docs Apr 12 07:20:21 hey, this is exactly what i want, awesome! Apr 12 07:28:07 so with this monitor, should i be able to just debug the program in eclipse and have the threads and etc. show up in the monitor? i keep getting an error in the monitor saying that "An established connection was aborted by the software in your host machine" Apr 12 07:43:22 how do you go about testing? how would i test for example a flow that spans several activities Apr 12 08:06:48 is it possible to have a Service stop itself? Apr 12 08:07:40 Lite_: sure Apr 12 08:10:11 aah, stopSelf Apr 12 08:10:21 wait, wut the hell - Twitter Music … dafuq ? Apr 12 08:10:41 these guys can't seem to figure out how to make money Apr 12 08:21:43 I refuse to constrain my thoughts to 140 characters. Apr 12 08:23:54 capella: you use 80 right :P Apr 12 08:24:55 what is capella up to today Apr 12 08:31:20 So I have a Service(BluetoothService) that is started every 4 hours by a BroadcastReceiver. This service should execute a single command, QueryData() - However it seems the following code doesn't do "anything" in the service : http://pastebin.com/hQtjYXPc Apr 12 08:31:59 I tried calling QueryData from onCreate and onStartCommand but it seems neither method is called Apr 12 08:33:23 g00s: heh ... Won't be constrained doesn't mean that I always pass the limit ... just that I reserve the right to exceed it if having a normal conversation with someone requires it. Apr 12 08:34:44 Dialog is more than a series of grunts, burps, yups, nopes, and dunnos Apr 12 08:35:43 i think the only use i've thought of for twitter was letting people know a new release of my app was out Apr 12 08:38:43 In service onStartCommand() I return START_REDELIVER_INTENT flag. My service was killed. I bind to it. Can I be sure that before calling onBind() my service will be restarted (onStartCommand() will be called first)? Apr 12 08:39:31 meh ... blurbs / ads ... maybe there's a place for it ... I've never used Twitter Apr 12 08:39:57 lopek: interesting corner case. unfortunately the docs don't really cover those Apr 12 08:40:06 hope your SO-fu is good ! Apr 12 08:40:39 g00s: I failed looking for answer both in SO and docs :( Apr 12 08:40:45 since i'm a pessimist, i always assume the worst Apr 12 08:41:00 in this case, code defensively - assume no Apr 12 08:42:24 ehh, it would be much convinient to assume yes ;) Apr 12 08:42:32 i guess the greater question is, if the process is killed, and then restarted, will services with START_REDELIVER_INTENT begin running before other components - any activities Apr 12 08:43:14 you can do some empirical testing to verify yes, but you can't verify no Apr 12 08:44:32 g00s, this context.startService(new Intent(context, BluetoothService.class)); should start BluetoothService, correct? Apr 12 08:44:39 lopek: if you find out, i'm interested to know ! Apr 12 08:45:25 Lite_: maybe, you should try :D Apr 12 08:45:34 In that case which method in the service is called ? onCreate? onStartCommand? Apr 12 08:45:48 g00s: I doubt experimenting on a particural device with a paricualr android version is what I want to do Apr 12 08:46:06 and I also doubt I will find the answer Apr 12 08:46:14 lopek: this is core framework stuff. i would pick GB and JB Apr 12 08:46:15 thanks anyway ;) Apr 12 08:46:22 it wont depend on device Apr 12 08:46:53 i mean, i'm often surprised at what oems customize (err, fuck up) but this is too deep in the bowels … Apr 12 08:47:06 dianne H herself would probably kill the engineers that messed with it Apr 12 08:47:20 stuff them in the Jelly Bean statue and let them suffocate Apr 12 08:47:33 :D Apr 12 08:50:21 hey StingRay_ Apr 12 08:50:26 howdy Apr 12 08:52:10 g00s, okay so according to my google fu, context.startService() | ->onCreate() - >onStartCommand() meaning if my code was working as intended i should be seing code executing in onStartCommand. This is not happening. Apr 12 08:52:43 google fu not necessary, the docs are clear on these matters Apr 12 08:53:14 this is true Apr 12 08:58:39 g00s: you use library projects in eclipse ? Apr 12 08:58:53 uh, i used on (GridLayout) Apr 12 08:58:56 *one Apr 12 08:59:07 that was the only time Apr 12 08:59:18 oh you dont maintain any personal libs Apr 12 08:59:35 ah, that may bypass what I see as problems Apr 12 08:59:57 seeing some odd stuff Apr 12 09:00:12 i'm not good with library projects Apr 12 09:00:13 and sure it's an eclipse problem Apr 12 09:01:07 well no libs are fine, ecllipse's ability to build dependants in a nice way and link properly in the debugger diminish the more you have, that I'm quite sure about Apr 12 09:02:07 I'm getting a load_library error when the code is trying to load a shared library by name "libnettle.so.4". I've included it as libnettle.so as the makefile complains if the extension is not so. What can I do to make it work? Apr 12 09:04:03 the symbol table in my other shared library states it as libnettle.so.4. So how can I make it so with Android.mk Apr 12 09:12:10 When trying to establish a bluetooth connection using createRfcommSocketToServiceRecord - Which uuid am I supposed to provide? Apr 12 09:18:05 is there somewhere I can look at what the themes that come with the sdk actually do? like look at the properties they change in their xml? Apr 12 09:22:10 hi, what should i read about methods related to periodic actions or scheduled actions? Apr 12 09:23:07 superlinux-hp AlarmManager Apr 12 09:23:18 xorgate, ok thanks Apr 12 09:29:17 fav bilo Apr 12 09:38:24 erdos, check the platforms/android-xx/data/res/ folder Apr 12 09:48:25 thanks leslie :) Apr 12 09:48:59 hello everyone :) Apr 12 10:07:11 could anyone pls help me with one thing ? I need to match substring of XML which I already have assigned to a string and assign it to variable Apr 12 10:11:40 String.contains() ? Apr 12 10:18:22 KaiSVK, what are you actually trying to do? Apr 12 10:22:43 the rise of leslie vernon ... *gg+ Apr 12 10:22:46 leslie: Hello, I just need to get one ID from XML (String var) Apr 12 10:23:38 3 and I need to get that 3 for example Apr 12 10:23:54 leslie vernon, ninharp ? Apr 12 10:23:58 SAX? Apr 12 10:24:16 leslie: and don't worry, I am already on studying XML parser on android pages :) Apr 12 10:24:18 leslie, just a gag ;) its from a movie called behind the mask Apr 12 10:24:29 ohh I see. is it any good? Apr 12 10:24:49 leslie, its a different movie like all the others Apr 12 10:24:53 i liked it Apr 12 10:25:11 * leslie googles it Apr 12 10:25:18 leslie: well they implement there their own "http get" but I already have that cowered in my app, I just want to figure out/extract parser "only" from their code Apr 12 10:25:55 ah, slasher, pass Apr 12 10:26:52 leslie: public List parse(InputStream in)..... but I already have my XML as String Apr 12 10:27:38 JakeWharton: are you around sir ? just finding something odd in otto Apr 12 10:28:37 StingRay_: what did you find? Apr 12 10:29:38 well if you have a producer in an extended class that just runs with no style then it seems ok, but I duplicate that extended class, rename it, and style it as a dialog and throws producer exception Apr 12 10:29:57 take away the style/theme and all is fine Apr 12 10:30:04 I dont quite understand Apr 12 10:30:06 :) Apr 12 10:30:17 huh werid, i haven't used it that way so can't help Apr 12 10:31:16 only on rotate though Apr 12 10:31:26 ahh Apr 12 10:31:37 whats different about a themed rotate ? Apr 12 10:31:47 seems…… odd Apr 12 10:31:59 i'm guessing the state isn't being restored properly or whatever. Apr 12 10:32:23 what due to theme ? Apr 12 10:32:27 thats really odd Apr 12 10:38:11 StingRay_: what beeth the exception? Apr 12 10:38:46 java.lang.IllegalArgumentException: Producer method for type class uk.co.deanwray.androidlibrary.data.data_application already registered. Apr 12 10:39:27 can only produce the exception when I theme an activity, and happens only on rotation Apr 12 10:40:38 when things seem a bit too odd, I normally flush eclipse, clean all libs etc, but that has no affect Apr 12 10:40:53 hi. I am telling the Paint object of my canvas to make the text size = 20. but it's still so petite! what would be wrong? Apr 12 10:42:58 superlinux-hp, what device? Apr 12 10:43:23 Samsung galaxy Duos Apr 12 10:43:49 Is there a way to include shared libraries with a version number prefix? The NDK build wants them to end with .so but I've compiled the dependant library so it's .so.4 If I do readelf -d it shows Shared library: [libnettle.so.4] and hence the load fails since I'm including it as libnettle.so Apr 12 10:44:37 superlinux-hp, the documentation is somewhat lacking, but perhaps the setTextSize method doesn't take DPI scaling into account? Apr 12 10:44:53 The library is a dependency of a dependency of a dependency. If I'd change the soname, do I have to re-compile all of the steps? Apr 12 10:45:01 StingRay_: sounds like it's being reregistered on rotate. throw a bool into your onSaveInstanceState and then don't reregister in onCreate if it's been registered Apr 12 10:45:39 leslie, maybe i'll have to see the forums. thanks Apr 12 10:47:00 superlinux-hp: convert it to px Apr 12 10:47:49 activity.getWindowManager().getDefaultDisplay().getMetrics(new DisplayMetrics()).density will give you the screen density then just multiply Apr 12 10:53:25 funkbox: no diff storing bool for registered or not Apr 12 10:53:55 werd Apr 12 10:55:46 StingRay_: you could debug into the source Apr 12 10:55:52 beyond that i have suggestions but are all werid Apr 12 11:00:48 with tabs und fragments, can i have fragments communicate with each other and the activity also ? Apr 12 11:02:03 funkbox: is that not what you use otto for ? Apr 12 11:02:13 or failing that interfaces ? Apr 12 11:02:17 StingRay_: nah, i use otto for communicating between services and stuff Apr 12 11:02:31 you have no producers on activites ? Apr 12 11:02:52 nah not yet Apr 12 11:03:16 anyone here able to test something for me ? Apr 12 11:03:17 i have a few services that do lots of magic, and i use otto to communicate Apr 12 11:03:27 needs otto and a producer in an actvity Apr 12 11:03:34 and apply @android:style/Theme.Translucent.NoTitleBar to the activity Apr 12 11:04:11 seems any theme that controls the window causes my problem Apr 12 11:05:42 is it possible to capture the screen outside my app? Apr 12 11:05:58 yeah Apr 12 11:06:03 loads of ways Apr 12 11:06:09 a way without root access? Apr 12 11:06:14 yeah Apr 12 11:06:16 easy Apr 12 11:06:19 :o do tell Apr 12 11:06:21 pls* Apr 12 11:06:23 can use ddms if handy Apr 12 11:06:35 and use the "take screenshot" Apr 12 11:06:43 and most versions of android have key combo Apr 12 11:07:06 im thinking more of a teamviewer way, record a legit video Apr 12 11:07:07 something like volumeUp + power (quick press of both) Apr 12 11:07:18 oh Apr 12 11:07:31 capture indicates single frame Apr 12 11:07:37 you mean record your screen Apr 12 11:08:14 well for me it's easy, I just output to a video hardware capture station Apr 12 11:09:02 >video hardware capture station Apr 12 11:09:06 <_< im not sure i know what that is Apr 12 11:09:19 oh, well I'm a vfx guy Apr 12 11:09:31 so I have loads of video hardware around me Apr 12 11:09:48 so I just choose an imput type and record :) Apr 12 11:09:57 like I said, for me ... Apr 12 11:10:11 you would just use the emulator no ? Apr 12 11:10:35 i need a legit way, an on device way :/ Apr 12 11:10:50 why no emu ? Apr 12 11:11:27 i cant take my pc with me Apr 12 11:11:53 hmmm you lost me Apr 12 11:11:55 :) Apr 12 11:12:08 StingRay_: working on a new idea now: http://bildr.no/image/1436618.jpeg Apr 12 11:12:10 I thought you wanted to capture you app in action Apr 12 11:12:36 no, a more global problem, record on device, anything Apr 12 11:12:41 Quacked: better, still dont like the "flatness" of the squares thought Apr 12 11:13:02 yeah, im gonna make it pop out some Apr 12 11:13:14 but this time its illustrator.. and I dont understand a thing :D Apr 12 11:13:48 you know with the time your spending doing this, you could have had a designer do it in a few hours, maybe even 30 min Apr 12 11:13:49 :) Apr 12 11:14:10 but I'm learning :) Apr 12 11:14:13 funkbox, how should i multiply the density? cos it's getting so huge. Apr 12 11:14:28 Quacked: learning an application != learning design Apr 12 11:14:43 nah, I mean I'm learning how to use PS and IS Apr 12 11:14:48 superlinux-hp: i jus tmaje sure htey're boht doubles and bam Apr 12 11:14:49 if i have a Cursor from sqlite, and all i do is getCount(), do i still need to .close() it ? Apr 12 11:14:51 for such purposes Apr 12 11:15:22 funkbox, sorry? what have you said? Apr 12 11:15:30 btw, PS and AI Apr 12 11:15:35 ;) Apr 12 11:15:35 thanks Apr 12 11:15:36 hehe Apr 12 11:15:56 superlinux-hp: (double)density, double dip, then just density*dip Apr 12 11:16:13 ah ok Apr 12 11:16:42 I'm probably gonna nag later about how to do stuff in AI, but now I need to go find a birthday present for the wife Apr 12 11:17:01 Quacked: you dont need AI for your logo Apr 12 11:17:05 you want pixel control Apr 12 11:17:24 not something you can do/consider easily in AI Apr 12 11:17:28 more PS thing Apr 12 11:17:33 ok Apr 12 11:17:36 StingRay_, im curious, what is that capture station you mentioned, googles gives vague results Apr 12 11:18:03 just assumed AI would scale better to small pixel sizes Apr 12 11:18:21 oh tis a hybrid linux/window xeon workstation at the side of me, with loads of video hardware and AV drives and breakout box Apr 12 11:18:49 it is my capture "work" station Apr 12 11:19:54 how can I schedule some action, to be done every 10 minutes, like, sending keep-alive messages to some service. Apr 12 11:20:04 * g00s is having enough trouble learning Lr, and thats supposed to be simple Apr 12 11:20:21 Pitel_IPEX: check AlarmManager Apr 12 11:21:21 g00s: see I would have thought that a programmer that understands more about bits/non-linear ranges/filters would really understand something like LR Apr 12 11:21:49 i've never used anything like it Apr 12 11:22:09 i also never did any post processing to my pictures Apr 12 11:22:10 Quacked: http://developer.android.com/reference/android/os/Handler.html#postDelayed(java.lang.Runnable, long) hmm, i guess this might be better Apr 12 11:22:28 Pitel_IPEX: no, not for 10 min Apr 12 11:22:32 :/ Apr 12 11:23:01 g00s: I already have service which shoudl be running all the time. Apr 12 11:23:04 StingRay_: the book i have here by martin evening is like 700 pages Apr 12 11:23:27 g00s: yeah, I dont do books on that :) Apr 12 11:23:54 700 pages = 50 pages direct from adobe help docs, 650 of opinions Apr 12 11:24:35 i didn't like Scott Kelby's ; seemed fluffy Apr 12 11:24:56 Evening / Schewe are pretty awesome Apr 12 11:25:06 http://developer.android.com/reference/android/app/AlarmManager.html#setRepeating(int, long, long, android.app.PendingIntent) hmm, this looks also nice :) Apr 12 11:25:39 :) Apr 12 11:26:24 i was inspired my photographers like Michael Frye; basically say they do almost everything in Lr and hardly ever need Ps Apr 12 11:26:28 *by Apr 12 11:26:52 but i guess it depends on how much you plan on manipulating; i'm more after tonal control Apr 12 11:27:22 it has great asset management features Apr 12 11:28:26 workflow is optimized for photographers Apr 12 11:31:18 hello Apr 12 11:32:11 is there a way to set font size and font type for the entire activity? I have several buttons in layout xml and it seems that i need to set text size for each and every one of them Apr 12 11:36:14 ufk, yes you have to use styles & themes: http://developer.android.com/guide/topics/ui/themes.html Apr 12 11:36:33 thank yo Apr 12 11:36:35 you :) Apr 12 11:36:38 StingRay_: i wonder if there is a way i can use Lr, but then go to Pixelmator for more severe retouching? Maybe not the right app either Apr 12 11:37:51 Anyone building (or supporting :p) app on sony SmartWatch? just wanted to share experience, talk about this little market and know what app did you made. Apr 12 11:38:33 g00s: define retouching :) Apr 12 11:39:15 Heya folks, anyone here used Jackson for JSON parsin before? Apr 12 11:39:35 parsing* Apr 12 12:13:46 Why People app don't show events (birthdays) from non google accounts? Apr 12 12:14:33 ask the accounts creator or google Apr 12 12:14:55 Contacts in android 2.x shows it... Apr 12 12:15:24 see previous :) Apr 12 12:15:40 morning Apr 12 12:15:47 I'm the account creator, and i don't know why ) Apr 12 12:16:07 "or google" Apr 12 12:16:15 tis open source neways no ? Apr 12 12:19:08 http://stackoverflow.com/questions/14319729/android-jelly-bean-4-1-2-people-app-doesnt-display-birthday-event found… no way to show it for custom accounts Apr 12 12:22:18 :( android emulator in osx is really slow. Apr 12 12:22:41 ufk search google for that Apr 12 12:22:49 leads you to intel image + HAX = fast Apr 12 12:23:07 i tried intel.. donno what hax is Apr 12 12:23:12 i'll check thanks Apr 12 12:24:48 cool thanks Apr 12 12:30:52 how do I data-driven development in Android? Apr 12 12:31:07 i cant read fb0 >_> Apr 12 12:31:10 wtf bro Apr 12 13:14:06 howdy peepz, I'm not much of a game developer but I need to render a movable/positionable "targeting" overlay, just like you see here (from topgun) heeehehehe perfect example of what I want to achieve... http://www.youtube.com/watch?feature=player_detailpage&v=fC976fuQm4E#t=81s Apr 12 13:14:39 clever: Apr 12 13:15:31 Is it possible to modify the position of a dynamically? Apr 12 13:15:46 ahhughes it's called reticle Apr 12 13:16:13 Guys Apr 12 13:16:23 system application form htc one x Apr 12 13:16:46 xorgate, cheers! good to know Apr 12 13:17:12 what are you drawing it on? Apr 12 13:17:51 at the moment its a Apr 12 13:18:05 if that answers you adequeately... Apr 12 13:18:22 second question is 'why' Apr 12 13:18:46 kinda like maveric and goose, but without the plane. Apr 12 13:19:14 its used to indicate if the camera is facing left/stright/right of a target Apr 12 13:19:27 in general, that sort of thing is done on a Canvas or other drawing surface, not using UI widgets Apr 12 13:20:26 I played around with Canvas.drawOval() and got some things working... but still got a long way to go. Apr 12 13:20:34 so you draw your reticle on the surface wherever you want, rather than drawing it in a layout and trying to move it Apr 12 13:21:40 so what should I add to the template to add a to the layout? Apr 12 13:21:55 there is a skill to doing game UIs... I don't possess said skill, but I'm aware of it :) Apr 12 13:23:14 if you make a game, either use a custom view to draw it on, or use opengl or sth. don't use UI components for animating Apr 12 13:23:42 Hi. I have a rooted phone, and my app is executing Runtime.getRuntime().exec("su"). The toast tells me that superuser granted the access. But my app still dont have access to listen files in /data Must i do something more than Runtime.getRuntime().exec("su") before my application has root privileges? Apr 12 13:25:03 that would maybe be one for #android-root Apr 12 13:26:12 that what i tried at first, but nobody answered after 20 minutes, so thought i might try in here. Apr 12 13:26:37 I'm sorry if it's off topic Apr 12 13:26:44 Hello. How do I get one of them pictures of a popular Android device with which I can append a screenshot of my app? Apr 12 13:26:44 As4xk, post some more code Apr 12 13:27:01 Must I shoot it myself or is there some sorta cool generator out there on the web? Apr 12 13:27:12 boytoy http://android-ui-utils.googlecode.com/hg/asset-studio/dist/device-frames.html Apr 12 13:27:51 xorgate, sounds like Im a little outta my depth here. Apr 12 13:28:05 xorgate: That is awesome man, thank you :) Apr 12 13:28:20 ahhughes what are you making Apr 12 13:28:31 positioning app Apr 12 13:29:06 but its a gotta deal with the fact the phone is likely to not be stable. Apr 12 13:31:10 EPG: http://ideone.com/d8WKHz Apr 12 13:31:14 so I make a view, and then canvas.drawPicture ? Apr 12 13:32:23 I'll try it, but I dont know how to create a new Pictre from a resource... Apr 12 13:32:59 As4xk, i suggest you read up on the use of su on android in general. Your app never gets root rights but it can execute commands via an su shell Apr 12 13:33:26 As4xk, http://su.chainfire.eu/ Apr 12 13:33:39 ahh. I see. Thanks! Apr 12 13:35:46 ahmmm Apr 12 13:36:25 i have a segfault.. and a debug window is opened. but none of the lines comes from my code. how can i debug such a thing. i just play a video and then move to a menu activity Apr 12 13:36:38 and if the video can't be played i override the error and move to the menu activity Apr 12 13:37:32 ahhughes your question is so vague Apr 12 13:37:39 i know sorry Apr 12 13:38:04 how do i debug a segfault that the stack trace has no information relevant to my code at all ? Apr 12 13:38:38 aahha that's not useful as well.. crap.. what do i do Apr 12 13:40:57 something is causing the application to segfault.. i'm doing simple stuff.. i'm playing a video and then moving to the menu activity. that's it. the stack trace doesn't show anything releveant to my code. it starts with ActivityThread.performLaunchActivity and goes on. the emulator deosn't play video files so it just segfaults. when i install the apk on my phone it plays the video file but then segfaults, doesn't move to t Apr 12 13:40:58 he menu activity Apr 12 13:42:06 i'm changing activity from intro to menu using: Intent menu = new Intent(IntroActivity.this,MenuActivity.class); startActivity(menu); finish(); Apr 12 13:43:41 in general this project already worked in a 2.3 project. i'm now converting it to a 3.2 project in order to add a google admob sdk. so i don't believe that things should change that much! Apr 12 13:46:22 wait, 3.2? Apr 12 13:46:31 why bother supporting 3.2 Apr 12 13:46:34 just go up to 4.0 Apr 12 13:47:30 not to support 3.2 ? Apr 12 13:47:54 i want to support as much phones as i can! :) Apr 12 13:48:25 not a good idea ? Apr 12 13:48:46 gmorning Apr 12 13:52:31 i already wrote an application for sdk 2.3.3. now it seems that to change it to 3.2 or up is a pain in the ass. google admob requires sdk 3.2. is there something else that i can use? some ads sdk that i can use that supports sdk 2.3.3 ? Apr 12 13:55:19 yay i found out why it has problem!!! Apr 12 13:55:29 it's my android:theme Apr 12 13:55:36 when i included it, it caused a segfault Apr 12 13:56:03 any ideas why?!?!? Apr 12 13:56:07 i'll pastebin it Apr 12 13:57:47 http://pastebin.com/XYepMPLt Apr 12 13:58:27 in the menu activity i included the line: android:theme="@style/HotFont" Apr 12 13:59:25 xorgate, sorry back now.. but about to fall asleep... Apr 12 14:00:05 so I have a png file, and I want to draw that on a surface at a calculated position, that more concise? Apr 12 14:03:27 ahhughes what's on the surface Apr 12 14:04:02 nothing yet afaik Apr 12 14:04:38 i can drawOval on it, just need to know how to create a new Picutre from a png Apr 12 14:05:01 ahhughes: use the Resources class to get a nice pretty Drawable, and draw it. Apr 12 14:05:08 if you need to, get the Bitmap. Apr 12 14:11:17 ok my problem is fixed. thanks Apr 12 14:14:00 I'm using a regular java Timer here, and the timer intervals get simply wrong when the phone gets into sleep mode. Is there workaround to this? Apr 12 14:16:59 lov how can I get a Drawable.. I see bitmap but seems to be a pita to use Apr 12 14:19:21 hi Apr 12 14:33:38 ahhughes: load the bitmap, draw on it with a canvas, and use an output stream to save the bitmap to save it Apr 12 14:41:54 StingRay_: wut Apr 12 14:42:26 oh you read my earlier prob ? Apr 12 14:42:34 nope Apr 12 14:42:55 ok from what I have tested Apr 12 14:43:04 otto fine in all my stuff Apr 12 14:43:31 take any activity that it is fine in, and in the manifest apply a theme (custom or android) that pisses with the window Apr 12 14:43:47 and otto will throw an exception of multiple producers Apr 12 14:43:52 as in already registered Apr 12 14:43:58 on rotation of that activity Apr 12 14:44:05 and I dont understand it at all Apr 12 14:44:13 sorry f2prateek Im lost, you mind telling me whats wrong with this? http://pastie.org/7464912 Apr 12 14:44:17 where are you registering/unregistering? Apr 12 14:44:22 we do it in onResume/onPause Apr 12 14:44:23 pause resume Apr 12 14:44:34 it's not that Apr 12 14:44:40 cause it's fine without the theme Apr 12 14:44:42 :) Apr 12 14:44:57 i need an example .zip or something Apr 12 14:45:02 when I say a window modded theme, so theme.dialog Apr 12 14:45:19 or theme.window.tranluscient Apr 12 14:45:20 etc Apr 12 14:45:41 ahhughes: thats right, not draw on the canvs, and use https://developer.android.com/reference/android/graphics/Bitmap.html#compress(android.graphics.Bitmap.CompressFormat, int, java.io.OutputStream) to save it Apr 12 14:45:47 *now draw Apr 12 14:46:07 JakeWharton: just take any activity and in manifest theme it @android:style/Theme.Dialog Apr 12 14:46:13 then rotate it a few times Apr 12 14:46:16 ok Apr 12 14:46:18 if it has a producer Apr 12 14:46:21 it should fail Apr 12 14:46:24 4.2.2 Apr 12 14:46:32 not tested on another version yet Apr 12 14:47:58 ahhughes: https://developer.android.com/reference/android/content/res/Resources.html#getDrawable%28int%29 Apr 12 14:48:26 StingRay_: thanks. will try today (hopefully) Apr 12 14:48:29 off to work Apr 12 14:49:25 oh co*ke*d balls!! Apr 12 14:49:37 I think in my head I know what it is Apr 12 14:49:46 arses you left Apr 12 14:49:55 using a single Activity and declaring every member at the top...terrible terrible Apr 12 14:50:19 this code im looking at looks like the first app you write, but he has 4 apps based off it oO Apr 12 14:53:23 hmm, View.performClick()..is this method necessary or is it to be used more like a hack/lazy workaround? Apr 12 14:54:21 maybe its for testing Apr 12 14:54:43 tnzr: i guess so Apr 12 14:55:01 I'm trying to submit to gerrit, I'm getting To https://android-review.googlesource.com/p/platform/external/qemu ! [remote rejected] netbridge3 -> refs/for/refs/tags/android-4.2.2_r1 (cannot upload review) Apr 12 14:55:05 I used it Apr 12 14:55:06 well this stack overflow paints an interesting picture Apr 12 14:55:09 http://stackoverflow.com/questions/7864338/performclick-not-triggering Apr 12 14:55:11 I'm wondering if I started from the wrong branch? Apr 12 14:56:18 i just dont see how its necessary, myb im missing something.. Apr 12 14:57:12 can use it for walkthroughts/tuts Apr 12 14:57:34 ye, to be lazy :P Apr 12 14:58:01 no, lazy is overlays Apr 12 15:12:52 I´m trying to make a custom animation for my fragments. When the CHANGE_APPEARING layouttransition takes place, I want each view component within the fragment to have a different entering animation. How would I approach this? Apr 12 15:13:29 Right now I cast the root view of the fragment to a ViewGroup, and iterate through all its children. But I don´t know how to make each child animate. Apr 12 15:16:32 Well, I assume I need an ObjectAnimator, and assign a propertyvalue and the child view to it, but then what do I do with it? Adding the objectAnimator to the transitioner doesn´t seem to have any effect Apr 12 15:16:50 layoutTransition* Apr 12 15:19:12 When someone buys an app on the Play Store, what information do you get about the user? Specific info, not just device Android version info etc Apr 12 15:19:41 name and address Apr 12 15:19:50 astrological sign Apr 12 15:20:01 allergies Apr 12 15:20:09 coke vs. pepsi preference Apr 12 15:20:37 moutain dew. Apr 12 15:20:43 JakeWharton: I had a thought, does playing with widows theme that allows the behind activity to still be visible play with the lifecycle at all ? Apr 12 15:21:13 Maybe. You're producing the same type in every activity? Apr 12 15:21:24 yes Apr 12 15:21:29 an appdata object Apr 12 15:21:41 YOU KNOW I LIKE COKE!? FUC.. Apr 12 15:21:44 but like I say works fine without that theme Apr 12 15:21:52 Seriously though, what info? ' Apr 12 15:21:53 why don't you have a long-lived singleton that produces it from one place? Apr 12 15:22:08 because it's different Apr 12 15:22:15 for each activity Apr 12 15:22:37 just contains things like title, fields, listView params, all small stuff Apr 12 15:24:02 and was my use of fragments from a lib project that prompted the change from interfaces to otto Apr 12 15:24:37 fragments that are not extended to main project, whereas the appdata is only in the main project Apr 12 15:24:53 it just sounds like Android doesn't pause the previous activities when you display a new activity as a dialog Apr 12 15:25:09 which causes you to try and register for producing the same type twice Apr 12 15:25:45 well no, cause I switched it to a local activity that has nothing to do with the lib and is not the same type as the previous Apr 12 15:26:02 works fine without theme, same error with Apr 12 15:26:29 umm my ListView wont accept the variable heights of my views Apr 12 15:26:31 grr Apr 12 15:27:07 I have someone telling me that when you buy an app, app devs know: Your google account, real name, your GPS location. True? I'm not tinhatting, I'm just not convinced he's not trolling. Apr 12 15:27:07 xastey: even if you implement and use getType() ? Apr 12 15:27:19 oooo whats that StingRay_ Apr 12 15:27:32 i was wondering what getItemType was for Apr 12 15:27:36 StingRay_: well regardless of the how you're registering to produce the same type twice because of the architecture. You need a different mechanism for producing so that you never register twice. Apr 12 15:27:41 so that allows me to update the cached height? Apr 12 15:29:05 xastey: you mean all different heights ? Apr 12 15:29:17 correct StingRay_ Apr 12 15:29:23 Oh god, so scroogled is a WINDOWS CAMPAIGN? Apr 12 15:29:29 God damn, seriously? Apr 12 15:29:31 well thats just wrap_content ? Apr 12 15:29:32 Khaytsus One does not simply go into #Android and come out without a headache. Apr 12 15:29:38 Oops, sorry, wrong channel :( Apr 12 15:29:41 like all are the same except one.. and that one wont change.. so i'm checking it out StingRay_ Apr 12 15:30:10 going test out the getViewItemType Apr 12 15:30:12 cause getItemViewType allows you to do different types inc. height if you were using fixed heights Apr 12 15:30:30 but wrap_content should just work if you want it to expand on content Apr 12 15:30:31 yeap thats is just checked out the AdapterView code Apr 12 15:31:25 how would i accomplish selecting/focusing on a button within a Gallery item or ListView item using D-PAD only? Apr 12 15:31:47 setOnKeyPressListener ? Apr 12 15:32:35 on the gallery? Apr 12 15:32:52 you mean onKeyListener? Apr 12 15:33:21 sweet StingRay_ that worked perfectly Apr 12 15:34:02 ahhh... how do i set that my activites will have no title ? i alraedy defined a theme to my application Apr 12 15:34:46 ufk: requestWindowFeature(Window.FEATURE_NO_TITLE); ? Apr 12 15:35:15 i don't want to do that with code. i want to do that with theme Apr 12 15:35:18 is that possible ? Apr 12 15:38:56 hello Apr 12 15:38:58 anyone here Apr 12 15:39:38 hello, i need some help Apr 12 15:40:07 Wolkec, dont ask to ask. just ask ;) Apr 12 15:40:09 so ask your question Apr 12 15:40:31 Ok, i'm making my first android app, i've made a clean project and well, i've messed arround a little Apr 12 15:40:34 and it's not running now Apr 12 15:40:40 can someone help me identify the error Apr 12 15:40:57 do you have the exception from your log? Apr 12 15:41:26 it should be on the cat thing Apr 12 15:41:32 logcat, yes Apr 12 15:41:33 i think i'd be better to just show the source code Apr 12 15:41:46 nope Apr 12 15:41:46 because it's pretmuch a blank project Apr 12 15:41:59 the exception tells you what went wrong Apr 12 15:42:04 yeah i know Apr 12 15:42:08 but i can't coppy it >_< Apr 12 15:42:20 you need to get into the habit of obsessing over your logcat Apr 12 15:42:43 I've programed with C++;C# and java before Apr 12 15:42:46 but android is new to me Apr 12 15:42:48 why can't you copy it? Apr 12 15:42:52 So i'm kinda not used to plugins Apr 12 15:43:13 it's on a red scren, i can save the file but not copy the messages Apr 12 15:43:17 screen* Apr 12 15:43:26 Hi, anyone knows why I should NOT modify the editable returned by EditText.getText() ? Apr 12 15:44:31 I'm trying to create a custom menu like this https://www.dropbox.com/s/jmz6mhs8uas0ozd/Mock%20Up%202.png?m ; is there a way to provide a cusotm layout for a menu item or should I just my own PopupMenu Apr 12 15:44:33 also i'm on linux Apr 12 15:44:35 lol Apr 12 15:44:45 ah, Linux still doesn't have a clipboard, huh? Apr 12 15:44:59 :) Apr 12 15:45:02 i can save line by line Apr 12 15:45:05 on a .txt file Apr 12 15:45:06 >_> Apr 12 15:45:20 4-12 15:41:29.102: E/AndroidRuntime(1439): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.test/com.example.test.Main}: java.lang.ClassNotFoundException: Didn't find class "com.example.test.Main" on path: /data/app/com.example.test-1.apk Apr 12 15:45:46 Wolkec: declared in the manifest? Apr 12 15:45:47 do not post your... weird... exception trace here Apr 12 15:46:11 Apr 12 15:47:32 http://pastebin.com/yJWrqvL3 here's my manifest Apr 12 15:47:32 seriously, pastebin Apr 12 15:48:08 f2prateek: I guess it's not too hard to extend MenuItem with a custom Layout, but (never used it) what's about the android:actionLayout tag? Apr 12 15:48:34 http://pastebin.com/LDniLyyE main.java Apr 12 15:48:57 erm, main.java or Main.java? Apr 12 15:49:25 http://pastebin.com/Q3qwuuUD and Splash.java Apr 12 15:49:29 Well i've made it Apr 12 15:49:34 does it have to be uppercase? Apr 12 15:49:44 xorgate, thanks for you help... it's working now. Apr 12 15:50:07 so the .name is the name of the java file Apr 12 15:50:10 the activity opens? Apr 12 15:50:19 how does it know which .xml to read Apr 12 15:50:26 the layout Apr 12 15:51:19 flan3002: That's what I've tried, and it doesnt quite work the same way. This is how it looks on the action bar https://www.dropbox.com/s/iwd32u116y829xm/2013-04-12%2009.49.48.png and in the overflow https://www.dropbox.com/s/tn7kl29qvaxdr5v/2013-04-12%2009.48.57.png Apr 12 15:51:58 Wolkec: you mean this? setContentView(R.layout.splash); Apr 12 15:52:08 yes Apr 12 15:52:18 how does it know which layout is bound to which source file Apr 12 15:52:53 f2prateek: try android:checkable="true" ! Apr 12 15:52:56 in the project's layout folder there will be a file called splash.xml Apr 12 15:53:12 yes, because i made one Apr 12 15:53:12 there Apr 12 15:53:17 so it's the same name Apr 12 15:53:20 just lower case? Apr 12 15:53:40 xml is lower case, yes Apr 12 15:54:01 flan3002: well that was easy! Apr 12 15:54:02 So if i run R.layout.blabla, it'll run the blabla.xml and blabla.java Apr 12 15:54:04 Wolkec: you need to read the docs on Android resources Apr 12 15:54:10 flan3002: thanks :) Apr 12 15:54:15 because .blabla is defined in the manifest? Apr 12 15:54:21 Wolkec: no Apr 12 15:54:25 read the tutorials Apr 12 15:54:26 Leeds done that, just need a quick refresher course Apr 12 15:54:26 lol Apr 12 15:54:27 f2prateek: You might then try to use groups if you need to limit the amount of checked items... Apr 12 15:54:30 and getting started guides Apr 12 15:54:41 my memmory is terrible :P Apr 12 15:55:02 f2prateek: Do you know about my question? Why I should NOT modify the editable returned by EditText.getText() ? Apr 12 15:55:23 Because it makes the app crash... Apr 12 15:55:59 flan3002: no idea, what's the crash? Apr 12 15:56:33 flan3002: just call setText. Don't modify the editable directly. Apr 12 15:56:39 Well, actually it does not show an ANR, and the rest of the test-app (buttons) still work, but the edittext is frozen. Apr 12 15:57:46 ok so when i call the context splash, it'll load Splash.java as well? Apr 12 15:57:53 flan3002: hmm... not sure why, can't see something obvvious in the source, but like the docs say, just make a copy https://developer.android.com/reference/android/widget/EditText.html#getText() Apr 12 15:58:02 or do i need to call an intent? Apr 12 15:58:08 and make it a new action? Apr 12 15:59:30 f2prateek: That sounds promising... Apr 12 16:00:28 StingRay_ which tutorials... i've already gone thru tutorials, my memmory is just bad, i'm quite good with java tho, just need to figure out the api system >_< Apr 12 16:00:51 hi guys. I have an activity that's adding a fragment to it. this fragment does some processing and launches either an activity or another fragment. when the user presses back from the new activity, I would like to not display this fragment again. I figured I could popbackstack before I launch the new activity but I'm getting the onsavedstate exception (both popbackstack and immediate) Apr 12 16:01:22 Wolkec: read read read till you know it I guess, or do some memory exercises Apr 12 16:01:28 read what >_> Apr 12 16:01:38 the gettings started guides Apr 12 16:01:44 where are those Apr 12 16:01:53 erm, d.android.com Apr 12 16:02:30 how big should I set a widget for it to take 1x1 size? Apr 12 16:02:36 where exactly >_< Apr 12 16:02:46 ah ok found it Apr 12 16:02:55 f2prateek: Now I'm getting a StackOverFlowError, because setText calls the TextWatchers afterTextChanged, which indirectly calls setText... Apr 12 16:03:17 huh, is it impossible to place a breakpoint in doInBackground of an ASyncTask? Apr 12 16:03:18 what's your use case? Apr 12 16:03:34 Syntax Highlighting Apr 12 16:03:47 I'm using IntelliJ, and it just passes my breakpoints if they are in doInBackground Apr 12 16:03:54 Its not hard to solve, but its annoying... Apr 12 16:04:04 they do work in onPreExecute/onPostExecute Apr 12 16:04:31 hi guys Apr 12 16:04:37 flan3002: pastebin that method? Apr 12 16:08:35 f2prateek: This is not a problem anymore, but how can I find out where the cursor was (if it was there) prior to setText (cause that seems to reset it...)? Apr 12 16:09:31 Ah its setSelection (could've guesses that one)... Apr 12 16:09:46 flan3002: yup Apr 12 16:10:42 Great, seems to work now! Thank you. Apr 12 16:11:53 anyone have any ideas regarding my fragments problem? Apr 12 16:17:11 f2prateek: Do you know how to remove that red underline from unknown words in the edittext? Apr 12 16:17:58 android:inputType="textNoSuggestions" Apr 12 16:17:58 for the edit text Apr 12 16:18:28 Cool, googled it several times, but didnt find anything... Apr 12 16:20:33 StingRay_: you around? Apr 12 16:22:38 ish Apr 12 16:22:44 and yeah Apr 12 16:22:45 i got it Apr 12 16:22:46 gonna go make myself a cuppa tea Apr 12 16:22:48 thanks for no help >_< Apr 12 16:22:48 http://bildr.no/image/1436953.jpeg Apr 12 16:23:40 Quacked: you are not at the top-end of what I would call programmer art ;) Apr 12 16:23:54 thats ok :) Apr 12 16:23:56 mmm... tea Apr 12 16:24:07 StingRay_: only effect added is some drop shadow Apr 12 16:24:07 to make it slightly better I would have a gloss/highlight also Apr 12 16:24:18 on the squares Apr 12 16:24:32 dark/mid/light = depthy Apr 12 16:24:44 mid/dark = flattish depthy Apr 12 16:24:46 :) Apr 12 16:24:58 I dont understand that Apr 12 16:24:59 hehe Apr 12 16:25:39 can you elaborate? Apr 12 16:25:53 no rush though, go make your tea :P Apr 12 16:26:18 Ok, how can i copy/paste/view my logcat, it's just a box and i can't do anything with it Apr 12 16:26:37 i can't expand, left clicking and right click does nothing on text Apr 12 16:26:49 Wolkec: shift - click to mark multiple lines Apr 12 16:26:59 oh ok Apr 12 16:27:00 then just ctrl-c Apr 12 16:27:06 i c Apr 12 16:28:42 hello! i need to play png files one after another in my menu in one of the corners, something that repeats itself like an animated gif. is there something in android that allows me to do that ? Apr 12 16:28:49 brb, running to the store Apr 12 16:45:59 ok so i get an exception that intent didn't find an activity Apr 12 16:46:05 even tho i have activity define Apr 12 16:46:16 04-12 16:24:40.077: E/AndroidRuntime(956): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.MENU } Apr 12 16:46:30 but my activity is Apr 12 16:46:31 Apr 12 16:46:41 in manifest Apr 12 16:47:07 thats an action Apr 12 16:47:22 * lov sighs Apr 12 16:47:30 ^^ Apr 12 16:47:58 heh Apr 12 16:48:03 so it matters how i name it? Apr 12 16:48:15 that would make a really good song title "Love Sighs" Apr 12 16:48:25 * StingRay_ starts thinking of lyrics Apr 12 16:48:30 i don't see it Apr 12 16:48:37 Or Love Thighs Apr 12 16:48:42 even if it's called an action, it should still be run as an activitt Apr 12 16:48:44 activity Apr 12 16:49:26 so an activity == intent action ? Apr 12 16:49:59 Intent i = new Intent("android.intent.action.MENU"); startActivity(i); Apr 12 16:50:02 that's how i call it Apr 12 16:50:44 i'm not calling an intent action am i >_< Apr 12 16:51:18 what are you attempting ? Apr 12 16:51:22 as in the desired result ? Apr 12 16:51:52 StingRay_: its so tempting just to give him what he wants to shut him up :) Apr 12 16:52:05 I want to start a new activity Apr 12 16:52:20 ok and have you looked at how to start another activity ? Apr 12 16:52:43 Hello to everyone Apr 12 16:52:50 as in the first google result of "android start activity" == http://developer.android.com/training/basics/firstapp/starting-activity.html Apr 12 16:53:04 yes Apr 12 16:53:24 and you think that you followed that ? Apr 12 16:53:37 i cleaned my project and now i get lots of R cannot be resolved to a variable Apr 12 16:53:39 well didn't follow that >_> Apr 12 16:53:44 look at the "Start the Second Activity" bit on that page Apr 12 16:55:04 Quacked: sometimes in teaching, tis always better to ask more questions than they do, giving explicit answers sometimes is the worst thing to do Apr 12 16:55:21 Quacked: and I mean to give it a gloss highlight on those squares Apr 12 16:55:32 yes, but its hard to keep quiet sometimes ;) Apr 12 16:55:41 so on 2 sides you have "darker" and on the opposing 2 sides "lighter" Apr 12 16:55:58 well, i don't see it >_< Apr 12 16:56:10 StingRay_: brighter on top of icon and darker at bottom? Apr 12 16:56:11 hence giving the impression of depth thought directional light Apr 12 16:56:18 i am calling the class Apr 12 16:56:22 from the .xml Apr 12 16:56:26 -x and -y dark Apr 12 16:56:33 +x and +y light Apr 12 16:56:51 hence the light is +x+y to -x-y Apr 12 16:57:09 Could someone advise me? I need to develop a control with texts. When the user flings, the texts move (animate) and might change content. What to use? Canvas, ViewGroup, other? Draw the strings or use TextView widgets? Apr 12 16:57:12 waaaahh Apr 12 16:58:06 i don't see it StingRay_ >_> Apr 12 16:58:08 StingRay_: what do you mean by 2 sides? Apr 12 16:58:09 it should work Apr 12 16:58:12 by all logic Apr 12 16:58:37 Wolkec: the answers are there on that link, if you choose to do something totally different thats your choice Apr 12 16:58:45 but your question is answered there Apr 12 16:58:56 Quacked: you have like 4 sides :) Apr 12 16:59:07 it's a square Apr 12 16:59:09 :D Apr 12 16:59:20 so top and right are lighter than middle Apr 12 16:59:30 bottom and left are darker than middle Apr 12 16:59:36 hence making it pop more Apr 12 17:00:28 thanks, now I know enough to google it too :) Apr 12 17:00:28 do i need to rename it to com.blabla.whatever Apr 12 17:00:28 ? Apr 12 17:00:39 because it should work Apr 12 17:00:54 Wolkec: what does the example on that site show you should make your intent too? Apr 12 17:00:55 i don't see why it's not finding the activity >_> Apr 12 17:01:55 Wolkec: then you need to start fresh …that would be my advice Apr 12 17:02:03 start fresh??? Apr 12 17:02:07 but i have started fresh >_< Apr 12 17:02:14 i've read the documentation and now i'm experimenting Apr 12 17:02:35 i know what an activity is, and it should work? what am i doing wrong? Is the manfiest named wrongly? Apr 12 17:02:48 your not calling an activity Apr 12 17:03:00 but my class extends activity? Apr 12 17:03:06 sure it does Apr 12 17:03:10 why not call that then ? Apr 12 17:03:19 myclassthatextendsactivity.class Apr 12 17:03:39 it's there in the example Apr 12 17:03:40 i thought i am calling that Apr 12 17:03:43 tells you everything Apr 12 17:03:45 thru xml Apr 12 17:04:07 you have a class nested in the android.* path ? Apr 12 17:04:18 nice Apr 12 17:04:28 or is it rather com.mypackagename.*whatever Apr 12 17:04:33 Anyone can spare a minute or two? Apr 12 17:04:40 just follow that example and you will be fine Apr 12 17:04:46 ah Apr 12 17:04:47 if not you wont Apr 12 17:04:54 not much else to say :) Apr 12 17:04:54 getLastNonConfigurationInstance() is deprecated... what do i have instead ? Apr 12 17:07:26 ugh, I tried to use Gson, but keep getting crashes Apr 12 17:07:35 Gson is awesome Apr 12 17:07:41 +1 Apr 12 17:07:51 Eric_Loves_You: it should be, but I can't get it to do what I want Apr 12 17:07:57 anyone have any experience with it? Apr 12 17:08:01 What are you trying to do? Apr 12 17:08:06 I have tons of experience with it Apr 12 17:08:07 "black magic" ? Apr 12 17:08:11 parsing JSON to Java objects Apr 12 17:08:14 anyone know how I could toast from protected Void doInBackground(Void... params) {? Apr 12 17:08:27 Guys (or girls), can I have a minute please? Apr 12 17:08:40 belgianguy Have a stacktrace or anything? Apr 12 17:09:01 tuut ask away if someone can help they will respond Apr 12 17:09:11 Eric_Loves_You: I'm not getting crashes anymore, the resulting data structure is always null now :( Apr 12 17:09:16 this is the data http://pastebin.com/yex8Gihe Apr 12 17:09:23 Can someone HELP please? Apr 12 17:09:34 Could someone advise me? I need to develop a control with texts. When the user flings, the texts move (animate) and might change content. What to use? Canvas, ViewGroup, other? Draw the strings or use TextView widgets? Apr 12 17:09:36 tuut depends on your problem Apr 12 17:09:48 @mmo.. thanks Apr 12 17:10:25 the JSON validates, but in setting up JSON I must be doing something wrong Apr 12 17:10:30 https://gist.github.com/mcr/5373547 I just don't understand why I can't repo upload. My guess is that maybe this branch doesn't accept uploads? Apr 12 17:10:39 belgianguy What does your object look like? Apr 12 17:11:39 Eric_Loves_You: I have a SearchResponse class http://pastebin.com/Ci9Cesp1 Apr 12 17:12:11 don't you need @SerializedName? Apr 12 17:12:20 Eric_Loves_You: and a Result class http://pastebin.com/V23W2Y3D Apr 12 17:13:08 the Result class has @SerializedName, but I don't know if that's sufficient (and they share the same name, so they shouldn't even be necessary IIRC) Apr 12 17:13:13 tnzr Only if the json object is named differently than the java object Apr 12 17:13:17 oh I see Apr 12 17:13:39 brb Apr 12 17:15:21 anyone know how to toast from protected Void doInBackground(Void... params) {? Apr 12 17:16:05 mmoassistdev1: why would you want to throw a toast ? Apr 12 17:16:20 mmoassistdev1 Can either runonuithread if you have access to a context, or do it onProgressUpdate() Apr 12 17:17:03 I'm sure there are other ways Apr 12 17:17:23 i want to toast to let user know what they need to do to finish the doinbackground. Toas will say keep tapping screen or something along those lines Apr 12 17:18:02 bk Apr 12 17:18:32 mmoassistdev1: that sound a bit odd Apr 12 17:18:40 i will look more into runonuithread Apr 12 17:19:10 Eric_Loves_You: what would be the best way to approach this? Apr 12 17:19:13 Does sound a bit odd though Apr 12 17:19:26 it is odd my doinbackground is recording getevent and i need the user to tap the screen to fill the buffer so that they can get the output Apr 12 17:20:03 but i need to inform them that they need to tap the screen Apr 12 17:20:14 Could someone advise me? I need to develop a control with texts. When the user flings, the texts move (animate) and might change content. What to use? Canvas, ViewGroup, other? Draw the strings or use TextView widgets? Apr 12 17:21:27 would there be a better way to inform them to do something in a doinbackground method? Apr 12 17:21:38 other than toast Apr 12 17:22:17 maybe a dialog box? Apr 12 17:22:54 belgianguy You might need a custom deserializer. Kinda like this http://chaos.unknown-entity.com/?p=124 Apr 12 17:23:11 everything i try to implement in doinbackground does not work. seems like there is no way to informt he user what to do. Apr 12 17:24:40 Eric_Loves_You: hmm, odd, I've just JSONArray before, and that didn't have that kind of overhead Apr 12 17:24:44 used* Apr 12 17:24:56 (I can edit the webservice too if needed) Apr 12 17:25:32 Honestly I'd edit the webservice to just return an array of items Apr 12 17:25:38 since you have access to it. Apr 12 17:26:06 Any idea how to make a loading bar on top of an existing activity? Apr 12 17:26:14 with blurry background activity? Apr 12 17:26:19 should i use fragments? Apr 12 17:26:20 Eric_Loves_You: it did just that when I started out, but I was trying to mold it to this example Apr 12 17:26:21 http://androidsmith.com/2011/07/using-gson-to-parse-json-on-android/ Apr 12 17:28:51 Eric_Loves_You: so this should go easier ? http://pastebin.com/6zQMcHEJ Apr 12 17:29:42 belgianguy You can try it. Just make sure you feed in a Type for a collections Apr 12 17:30:50 like Type t = new TypeToken>(){}.getType() Apr 12 17:31:15 and then gson.fromGson(response, t); Apr 12 17:31:47 lol its funny how i cant toast from a doinbackground thread. Apr 12 17:32:03 if its not one thing im stuck on its another =D Apr 12 17:32:06 mmoassistdev1 You can. Apr 12 17:32:19 But you either need to do it on the Ui thread somehow Apr 12 17:32:26 mmoassistdev1: You got a weird sense of fun :D Apr 12 17:33:37 mmoassistdev1: Are you just making fun of it, or are you needing a solution? Apr 12 17:34:43 Eric_Loves_You: hmm, this is what I'm doing at the moment, data is still 0 in size (so not NULL) Apr 12 17:35:34 are you guys also getting support requests from users who got your paid app from a warez market? Apr 12 17:38:06 Ge0rG: serious ? Apr 12 17:38:10 thats bad Apr 12 17:38:11 belgianguy And you're sure the data is getting to you device ok? Like you've checked it prior to feeding it into gson? I can't see anything else being wrong with it. Apr 12 17:38:38 Eric_Loves_You: I generates fine in the browser, I'm stumped as well Apr 12 17:38:45 It* Apr 12 17:38:51 StingRay_: I've got a bunch of mails from gmail addresses I can not find in checkout... and if I ask them for the order number, I never get a reply Apr 12 17:39:26 belgianguy Check out what you're feeding into gson in a debugger, just to be sure. Apr 12 17:45:02 For a custom control that displays a number of texts at random locations and animates these text to other locations. What to use? ViewGroup or other? Apr 12 17:45:13 flan3002 i was just making fun of how stupid java is. Im sure i can figure this out on my own. Apr 12 17:45:30 How would I find out which part (as an index in the editable) is visible? Apr 12 17:45:56 mmoassistdev1: Yeah, sometimes it can be more complicated that needed... Apr 12 17:46:13 tuut: How do you animate them? Apr 12 17:46:19 Using animations? Apr 12 17:46:24 From xml? Apr 12 17:46:29 Valueanimation Apr 12 17:46:35 from code Apr 12 17:46:57 The texts are positioned in a circular way Apr 12 17:47:12 And only half the circle is visible Apr 12 17:47:44 When spinning the circle, items 'leave' the screen and new ones become visible Apr 12 17:47:47 Eric_Loves_You: ohh, I think I know what's up Apr 12 17:47:49 Depends on what you need. Should they be clickable? Does this kind of control appear more often in your app? Apr 12 17:48:01 on my dev machine, I'm using a modified /etc/hosts file Apr 12 17:48:05 How many Items are there? Apr 12 17:48:06 to mock domains Apr 12 17:48:17 about 20 Apr 12 17:48:25 as I'm testing the app on a real life Android device, it doesn't have said hosts file Apr 12 17:48:26 and thus fails Apr 12 17:48:42 Should they be clickable? Apr 12 17:48:54 yes. Apr 12 17:49:10 So I was thinking about using TextView objects Apr 12 17:49:14 Is using Buttons an option? Apr 12 17:49:20 or buttons Apr 12 17:49:22 why does a deadline enhance my motivation? Apr 12 17:50:16 @flan: I'm kinda new to Android (come from C#/WPF etc background) Apr 12 17:50:27 Then I see no other solution than extending ViewGroup for you own Layout... Apr 12 17:50:45 So is kinda searching and searching on how to do things in Android Apr 12 17:50:48 belgianguy Ah ok. Yeah I made a test just to make sure I wasn't nuts, and it works as expected. https://gist.github.com/Richie97/5373818 Apr 12 17:51:06 It'd likely work as you initially had it also. Apr 12 17:51:10 Yeah, I know that... Apr 12 17:51:23 @flan: Thanks. That was what I thought as well ;-) Apr 12 17:51:51 How would I find out which part (as an index in the editable) is visible? Apr 12 17:51:54 I'm also considering using #mono (Xamarin) Apr 12 17:52:12 as it makes it easier to port parts of app to iOS, WP8 etc Apr 12 17:52:17 tuut: I don't know #mono / Xamarin Apr 12 17:52:29 Anyone here experience with Mono Apr 12 17:53:18 @flan: Mono doesn't try to use one UI system for iOS, Android etc. (not like PhoneGap etc) Apr 12 17:53:39 It uses the OS native UI and other OS specific classes Apr 12 17:53:53 Core logic, however, is identical on each OS Apr 12 17:54:15 But I guess that it (again) depends on what you want. Most applications should be doable with Xamarin for all platforms, but there will always be special situations where you will have a drawback from it, like with very special problems. Apr 12 17:54:20 Eric_Loves_You: yeah, I bet I was looking in the wrong direction :) Apr 12 17:54:26 thanks for all the help though! Apr 12 17:55:00 @flan: Agree. Apr 12 17:55:31 Luckily it is possible to use native Java code (PInvoke) Apr 12 17:55:35 tuut: This (http://blog.tomgibara.com/post/1696552527/implement-your-own-android-layouts) might help you for your layout. Apr 12 17:55:54 or make a part of ur code in java, pack it in a jar and import/connect to mono Apr 12 17:56:23 @flan: THANKS!!! Apr 12 17:57:13 @flan: not yet 100% to use Mono or go Java. I prefer C# over Java (but then, it's just a language). Apr 12 18:00:25 tuut: Yeah, I feel quite comfortable with Java on Android now, while I still need to get used to the Lambda anonymous functions (XTend / Java 8), which seem quite alien to me... Apr 12 18:01:41 @flan: U come from C#? Apr 12 18:02:11 No Apr 12 18:02:51 @flan: U use Eclipse or is there an alternative? Apr 12 18:05:03 I use Eclipse, because I like it, and there are MANY good plugins, but you may choose: http://www.jetbrains.com/idea/, https://netbeans.org/ and others http://de.wikipedia.org/wiki/Kategorie:Java-IDE Apr 12 18:06:58 I love IntelliJ Apr 12 18:07:09 Of course, there are bad things about eclipse, like some weird bugs or its HUGE complexity (runs slow), the positive outweighs the negative. Apr 12 18:07:30 Eric_Loves_You: Haven't tried it, Apr 12 18:07:31 @flan: Yup. Nothing is perfect Apr 12 18:07:45 flan3002 it's like Eclipse, but for grown ups. Apr 12 18:07:49 :P Apr 12 18:08:02 * pfn just uses vim and calls it a day Apr 12 18:08:21 * do0ob wishes eclipse had better theme support Apr 12 18:08:34 i have white on black in my main coding window and black on white in the rest Apr 12 18:08:46 I use VS2012 with CodeRush (for c#) Apr 12 18:09:47 do0ob: Yeah, I got to admit IntelliJ's theme looks sexy, but the 'Community Edition' scared me off :D Apr 12 18:10:16 Eric_Loves_You: is intellij written in java? Apr 12 18:11:16 do0ob Yeah Apr 12 18:11:19 it is Apr 12 18:11:27 but is more stable than eclipse Apr 12 18:11:46 debug directly from within IntelliJ? Apr 12 18:12:02 tuut Always Apr 12 18:12:08 ninharp Yes Apr 12 18:12:17 Our entire shop switched over to it. Apr 12 18:12:28 We had a straggler, but eventually he switched. Apr 12 18:12:33 but eclipse is officially supported by android Apr 12 18:12:38 True Apr 12 18:12:52 But IntelliJ just works better. Apr 12 18:13:02 but the layout designer in eclipse is just bad as it could be Apr 12 18:13:15 ninharp: Yeah, most Google stuff only has Eclipse plugins.. Apr 12 18:13:16 the idea layout editor is much better Apr 12 18:13:35 who actually uses the layout designer Apr 12 18:13:48 its more of a preview Apr 12 18:13:50 Hmm... interesting stuff.. IntelliJ Apr 12 18:13:52 Yeah Apr 12 18:14:11 I definitely use it to check if anything really broken while I'm making layouts. Apr 12 18:14:19 Otherwise I never use it. Apr 12 18:15:00 Does anyone know how would I find out which part (as an index in the editable) is visible? Apr 12 18:15:13 but in the end i juse eclipse because of the google support and consuetudinary Apr 12 18:15:26 Of an EditText. Apr 12 18:15:42 flan3002, you mean marked text? Apr 12 18:16:26 I mean Text in an EditText, if you got so much, that not all is visible. It could seriously speed up syntax highlighting... Apr 12 18:17:08 ah ok Apr 12 18:18:33 Time to go home (it's after 2AM here) Apr 12 18:18:46 Thanks for ur help! Apr 12 18:20:07 IntelliJ ftw btw Apr 12 18:20:34 it's CE edition is free and much better and leaner than Eclipse Apr 12 18:27:58 the CE edition is only supposed to be used for FOSS, isn't it? Apr 12 18:28:01 or did they change their policy Apr 12 18:29:22 pfn: CE edition is unencumbered Apr 12 18:29:33 it just doesn't have certain plugins Apr 12 18:31:26 * pfn shrugs Apr 12 18:31:29 vim all the way for me, still Apr 12 18:32:05 until one of the IDE vendors figures out how to seamlessly embed all of vim functionality into their editor, I'm just about not gonna use 'em Apr 12 18:33:29 and for "live" compiling, I use sbt Apr 12 18:33:46 pfn: there are some mostly-serviceable vi-emulating plugins for eclipse. Not as good as the real thing, better than not having it at all, if you're forced to deal w/ eclipse Apr 12 18:33:56 dragorn, I bought viplugin many years ago Apr 12 18:34:01 I dislike using it Apr 12 18:34:13 and I rarely use eclipse as a result Apr 12 18:35:00 I haven't tried viplugin 2, though Apr 12 18:35:12 none of the ones i used were as good as real vim Apr 12 18:35:17 but if i have to use eclipse, and sometimes I do Apr 12 18:35:30 I find I have 0 reason to use eclipse (to edit code) Apr 12 18:35:41 the only reason I ever use eclipse is to launch the debugger Apr 12 18:35:42 what do you use ? Apr 12 18:35:46 Nooben, vim Apr 12 18:35:57 from a terminal prompt Apr 12 18:35:58 ? Apr 12 18:36:02 well, gvim Apr 12 18:36:06 oh. Apr 12 18:36:14 I run it at 242 columns wide so I get 3 code windows side-by-side Apr 12 18:36:21 (80 columns wide, each) Apr 12 18:36:34 I could set it up to use vim, but i'd be at odds with some team members at work on some projects, so it's significantly easier to just deal with eclipse, on that code. Less anger all around from others Apr 12 18:36:42 pfn: I tried sublime2 in vim mode, just wasn't the same Apr 12 18:36:44 I mean, i guess what works... I find eclpise to be fairly nice. Apr 12 18:37:00 Nooben: the beauty is we get to pick, fortunately :) Apr 12 18:37:29 dragorn, I find anger at others for using eclipse, because eclipse does terrible shit with whitespace Apr 12 18:37:50 * pfn runs vim with :let java_space_errors=1 Apr 12 18:37:55 and god, eclipse code is so ugly Apr 12 18:38:14 I suppose being paid to deal with it assuages some of the hate :P Apr 12 18:38:18 terrible mixtures of tabs and spaces, hanging spaces at the end of lines, empty lines with arbitrary spaces Apr 12 18:38:49 Such a horrible issues, if only there were 3 keys you could hit simultaneously to fix it Apr 12 18:39:26 SimonVT: not being an eclipse ninja, what 3 keys? Apr 12 18:39:44 SimonVT: since I'm legitimately interested about what it does to auto-demangle Apr 12 18:39:50 SimonVT, that's even worse Apr 12 18:39:57 3 keys to hit simultaneously destroys merges Apr 12 18:40:09 so, now, you just introduced merge conflicts to everyone on the team that is working on the same code Apr 12 18:40:16 ctrl+shift+f iirc Apr 12 18:40:35 Applies the code formatting settings you set up Apr 12 18:40:51 iirc you can also select a block of code and just apply the style to that, you can in intellij at least Apr 12 18:41:12 i set it so that the formatter is on the project level Apr 12 18:41:15 commited that into git Apr 12 18:41:22 and also added so that every time you save it autoformats Apr 12 18:41:46 now everything is formatted correctly, and you never get merge issues Apr 12 18:44:42 I suppose that works Apr 12 18:44:59 but only for new projects starting out Apr 12 18:45:23 you can't really do that with in-progress projects, without either having massive merge conflicts, or freezing everyone from changes and having them update while you change project properties Apr 12 18:45:49 Okay here's a little annoying question. I have an Android project but the src directory isn't 'maven-ized' e.g., src/main/java src/main/test How should I provide unit tests for the project. I could always tell maven that the test directory is something else and have my idea point to it as tests, but is there another way? Apr 12 18:47:16 typical project structures pre-maven were to put tests in a directory parallel with src Apr 12 18:47:22 so you'd have project/src and project/test Apr 12 18:47:27 and package structure beneath that would reflect Apr 12 18:47:57 That's what I'm going to do but just feels dirty :( Apr 12 18:48:01 * pfn shrugs Apr 12 18:48:07 * pfn generally dislikes maven project structure Apr 12 18:48:22 I like it :) Apr 12 18:48:46 I don't see the issue.. Either your team has defined formatting that you can set up in eclipse, or you just use it as any other text editor and apply whatever formatting you want manually.. As you would in vim Apr 12 18:49:18 SimonVT, the problem is the latter, when applying formatting willy-nilly Apr 12 18:49:21 I just dislike the fact that there's a manual step when you import the project ;) Apr 12 18:49:32 personal thing nothing major Apr 12 18:49:35 How is that specific to eclipse, or any ide really Apr 12 18:50:04 Since the IDE's don't read the maven project files for custom paths automatically :) Apr 12 18:50:21 e.g., eclipse or intellij, you can import a POM and it sets it all Apr 12 18:50:22 SimonVT, it isn't, but people often see "ooh, 3-stroke command, lets do it and check it in" Apr 12 18:51:21 clicks are so 2012! ;) Apr 12 18:52:21 Maybe intellij will do it. I haven't tried in years Apr 12 18:53:16 Honestly these sort of issues are bullshit, but its just a personal pet peeve ;) Apr 12 18:53:54 I don't see how that's an argument against using an ide.. I bet the same people could fuck it up in vim somehow Apr 12 18:54:09 On another topic, I saw a transexual stop in the middle of walking, lift her skirt and pee today. #SF Apr 12 18:54:27 Does anyone know what Android Factory Mode is? Apr 12 18:56:29 rburton-: You don't have to mavenize your paths, and can point it elsewhere Apr 12 18:57:41 SimonVT: That's what I mentioned when I first ask. e.g., I could always tell maven that the test directory is something else and have my idea point to it as tests, but is there another way? Apr 12 18:57:52 Just don't really feel like YAY Android project structures are mavenish! Apr 12 18:57:54 ;) Apr 12 18:58:01 not a big deal Apr 12 18:58:12 I don't follow Apr 12 18:58:46 It would have been nice if they just followed Maven's project structure since that's what's widely accepted in the Java world Apr 12 18:59:39 So do that then? :p Apr 12 18:59:49 I did :) Apr 12 18:59:59 I'm actually smiling here because I know its a bullshit complaint ;) Apr 12 19:00:19 Hey. Is it possible to simulate an sms on an actual device (not emulator)? Apr 12 19:00:32 I'm not sure I understand what the actual issue is ;d Apr 12 19:00:35 I believe so theGrg Apr 12 19:00:50 SimonVT: the Android project structure should be the way I want it ;) Apr 12 19:00:54 Could you point me in the right direction? Apr 12 19:01:30 Ah, so you just can't decide Apr 12 19:01:38 http://stackoverflow.com/questions/3537307/simulating-sms-on-android-devices-when-developing Apr 12 19:02:02 SimonVT: I can, but the only choice i have isnt really what i want so I want to virtually stomp my feet :) Apr 12 19:02:13 I don't believe you can on a device.. Just send it a text Apr 12 19:02:15 theGrg just telnet to it Apr 12 19:02:15 Or use the emulator Apr 12 19:02:29 on a physical device no, you just need to send it via their network Apr 12 19:02:31 but emulator ya Apr 12 19:03:24 So I need to use the emulator then. Apr 12 19:03:27 Oh well. Apr 12 19:04:07 theGrg: I imagine if you REALLY REALLY cared you could make a custom rom and do some sort of injection. That's pretty far off-scope tho Apr 12 19:04:40 rburton-: can you send sms over telnet? Apr 12 19:04:52 (to the emulator) Apr 12 19:04:56 The link I sent shows how Apr 12 19:05:08 cool :) Apr 12 19:05:15 You can also text between emulators :p Apr 12 19:05:43 why isn't that more advertised? Apr 12 19:05:53 can you fake an incoming call as well? Apr 12 19:06:33 Not sure about that Apr 12 19:06:56 yeah Apr 12 19:07:03 * rburton- loves writing unit tests. Apr 12 19:07:26 http://developer.android.com/tools/devices/emulator.html#console Apr 12 19:07:30 http://developer.android.com/tools/devices/emulator.html#telephony Apr 12 19:07:36 http://developer.android.com/tools/devices/emulator.html#sms Apr 12 19:07:46 Docs! Docs everywhere! Apr 12 19:07:58 :D Apr 12 19:08:19 SimonVT: thanks, weird that these never appeared in any tutorials Apr 12 19:08:34 perhaps people fear the console Apr 12 19:08:52 You just search the dev site for "emulator" :p Apr 12 19:09:15 SimonVT: now I know that, but I wouldn't have known otherwise :p Apr 12 19:09:30 I tend to throw my questions at El Goog directly Apr 12 19:10:25 May 1st, I fly to NYC to apartment hunt! Apr 12 19:13:19 rburton-, simple answer: don't use an ide that can't customize source paths :p Apr 12 19:13:55 ;) vim++ Apr 12 19:17:10 Intellij has no issue with your strange paths Apr 12 19:18:06 * belgianguy hearts IntelliJ Apr 12 19:18:21 and what are the problems you get with intellij ? Apr 12 19:18:39 cause if you cant list any … you probably dont know it enough Apr 12 19:18:41 * rburton- dry humps intellij Apr 12 19:18:57 SimonVT: you verified it? I didn't reopen the POM yet to test it Apr 12 19:19:00 StingRay_: well, I submitted a bug report that got fixed Apr 12 19:19:04 does that count? :p Apr 12 19:19:09 no Apr 12 19:19:12 :) Apr 12 19:19:38 ;) damn Apr 12 19:19:44 rburton-: Granted I've only opened projects that had either src/ or src/main/java/, but intellij figures everything out from the pom file Apr 12 19:19:46 not as easy to manage library projects ? work on main and library side by side ? Apr 12 19:20:11 All you gotta do is set up a run configuration and click run Apr 12 19:20:15 just too lazy and writing unit tests :) Apr 12 19:20:21 * rburton- playing catch up! Apr 12 19:20:29 is there a good guide for unit testing? Apr 12 19:20:44 I always want to learn it but never seem to find the right time to create them Apr 12 19:20:53 there's loads of unit test tutorials Apr 12 19:21:01 belgianguy there are loads of blogs, but I don't think they really address the key points very clearly or simply Apr 12 19:21:18 import junit.Test; create a @Test public void testFoo() {}; run test, and smile at the green bar Apr 12 19:21:22 Hm, does running "emulator" actually run one of ""emulator-arm" "emulator-x86" or "emulator-mips"? Apr 12 19:21:29 org.junit.Test, whatever Apr 12 19:21:40 android:screenOrientation="landscape" it to set orientation to landspace. how do i enable both orientations? since i moved to sdk 3.2 from 2.3.3 i get only portrait. Apr 12 19:21:40 Apr 12 19:21:48 add robolectric for doing basic tests using android apis as necessary Apr 12 19:21:54 pfn: :) nice, I'll keep that around Apr 12 19:21:55 pfn: I think folks miss out on what writing proper unit tests mean etc. bounds checking, etc. Apr 12 19:22:02 ah yeah, I've head about that library Apr 12 19:22:06 I usually dislike writing unit tests Apr 12 19:22:09 is roboelectric better than robotium? Apr 12 19:22:12 my unit tests tend to be semi-integration tests Apr 12 19:22:13 ufk: dont have that set Apr 12 19:22:32 and it should do both Apr 12 19:22:41 mm ok thanks Apr 12 19:22:45 oh its just for unit testing eh? Apr 12 19:23:06 ohh i disabled screen rotation in my phone!! Apr 12 19:23:08 ahahahah Apr 12 19:23:16 it drove me nutz Apr 12 19:23:34 tnzr, robotium is for on-device tests, yes? Apr 12 19:23:45 tnzr, robolectric is fully jvm tests Apr 12 19:23:47 it can use the emu, but I guess its just for UI testing Apr 12 19:23:51 vs. unit testing Apr 12 19:23:52 tnzr, useful for testing logic Apr 12 19:23:57 i see Apr 12 19:27:11 StingRay_: http://bildr.no/image/1437095.jpeg Apr 12 19:27:21 maybe a little too much but something like that? Apr 12 19:27:57 no Apr 12 19:28:03 you missed my point Apr 12 19:28:07 ok :) Apr 12 19:28:07 probably my fault Apr 12 19:28:12 each square Apr 12 19:28:16 to make more defined Apr 12 19:28:21 aha Apr 12 19:28:24 have a highligh on 2 sides Apr 12 19:28:30 and a shadow on 2 sides Apr 12 19:28:41 + and - the center shade Apr 12 19:28:46 sounds like that would look very odd Apr 12 19:29:09 eg, on the black have it 0-255 but at 10,10,10 Apr 12 19:29:20 and have the shaded 2 sides 0,0,0 Apr 12 19:29:45 Quacked: well you know that one you liked but didnt know how they did it ? Apr 12 19:29:48 thats how Apr 12 19:29:51 :) Apr 12 19:29:56 :) Apr 12 19:30:18 gives the illusion of depth/detail Apr 12 19:31:07 but you should always concider NOT using words in icons Apr 12 19:31:22 as long as the icon is distinct, there really should be no need Apr 12 19:31:32 specially when you think about localization Apr 12 19:31:37 yeah Apr 12 19:32:25 but you said top and right with highlight... does that mean 45 degree angle like I did? Apr 12 19:32:51 imagine a 1px border around each square Apr 12 19:33:00 u have 4 sides Apr 12 19:33:14 right and top are a shade lighter than the center Apr 12 19:33:18 oh Apr 12 19:33:20 just the border Apr 12 19:33:23 bottom and right are a shade less Apr 12 19:33:27 ahaa Apr 12 19:33:46 I thought you were talking about a gradient Apr 12 19:33:55 na Apr 12 19:34:32 tell you what, you got that as a psd ? Apr 12 19:34:40 dropbox it and lemme just have a look Apr 12 19:34:40 yah Apr 12 19:34:46 sure Apr 12 19:35:30 I'm making MASSIVE changes with no unit tests and Boom it dies ;) Apr 12 19:39:21 I'm being spammed by someone from "San Francisco LGBT Community Center" - "Employment Services Specialist" and there's no unsubscribe option Apr 12 19:39:37 There is a phone number. I asked once to get off the mailing list. Next option will be a phone call Apr 12 19:39:47 If that doesn't work, I will go to their building. Apr 12 19:39:48 StingRay_: I PMed it Apr 12 19:40:33 one of the few things Time Warner does right is a block list. I can block individual phone numbers. Anything that calls me more than once gets on the list. Apr 12 19:41:29 I fully intend to go to their building, ask for the person and demand them to remove me form their list in person. Apr 12 19:41:41 Never screw with a person who has free time ;) Apr 12 19:43:27 rburton-, Jus block them or set up a filter. Apr 12 19:43:32 Just* Apr 12 19:44:00 I shouldn't have to do that. I never requested the e-mail. They're 2 blocks from my home. I fully intend to do my part in stopping their spamming behavior Apr 12 19:44:25 By me going there, it'll have have them understand they should run a respectable business. Apr 12 19:44:30 rburton-, I seriously doubt any of the info is accurate of them or their location Apr 12 19:44:31 Its not just for me honestly Apr 12 19:44:37 it is ;) Apr 12 19:44:53 They have their linkedin profile in the email and all Apr 12 19:44:56 phone, fax etc Apr 12 19:45:12 can i define styles in styles.xml based on screen sizes? (normal,large,xlarge,xxlarge) ? Apr 12 19:46:03 Then I'll blog about it. "How I did my part on stopping recruiters who spam." Apr 12 19:46:04 ;) Apr 12 19:48:32 Is it possible to flash any nexus s 1% battery zip to the nexus s or must there be an android version match as well? (AOSP) Apr 12 19:48:51 hi, i'm trying to get usb host mode working on my grouper running 10.1m3. it works fine on my toro, so i think it's something software side Apr 12 19:49:27 How can i put the reference to a string into a database? Apr 12 19:49:29 i have an app with a host mode intent on both devices, but on the grouper there's no popup when i connect the device Apr 12 19:49:59 if i put R.string.file_not_found as the error integer will it change when i change the resources in a later version? Apr 12 19:51:07 ufk: you can use values-normal just like the layout folder, the last project i made had paths like res/values-v14/styles.xml to deal with theme differences over api's Apr 12 19:51:29 abradley: cm 10 has a theme engine, pick a theme with a 1% battery Apr 12 19:51:29 ohhhhhh Apr 12 19:51:31 coool Apr 12 19:51:32 do0ob: you don't want to do that, trust me. Apr 12 19:51:36 do shapes and strokes get anti-aliased? Apr 12 19:51:53 lov: why? Apr 12 19:52:04 do0ob: for one thing, you're right; the value can change across versions. Apr 12 19:52:21 for another, why in the world are you storing a string resource in the database Apr 12 19:52:24 when I 'run' my app in the emulator is this 'installing' the app from scratch? Apr 12 19:52:34 do0ob, I'm running AOSP Apr 12 19:52:44 4.1.2 Apr 12 19:52:47 benlieb: no; it installs the application if not present, or reinstalls on top of the existing application if present. Apr 12 19:52:52 rooted Apr 12 19:52:55 benlieb: your app private data, etc, is not erased. Apr 12 19:53:00 abradley: then take the apks apart and replace the neccessary files Apr 12 19:53:22 I see. Thanks for the tip do0ob Apr 12 19:53:26 abradley: please take it to #android-root as well Apr 12 19:53:29 lov: tnx Apr 12 19:53:33 lov: i want to save error codes in a database with corresponding file paths, the error codes will be found in strings.xml Apr 12 19:53:40 battery is dying. Time to go get food and charge :) Apr 12 19:53:42 bbl Apr 12 19:53:55 i don't want to store the error, just a reference to it Apr 12 19:54:16 do0ob: you could store the actual string value, rather than the reference id Apr 12 19:54:35 lov: seems messy and inefficient Apr 12 19:54:37 do0ob: you could also create an enum of error codes that contain the relevant string resource values Apr 12 19:54:48 and what if i decide to change the error description Apr 12 19:55:05 Quacked: looking now Apr 12 19:55:26 do0ob: then you're just going to have to have a lookup table of values to error messages somewhere Apr 12 19:55:31 there's no real way around it Apr 12 19:55:55 oh well, i thought there might be a better way Apr 12 19:56:08 How do you query providers to know what methods and services they are running? Apr 12 19:56:31 StingRay_: let me just say I'm sorry for the complete layer mess :D Apr 12 19:56:45 Say a third party provider like google earth while it is made by google it is an aftermarket addon Apr 12 19:57:25 droidbuster: i'm guessing reflection may give details Apr 12 19:57:31 Esp by default it doesnt open. .Kml or. Gpx files which it should Apr 12 19:58:15 bbiab, gotta go pick up some takeaway Apr 12 20:00:17 still here? Apr 12 20:00:36 https://dl.dropboxusercontent.com/u/80096154/stingray.jpg <--- kinda like that, but spending more than the 30 seconds I just have Apr 12 20:01:01 @Quacked Apr 12 20:01:10 12 16:58:15 < Quacked> bbiab, gotta go pick up some takeaway Apr 12 20:01:21 dam Apr 12 20:01:27 now I want some takeaway Apr 12 20:01:50 * StingRay_ goes looks at all the takeaway menus Apr 12 20:03:46 is there a shortcut key in mac to 'run' the app? Apr 12 20:03:50 in eclipse Apr 12 20:04:02 look at the run menu Apr 12 20:04:03 benlieb: ctrl+f11 does it on linux Apr 12 20:04:07 it tells you what the accelerators are Apr 12 20:04:18 When I run the appt tool, where does it put the compiled binaries? Apr 12 20:04:36 aapt? Apr 12 20:04:36 bin Apr 12 20:05:01 Nothing seems to be there. Apr 12 20:09:31 ok, StingRay_away, thanks Apr 12 20:10:01 Or more specifically when aapt is run, it generates compiled resources. Where do those live? Apr 12 20:10:58 Oh you know what I'm reading the documentation incorrectly. Apr 12 20:11:17 Th aapt tool just generates the R class for non compiled resources. I need to add thosse to the final output. Apr 12 20:21:32 I've got a ListView which is populate with ImageViews, the problem is that the ImageView don't maintain they're aspect ratios when display in the list. Why don't the ImageView's maintain they're aspect ratio? I'm using "android:src=", and "adjustViewBounds="true"". Thoughts? Apr 12 20:24:28 jdawes: scaleType ? Apr 12 20:24:47 adjustViewBounds is something different Apr 12 20:27:58 OK, next question. Would it be possible to subclass LinearLayout, and have it scale appropriately (keeping the aspect ratio) to whatever background image you choose? Apr 12 20:29:32 probably Apr 12 20:30:37 I've just attempted it, it works when NOT inside the ListView, is there another method that I need to overwrite in order to have them scale in a listview? If so, which one? Apr 12 20:30:37 http://pastebin.com/h4RPvSfH Apr 12 20:31:31 And by "overwrite" I mean override. Apr 12 20:32:01 my LogCat seems to have stopped getting logs after I 'cleared' it. What am I missing? Apr 12 20:32:11 I run the app, and nothing is logged. Apr 12 20:49:00 in an empty RelativeLayout, why can't I place a button a little above the absolute bottom of the screen? Apr 12 20:49:20 because your relativelayout isn't match_parent in height Apr 12 20:49:32 it's fill_parent Apr 12 20:49:42 use hierarchyviewer to see why Apr 12 20:50:28 eclipse has stopped running my app in the emulator. It was running fine for the last hour. now I hit the run button, there is a quick flash, but then nothing happens in the emulator. No error messages... Apr 12 20:53:36 benlieb: did the eclipse console say anything? uninstall the app / restart the emu ... Apr 12 20:53:37 benlieb, you can check the emulator error by Window => Android Virtual Device Manager Apr 12 20:54:56 I've still got no idea; hierarchyview won't recognize the device Apr 12 20:56:01 with match_parent as height of the RelativeLayout, padding is no longer available Apr 12 20:56:19 no, scratch that Apr 12 20:56:34 it still gets stretched Apr 12 20:56:54 I finally got it working by just trying over and over. Jesus, what a buggy environment. I'm new to android dev... Apr 12 20:58:44 benlieb: the fun is just beginning :) Apr 12 20:59:24 g00s: hmm\ Apr 12 20:59:46 is there a way to get the emulator to turn itself to landscape when the app does? Apr 12 20:59:57 benlieb: I'm curious to know what the problem was... Apr 12 21:00:08 norbu: me too. I have no idea. Apr 12 21:00:33 benlieb: also, if you can, use the x86 images Apr 12 21:00:40 benlieb: ctrl+fn+F11 on Mac Apr 12 21:00:42 left-ctrl+F11on Windows 7. Apr 12 21:00:44 ctrl+F11on Linux Apr 12 21:01:18 tnx, I got the shortcuts to do it MANUALLY, wondering if there's a setting for it to do it AUTOMATICALLY. Apr 12 21:01:30 is there a reason this isn't just automatic? Apr 12 21:02:00 benlieb: hehe you mean when you turn your monitor on to it's side? xD Apr 12 21:02:27 norbu: no when a button is clicked that loads a landscape activity Apr 12 21:03:14 benlieb: i think you create a layout in the layout-landscape folder Apr 12 21:03:40 StingRay_: this is how it looked on screen: http://bildr.no/image/1437213.jpeg Apr 12 21:03:45 havent done anything to it Apr 12 21:04:09 norbu: the app works and loads a landscape layout fine. THe emulator stays vertical tho. Apr 12 21:04:21 yeah you would adjust the params for the target size Apr 12 21:04:26 you dont just scale it Apr 12 21:05:31 yeah Apr 12 21:05:45 benlieb: if your screen is already in landscape, then you could just press the hotkey to turn the emulator 90degrees to see it as you would on a phone. Apr 12 21:06:09 tnx, I got the shortcuts to do it MANUALLY, wondering if there's a setting for it to do it AUTOMATICALLY. Apr 12 21:06:29 So when the app wants landscape, the emulator, goes to landscape Apr 12 21:06:40 No, you can't do that Apr 12 21:07:07 SimonVT: are you at VPI? Apr 12 21:07:55 I don't think so Apr 12 21:08:19 SimonVT: VT = Virginia Tech, also known as VIP, never mind ; ) Apr 12 21:09:39 StingRay_: would it be bad to add some effect that makes it look kinda like a plastic button? something that I tried to do here: http://bildr.no/image/1436605.jpeg Apr 12 21:10:47 Looks better than the last icon Apr 12 21:11:46 SimonVT: you prefer that over something like http://bildr.no/image/1436953.jpeg ? Apr 12 21:12:38 Nah, that one's better Apr 12 21:14:48 top left here I tried to make it "pop out" with some inner grey shadow, but I failed miserably Apr 12 21:14:48 http://bildr.no/image/1437221.jpeg Apr 12 21:16:01 i'd adjust the perspective, the guidelines say you should make it so the viewing angle is slightly above front-facing, whereas yours is slightly below Apr 12 21:16:53 s/say/suggest/ Apr 12 21:16:56 kevinb: the drop shadow? Apr 12 21:17:00 yeah Apr 12 21:17:25 what do you mean above front-facing? I used down to the right Apr 12 21:17:51 look at the play store and messeging and people and phone icons Apr 12 21:18:03 it's as if we are looking at them slightly above Apr 12 21:18:18 ah Apr 12 21:18:31 I understand Apr 12 21:19:02 kevinb: thats only if it were a 3d object really Apr 12 21:19:08 not a flat board Apr 12 21:19:23 well he has the shadow which gives it a 3d effect but in the wrong direction Apr 12 21:19:38 for http://bildr.no/image/1436953.jpeg at least Apr 12 21:19:57 anyone knows what is the smallest width in dp of Galaxy Tab 8 ? Apr 12 21:22:11 I have a tab 8.9 Apr 12 21:22:15 somewhere Apr 12 21:22:23 but cant you just lookup the res ? Apr 12 21:22:27 online ? Apr 12 21:24:28 kevinb: this is the exact opposite: http://bildr.no/image/1437232.jpeg Apr 12 21:25:59 hrm it's still not front facing horizontally though. unfortunately i feel that the previous one looks better though this one is closer to following the guidelines Apr 12 21:26:22 I agree Apr 12 21:26:30 shadow of this was -60 degrees Apr 12 21:31:30 StingRay, I need to know the density factor to convert in dp. And it was about the new Galaxy Note 8 Apr 12 21:52:00 how should you size the buttons for laying out a custom keyboard in xml? Apr 12 21:54:19 however you want I would think :) Apr 12 21:54:43 Well, say I wanted the buttons to scale up on larger physical sized screens? Apr 12 21:55:30 then size them based on the screen, either code or in expandable views Apr 12 21:55:50 where you would probably still need to work out KB height though Apr 12 21:55:56 I'm just guessing btw Apr 12 21:56:33 KB height? Apr 12 21:56:41 keybaord Apr 12 21:56:41 Key Apr 12 21:56:43 never mind Apr 12 21:56:45 ya Apr 12 22:54:52 How do I clear all SharedPreferences? Apr 12 23:02:45 is there any events I could hook into for Application destroy so it could save state to disk? Apr 12 23:03:43 rburton-: every activity and fragment has a destroy callback Apr 12 23:04:08 Right but this is more global state I don't want to serialize data upon each create destroy Apr 12 23:04:47 Then again, when the data changes, I could make part of the task to serialize to disk, then otto the other components Apr 12 23:05:06 on startup, hydrate the state and keep it in memory. Apr 12 23:05:12 the application can be destroyed at any time Apr 12 23:05:16 particularly on low memory Apr 12 23:05:34 you don't want to rely only on the destroy callback to save important state Apr 12 23:06:15 right I should do it once the data is changed Apr 12 23:09:54 fridays, always so slow Apr 12 23:10:35 not here Apr 12 23:10:40 fridays are awesome Apr 12 23:11:04 coffee at 10, lunch and margaritas at 12, beer & wine at 3 Apr 12 23:11:27 indeed Apr 12 23:12:00 I'm not much a fan of brewed coffee Apr 12 23:12:11 only black for me Apr 12 23:12:18 only espresso for me Apr 12 23:12:27 and the occasional latte Apr 12 23:12:34 ill do espresso or a cappuccino now and then Apr 12 23:12:47 but only if im making it myself, i dont trust anyone else Apr 12 23:12:53 hey y'all Apr 12 23:13:02 and i really hate cleaning and prepping my machine Apr 12 23:13:27 heh, why even bother with an espresso machine if you aren't gonna do the routine Apr 12 23:13:30 might as well get a superauto Apr 12 23:13:54 because i want to enjoy it when i DO go through the routine Apr 12 23:14:36 I'm trying to diagnose why a only the first tile in my gridview refuses to change its size when I go from landscape to portrait -> https://dl.dropboxusercontent.com/u/63726/device-2013-04-12-161230.png (<- landscape) (portrait ->) https://dl.dropboxusercontent.com/u/63726/device-2013-04-12-161242.png Apr 12 23:15:29 I know it's not much to go off of, but is there any weird behavior that y'all know of wrt gridviews, rotation, and view recycling? Apr 12 23:15:32 birbeck, well, I don't want to drink coffee any other way, so I'll put up with the routine Apr 12 23:16:40 http://imgur.com/a/gtzFJ Apr 12 23:16:49 It tasted like absolute shit. It was the worst coffee experience I have ever had. Apr 12 23:16:54 of course, it's rat shit... what did he expect Apr 12 23:17:49 ah yeah. ive had it, but only from a french press Apr 12 23:17:53 i wasnt impressed either Apr 12 23:19:08 ours was not pre-ground, but i dont think it was any better Apr 12 23:19:18 as for espresso routine, it's not that cumbersome... at least probably because I'm skipping steps Apr 12 23:19:29 I'm making do with a hand-grinder, though... a new grinder comes next week Apr 12 23:20:56 I am having the wrong image from the drawable directory being showed in the app. Can anyone tell me the command to cleanup and rebuild image cache or something like that throught ant? I am unable to recall the parameters Apr 12 23:21:40 ant clean Apr 12 23:21:47 pfn thank you Apr 12 23:26:59 shit, i need to find a Reader replacement Apr 12 23:27:06 * g00s has been putting it off Apr 12 23:28:09 g00s twitter :) Apr 12 23:28:17 matt9: GTFO Apr 12 23:28:19 :D Apr 12 23:28:20 lol Apr 12 23:28:32 a reader with no social bullshit Apr 12 23:28:40 rss is a dying technology man Apr 12 23:28:49 so is html Apr 12 23:28:55 9.9 Apr 12 23:29:03 rss has been a dying technology for how many years now Apr 12 23:29:22 thats what the walled gardens would like you have you believe :) Apr 12 23:29:26 losing google reader is huge though Apr 12 23:29:34 thats like git without github Apr 12 23:31:26 adapt guys Apr 12 23:33:15 i like rss, it is clean Apr 12 23:33:27 whether rss or atom, feeds are good Apr 12 23:34:12 fwiw, feedly (from the grapevine) might attempt to fill the vacuum (no doubt others will also be doing it.) Apr 12 23:35:33 ie, a publicly available "clean" feed-consolidator/spam-cleaner etc. Apr 12 23:37:47 i was thinking maybe a simple app like Reeder Apr 12 23:39:02 oh, client-side... hm. Well, my modus operandi used to be to just point flipboard at google reader. I'm hoping I can just switch it to feedly sooner or later. Consolidating server-side makes it simpler to use multiple clients for me at least. Apr 12 23:40:22 kbs: i read feeds in a strange way. basically, each day i go through my feeds and put the interesting ones in new tabs. at the end of the week, i pick 10 of those. so i prioritize twice; i limit the amount of time spent reading news Apr 12 23:41:09 aah, interesting. Thats far more sophisticated than my (essentially) browsing at odd times of the day sort of thing. Apr 13 00:09:31 what happens to the values dir of an apk once compiled? Apr 13 00:11:49 the dir? it doesn't exist Apr 13 00:13:31 new policy Apr 13 00:13:39 when apps request ridiculous permissions, i'm giving them 1 star Apr 13 00:14:06 canadiancow: i looked at the Play store app permissions, some seemed rediculous Apr 13 00:14:24 there are 2 parts: what the permissions are, and why they are being used Apr 13 00:14:35 the system in inherently flawed because nobody can guess #2 Apr 13 00:14:46 except in the most obvious cases Apr 13 00:15:04 but there are some cases where i dont care Apr 13 00:15:14 play store can "change network connectivity" Apr 13 00:15:20 thats not something i like Apr 13 00:15:31 but i know google isnt going to push out an app that misbehaves Apr 13 00:15:33 so i can deal with it Apr 13 00:15:41 facebook wanting to view a list of running apps, on the other hand Apr 13 00:15:46 gtfo Apr 13 00:15:53 heh, well, yeah - they can gtfo indeed Apr 13 00:16:11 we all know why, to spy Apr 13 00:16:23 oh, "better suggestions" Apr 13 00:16:42 there are times i wonder if google should be more like apple in "approving" apps Apr 13 00:17:06 or at least offer that you /can/ submit your app for approval to get a certain status Apr 13 00:17:14 or if they could manually review some, and then put a big red "THIS APP IS SPYING ON YOU" on the play store page until its fixed :) Apr 13 00:19:11 canadiancow: i read last week that google removed about 60k apps from the store. there policy seems to be to let it in, and then remove it (via automated means, probably) after checking it afterwards Apr 13 00:19:24 nah im not talking about removals Apr 13 00:19:36 im talking about apps that have no reason to see a running list of your apps or whatever Apr 13 00:19:52 if a task killer requests that permission, ignoring how stupid task killers are, then fine Apr 13 00:20:06 sure Apr 13 00:20:09 if facebook requests it: WARNING: THIS APP WILL SPY ON EVERYTHING YOU DO Apr 13 00:20:25 maybe "SPY ON" is bad wording Apr 13 00:20:49 does the stock launcher send data back to google on engagement per app ? Apr 13 00:21:11 i never heard that it does Apr 13 00:31:42 the stock launcher itself doesn't. i don't know if the rest of the system does (i don't think so though) Apr 13 00:32:34 When using Parcelable, is there a write through implementation? e.g., a writeInt(int) will write to an outputstream vs keeping it all in memory? Apr 13 00:33:02 kevinb: play services could, i suppose. Apr 13 00:34:15 Has anyone here been working on billion dollar apps? Apr 13 00:34:35 we all are ;) Apr 13 00:34:42 heh :) Apr 13 00:34:49 lol Apr 13 00:34:53 saw that coming Apr 13 00:35:04 I think everyone here is a CEO as well. ;) Apr 13 00:35:37 we're all temporarily embarrassed billionaires Apr 13 00:36:03 I'm just in a low at the moment. Net Worth went down -2Billion dollars Apr 13 00:36:14 haha:) Apr 13 00:38:07 g00s, i'm in chapter 3 of JCIP. It's a good book Apr 13 00:38:58 \o/ Apr 13 00:39:14 Okay, I may just dump paracle and use GSON. Why am I still trying to fight agianst using GSON. it's just foolish Apr 13 00:39:26 g00s, i'm not sure how to approach my app anymore though. lol Apr 13 00:39:54 since we've been talking my application is now worth 1.1B anyone want to buy it. Apr 13 00:40:00 I'm 16 years old ;) Apr 13 00:40:09 rburton-: in bitcoins ? :P Apr 13 00:40:18 yes! Apr 13 00:40:27 rburton-: try pitching to yahoo ;) Apr 13 00:40:46 I'm going to walk into stores in the bay area and tell them "Do you take bitcoins? Are you fucking joking brah... this is the bay!" Apr 13 00:41:01 hesperaux: probably don't need to read some of the later chapters. the beginning mostly, about concurrency basics like stack isolation, etc Apr 13 00:41:23 well, chapter three is starting to confuse me a little bit Apr 13 00:41:37 it's a little more dense than the first two chapters Apr 13 00:41:43 or maybe i'm a little more dense? haha Apr 13 00:41:51 hesperaux: learning android? Apr 13 00:41:57 its a book that requires full attention Apr 13 00:42:05 rburton-, yes Apr 13 00:42:22 A buddy put me on to a good book called hello world android Apr 13 00:42:51 part of the issue is knowing when i'm doing something in a nasty way Apr 13 00:43:13 i'm very interested in doing it "The Right Way (TM)" Apr 13 00:43:18 hesperaux that just comes with experience. Apr 13 00:43:23 very subjective as well Apr 13 00:43:26 indeed Apr 13 00:43:27 for the most part Apr 13 00:43:35 i try as a beginner, but i'm sure i'll do things that are sloppy Apr 13 00:44:02 for example, right now i'm doing IPC by sending messages through multiple shared Handlers...probably not the best way to do things. I have to make sure the Handler is fully initialized before I pass it into other threads =\ Apr 13 00:44:05 in programming or android Apr 13 00:44:17 trying to do messaging between compoents? Apr 13 00:44:28 you should look at Otto Apr 13 00:45:00 it would be more accurate to say that i'm messaging *and* sending data quickly between components Apr 13 00:45:09 rburton-: yar you bastard :3 Apr 13 00:45:18 i don't think the message queue is supposed to be used this way.. =\ Apr 13 00:45:40 hey! Apr 13 00:45:43 dross :) Apr 13 00:45:55 I was so stuffed I neglected to thank you for coming to the sushi bar Apr 13 00:46:04 I was like D: I just want to get home, I'm about to explode Apr 13 00:46:05 Its okay ;) Apr 13 00:46:32 are you guys sure you had sushi? dna tests say - most often its not sushi :) Apr 13 00:46:37 you all are going to make me fatter :( Apr 13 00:46:47 lol Apr 13 00:47:03 g00s: :3 oh yes, it was soylent green Apr 13 00:47:13 Lost my connection ugh.. Apr 13 00:47:15 soylent green leaves wrapped around the sushi? Apr 13 00:47:18 * mele- is rburton Apr 13 00:47:20 hesperaux: indeed Apr 13 00:47:25 I'm stripping out Parcelable now from this project Apr 13 00:47:29 soylent green is... seaweed? Apr 13 00:47:45 xD Apr 13 00:48:20 If you, developers, got offered to join a startup with a non-technical guy, what would make you consider it? What qualities must I possess in order for you not to do it alone? Apr 13 00:48:22 mele-: we'll have to go out again this week Apr 13 00:48:32 sure I'm going to meet up with Rick Hightower this week Apr 13 00:48:48 mele-: I just wish that bastard zedas would've came Apr 13 00:48:59 asshole, I can't believe he ditched us Apr 13 00:49:09 he goes all the time. he just was notified too late lol Apr 13 00:49:20 mele-: that's what he says Apr 13 00:49:25 I don't believe him :3 Apr 13 00:49:29 haha Apr 13 00:49:41 he may have been killing a hooker and hiding her body :) Apr 13 00:50:13 I could believe that Apr 13 00:51:20 mele-: speaking of hookers :3 I know pr3d has his own taste in women, where are some places to pick up chicks here? Apr 13 00:51:22 having a blast with this security stuff Apr 13 00:51:34 here? I fly them in lol Apr 13 00:51:48 heheh Apr 13 00:51:59 Actually a lot of girls I know come into town. I'm fying to NYC early may and a few girls want to meet up. Apr 13 00:52:09 Trying to keep my distance and be cool Apr 13 00:52:23 Does Gson support byte[] Apr 13 00:53:35 Is this a good app name?: Eggs on a Snail Apr 13 00:53:50 I have ChancyChat ;) Apr 13 00:53:55 I also own EasyShout.com Apr 13 00:54:04 SendFil.es Apr 13 00:54:08 and others :x Apr 13 00:54:30 dahlmoony, too long Apr 13 00:54:39 dahlmoony what's the app do? Apr 13 00:55:03 I haven't come up with what it will do, just the title xD Apr 13 00:55:12 ha priceless Apr 13 00:55:49 looks like I need to base64 the byte[] to serialize it Apr 13 00:56:26 you're talking nintendo-language or something! Apr 13 00:56:32 i hope im missing something obvious, but if i call MenuItem#setShowAsAction(), is there a way to later get that value? Apr 13 00:56:51 dahlmoony: na ;) Apr 13 01:03:30 I did a killer app last night (with MIT AppInventor), when I shake the phone a voice says "Stop masturbating while I'm in your pocket!" Apr 13 01:07:00 You should release an app "MasterRater" you shake it and it tells you on a scale 1 to 10 how good you are at it Apr 13 01:07:10 wasnt there already an app that did that Apr 13 01:07:30 "You as good as a 13 year who just discovered how it works" Apr 13 01:11:35 is there a standard practice for passing exceptions across process boundaries? Apr 13 01:11:40 from a client to a remote service Apr 13 01:12:39 I was looking into that, there's Google Play that captures it from what I hear Apr 13 01:12:43 I haven't dug into it yet Apr 13 01:14:44 any1 know how to center align textView? Apr 13 01:15:14 gravity? Apr 13 01:17:14 I don't know why I like to let my caf musles cramp and then slowly strench them. It's like a lazy workout Apr 13 01:17:33 hmm, gravity doesn't seem 2b helping Apr 13 01:19:09 yea my caf's are in pain all the time im not active enough i guess Apr 13 01:24:50 can i delete r.java entries? Apr 13 01:27:43 they are generated Apr 13 01:27:46 i have a bad habit of typing andriod instead of android Apr 13 01:31:16 wat's the number 1 reason for app crashing in avd? Apr 13 01:34:17 bugs Apr 13 01:35:19 i hav no error in MainActivity.java, but app crashes as soon as launch Apr 13 01:35:33 do you read the logcat? Apr 13 01:35:43 let's see the code Apr 13 01:36:38 sorry, i'm only beginning with android dev in eclispe Apr 13 01:37:16 zhej: copy and paste here the first couple lines of red text from the logcat Apr 13 01:38:22 http://pastebin.com/nNzu201p Apr 13 01:38:24 Hello world. Apr 13 01:39:31 Whoops. Let's try that again. Hi. Apr 13 01:40:09 well there ya go can't cast textview to edittext Apr 13 01:40:15 i thought yuo said there was no error Apr 13 01:40:25 * zhej gives a shout to alkain Apr 13 01:40:41 xorgate: oh, i was looking in console Apr 13 01:40:48 TextView textView = (textview) findViewById(R.id.yourtextview); Apr 13 01:40:54 oops... Apr 13 01:41:00 (TextView) Apr 13 01:41:08 So. I'm on a bit of a quest. Does anyone possess knowledge of RFCOMM, Bluetooth, and ICS? Apr 13 01:41:14 Oh, and Linux. Apr 13 01:42:02 noganex: so 1 more question, this (R.id.yourtextview) is just an 'identifier' right? somewhat like a variable? Apr 13 01:42:19 it's your id from your xml file Apr 13 01:42:19 alkain, >_> some... not much Apr 13 01:42:34 ok Apr 13 01:42:43 alkain: ICS? Apr 13 01:42:48 ^that's my course Apr 13 01:42:51 Ice Cream Sandwich. Apr 13 01:43:27 Ok, here is the sum of it. I'm using Kali Linux and I'm trying to connect to my GPS through the Bluetooth receiver. Apr 13 01:43:52 oh, i thought intro to computer science, nvm Apr 13 01:44:06 I've had success configuring Bluez but for some reason I don't see a bluetooth channel service in the sdptool browse output Apr 13 01:44:15 zhej: did you fix it? Apr 13 01:44:27 norbu: launching avd right now Apr 13 01:45:47 So, would anyone here be able to help me? Apr 13 01:52:10 jajaja Estoy eternamente en deuda norbu & alkain Apr 13 01:53:02 Guys what does my app do? I have this code:String favoriteFood = "Taco"; Apr 13 01:53:02 Apr 13 01:53:02 public String getFavFood() { Apr 13 01:53:02 return favoriteFood; Apr 13 01:53:02 } Apr 13 01:53:02 Apr 13 01:53:16 ... Apr 13 01:53:26 whoa there with the pasting... pastebin or similar, please Apr 13 01:53:30 dahlmoony: returns "Taco" Apr 13 01:53:57 dahlmoony: but that's just an accessor, you'll need another class or method to call it Apr 13 01:54:41 ty norbu Apr 13 01:54:59 zhej: no problem :) Apr 13 01:58:19 I thought i almost had made a decent cooking game with that code, clearly not the case xD Apr 13 01:58:52 dahlmoony: Build on it Apr 13 01:59:06 yes:D Apr 13 02:00:25 hm, tacos Apr 13 02:00:37 arent they those hard shell things Apr 13 02:01:05 xorgate: they can be soft Apr 13 02:01:12 Are you from North Korea or something? Apr 13 02:01:18 haha Apr 13 02:01:38 xorgate: they come in both hard and soft Apr 13 02:01:46 dahlmoony: no cooking game is complete without burritos Apr 13 02:01:48 :D Apr 13 02:01:50 i think i'd prefer them soft Apr 13 02:01:52 taco consumption has been going up in america - not for good reasons :) Apr 13 02:02:22 g00s: actually it's subway Apr 13 02:02:30 Dang net. Apr 13 02:04:15 I should make a subway simulator Apr 13 02:04:23 ...then get sued... Apr 13 02:04:33 Burritos at War III Apr 13 02:04:48 dahlmoony: ahahahahaha mhmmmmm bean burritos Apr 13 02:04:59 dahlmoony: but passing gas prob gives enemy ur position Apr 13 02:05:08 "i'd like a footlong sub with taco inside" Apr 13 02:05:09 haha ye Apr 13 02:05:35 hmm, hard shell or soft shell? Apr 13 02:05:42 lol g00s "I'd like a taco with a footlong sub inside" Apr 13 02:05:45 hard shell, not in this lifetime, soft shell, i could work with that Apr 13 02:06:18 and since taco bell beef is only 35% meat, they would probably still ask what meat you want on the sub Apr 13 02:06:34 and not charge extra for 2 meats ;) Apr 13 02:07:07 mmmm, pepperoni mixed with ground beef chunks Apr 13 02:07:38 zesty meatball taco marinara Apr 13 02:07:55 you know what's great, these things http://upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Tom_Pouce_Dutch_pastry.JPG/743px-Tom_Pouce_Dutch_pastry.JPG Apr 13 02:08:04 Gourmet Asssassin's 4: Taco Snipers Apr 13 02:09:46 does anyone have the 9 patches adn styles/themes for 2.2.2 and 4.xxx so I dont have to get the whole distro just to get those few files? would really appreciate it thanks Apr 13 02:10:39 xorgate: needs to be americanized a bit like this http://static.fjcdn.com/pictures/Why+.+I+dont+know+but+i+like+it_ef8349_4530484.jpg Apr 13 02:12:15 no, this is what u want http://www.youtube.com/watch?v=uQMgGZ9EwCI Apr 13 02:12:48 http://puu.sh/2yTAc Apr 13 02:12:56 first attempt at html canvas work Apr 13 02:12:57 lol Apr 13 02:13:04 and, instead of some kind of loyalty program, they should have a "on your 10th taco, we'll donate $1 to your FSA for your coronary which you'll need - and probably don't have any insurance" Apr 13 02:13:10 norbu that pic doenst work Apr 13 02:13:33 ron_frown: cool Apr 13 02:13:59 g00s for my realtime industrial automation monitoring and contro Apr 13 02:14:32 xorgate: http://postimg.org/image/qlqvqu6hx/ Apr 13 02:15:30 zhej: that's amazing Apr 13 02:15:38 norbu: :D :D Apr 13 02:16:01 ron_frown: seems like every week there is a new js graphing library Apr 13 02:16:15 hmm looks delicious Apr 13 02:16:24 caramilk, never heard of it Apr 13 02:16:37 g00s yeah but none of them did what I wanted Apr 13 02:16:45 which was like a industrial control panel Apr 13 02:16:47 xorgate: they don't have caramilk in North Korea? Apr 13 02:17:02 where you are monitoring heres target reading, and low OR high can be bad Apr 13 02:17:09 there were commercial ones Apr 13 02:17:10 but meh Apr 13 02:17:54 norbu: good one:D Apr 13 02:18:06 i didnt understand the first NK joke either Apr 13 02:18:19 is it if i dojnt know something, im from NK ? Apr 13 02:18:34 xorgate: no lol Apr 13 02:18:41 or is anything not USA, NK Apr 13 02:18:45 xorgate: actually, that'd work too. Apr 13 02:19:09 xorgate: I'm sorry if I offended you lol Apr 13 02:19:15 jajajaj Apr 13 02:19:16 the worst thing about having a young child... is all the annoying ass disney movies I get suckered into watching Apr 13 02:19:16 I didn't mean anything by it Apr 13 02:19:20 still crashing now norbu :( Apr 13 02:19:25 norbu heh no i cant be offended Apr 13 02:19:46 just trying to understand the joke Apr 13 02:19:51 zhej: what's the error? Apr 13 02:20:03 its just that NK is isolated they probably havent heard of tacos Apr 13 02:20:42 Whatever. The new Tinkerbell movies are cool Apr 13 02:20:43 Hey guys I'm using java to make a date with milliseconds and I keep getting the wrong result Apr 13 02:20:56 say I do Date newDate = new Date(1000); Apr 13 02:21:16 it should return 00:00:01 but it returns 10:00:01 Apr 13 02:21:30 oh god Apr 13 02:21:59 The value is the number of milliseconds since Jan. 1, 1970 GMT. Apr 13 02:22:22 dates in java are just a total fuckign nightmare Apr 13 02:22:28 why would it give me that Apr 13 02:22:42 idunno GregorianCalendar works for me.. and if not jodatime Apr 13 02:22:44 thats epoch times Apr 13 02:22:53 can I use jodatime commercially Apr 13 02:23:01 I am pretty sure you can use it as you want Apr 13 02:23:02 norbu: wait, my textView disappeared after setting gravity Apr 13 02:23:03 BUT Apr 13 02:23:09 its a decently large library for what it is Apr 13 02:23:33 jodatime is Apache 2.0 Apr 13 02:23:44 sigh, too late, will do it tomorrow Apr 13 02:23:46 good nite guys Apr 13 02:23:47 so, yeah, you can do just about whatever you want Apr 13 02:23:54 I just want to convert my milliseconds to 00:00:00 format without a bunch of if statements Apr 13 02:24:11 zhej: goodnight Apr 13 02:26:32 well it can be done with 1 if Apr 13 02:26:41 or 0 i'm sure Apr 13 02:26:48 did it the other day Apr 13 02:26:53 Yeah Apr 13 02:26:55 java should take a note from .net's date stuff Apr 13 02:26:58 but it's sort of messy Apr 13 02:27:06 by far the best date handling Apr 13 02:27:11 sometimes messy is fine Apr 13 02:27:23 kk will just do it like that then Apr 13 02:28:04 ron_frown: java 8 gets new date stuff Apr 13 02:28:31 well will java 8 get properties like .net properties so no more of this getMember() bs Apr 13 02:28:44 so i've heard Apr 13 02:28:47 BUT Apr 13 02:29:56 when do we actually get to take advantage of the latest java Apr 13 02:30:06 google just needs to leave java in the dust Apr 13 02:30:14 lol ron_frown never Apr 13 02:30:15 I'd rather use any of their other little horky languages Apr 13 02:30:37 I dont have complaints that java is so slow, or java whatever Apr 13 02:30:42 I just cant fucking stand it Apr 13 02:30:56 seems like when they finally decide to implement something, its half assed and unusable Apr 13 02:30:58 so use obj-c Apr 13 02:31:12 and its always 10x the work to do something in java than it is in a lot of other langs Apr 13 02:31:27 #ios Apr 13 02:31:40 #ead Apr 13 02:32:02 i find most of the pain & bs related to android dev being … android, not java : i don't like the language but the android APIs are just crap Apr 13 02:32:13 I dont know Apr 13 02:32:21 my intolerance with android is jsut growing and growing Apr 13 02:32:29 so true about android apis Apr 13 02:32:39 my complaints about the api are more that they give you like 1000 ways to shoot yourself in the foot Apr 13 02:33:04 ron_smile :) Apr 13 02:33:14 wonder what they are going to do about id stuff Apr 13 02:33:20 id ? Apr 13 02:33:27 id collisions, etc Apr 13 02:33:54 our r.java is massive Apr 13 02:34:07 our apps should probably be broken out into sub apps Apr 13 02:34:22 how many activities/fragments does it have? Apr 13 02:34:29 out of curiosity Apr 13 02:34:53 ron_frown: use a better naming scheme, then Apr 13 02:35:07 ron_frown: e.g., prefix each id with its package name or class name Apr 13 02:35:09 Do you guys have a recognized app in the store yet? Apr 13 02:35:31 define recognized Apr 13 02:36:11 that doesnt reduce the size of r.java Apr 13 02:36:14 if by "recognized" you mean "100 anime wallpapers, 42 downloads" then yes...straight up recognized Apr 13 02:36:15 more so the other way around Apr 13 02:37:03 i *WAS* using @+id_somesection/someprop Apr 13 02:37:09 and that actually works pretty good Apr 13 02:37:16 but there prevents any id reuse Apr 13 02:37:17 AND Apr 13 02:37:23 intellij bombs on that Apr 13 02:37:27 which is fine Apr 13 02:37:35 I dont think android has ever mentioned that should work =) Apr 13 02:37:43 just not a quiz about pets, something propietary, has anyone made anything of value? Apr 13 02:38:00 define value Apr 13 02:38:04 what if its not in app store? Apr 13 02:38:09 Like that Eclipse for android devices, that was pretty good Apr 13 02:38:19 * pragma- stares at dahlmoony Apr 13 02:38:26 that doesn't sound valuable Apr 13 02:38:36 http://imageshack.us/a/img560/2002/overviewm.png Apr 13 02:38:50 I misread that as 100 ton nigga Apr 13 02:38:54 same ol tired screenshot Apr 13 02:39:04 but what are yo ugoing to do Apr 13 02:39:11 the app is pretty hard core Apr 13 02:39:16 and makes some people gobs of cash Apr 13 02:39:27 ron_frown: exactly what is a 100 Ton Niigata Apr 13 02:39:29 pragma u are a gucci-douche! have you made anything cool or not? and dont ask me to define it :P Apr 13 02:39:38 define gucci-douche Apr 13 02:39:41 a gigantic injection molding machine Apr 13 02:39:43 im imagingin a gargantuan earth-moving circular saw Apr 13 02:39:44 oh Apr 13 02:39:48 close enough Apr 13 02:40:01 I work in industrial automation world Apr 13 02:40:14 where do you get all your data for this app? does the machine spit it out somewhere? Apr 13 02:40:28 we interface with machines, and our software Apr 13 02:40:28 A gucci-douche.. Hmm. Would that be similar to one of those Jersey Shore jabronis? Apr 13 02:40:40 I see Apr 13 02:40:42 ron_frown: the ui for showing which tab is selected could be better... Apr 13 02:40:50 that ui is LONG LONG gone Apr 13 02:41:11 pragma- that screenshot was VERY shortly after 3.0 was released Apr 13 02:41:15 and controls were... basically just shit Apr 13 02:41:31 I had to roll my own grid control, and buttons, and tab control that didnt look like a big ass turd Apr 13 02:41:35 well at least you're using a black 100 ton niigata and not the maroon model Apr 13 02:41:36 :) Apr 13 02:41:46 http://imageshack.us/a/img716/7200/drag12.png Apr 13 02:42:08 is that taken on a xoom by chance? Apr 13 02:42:11 doesnt look that great, but getting that grid to perform and basically update all data as frequent as second intrvals Apr 13 02:42:18 tnzr yes one of my old retired tabs Apr 13 02:42:28 my eyes! Apr 13 02:42:29 now I have about 20 iconias Apr 13 02:42:42 I agree with the colors but thats what customer is used to and wants Apr 13 02:42:59 dont do tab work anymore tho Apr 13 02:43:12 we built our own hardware and I get to maintain my own android port Apr 13 02:43:15 * pragma- stares at "Mfg #" and "Work Orders" overlaying each other Apr 13 02:43:38 thats drag drop columns in progress =) Apr 13 02:43:40 I had to close that picture, I was getting color sickness Apr 13 02:43:49 drag drop reodering =) Apr 13 02:44:07 whats wrong with some good old primary colors Apr 13 02:44:26 a lot of people are red/green colorblind, for one thing! Apr 13 02:44:26 well thats showing status of 16 workcenters how fast they are running, if they are out of spec Apr 13 02:44:38 I had 0 say in the coloring Apr 13 02:44:48 my other screenshot should be a good representation of how *I* design stuff Apr 13 02:44:57 I was just showing Apr 13 02:45:21 like 30 columns, 100 workcenters updating data in as little as 10sec cycles Apr 13 02:45:26 and making that perform is... interesting Apr 13 02:46:31 https://kuler.adobe.com <-- cool site for exploring color palettes Apr 13 02:46:38 I've got a team of minions to work on the software now Apr 13 02:46:51 I work on the os, and the system functionality, additional api functionality Apr 13 02:47:18 rs485, rs232, usb, bt, sata etc Apr 13 02:48:45 lol im read/green color blind funny u have one in the channel Apr 13 02:49:02 knowing what I know about the system... is partially why I dislike it Apr 13 02:49:16 the whole jni mechanism in java is just crap Apr 13 02:49:30 and the aidl stuff I dont really care for either Apr 13 02:50:56 lol i spent 3 month trying to read from a continuous buffer without read() blocking Apr 13 02:51:07 there are many things i dislike Apr 13 02:52:08 and now i run into another problem toasting from doinbackground Apr 13 02:52:51 keeps telling me i can do it from a static method Apr 13 02:52:57 can't Apr 13 02:53:39 Who wants to participate in a Series A round of funding of my company? It's an app-company with app-ideas and app-business-plans, called "Ducks wearing Hats: Enduring the Nazi Occupation". Sean Parker is already on the board, in fact he is doing lines of coke across the entire length of the board! Apr 13 02:54:42 funding your drug habit you mean =D Apr 13 02:54:55 ? Apr 13 02:55:12 mmoassistdev1: maybe :D Apr 13 02:57:22 anyone here ever do anything with some sort of alerts or dialog or taost from a asynk task/doinbackground? Apr 13 02:58:11 i need to inform the user to keep tapping the screen till it gets throught the doinbackground task Apr 13 02:59:09 this is because of the buffer problem i been having. Seems i can only read the buffer if 4096k has filled the buffer so can only read that much at a time. Apr 13 02:59:28 Don' Apr 13 02:59:57 I think if you put your buffert into your 401(k) its safer than the filled up 4096k **** ENDING LOGGING AT Sat Apr 13 02:59:58 2013