**** BEGIN LOGGING AT Sat Feb 18 02:59:58 2012 Feb 18 03:00:48 etuleu, right Feb 18 03:01:15 evancharlton: do I put that as part of my dialog listener Feb 18 03:06:37 evancharlton: i can't see that in any documentation Feb 18 03:14:50 dunivan: what kind of dialog is this? Feb 18 03:15:22 a single button dialog Feb 18 03:15:30 to stop playing a sound Feb 18 03:15:39 dunivan: no, I mean a DialogFragment or AlertDialog? Feb 18 03:15:50 AlertDialog Feb 18 03:16:52 sorry, I had the method wrong: http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setCancelable(boolean) Feb 18 03:16:57 setCancelable(false) Feb 18 03:20:34 awesome, thanks Feb 18 03:22:20 hi Feb 18 03:34:16 gnight Feb 18 03:43:33 hi all Feb 18 03:43:58 120 people registered for the weekend DevCamp. woo. Feb 18 04:23:33 hello Feb 18 04:23:45 hi? Feb 18 04:24:11 why i am here? Feb 18 04:24:27 mrenouf: where is the devcamp? Feb 18 04:24:55 all over. but the one I'm hosting tomorrow is Cambridge, MA Feb 18 04:25:27 http://android-dev-camp-2012.blogspot.com/ Feb 18 04:27:13 Anybody know how to launch hierarchyviewer from within Eclipse? Feb 18 04:27:18 Google is no help on this one. Feb 18 04:27:31 Sure, go to window Open Perspective Feb 18 04:27:50 Choose other Feb 18 04:27:53 no seattle... Feb 18 04:27:57 wtf? Feb 18 04:28:07 Oh, I see it. Feb 18 04:28:08 and choose "Hierarchy View..." Feb 18 04:28:10 yep Feb 18 04:28:10 OF COURSE. Feb 18 04:28:12 Thanks! Feb 18 04:28:21 Can't believe I've been looking for that for 15 minutes. Feb 18 04:28:28 Was digging through the DDMS options thinking it was buried there. Feb 18 04:28:32 I've always used them externally Feb 18 04:28:36 Yeah, me too. Feb 18 04:28:42 didnt' know they were there until recently Feb 18 04:28:45 Just thought it might be slick to fire it up directly. Feb 18 04:28:50 Pixel perfect is nice too Feb 18 04:28:56 Indeed. Feb 18 04:32:24 Anyone know what the first version of Android to support drawable-nodpi was? Feb 18 04:32:26 1.6? Feb 18 04:37:12 help Feb 18 04:40:37 jameslord: also it helps to state the question than to just say "help" Feb 18 04:41:02 I believe he is lost. Feb 18 04:41:23 He's having trouble debugging android on his linux box, from whatr I gather. Feb 18 04:42:38 SeligArkin why i cannot debug android on linux? Feb 18 04:43:13 jameslord: do you havd ADB setup correctly? Feb 18 04:43:34 jameslord: and ask the channel, njot just me, Feb 18 04:52:41 SeligArkin how to setup adb? when i debug on windows, it seems no setup is needed Feb 18 04:54:03 jameslord: d.android.com has instructions for you Feb 18 05:00:39 SeligArkin http://paste.ubuntu.com/846819/, what's wrong? i have already started a android emulator Feb 18 05:02:08 jameslord: I'm sorry, I'm on the way out the door for bed, just hang around and someone else might be able to help. Feb 18 05:03:35 jameslord: it's rude to /msg someone without asking first, but it's 00:03 where I am Feb 18 05:04:47 SeligArkin dude, i am not rude:( Feb 18 05:15:30 does the driver offered by google suppo Feb 18 05:15:47 support usb debugging Feb 18 05:27:12 ayaka dude, now i am running a emulator, why i cannot debug into code:( Feb 18 06:11:34 so hrm... I've noticed that often times when i'm running a timer app i wrote, if i open certain other apps, say, kindle or angry birds, mine gets killed. is there anyway to know what apps will cause this and is there a way to prevent it? Feb 18 06:33:33 docgnome Feb 18 06:33:45 thats the app life cycle Feb 18 06:34:05 if your systems is running low on memory it will at best pause your app, at worst it will kill it Feb 18 07:12:00 Ravenheart: well crap. Feb 18 07:13:26 no idea what i should do then... is there any way to have a persistent running thread that won't get killed? Feb 18 07:26:33 okfokgo Feb 18 07:26:34 gk Feb 18 07:26:35 E Feb 18 07:39:46 tyhtry Feb 18 07:44:02 so what would be the right way to deal with running a background process that needs to stick around? a service? Feb 18 07:45:51 docgnome: depends, if you are scheduling something for some fixed time cycle then use AlarmManager and schedule a recurring alarm to fire off the intent (intentservice) Feb 18 07:46:12 if you need to push stuff to your app so you need it running all the time, then yes Service Feb 18 07:46:12 in this case it's just a tea timer Feb 18 07:46:25 so like, alarm in 2 minutes Feb 18 07:46:37 but don't die if someone decides to play angry birds while they wait Feb 18 07:46:41 cause... that sucks Feb 18 07:46:45 that the timer just silently dies Feb 18 07:46:45 docgnome: use AlarmManager Feb 18 07:47:25 schedule an alarm via AlarmManager and set it for the time specified by the user, it'll get scheduled by the Android system to fire regardless if user is in your app or not. Feb 18 07:47:37 You just need a receiver to catch it when Android fires it Feb 18 07:48:04 also probably a boot receiver to reinstate the alarm in case the phone reboots -- because Android will not reinstate alarms for you Feb 18 07:48:18 ok. i had written my app all in phonegap which i'm rapidly discovering is sort of... terrible. it has a rapidly expanding list of limitations, which is really disappointing because i hate java Feb 18 07:48:38 why do you hate java? Feb 18 07:48:42 i've never used phonegap Feb 18 07:48:54 the concept of writing something that will port to all platforms is a bit fishy to me Feb 18 07:48:58 i'd rather write native Feb 18 07:49:10 yeah, i mostly just wanted to write in html/css/js Feb 18 07:49:26 but first off, there is no native notification support Feb 18 07:49:31 which... is a super pain Feb 18 07:50:09 i don't know. I guess it could work in certain circumstances, but i'm sort of getting tired of running into stuff that is either hard to do, or not possible without writing a native code plugin Feb 18 07:50:57 ya, so write Java on native Android and be happy :) Feb 18 07:51:10 well, sort of happy heh Feb 18 07:51:14 heh Feb 18 07:51:23 still don't like java. but to be fair it's been... Feb 18 07:51:34 4 or 5 years since i've really used it Feb 18 07:51:38 java is the only language I know well Feb 18 07:51:39 maybe it has less suck now. Feb 18 07:51:48 but android makes it hard - all these new and different methods and commands Feb 18 07:52:05 it's so different from java with the console (I think that's what it's called) Feb 18 07:52:16 Snuupy: its a platform... i mean, of course it'll have new/diff methods. Feb 18 07:53:15 QubeZ: I'm not into the coding stuff a lot, but I'm trying to immerse myself in it - why the onclicklistener, and not for example c.readInt() instead? Feb 18 07:53:30 it's just confusing to me. Feb 18 07:54:18 any recommendation for a decent android book? preferably from o'reilly as they make nice kindle compatible ebooks, and will send me stuff for free on occasion heh Feb 18 07:54:44 docgnome: I like the Mark Murphy ones Feb 18 07:54:54 I started 2 years ago with a Mark Murphy book that really got me started Feb 18 07:55:01 also the tutorials on mobiletuts.com Feb 18 07:55:21 docgnome: I heard "Hello Android" was good too Feb 18 07:55:24 haven't read it myself Feb 18 07:55:24 sorry i mean http://mobile.tutsplus.com Feb 18 07:55:27 but other people suggested it Feb 18 08:05:47 any good articles on versioning applications? Feb 18 08:07:04 versioning is simple in Android. Just increase a number Feb 18 08:07:09 monotonically Feb 18 08:08:04 right but just advice on how to version an application in general. What are pro's/con's with diff approaches. Feb 18 08:09:04 ... there isn't much to differentiate. Though I heard people suggesting weekly release cycle, due to many people updating on weekends Feb 18 08:21:06 damn svn is dead Feb 18 08:21:08 #svn Feb 18 08:24:03 what do you guys use to keep track of the versionCode vs versionName from manifest? Feb 18 08:30:19 I'm using Facebook SDK for Android. Its bad to have a external project reference from my app. is there any method in which I can include a Java library as a Jar? Feb 18 08:30:33 I mean facebook sdk as a Jar Feb 18 08:56:18 Do anyone here uses Parse with Android? Feb 18 09:04:04 How can I get a random item out of a string array I've defined in strings.xml? Feb 18 09:05:54 Hello, I am trying to use AnimationDrawable but it gets blocked because I am already drawing a Bitmap for a background. How do I set the AnimationDrawable to be in front of the stuff I draw through the Canvas? Feb 18 09:09:58 Hello people. I found myself in a weird situation. If I do ListView lv = findViewById(...); inside onCreatea() just after I called setContentView() I get a null. If I call findViewById() everytime I need a reference to my listview, it is non null. Feb 18 09:10:28 I tried cleaning my project / restarting eclipse and so on Feb 18 09:25:31 Ok this is annoying me Feb 18 09:25:45 Why can't findViewById find my TextView? Feb 18 09:29:07 have you called setContentView() ? Feb 18 09:29:11 is it in the same activity? Feb 18 09:30:56 Yep Feb 18 09:31:22 The widget is inside a LinearLayout if that matters Feb 18 09:31:26 The LinearLayout has no ID Feb 18 09:34:51 R.java hasn't updated automatically to include the textview Feb 18 09:35:11 Bacta: Project -> Clean then Build Feb 18 09:36:58 Ok now R.java is gone. Feb 18 09:37:12 so that means you have errors in your code or xml Feb 18 09:37:17 R.java is not present means build errors Feb 18 09:37:45 the same reason that you textview wasn't able to be found by findViewById Feb 18 09:39:26 can someone explain why the squad jpg texture(128x128,rgb) isn't loading with BitmapFactory? Feb 18 09:41:15 Ok well it's in R.java now but it's not an option in R.layout Feb 18 09:41:34 Wait it is Feb 18 09:41:35 Sorry Feb 18 09:43:09 hey folks Feb 18 09:43:24 hey Gaz` Feb 18 09:43:27 how's the game going? Feb 18 09:43:32 check this out leeds im in the final of TIGA games competition :D https://connect.innovateuk.org/web/tiga-games-contest Feb 18 09:43:37 great thanks!!! Feb 18 09:43:39 see above Feb 18 09:44:27 and a webpage now http://radiantsilverlabs.com/tdw Feb 18 09:44:28 :) Feb 18 09:45:21 is there man that has an expirience with gles2 ? Feb 18 09:45:45 im sure theres one man somewhere who has experience with it Feb 18 09:45:48 :) Feb 18 09:46:01 sorry for my pre-intermediate English :D Feb 18 09:46:07 its ok Feb 18 09:46:10 just joking :) Feb 18 09:46:39 lol Feb 18 09:47:41 Heh it's funny. I haven't coded in Java for 3 years now and it just comes back to you so easily Feb 18 09:48:33 well compare with c++ it's just like a heaven Feb 18 09:48:36 nice Feb 18 09:48:41 not left java long enough to test Feb 18 09:48:49 C++ is a monster Feb 18 09:49:09 They're right when they say it's like being given a live grenade Feb 18 09:49:19 There are so many ways you can f things up Feb 18 09:49:40 C++: large collection of bad ideas for people who like to do things as complexly as possible Feb 18 09:49:56 this is the first time i see ppl slagging it tho :) Feb 18 09:50:05 java is the one that takes all the slack usually Feb 18 09:50:15 i even get ppl in java channels tellign me im an idiot for using it Feb 18 09:50:28 I don't think, for example, that pointer in c++ is bad idea Feb 18 09:50:45 yeh Feb 18 09:50:48 its good Feb 18 09:51:15 GC is genius tho Feb 18 09:51:45 I may learn it oneday Feb 18 09:51:46 well c++ has a lot of good ideas, but it's can be difficut to use Feb 18 09:51:56 It's used widely in the business I'm in Feb 18 09:52:31 what business? Feb 18 09:52:32 games? Feb 18 09:52:35 gamedev? Feb 18 09:53:06 Visual Effects Feb 18 09:53:16 nice! Feb 18 09:53:23 So close ;) Feb 18 09:53:24 i do some using processing and after effects Feb 18 09:53:28 I hope to get into gamedev after college Feb 18 09:53:35 wow what kind of job it is? Feb 18 09:53:37 gamedev rocks Feb 18 09:53:40 as does visual effects Feb 18 09:54:20 you have a good math background? Feb 18 09:54:35 GeorgeMay: I'm in IT but we do work with people in R&D who do work in C++ Feb 18 09:54:51 No I don't ;) I don't touch anything around graphics Feb 18 09:54:52 oh understand Feb 18 09:55:23 openGL :) Feb 18 09:55:43 It's so interesting kind of business Feb 18 09:56:12 openGL is fun but don't mess with it much Feb 18 09:56:15 It is. I would like to learn more about graphics so I can move into that area Feb 18 09:56:25 Does anyone know of a reliable way to tell from a service if the current foreground window is in full screen or not? Feb 18 09:56:39 Bacta u should try processing.org Feb 18 09:57:23 Maybe Gaz`, but I would really prefer to learn some OpenGL ES in Android Feb 18 09:58:13 Gaz`: Why? Processing is based off a version of Java that's been EOL'd. There's nothing of value there. Feb 18 09:58:59 not sure wy, its really awesome Feb 18 09:59:47 Yeah. Cause it's opengl bindings. Feb 18 10:06:51 I must say this stuff is getting easier Feb 18 10:07:11 And having it setup to run on my phone makes testing things so much faster Feb 18 10:10:55 so the galaxy nexus still has no dock available... say what? Feb 18 10:14:45 who uses a dock? Feb 18 10:14:53 i' Feb 18 10:15:05 i'd like one, i use the phone as a clock + alarm clock Feb 18 10:15:07 dunno what I'd use it for Feb 18 10:15:23 it works perfectly fine for that without a dock as well ;) Feb 18 10:15:24 atm i just leave it plugged in on the side of my bed Feb 18 10:15:37 not really very useful as a clock Feb 18 10:54:55 lol anyone know python? Feb 18 10:58:33 <[deXter]> Yep, he was a nice fella. Feb 18 10:58:49 funny too Feb 18 11:05:07 I've a gridview of 5 columns, each cell has a word in it, the gridview is set to fill the screen, on a nexus one it's displaying ok, on the emulator qvga screen size each word is split. Is there a way to ensure the text is scaled to the correct size? Feb 18 11:05:55 the grid is populated by TextViews via an adapter Feb 18 11:07:41 Oh generics how I've missed you Feb 18 11:09:57 Ok my app crashed. How can I get a stack trace if it was running on my phone? Feb 18 11:10:11 adb logcat will probably show it somewhere Feb 18 11:13:15 Ah it does. Cool Feb 18 11:32:42 is there any way to determine if a textview had to flow onto a second line? Feb 18 11:32:50 mhh AOSP clock/alarm isn't a seperate app? Feb 18 11:33:22 you missed generics o.O ? Feb 18 11:34:41 oh it seems to be .deskclock. don't know why it didn't show up in eclipse earlier Feb 18 11:35:40 Are there any library methods for mangling a string? Feb 18 11:35:56 'mangling' ? Feb 18 11:38:48 so an adapter provides a textview (or rather about 50) how can I attach code to that textview (or the gridview) that will allow me to change the text size before displaying it? (I need to see that TextView.getLineCount < 2, otherwise decrease the fontsize, and check again....) Feb 18 11:42:26 Mixing up the chars Feb 18 11:42:51 in any particular manner? Feb 18 11:43:13 Don't care how Feb 18 11:43:50 convert your string to a List, then call Collections.shuffle and recreate it as a string Feb 18 11:44:39 * alankila wonders if there isn't Arrays.shuffle too... Feb 18 11:45:06 bah, only sort Feb 18 11:48:13 yeah i checked Feb 18 11:48:25 could just copy the code an write 1 though Feb 18 11:48:55 http://www.docjar.com/html/api/java/util/Collections.java.html Feb 18 12:08:07 if anyone could help me out here, I'm going nuts now... overridden onSizeChanged for a textview, decreased the textsize, then done this.requestLayout, but onSizeChanged isn't getting called again, any ideas why? Feb 18 12:12:51 drawView.setLayoutParams(new LinearLayout.LayoutParams(300, 400)); works, but ...... drawView.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, 400)); i get error LayoutParams cannot be resolved to variable... what do i need to change ot make it work so that width fills screen? Feb 18 12:26:23 Ok so my app has all this code for setting up a database which by the looks of it is only ever done once. How can I get this code to run everytime I run the app for debugging? Feb 18 12:27:04 delete the database? Feb 18 12:40:26 hello, how could I create a drawable that has a scaled image at the center and fills the background with a solid color? Feb 18 12:40:54 preferable in XML Feb 18 12:50:40 hey guys Feb 18 12:50:40 :) Feb 18 12:54:20 How do you drop a database? Feb 18 12:56:18 http://stackoverflow.com/questions/5326918/how-to-drop-database-in-sqlite Feb 18 12:56:47 http://developer.android.com/reference/android/content/ContextWrapper.html#deleteDatabase%28java.lang.String%29 Feb 18 12:58:21 active installs dropping massively in the last week for anyone else? Feb 18 12:58:24 Ok. But what calls onCreate in the DatabaseHelper? Feb 18 12:58:38 in the android market graph display Feb 18 12:58:39 For debugging I want this to run everytime my app starts Feb 18 12:58:46 bl4ckcomb: first thing I'd try is an imageview with background set to the color, src to the image and fitXY as scale Feb 18 13:00:11 kanelbu11e, I want to use it as a bg image, so an imageview would be a semantic mess imho Feb 18 13:01:21 I read about tilemode="clamp" for , but unfortunately it doesn't center my image Feb 18 13:01:31 someone here has some experience with progress dialogs? Feb 18 13:01:33 although repeating the edges is a neat feature Feb 18 13:02:04 aha.. Feb 18 13:02:23 Bacta: something like myDB = this.openOrCreateDatabase("DatabaseName", MODE_PRIVATE, null); might work Feb 18 13:03:20 I have set an asynctask like this: createPDFTask extends AsyncTask and handing over a dialog @ task.execute(dialog) and my protected Boolean doInBackground(Dialog... dialogreference) { progressDialog = dialogreference[0]; ...} looks like this, (i have Dialog progressDialog as global variable) but i get the message progressDialog cannot be resolved or is not a field... >.< Feb 18 13:03:42 when i want to set the progressbar @ ProgressBar dialog = (ProgressBar)((Activity) mContext).progressDialog.findViewById(R.id.pdfProgressBar); Feb 18 13:04:33 any ideas? Feb 18 13:05:51 yes, use pastebin.com so we can read it Feb 18 13:08:18 gimme a sec Feb 18 13:08:51 this is the asynctask Feb 18 13:08:51 http://pastebin.com/U02LHTeC Feb 18 13:10:09 and this is the method, were i call the asynctask ("elements" is an string array) Feb 18 13:10:10 http://pastebin.com/uU44vgAd Feb 18 13:10:41 the async task is still in work, but this is just my first problem without compiling yet :) Feb 18 13:11:02 Is there a way to use a content Uri (in this case MediaStore.Audio.Media.EXTERNAL_CONTENT_URI) and query its contents with GROUP BY? I'd e.g. like to list all albums, not all songs Feb 18 13:16:38 neekers : any ideas ? :) thanks in advance :D Feb 18 13:23:33 noone any idea? :D Feb 18 13:26:51 lalalala uargh it seems it has nothing to do with the asynctask Feb 18 13:27:00 when i hand it over in the constructor i get the same problem Feb 18 13:30:31 i believe my problem is here Feb 18 13:30:32 ProgressBar progressBar = (ProgressBar)((Activity) mContext).progressDialog.findViewById(R.id.pdfProgressBar); Feb 18 13:35:20 hi, does anyone know where I can get an Aussie Telstra 2.2.2 Froyo SBF? Feb 18 13:35:32 can anyone prove whether that's possible there? progressDialog is like Dialog progressdialog = new Dialog (this) and so on Feb 18 13:42:23 leave Feb 18 13:58:13 hi there Feb 18 13:59:57 does anyone know if getResources().getDisplayMetrics().widthPixels is orientation dependant ? In other words, does it take into account if the activity is running in portrait or landscape mode ? Feb 18 14:01:55 would this be the correct channel for questions about repacking an official update? Feb 18 14:06:46 i think there is another channel for custom ROMs Feb 18 14:06:50 here are mostly app devs Feb 18 14:07:28 xroberx : i don't think so, why not just try it out with the... onOrientationChange() method or something Feb 18 14:09:15 the method isn't exactly called like that.. i think it's something with "configuration change" @xroberx Feb 18 14:10:10 i am looking for some help too => http://forum.xda-developers.com/showthread.php?p=22674222#post22674222 :) Feb 18 14:19:18 Aeefire: I believe it's because you cast the context to an Activity, which doesnt know progressDialog Feb 18 14:20:21 maybe you should use the asynctask as a private inner class and access the main activity more directly. Not sure on the top of my head if it works, but something like MyActivity.this.progressDialog might work better Feb 18 14:21:14 Actually, reading up on it, you shouldn't have the asynctask as a private inner class. Feb 18 14:21:44 ya Feb 18 14:21:45 :P Feb 18 14:22:12 what happens if you cast the context to your actual activity? Feb 18 14:22:25 ClassCastException! Feb 18 14:22:26 who knows Feb 18 14:22:27 dont do it Feb 18 14:22:28 :D Feb 18 14:22:34 if you need an activity, store it as an activity Feb 18 14:22:49 ? how^^ Feb 18 14:25:02 what do you mean with "store it as an activity" canadiancow? Feb 18 14:28:09 How can I filter logcat to show only logs related to my app? Feb 18 14:28:14 on command line Feb 18 14:28:25 inside eclipse, i can do that using app:APP_NAME Feb 18 14:33:04 Can anyone tell me the reason why the app suddenly stops on lines (23-25) ? - http://pastebin.com/e7UmQtDn Feb 18 14:33:18 I am assuming the socket has something to do with it. Feb 18 14:56:35 are the pixels passed to LayoutParams device independent pixels or real pixels? Feb 18 14:56:53 http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html#ViewGroup.LayoutParams(int, int) Feb 18 14:57:03 documentation doesn't state it Feb 18 15:00:27 pixels are pixels Feb 18 15:00:32 in code Feb 18 15:00:43 if you want scaled pixels you'll need to specify explicitly Feb 18 15:03:38 you probably want to calculate them depending on dpi Feb 18 15:04:29 dp * dpi / 160 = px Feb 18 15:04:35 px * 160 / dpi = dp Feb 18 15:04:46 should help you if you want to have the same picture sizes on every device Feb 18 15:04:54 tnx Feb 18 15:04:56 (: Feb 18 15:05:02 (the reason it isn't mentioned in the docs is it assumes you've read the developer guide :p) Feb 18 15:05:09 you're welcome Feb 18 15:12:22 (Sorry for the repeat) - Can anyone tell me the reason why the app suddenly stops on lines (23-25) ? - http://pastebin.com/dTN2xWx5 Feb 18 15:12:25 is the default type dp? Feb 18 15:12:40 good afternoon! Feb 18 15:13:53 guidocalvano the recommended scaling measurement is dp ("density independent pixels") Feb 18 15:18:05 i can add a button to an activity's layout via inflation in java and launch the activity(from a menu) fine... but if i add the onclicklistner for the button it crashs when launching the activity.... is there some conflict between inflated buttons and their clicklisteners? my onclicklistner for buttons added xml cause no problem Feb 18 15:18:55 post logcat Feb 18 15:19:02 + pastebin your code Feb 18 15:20:29 t432: those lines are about establishing a network connection. something goes wrong there. test if you can open the url, (and if 80 is the portnumber go there on that port number) Feb 18 15:21:43 www.google.com:80 <- works fine on browser Feb 18 15:22:49 im assuming its those lines but i could be wrong Feb 18 15:24:35 have you checked logcat? Feb 18 15:24:53 what is the error it reports? Feb 18 15:27:24 last time I check logcat retuned had nothing but now I see a "NullPointerEcception... " somewhere Feb 18 15:27:38 i'll take it from here Feb 18 15:27:41 thx Feb 18 15:32:28 Aeefire here is the pastebin Feb 18 15:32:29 http://pastebin.com/8kNXzSdv Feb 18 15:32:40 java file, xml file and logcat there Feb 18 15:37:07 findViewById searches the content view, not some random layout you inflated Feb 18 15:37:37 Do b.findViewByid Feb 18 15:37:56 ok ill try that Feb 18 15:38:35 wow it works! Feb 18 15:38:46 thanks Feb 18 15:39:50 someone was faster lolz Feb 18 15:39:50 :P Feb 18 15:41:07 ill have to remember about the correct view Feb 18 16:20:48 is it possible to have two resource quantifiers together? Feb 18 16:21:02 yes Feb 18 16:21:08 As many as you want Feb 18 16:21:11 for example, layout-large-port Feb 18 16:21:19 Just make sure they're in the right order Feb 18 16:21:38 I assume its top to bottom on the developer.android site Feb 18 16:21:45 Yea Feb 18 16:22:08 sweet. thanks Feb 18 16:25:45 hi guys Feb 18 16:26:13 having some problems with subactivity, might somebody help me? Feb 18 16:44:16 java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=1, data=Intent { (has extras) }} to activity Feb 18 16:44:59 this error occures when the subactivity is closed Feb 18 16:45:32 pretty simple question: I have a table layout with some text views in it.. i want it to adjust its table row height depending on how much text it has in there, i used minHeight and layout_height="wrap_content" on the tablerow.. but however, when the elements are too big it just stops displaying the text Feb 18 16:48:59 hi Feb 18 16:49:25 does anyone know whether a ticker (like a stock price ticker) can be implemented? i.e. continuous horizontal scrolling of text. Feb 18 16:56:04 mun => you probably want to look at the new social streams api... i could imagine that those would maybe help you.. haven't used them anyways Feb 18 16:57:04 Aeefire, but does setting android:marqueeRepeatLimit="marquee_forever" do the job? Feb 18 17:05:37 mun which job do you think? Feb 18 17:09:56 how can i cause a action a a particular time? Feb 18 17:10:52 i mean like a alarm Feb 18 17:12:05 Aeefire, for displaying text in a stock ticker fashion Feb 18 17:14:08 sry i am not into that matter, try it and look for tutorials maybe Feb 18 17:14:09 meh, is it possible to get pixel perfect backgrounds with 9.png? i still have i guess 1px margin Feb 18 17:15:12 i need two people: one who knows hwo to handle tablelayouts right and one who is good with asynctasks Feb 18 17:15:13 :D Feb 18 17:22:43 hey :) i'm exploring all possibilities of android development at the moment, together with the large amount of tuts available... but anyone knows a good tut about sqlitedb implementation? Feb 18 17:23:19 http://www.vogella.de/android.html Feb 18 17:24:07 aeefire: asynctask is everyone doing here ;) but with the responsetime in mind, i think they need to adjust the notifiers a little bit sometimes ;) or they did set the priorities in a good way ;) Feb 18 17:24:15 but thnx for the response ;) Feb 18 17:24:16 :) Feb 18 17:25:35 ya uhm i figured out it has nothing to do with the asynctask.... more with the external library i am using Feb 18 17:25:39 itextpdf if you know it? :P Feb 18 17:25:58 mm not yet... Feb 18 17:26:31 coming from C# where I used pdfsharp maybe they have a android version atm Feb 18 17:27:02 ya do you know something 'bout tables? Feb 18 17:27:15 i am populating my table from some sqlite database (hehe) Feb 18 17:27:26 but when the lements are too big, it just stops displaying some items Feb 18 17:27:29 mmm yeah... well... ;) Feb 18 17:27:52 as you might have noticed ;) the sqlite part i'm just starting with ;) Feb 18 17:27:54 don't know how to adjust the table that it adjusts itself to the content of the items Feb 18 17:28:19 ya it does not matter if i populate the table with larger strings or strings out of an sqlite database Feb 18 17:28:27 so i'm sorry, can't help you at this time... Feb 18 17:28:39 maybe in a week :) i'm a fast learner ;0 Feb 18 17:28:44 rofl Feb 18 17:29:05 :) Feb 18 17:36:56 noone is into tables? :D Feb 18 17:55:38 wtf, is android supposed to draw the black border from 9.png on the screen? Feb 18 17:57:44 no, you're doing it wrong Feb 18 17:59:19 mh Feb 18 17:59:27 then photoshop is messing the png up Feb 18 18:02:41 i'm using mapview with itemizedoverlay, and i'd like to change the 'z-index' of some markers inside the same itemizedoverlay. is this possible? Feb 18 18:04:01 it seems like having two different overlays would make the item touch detector work differently, as it would somehow prioritize the top items far more than normally Feb 18 18:09:06 can somebody tell me how to play audiofiles in background, please? Feb 18 18:09:35 so to say an audiofile used as alarm Feb 18 18:17:17 hi guys Feb 18 18:17:27 can anybody help me with filetype recognition? Feb 18 18:18:05 I have added something like this to the manifest Feb 18 18:18:06 http://stackoverflow.com/questions/4149032/correct-android-intent-filter-configuration-to-associate-a-file-type-with-an-act Feb 18 18:18:11 but when I open and .obj file Feb 18 18:18:19 the browser opens it as text, and doesn't call my app Feb 18 18:23:55 back, connection logged out Feb 18 18:24:06 can anyone help me with filetype recognition via manifest? Feb 18 18:24:10 hi Feb 18 18:24:32 hi Feb 18 18:24:53 there are 629 people in here, and none answers.. :( Feb 18 18:25:11 Maybe they are sleeping Feb 18 18:25:30 all from asia ?XD Feb 18 18:25:57 is there a tool from Google to help for generate a doc for an application ? Feb 18 18:26:01 it blows my mind the quality of video you can record with a smartphone these days Feb 18 18:26:20 faenil: it's a weekend Feb 18 18:26:27 most people here are much more active during north american business hours Feb 18 18:26:35 :) Feb 18 18:26:45 yes Feb 18 18:27:53 like im "here", but im about to leave Feb 18 18:27:56 :P Feb 18 18:28:52 synic: you'd be proud, after banging my head against the wall I figured it out Feb 18 18:28:59 in a round-a-bout way Feb 18 18:30:48 When you have terminated an application Is there a tool to make a documentation in HTML for your application ? I'm not talking about javadoc but a documentation for the final users. Feb 18 18:31:00 With pictures, summary etc ... Feb 18 18:32:39 Like a CMS, A website for Android application. Feb 18 18:32:47 Anyone know why I am getting errors on .getExtras() in a service? Feb 18 18:33:09 I mean .getIntent().getExtras() Feb 18 18:33:26 cr5315: random errors? Feb 18 18:34:03 The method getIntent() is undefined for the type DialogActivity Feb 18 18:34:28 It's also giving the same error on my one instance of finish() Feb 18 18:34:53 and that error message - which tells you exactly what the problem is - doesn't tell you what the problem is? Feb 18 18:37:54 cr5315: ? Feb 18 18:44:03 raaah Feb 18 18:44:11 I want to have drag drop behavior Feb 18 18:44:21 but android 2.3.4 doesn't have it Feb 18 18:44:32 so I used touch events instead Feb 18 18:45:59 but that doesn't work either Feb 18 18:46:45 here is what I want: Feb 18 18:47:10 I want a view Feb 18 18:47:22 is there a way to make an apk download from website start installing immediately after download? Feb 18 18:47:22 you touch the view and a value appears Feb 18 18:47:30 or does the user have to bring down the window blind and click it? Feb 18 18:47:38 then you move your finger across the screen and the value increases Feb 18 18:47:53 finally you release your finger and the value is set on the view Feb 18 18:48:06 I tried two strategies Feb 18 18:49:17 1. just use a touch event on the view, but... the touch event ends as soon as a finger moves out of the bounds of the view Feb 18 18:49:40 2. create a transparent popup window Feb 18 18:50:18 but then I need to touch the screen again to start a touch event Feb 18 18:50:53 I haven't figured out a way to force the new popup to take over the touch event Feb 18 18:50:57 any ideas? Feb 18 18:52:03 What do you do when you have a documentation to write for your Android Application ? you create a website ? using a special CMS ? Feb 18 18:56:47 I like a wiki with documentation Feb 18 18:59:44 hey everyone is there a program out there that will let me easily migrate from one android phone to another? Feb 18 19:00:28 Like, backups? Feb 18 19:01:05 or a program that migrates for you Feb 18 19:01:17 Are you using an external SD card? Feb 18 19:02:15 Any way to force stoping of wi-fi? Via adb shell? Or anything other ... because in menu stay freeze on "Turning off..." Feb 18 19:02:18 mDevegas: I'm on CM7 on Inspire 4G and I have an external SD that is full Feb 18 19:02:32 guidocalvano: Yes a wiki is a good idea, Feb 18 19:03:03 Ok, you could use titanium Feb 18 19:03:12 I will searching for that, maybe a wiki for Android application already exist. Feb 18 19:03:21 but the problem is you would have to clear off some space on your ex-sd card Feb 18 19:03:35 or, mybackup root has a feature that lets you back up online Feb 18 19:03:38 you could check that out Feb 18 19:03:38 anyone who can help me with filetype recognition on androdi? Feb 18 19:03:39 mDevegas: I do not have root on my Galaxy Note Feb 18 19:03:50 ah. Feb 18 19:03:53 PM me. Feb 18 19:04:11 mDevegas: what? Feb 18 19:04:18 :D Feb 18 19:08:36 My Activity A when receives a click opens activity B. If something bad happens, then I need to show another activity C prompting user to send report to me before I move to activity B. Problem is C goes behind B. I am looking for some clean way to stop B from popping until C is finished. Feb 18 19:09:36 Also, Activity C is being used as a dialog, so it should never be a part of activity stack. Feb 18 19:09:54 please help me with filetype recognition xD Feb 18 19:10:33 I think FLAG_NEW_TASK should be appropriate for C so that it does not interfere in stack of activities A & B. Feb 18 19:12:09 faenil, what's your qn? Feb 18 19:12:26 qn? Feb 18 19:12:35 question Feb 18 19:12:38 oh ok :) Feb 18 19:12:56 well I have an app and I want it to open files with given extensions from filemanager and browser Feb 18 19:13:26 so I have this in my manifest Feb 18 19:13:26 http://pastebin.com/ZN7GT7pb Feb 18 19:13:46 but if I open file:/// from the browser, the browser opens the file as a text file Feb 18 19:13:52 and if I open the file from the filemanager Feb 18 19:13:56 I get "cannot open file" Feb 18 19:14:09 if I open it from Astro, and select "Text" it shows some app, but not mine Feb 18 19:14:19 it's 3d model file Feb 18 19:14:35 memi types ftl Feb 18 19:15:08 suppose I need a custom file extension handler Feb 18 19:15:19 what's wrong with my manifest? Feb 18 19:17:50 vivekm: idea? Feb 18 19:18:45 faenil: not anyting at the top of my head but I had seen a good article about what you are trying to do. May be someone knows about it? Feb 18 19:28:28 How I can stop this service: 23 wifi: [android.net.wifi.IWifiManager] from adb shell? Feb 18 19:44:35 Is it possible to use the device's google account for authentication with my app/service? I want to say i've seen apps do it, but I can't find any documentation on how to do it. (and stack overflow appears to be down) Feb 18 19:45:50 does anyone have some experience with ormlite? Feb 18 19:46:41 stackoverflow " appears" to be down ;) mmm i'm sure it's down ;) Feb 18 19:47:47 farmer-duck|, but without stackoverflow how can I know for sure? :/ Feb 18 19:48:07 I think the magic phrase I'm looking for is single sign on Feb 18 19:48:22 sounds familiar Feb 18 19:54:32 go go emulator!!!!! Feb 18 19:58:33 Got an app coming out in a few days for Beta Invitation. Please see www.todomapr.com and let me know what you guys think. Feb 18 19:58:49 After the Beta program, I'll release to Market. It's a Free app. Feb 18 19:59:57 I have one little question. I develop a version of my app for android 4 (min sdk 10). It incluse ActionBar Tab Navigation. Now I want to swipe between these two tabs, is there a native method or must I use Android Compatability Layer? Feb 18 20:00:51 QubeZ: Looks nice! Feb 18 20:00:51 ViewPager from the support package, you can use the -13 support Feb 18 20:01:01 Leandros: Thank you. Feb 18 20:02:24 man, trying to run an Xoom AVD on my laptops mega powerful 1.5ghz dualcore was a great idea. Feb 18 20:03:05 it won't be much faster on my core i7 octocore Feb 18 20:03:15 alankila: you mean android-support-v13 Feb 18 20:03:16 ? Feb 18 20:03:27 galaxy tab loaded up so much faster on my desktop it seems Feb 18 20:03:30 Leandros: yes. Feb 18 20:03:41 Does it work on API Level 10? Feb 18 20:03:48 sorry, not octo, 6 cores Feb 18 20:03:57 uh, if you need less than 13, you use the -v4 support package Feb 18 20:04:00 won't matter at all though :) Feb 18 20:04:22 yeah, i have a droid 1 but i need to test for tablets :| Feb 18 20:04:31 I somehow neglected to note you said api level 10 when you said app for android 4 Feb 18 20:04:48 alankila: Nah, dont my fail. Starts at 14, not 10. Thanks. Feb 18 20:05:14 * alankila has autocorrect at brain Feb 18 20:05:23 :D Feb 18 20:05:27 don't even notice when it replaces what people say :-/ Feb 18 20:05:55 Why cant google include it native. Had to rewrite my whole app for this little change. suckz Feb 18 20:06:18 viewpager? they're still allegedly working on it Feb 18 20:06:30 what the crap.. got a force close on the emulator because "system is not responding" Feb 18 20:06:47 Hmm. Eventually in Android 4.1 :D Feb 18 20:09:43 ot, but this sucks http://yro.slashdot.org/story/12/02/18/170240/commercial-drones-taking-to-the-skies Feb 18 20:12:40 The new law, part of a broader financing bill for the F.A.A., came after intense lobbying by drone makers and potential customers. Feb 18 20:12:43 well, duh Feb 18 20:17:06 can anybody help me with filetype recognizing via manifest? Feb 18 20:17:32 I want filemanager and browser to open my app when they open files with a particular file extension Feb 18 20:18:29 look at the android.developer.com there's a program that you need Feb 18 20:18:48 *developer.android.com, oh Feb 18 20:18:57 whom are you talking to? Feb 18 20:21:06 is there anything you can do to speed up the boot of an emulator? Feb 18 20:21:17 --boot-no-anim Feb 18 20:21:29 I tried this but it's not working http://pastebin.com/ZN7GT7pb Feb 18 20:21:35 or something like that Feb 18 20:24:47 this thing has seriously been sitting here for 10 mins :| Feb 18 20:25:36 hey guys, not sure if this is the right channel, but can you set up different payment accounts per app? Feb 18 20:25:57 Like, I'd likke to have one dev account and have all myc lients apps under it, but I can't have all the money come into my account, that's just too much administratino work. so rather have it shipped directly to the clent Feb 18 20:27:44 hmm, bummer SO is down Feb 18 20:28:06 And all software development on the world stopped. Feb 18 20:36:23 i want to have a button that adds a row with a couple of items(2 edittexts), i know if there was just 1 row to be added i could specify the name + ids of the edittexts, but i want to add multiple of these rows(as many as user wants to add), so i am not sure how i setup the names/ids dynamically to be used? Feb 18 20:37:25 so each time the user clicks the button, it will add another of those rows, and dynamically create ids for them, but i need to also be able to refer to them i dont know how Feb 18 20:37:27 devtekbeta: the ids are usually same for all rows Feb 18 20:37:39 no i mean Feb 18 20:37:44 the edittexts inside the rows Feb 18 20:37:54 yes, the ids for the row's layout are usually fixed Feb 18 20:38:19 you have the row instance which you work with when you create and populate the row, so its findViewById finds its own children only Feb 18 20:38:44 you usually populate the row's data from a model of some sort, so you change the model and then tell the adapter which converts the model to view state to update Feb 18 20:38:59 the simplest adapter of them all is probably ArrayAdapter. Feb 18 20:39:17 yes i was thinking maybe something to do with arrays could help Feb 18 20:39:37 I certainly hope that you did think of arrays. They are the sort of thing you use when you have a repeating construct. Feb 18 20:39:57 or Lists, in fact ArrayAdapter should probably be called ListAdapter as it looks rather more like java list than java array Feb 18 20:42:28 galaxy tab emulator boot attempt #3 Feb 18 20:42:31 ahh i see. i will look at those thanks Feb 18 20:43:18 its basically just the entering value screen for a graph, so the user can add as many values as they want then the graph will be drawn depending on how many values were entered and the values of the values Feb 18 20:43:47 Is there a page that shows an example of how to use a phone's google account to authentical and get the user's email? Feb 18 20:43:58 ruh roh, my droid-1 isn't turning on after a few weeks of being off, despite being plugged in Feb 18 20:46:12 g00s: A lot of kit takes an hour or so of charging to turn on when they get to that state. Feb 18 20:46:45 Gumboot: ok, thanks. i'll defer panic for an hour or so Feb 18 20:46:58 Although I did once have a bit of a fight with an iPod to get it into a state where it would actually start charging rather than trying to boot and running out of power before it got around to turning the charge circuit on. Feb 18 20:47:02 g00s, ive been through 3 droid one's. The last one that died because the charging port went kaput Feb 18 20:47:13 :( Feb 18 20:48:31 Gumboot: huh, thats interesting. my Ipod touch is often forgotten about, so that when i turn it on it does so hesitantly with the big red battery screen - and then charges enough to reboot or something Feb 18 20:53:41 mac launchPad is such a piece of shit Feb 18 20:55:59 In the days before touch they had a black-and-white boot mode which was just for charging. Feb 18 20:57:08 If it got to that boot screen it would charge, but if it tried to boot up the main OS then the charger wouldn't be switched on right away. I had it such that it did the latter, then crashed, then did the same thing again over and over. Feb 18 20:57:26 stack overflow is down Feb 18 20:57:29 I think it was charging, but at very low current, so it was going to take ages. Feb 18 20:57:33 raaah Feb 18 20:58:50 http://i.imgur.com/R4GMg.png Feb 18 20:59:21 g00s I've yet to understand waht all that newfangled osx lion bullshit is for lol Feb 18 20:59:32 and the new reports of their new os Feb 18 20:59:36 I'm switching Feb 18 20:59:38 away from macs =0 Feb 18 21:00:07 luanchpad keeps state in an sqlite db, remember its just showing icons for apps installed on the machine - but the db state gets out of sync with the state of the filesystem Feb 18 21:00:17 fucking retarded shit man, who thought of this ? Feb 18 21:00:24 what was wrong with the original Application stack ? Feb 18 21:01:43 the new xcode 4.3 install is dumber than hell Feb 18 21:01:46 is there some way of finding the view located at some X Y coordinate? Feb 18 21:05:11 for some reason i find the trends in computing operating systems depressing as hell; bring back the commodore 64 ! Feb 18 21:05:56 mac stuff is moving away from general purpose computing; android is uh, nevermind; hopefully ms does something right with windows 8 / wp8 Feb 18 21:07:46 Anybody here on a Saturday afternoon? Feb 18 21:08:07 g00s: MS look like they're trying to take Windows away from general-purpose computing too. Feb 18 21:08:16 how do I backup my stuff? I copied everything off my SD card to my PC, and back to my larger SD card and put it in, and did a backup with mybackup pro and it backed up, then I unmounted my SD card and put it in my new phone and the card is blank Feb 18 21:08:41 THE_GFR|WORK: wrong channel ; this is for app dev and complaining Feb 18 21:09:06 g00s: so? Feb 18 21:09:16 THE_GFR|WORK: so what ? Feb 18 21:09:17 nevermind Feb 18 21:09:28 good Feb 18 21:10:32 ron_frown: still there? haven't seen you in a while. how are things going ? Feb 18 21:10:40 are your beagles doing well :D Feb 18 21:10:56 I'm all pandas and freescale boards atm Feb 18 21:12:26 ron_frown: oh yeah, panda. how are they working out for you ? Feb 18 21:13:14 holy shit , my droid-1 just turned on after about 30 min of charging in the library - just booted up - and yelled DROOOIIIID Feb 18 21:13:26 everybody around was like wtf, i started laughing Feb 18 21:16:15 ron_frown: do you know what panel they are using on the pandaboard.org video on the lower right hand side ? Feb 18 21:17:00 oh wait, where did the video go Feb 18 21:17:33 ah, it was on the beagleboard.org site, nm Feb 18 21:19:23 anyone who can help me with file extension handling in my app? Feb 18 21:19:25 via manifest Feb 18 21:22:44 faenil: Please be more verbose. What are you trying to accomplish? Feb 18 21:23:46 There's no real concept of file extensions in Android. It all depends on what intent the application sends Feb 18 21:24:53 wow thank God! :D Feb 18 21:24:53 Chronax: I want file managers and browsers to open my app when they handle .obj/.ply/.off/.stl/.ctm files Feb 18 21:24:53 that's all : Feb 18 21:24:54 but it seems impossible ... Feb 18 21:25:00 so how can I accomplish my task? Feb 18 21:26:11 SimonVT: you mean the intent that filemanager and browsers send? Feb 18 21:27:19 most of the shit actually overlaps anyway =) Feb 18 21:27:40 Hmm... Feb 18 21:27:42 Still unclear. Feb 18 21:27:43 lots of the beagleboard shit, works plug and play with panda Feb 18 21:28:10 Chronax: what's not clear? Feb 18 21:28:31 I want that when you open a file with a web browser or with a file manager Feb 18 21:28:56 Yes, depends on the intent sent på the application Feb 18 21:28:58 if that file has extension .obj or .stl or etc I want it to open my app Feb 18 21:29:10 or at least put my app in the list of apps you can open that file with Feb 18 21:29:10 are you refering to the FEZ Panda? Feb 18 21:29:32 SimonVT: don't they send VIEW? Feb 18 21:29:42 You're matching the Uri (set/getData) of the Intent. They're not required to to put the file path as the Uri Feb 18 21:29:53 s/på/by Feb 18 21:30:13 ah :( Feb 18 21:30:18 so there's no way to do it? Feb 18 21:30:19 They're not required to set it at all Feb 18 21:30:33 but that's stupid, isn't it ? Feb 18 21:30:33 You just have to figure out what intent the application sends Feb 18 21:30:39 Then try to catch it Feb 18 21:30:58 I mean there is a pathPattern Feb 18 21:31:01 why wouldn't it work? Feb 18 21:31:14 Because the uri might not be set Feb 18 21:31:20 You never know Feb 18 21:31:49 It's up to you to figure out the intent the app sends Feb 18 21:31:56 Then figure out how to filter it in your manifest Feb 18 21:32:25 You can't just assume that the app sends an intent that matches your filter Feb 18 21:32:37 but that's what the whole world says :( Feb 18 21:33:09 how can I catch that intent? Feb 18 21:33:17 I'm not android programmer, I'm using Qt for Android... :( Feb 18 21:37:06 Chronax? is it clear? Feb 18 21:43:23 SimonVT: how can I catch the intent sent from the browser? Feb 18 21:44:01 Check the action in logcat Feb 18 21:44:03 Catch that Feb 18 21:44:28 Check it, see if you can apply more filters Feb 18 21:45:16 ddms doesn't work since yesterday :( Feb 18 21:45:28 adb recognizes my device and I can make deployment Feb 18 21:45:35 but ddms shows a orange box in upper left Feb 18 21:45:40 and doesn't show my device.. Feb 18 21:46:30 is there any way, from the android market, to see which countries a published app is available from ? Feb 18 21:47:45 g00s: one that you published or that someone else published? Feb 18 21:47:52 Amphoras: someone else Feb 18 21:48:54 g00s: don't know then. they usually just say "not available in your country", but dont say where they are available for me Feb 18 22:08:53 SimonVT: browser sends no intent when opening that file Feb 18 22:08:59 it just shows it as text inside its window Feb 18 22:09:06 at least ddms reports nothing Feb 18 22:09:11 about intent being sent Feb 18 22:10:01 Then there's not much to catch Feb 18 22:10:25 so I can't make the browser open that file with my app?... Feb 18 22:11:12 SimonVT: ^ Feb 18 22:11:19 Well, if it doesn't send an intent, you can't catch it, no Feb 18 22:11:28 .obj 3d models are text/plain mimetype ... Feb 18 22:11:37 I can't believe there's no way to open those with another app :( Feb 18 22:16:57 SimonVT: some little update Feb 18 22:17:19 with Feb 18 22:17:31 my app is put into Text app in Astro file manager Feb 18 22:17:44 while if I use Feb 18 22:17:45 android:pathPattern=".*\\.obj" /> Feb 18 22:18:02 my app is not shown in that menu anymore Feb 18 22:18:12 even if the file has .obj extension Feb 18 22:18:16 SimonVT: how does that come? Feb 18 22:18:18 Well, there you go. your host/pathPattern doesn't match the Uri Feb 18 22:18:40 * and .*\\.obj ....I see nothing wrong there Feb 18 22:18:44 Maybe check the Uri, see what it is Feb 18 22:19:11 huh, i updated my apps screenshots on the market hours ago, but they have not taken effect Feb 18 22:19:41 they show up fine in the developer console :/ Feb 18 22:20:10 Remember that changes need to propagate to the market servers Feb 18 22:20:46 but when you publish an app, it shows up in a few minutes Feb 18 22:21:01 whatever, i'll just check back tomorrow. no biggie Feb 18 22:21:02 SimonVT: or it could be that Astro just put apps that parse text/plain files in that list Feb 18 22:21:03 ... Feb 18 22:22:35 g00s: Google cache. A lot. Feb 18 22:22:38 faenil: maybe Feb 18 22:22:53 SimonVT: good, so to sumup, android is a hell Feb 18 22:24:01 but it's just as bad as the other hells Feb 18 22:24:06 so we deal with it, and don't complain Feb 18 22:24:10 :) Feb 18 22:24:15 heh Feb 18 22:24:16 Not really, file extensions are just mostly pointless Feb 18 22:24:17 storkme: ever tried Qt? :) Feb 18 22:24:38 qt? the stuff nokia used for symbian? Feb 18 22:24:42 look how well that worked out Feb 18 22:24:44 anyway, let's not start this discussion :D I just nee Feb 18 22:25:01 storkme: no, the stuff Google used to code Google Earth, skype used for Skype Feb 18 22:25:04 ahahaha Feb 18 22:25:12 look how well that worked out ;) Feb 18 22:25:23 (sorry, you deserved that XD) Feb 18 22:25:38 faenil: they don't use QT for the mobile version. Feb 18 22:25:48 sorry, for a second I thought we were talking about mobile platforms, with this being an android dev channel and all Feb 18 22:25:48 Atleast google probably doesn't. :) Feb 18 22:25:58 storkme: sure, we are :) Feb 18 22:26:13 SeligArkin: no they're not, coz Qt support on mobiles is low Feb 18 22:26:28 just Symbian and Harmattan support it good enough Feb 18 22:26:32 well enough Feb 18 22:26:49 while on desktop, Qt is everywhere Feb 18 22:27:06 anyway, storkme, give it a look when you have some time ;) Feb 18 22:27:19 comparing apples to oranges is fun Feb 18 22:27:31 indeed. Feb 18 22:27:47 no it's compating a mobile framework to another mobile framework Feb 18 22:27:47 I much prefer apples Feb 18 22:27:52 see nothing against that Feb 18 22:28:16 qt isn't a mobile framework (At least not in the context of android), it's just an api on top of that -- it wont get you away from the way android works Feb 18 22:28:33 it will, once the porting is complete :) Feb 18 22:28:47 i.e., never XD Feb 18 22:28:58 * SeligArkin rolls her eyes Feb 18 22:29:24 let's see if it can do any better than it did on symbian Feb 18 22:29:39 man Qt did very well on symbian Feb 18 22:29:53 it's symbian itself that did very bad :) because it's too old Feb 18 22:30:22 brb Feb 18 22:31:23 ... nevermind :) Feb 18 22:33:40 back Feb 18 22:34:55 :) Feb 18 22:35:22 now please, tell me you know how to make the browser open my app when it loads an .obj file Feb 18 22:35:27 there must be a way, damn it xD Feb 18 22:35:35 nope, sorry Feb 18 22:35:48 faenil: stack overflow is back up, try there Feb 18 22:36:16 g00s: they all say the same thing, which doesn't work... Feb 18 22:36:59 faenil: the technique they show does not work, or do they say its not possible ? Feb 18 22:37:10 the technique Feb 18 22:45:29 marcy: ping Feb 18 22:45:45 So what's the issue? Feb 18 22:49:55 how do I get my application data over to my new phone? Feb 18 22:58:32 HOW DO I MOVE MY APPLICATIONS DATA FILES FROM OLD PHONE TO NEW PHONE?!!! Feb 18 22:59:46 caps man ... come on .... Feb 18 22:59:53 THEGFR|WORK: shouting won't help. Feb 18 23:00:53 sorry Feb 18 23:00:57 but I'm so frusturated Feb 18 23:01:24 what have you already tried? Feb 18 23:01:31 almost everything Feb 18 23:01:35 I can find Feb 18 23:01:57 can't you just move the /data/data/ dir ? Feb 18 23:01:58 Wondershare MobileGo Feb 18 23:02:05 no I can't Feb 18 23:02:13 like what? why did they not work? Feb 18 23:02:14 anyhow Feb 18 23:02:18 I need a program to do it Feb 18 23:02:20 so Feb 18 23:02:23 is your phone rooted? Feb 18 23:02:25 I have tried titanium backup Feb 18 23:02:27 try #android-root Feb 18 23:02:31 zerkz: my phone isn't rooted Feb 18 23:02:36 I have Samsung Galaxy Note LTE Feb 18 23:02:40 You need to root your phone most likely. Feb 18 23:02:48 I can't yet Feb 18 23:02:50 Your playing with your phone's space, unless all of your apps are on sd. Feb 18 23:02:51 I don't think Feb 18 23:03:06 im pretty sure without root it tries to hide it from you. Feb 18 23:03:13 i COULD be wrong though. Feb 18 23:03:15 all the ways i know you need root Feb 18 23:03:16 well most of them are on SD but I do not have the DATA that goes with them, when I open the program it does not remember what I had in there Feb 18 23:03:33 I have my old phone rooted Feb 18 23:03:34 otherwise you dont have permission to access other apps data which you need to put it there Feb 18 23:04:15 not APPS but APPS DATA Feb 18 23:04:22 the data for the apps I have Feb 18 23:04:37 i think most of us understand what you mean. Feb 18 23:04:40 hold on. Feb 18 23:04:43 Does anyone have the android dev guide in a mobi format? Feb 18 23:04:48 zerkz Feb 18 23:04:51 ok Feb 18 23:05:39 the /data/data/ directory is where the app data is stored. apps only have permission to access their own folder. therefore you need root access to override this and be able to access another apps folder to change the data there Feb 18 23:06:01 ^ Feb 18 23:06:03 what he said. Feb 18 23:06:20 >:| Feb 18 23:06:34 There are a few windows applications that can explore your phone (when rooted), and there are some file managers that can explore the /data/data/ folders. Feb 18 23:06:45 you will have to manually copy these folders. Feb 18 23:07:11 THE_GFR|WORK: try #android-root Feb 18 23:07:51 is jackson the preferred JSON library on android ? Feb 18 23:08:16 i read it was the fastest Feb 18 23:09:35 i don't have the google apis on eclipse, nor are they available on the 'available software' tab Feb 18 23:09:43 where can i get it? Feb 18 23:10:03 isn't it in the eclipse marketplace ? Feb 18 23:10:16 for whatever version of eclipse supports that Feb 18 23:11:15 i know it does, i had to reinstall everything and now i have all the android apis available but no google's :( Feb 18 23:19:20 man, the wonders that "clean" can do for your app.... before my next and previous buttons had reversed effects 0.o Feb 18 23:20:16 wow good job :S Feb 18 23:23:37 Hello, I am new to android development. I built a simple app that uses webview to display a webpage. When I sent the app to a friend it gives a parsing error. I was wondering how to fix that. Feb 18 23:24:23 Does anyone know if it's possible to retrieve log output from android line by line? Feb 18 23:26:03 aw1231: not much we could do without the error =) Feb 18 23:26:05 oddu: you can choose where adb writes the log Feb 18 23:26:27 aspic: oh? what's this? example? Feb 18 23:26:33 I didn't know that. That's sickness. Feb 18 23:27:22 aspic: sure give me a second. Feb 18 23:27:47 aspic: it says Problem Parsing Package Feb 18 23:28:19 does anyone have a recent pdf of the android developer guide? Feb 18 23:28:28 the only one i seem to be able to find is from 2009 Feb 18 23:29:31 aw1231, does your friend have the needed android version/api for your app? Feb 18 23:29:54 yes, its built for 2.1 and he has 2.2 Feb 18 23:30:28 docgnome: that would be nice, kinda the way apple does it Feb 18 23:30:53 aw1231 only time ive gotten that error on other phones has been from that. You might want to double check your target and stuff just to make sure. Feb 18 23:30:56 g00s: ? Feb 18 23:31:01 docgnome: but the dev guide is downloaded to your hard drive if you install docs so ... Feb 18 23:31:11 its just html though, without search capabilities Feb 18 23:31:12 g00s: right but i want to read it on my kindle Feb 18 23:31:18 oh Feb 18 23:31:26 and calibre chokes on it when i try to convert the html files Feb 18 23:31:41 zerkz: sdk 7 is version 2.1 correct? Feb 18 23:31:47 yeah Feb 18 23:32:45 aw1231, correct. Feb 18 23:33:05 zerkz: then I don't know what is wrong then. Feb 18 23:33:25 so in your android manifest you have Feb 18 23:33:40 its possible that your friends download connection might of been corrupted/interrupted. Feb 18 23:33:44 but, im not too sure. Feb 18 23:34:31 zerkz: i have minsdkVersion="7" Feb 18 23:36:33 all i could say is try and have him redownload your apk Feb 18 23:36:59 zerkz: he has twice Feb 18 23:39:13 zerkz: do you know where else I could ask about this problem? Feb 18 23:39:54 stackoverflow Feb 18 23:39:58 ok Feb 18 23:40:30 zerkz: thanks so much Feb 18 23:50:03 Hey, can someone answer me a question? I have an apk which i want to repackage as a playbook app. to do this i've had to change a file inside the APK (Just an image).. is there a way to get a new SHA1 digest for it in the MANIFEST.MF file? Feb 18 23:50:13 doesn't look like a normal SHA1 digest Feb 18 23:51:19 SHA1-Digest: OKVoPhp81doEH9TLe2ROI78b/BA= Feb 18 23:51:23 Farkie: you are not supposed to do this that way, cant you just compile it again ? Feb 18 23:51:30 It's not my app Feb 18 23:52:02 I don't plan on releasing it -- just using on my own playbook (It's a SAMBA app) Feb 18 23:52:27 Farkie: I believe the apk was signed by his author, you shouldnt be able to change something in it and sign it again Feb 18 23:54:22 damn Feb 18 23:54:41 The only thing that won't convert is an image size :( Feb 18 23:54:49 it's 64x64 and needs 86x86 Feb 18 23:55:15 I've been working with the Facebook SDK for a couple hours and I'm trying to figure out how I can call a function in my activity from the DialogListener. How can I do this? Feb 19 00:02:39 anyone use Egit and github here? Feb 19 00:27:40 Hey guys, i just open source'd my android app I've been working on for a while. take a look if you want. Feb 19 00:27:41 https://github.com/zerkz/Stem-Esteem/tree/master/StemEsteem Feb 19 00:29:06 zerkz: what is this app for ? have you released it on the market yet ? Feb 19 00:29:50 Hey guys, what's the best View control to use for displaying rendered HTML in a ViewPager? Feb 19 00:29:54 oh, nvm its written in the github title :) Feb 19 00:29:57 I'm guessing it's not WebView. Feb 19 00:30:14 view StemEsteem.java Feb 19 00:30:18 for more information Feb 19 00:31:10 I was working with a psychologist, but his office all of a sudden told me to cease production and that it wouldnt be up to standards (even though they never saw my app..i think they wanted to steal my idea for their profit), so i decided to open source it. Feb 19 00:31:31 because i was aiming for these sentence completion exercises to help build self-esteem. Feb 19 00:32:12 so i removed all copyrighted content and made it a framework Feb 19 00:36:44 anyone know where I might find some advice regarding an unofficial CM9 ROM? Feb 19 00:40:09 ,. Feb 19 00:56:12 What the shit? Feb 19 00:56:30 Why can't I set an EditText's text attribute to this: http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&output=rss Feb 19 00:56:39 Keep getting "error in xml file." Feb 19 00:57:46 Chronax: what version of android are you building agenst? Has to be honeycomb or above Feb 19 01:00:16 2.2 Feb 19 01:00:19 API Level 8. Feb 19 01:02:02 Weird. Feb 19 01:18:28 Chronax: you can build agenst honeytcomb and have it still work in 2.2 Feb 19 01:18:39 is there any kind of official example to show how the multi choice mode in listview should be used with custom adapters? Feb 19 01:18:41 Chronax: but like they say, it won't do anything on <3.0 Feb 19 01:19:09 I'm definitely not building against honeycomb. Feb 19 01:19:19 The declared version in my manifest and in Eclipse is 2.2. Feb 19 01:19:33 And in the project.properties file. Feb 19 01:19:36 may I ask why? Feb 19 01:19:50 Why what? Feb 19 01:20:29 You're building agenst 2.2 Feb 19 01:21:13 Oh, I just arbitrarily picked a version. Feb 19 01:21:24 But, that's a bit unrelated from my original question. Feb 19 01:25:11 What is the proper intent to open a URL? My ACTION_VIEW, out of the blue, is making the default browser search Google for my URL instead of opening it. Feb 19 01:30:08 I'm pretty sure ACTION_VIEW is the correct intent. is your Uri properly formed? Feb 19 01:36:58 Yes, it is. If I copy/paste it from the search field where it has my query into the address bar, it opens it fine. Feb 19 01:37:27 It also did not exhibit this a few days ago, and I have not touched anything browser-related since then... besides upgrade Firefox beta which I don't use. Peculiar. Feb 19 01:40:03 that is odd. Did the search app somehow get selected as a default, maybe? Feb 19 01:44:02 I force-closed the browser and now it's working as it should, consistently. Feb 19 01:44:10 The Google Search app doesn't have any defaults I can clear. Feb 19 01:46:20 is it a big deal to custom compile linux kernel for android? Feb 19 01:51:59 where can i get android api source code? normally i look into the code while i am working on a libraray. for normal java development i use maven, which does the job of downloading source for me Feb 19 01:52:54 vadi2: glad that solved it, but I have no idea what could have caused it! Feb 19 01:53:28 Yes, oh well. I'll take a more serious look if it comes up again. Feb 19 01:54:27 hey guys. anybody know stuff about SSL certificate management on Gingerbread? I'm trying to access an HTTPS site that uses a CACert certificate - I added the CACert root to my keystore but the browser says the cert is still untrusted. Feb 19 01:56:44 Anybody have a clever answer for this? I'm having a similar problem: Feb 19 01:56:44 http://stackoverflow.com/questions/9188138/horizontal-scroll-swipe-in-a-webview-component-inside-pageviewer-in-android Feb 19 02:21:16 If I have a set of key/value pairs that I have from JSON and I want to put them into a Spinner, what sort of Adapter should I use for this? Feb 19 02:51:55 #actionbarsherlock Feb 19 02:52:31 sorry i meant to type /join before it lol. it doesn't exist anyway :( Feb 19 02:54:14 who needs #actionbarsherlock when we have jakew...nm Feb 19 02:54:44 ^_^ Feb 19 02:55:06 fucking thin smartphones Feb 19 02:55:22 LETS MAKE A SMARTPHONE SO THIN YOU WE CANT FIT A BATTERY IN! Feb 19 02:55:24 great idea guys Feb 19 02:55:25 great idea Feb 19 02:56:42 y u hatin **** ENDING LOGGING AT Sun Feb 19 02:59:58 2012