**** BEGIN LOGGING AT Tue Jul 31 02:59:59 2012 Jul 31 03:02:37 someone do something fun Jul 31 04:25:03 <_genuser_> hello folks. Jul 31 04:25:08 <_genuser_> I'm new android dev. trying to implement ViewPager using FragmentPagerAdapter. Every sample code block I copy from the android.com reference material comes up with some unresolvable references. Jul 31 04:25:21 <_genuser_> target android 2.2.1 Jul 31 04:25:37 <_genuser_> example: http://developer.android.com/reference/android/support/v4/view/ViewPager.html Jul 31 04:25:54 <_genuser_> ActionBar is just not resolvable using the compatibility libs that I've included. Jul 31 04:33:46 I'm looiking for someone who has experience with mobile programming (android based) and protocol/encryption. I pay well, msg me if you're interested to hear more details. Jul 31 04:34:35 don't advertise jobs Jul 31 04:37:52 <_genuser_> anybody got a reference to a complete viewpager implementation using FragmentPagerAdapter? The samples don't have anything to show that either. Jul 31 04:38:28 the support library sample does Jul 31 04:38:38 SDK/extras/android/support/v4/sample/ Jul 31 04:44:22 <_genuser_> JakeWharton: I see some files in android-sdk\extras\android\support\samples\Support4Demos\src\com\example\android\supportv4\app, all .java files. all seem relevant. I'll view those in eclipse and hope to see if any imports were missed. thanks for the pointer. Jul 31 04:59:16 currently running cyanogenmod 7.2 stable on htc evo shit (sprint). Whenever I reboot my phone, I always receive a ghost notification for voicemail messages, but I have 0 messages. I tried contacting sprint, and they cleated my messages inbox, and still receive the ghost message when using default SMS and voicemail app. so i had to resort to using googlevoice and enable the box to receive Jul 31 04:59:16 messages via googlevoice; but dont really want to have an additional app to disable that notification everytime I reboot my phone. any ideas? Jul 31 04:59:47 Quagmire3: for fuck sake, again Jul 31 04:59:52 read the damn topic Jul 31 05:01:58 i thought thats where i am suppose to go for root/custom ROMs..I am already rooted, and already have a custom rom. I was told to come here from android .. so sowwwwy Jul 31 05:03:30 #android is the place to ask those questions Jul 31 05:08:28 lol, g00s sounds like he needs a coffee Jul 31 05:09:28 Naish: i just had a standoff with 4 javelinas. almost had to fight them off with my bare hands :) Jul 31 05:09:33 well, rocks in my hands Jul 31 05:12:06 i need a relaxant Jul 31 05:13:43 Do any devs here work on any open source android games? Jul 31 05:16:30 oi Jul 31 05:17:25 oi ron_frown Jul 31 05:17:41 finish the porch ? Jul 31 05:18:47 hahah no Jul 31 05:19:00 I've been working on my truck and my new(old) boat Jul 31 05:19:18 porch is slated for this weekend, and I've got help on its way too Jul 31 05:19:41 have you taken the boat out yet ? Jul 31 05:21:13 nah Jul 31 05:21:26 I had to rebuild carbs and put a new powerpack in it Jul 31 05:21:45 it fires up but water is seeping out of the heads, which means new head gaskets, but thats an easy job on that thing Jul 31 05:21:47 carbs are bad for you Jul 31 05:22:03 its been 3yr since it ran, and I got a 3-5k boat for 1k Jul 31 05:22:04 or at least that's what the 900 women's magazines in checkout lines tell me Jul 31 05:22:11 because the dude didnt know anything about fixing motors =0 Jul 31 05:24:42 I love having skills Jul 31 05:25:25 COME ON 60meg internet! Jul 31 05:25:40 surely you can snag mountain lion faster than 5k/sec Jul 31 05:27:41 i'm going to let you try it out before i do :) Jul 31 05:28:08 but by the time your dl finishes, snow koala will be ready or something Jul 31 05:28:25 snow... koala? Jul 31 05:28:37 i'll just take 10.7.5, and then hop on board after their first .1 release :) Jul 31 05:28:42 Drakonite: :D Jul 31 05:29:15 I jumped on lion when it first came out... wasnt too bad Jul 31 05:29:52 there were a few littl things that didnt just wokr out of box Jul 31 05:29:54 but Jul 31 05:31:34 they got 3 million downloads in 4days, so lots of people are trying it out Jul 31 05:32:17 pft Jul 31 05:32:28 Opensuse > all Jul 31 05:32:49 hehe, i tried opensuse for like 10 minutes Jul 31 05:33:01 i think i just went to ubuntu after that Jul 31 05:33:50 i wonder if Tolvalds still uses it Jul 31 05:34:28 he threw that little tantrum a few months ago about some aspect of it Jul 31 05:44:14 about unity Jul 31 05:44:17 and I agree with him Jul 31 05:44:29 each subsequent release of unity tries to change the linux desktop a huge amount Jul 31 05:44:35 and its not like its really customizabl Jul 31 05:44:52 its not like you can tweak it to be as little or as much like traditional gnome desktop Jul 31 05:46:15 i was just reading the gnome guys are in trouble Jul 31 05:46:27 like, there are hardly any devs working on it Jul 31 05:46:34 mostly just a few RH employees Jul 31 05:48:45 doesnt really surprise me Jul 31 05:49:07 shocker, everyone complains about an open source project not being developed enough, nobody actually contributes Jul 31 05:49:16 hello all Jul 31 05:50:41 haa Jul 31 05:51:29 I am hoping wayland / weston encourages people to continue forward in the linux desktop world Jul 31 05:53:41 <_genuser_> man this whole pager tab strip thing is too fragile. Jul 31 05:54:39 yeah it pretty much sucks :P Jul 31 05:54:45 btw Jul 31 05:54:52 anyone seen async task jsut up and fail Jul 31 05:54:58 it seems like the backend is still functional Jul 31 05:55:03 but never calls onpostexecute, etc Jul 31 05:55:46 the one potential oddity there being Jul 31 05:55:51 _genuser_: might I suggest you try http://viewpagerindicator.com Jul 31 05:55:59 <_genuser_> JakeWharton: reviewing it more makes it obviously more familiar and easier to debug. but initial copy/paste from samples folder, really breaks it. Jul 31 05:56:06 I try and fire the async task from a dialog Jul 31 05:56:19 whihc I cant see why it'd be a problem Jul 31 05:56:25 <_genuser_> JakeWharton: yeah I saw that one. I was hoping to stay within google issued API and also spend a little time learning the nitty gritty of android development. Jul 31 05:56:51 <_genuser_> JakeWharton: it's like when people tell me .net is complicated. since I use it, I just don't see their point. but now I am thinking android is complicated. Jul 31 05:56:58 meh, pager title strip is a half-assed afterthought in its current iteration Jul 31 05:57:14 <_genuser_> hopefully more debugging, more code analysis will make it easier. Jul 31 05:57:16 even Google doesn't use it in their apps Jul 31 05:57:26 <_genuser_> JakeWharton: I thought tho. What's the thing used in the play store? Jul 31 05:57:35 A custom control Jul 31 05:57:45 <_genuser_> I like the play store tabbed/swipe interface. Jul 31 05:58:08 <_genuser_> going for a simple 4 tab/ with listboxes app. but the effort has been already paying. it's starting to make sense. Jul 31 05:58:19 <_genuser_> it meaning the google android app setup. Jul 31 05:58:37 yep. only want to learn is to dig in and start experimenting Jul 31 05:59:13 <_genuser_> :). it's always nice to anything with a freenode community. it's so much easier to weed out "doh" moments. Jul 31 05:59:30 <_genuser_> back to reading docs. Jul 31 06:02:14 read read read Jul 31 06:02:29 so anyone heard any weird shenanigans with the asynctask? Jul 31 06:04:00 a rogue AsyncTask murdered my father and raped my mother Jul 31 06:04:19 mine in this one case seem like they are losing context Jul 31 06:04:26 and the postexecute tasks arent fired Jul 31 06:04:45 I mean I can put tracing in doInBackground() and I see it show up Jul 31 06:04:51 it just never makes it back Jul 31 06:05:11 oh shit Jul 31 06:05:15 I think I might know why Jul 31 06:06:23 anyone done anything with bt in android? Jul 31 06:07:59 i have Jul 31 06:09:55 g00s - couple quick questions... I hope... theoretically I can pair with multiple devices simutaneously, right/ Jul 31 06:10:33 and as I recall there was facilities for a serial comm channel Jul 31 06:10:49 hmm, trying to remember. the inquiry scan will show the list of devices Jul 31 06:11:07 Hi. How can I use an empty ImageView in my layout? I am using the camera app to click a picture for me, the bitmap version of which I want to show in an ImageView. When I try to create one using the eclipse plugin, it asks me for a drawable resource, which I do not want to specify while UI creation. Jul 31 06:11:15 i think in newer versions of android you can say, do an inquiry can of devices with 'x', like rfcomm Jul 31 06:11:38 yes, rfcomm works. use the ruight uuid Jul 31 06:11:53 one question. what is the proper way to read all infors in the calendar ??? Jul 31 06:12:37 well technically I just need bt mac Jul 31 06:12:48 bu I figured if I could do something a bit more secure than that, that would be better Jul 31 06:14:18 i'm kinda pissed android 4.1 still doesn't have support for BT low power Jul 31 06:14:35 haha Jul 31 06:14:37 it can =) Jul 31 06:14:50 it just has older bluez Jul 31 06:14:58 I saw some company added a shitload of new profiles Jul 31 06:15:04 for medical devices and what not Jul 31 06:15:11 cool Jul 31 06:15:28 from what i understand, wp8 will have it, ios already does Jul 31 06:15:37 what would you do with it Jul 31 06:15:38 word perfect 8? Jul 31 06:16:09 we do lots of lower power device monitoring, but not with bt Jul 31 06:16:13 with zigby Jul 31 06:16:22 g00s: you could contribute it Jul 31 06:16:40 I am pretty certain its already in bluez later build Jul 31 06:16:44 ron_frown: ZigBee :) Jul 31 06:16:49 yeyah Jul 31 06:17:04 there would need to be framework changes too, i would imagine Jul 31 06:17:08 it was honestly abuse of the hardware protocols Jul 31 06:17:20 g00s - I dont know... but I may be willing to commit that for you Jul 31 06:17:25 I'm going to be in there working on other bt shit Jul 31 06:18:00 there are profiles I need in later bluez and probably will have to add additional shit to android framework to support it Jul 31 06:18:46 ron_frown: from what i understand, a lot of phones actually have it, android just doesn't support it out of the box; its like you said, you can hack it for custom hw Jul 31 06:18:58 actually have the bt lp chipsets, that is Jul 31 06:19:06 wow wtf? Jul 31 06:19:17 it looks like its been in bluez for a long time Jul 31 06:19:23 it may just need wrapping in android framework Jul 31 06:19:32 since end of 2010 Jul 31 06:20:23 well in anycase I am going to be looking into it in the very near future Jul 31 06:20:29 cool ron_frown Jul 31 06:21:14 I know getting aquainted with network manager and shit was... a bit of a learning curve when I was patching in eth support Jul 31 06:25:44 ron_frown: did you say some manufacturer added their own ZigBee support to android ? Jul 31 06:25:52 no no Jul 31 06:25:53 that would be fucking cool too Jul 31 06:25:57 oh Jul 31 06:25:58 thats for other shit we do at the office Jul 31 06:26:07 stuff I dont have anything to do with =) Jul 31 06:26:33 I just know we send wya more data than those devices were designed to transmit Jul 31 06:26:40 I guess theres a lot of chatter and latency Jul 31 06:43:02 anyone here fiddled with how webview text sizes and textsize dp on textview relate? Jul 31 06:47:57 Hello guys, I was trying out a test app which is using MapView, I found out that offline MapView is not working, it doesn't show a map. While using Google Maps does work offline. Does anyone know why? Jul 31 06:48:14 mapview isnt googlemaps? Jul 31 06:48:30 i wouldn't be surprised if google maps in't even … yeah, using mapview Jul 31 06:48:49 ron_frown, come on, google maps is just another app with MapView. Jul 31 06:48:51 according to romainguy a while back Jul 31 06:48:57 it was absolutely not the same Jul 31 06:49:02 I cached a big area for offline use. Jul 31 06:49:04 mapview was missing a ton of shit form google maps Jul 31 06:49:23 tile drawing was totally different Jul 31 06:49:40 mapview does not support offline caching Jul 31 06:50:19 ron_frown, ok, so MapView is not using the cache map at all? It's like preventing other parties to build a navigation app using cached maps. Jul 31 06:50:35 Number5: you can use OSM :) Jul 31 06:50:36 I dont think that was the intention for the differences there Jul 31 06:50:43 SimonVT, ok, can you give me a reference please? Jul 31 06:50:45 I honestly prefer osm for the appearance of the maps Jul 31 06:50:59 and honestly OSM somteimes has more up to date information Jul 31 06:51:19 g00s, hmmm, OSM is nice, but haven't tried it yet. Jul 31 06:51:32 Number5: Google it Jul 31 06:51:57 SimonVT, ok, I was afraid you would say it. Jul 31 06:52:29 plus the sky is the limit as far as appearances and shit go Jul 31 06:52:53 cloudmade has a style generator that lets you generate osm tiles with all sorts of appearance changes Jul 31 06:53:01 http://cloudmade.com/products/style-editor/gallery Jul 31 06:53:13 Also Jul 31 06:53:14 Ok, about those who are familiar with OSM, is there a possibility to download map data of an area to your storage and use it locally without being connected all the time? Jul 31 06:53:28 ron_frown, thnx Jul 31 06:53:39 "It's like preventing other parties to build a navigation app using cached maps" .. Make sure you're actually allowed to use gmaps for your own navigation software Jul 31 06:54:35 I am actually somewhat suprised people outside of major corporations even bother Jul 31 06:54:43 Hi everyone, I wanted to know if there's a way for me to know if a device that were connected throw usb to my android has disconnected? Jul 31 06:54:44 they don't stop people using the maps api to make their own navigation implementations… but it would cost a truckload to do Jul 31 06:54:47 there is so much bs licensing associated with most map tiles Jul 31 06:55:33 and the maps app uses a MapView, but a MapView isn't the maps app Jul 31 06:56:25 isn't that about their "all apps are created equally"? Jul 31 06:57:07 "but some are more equal than others?" Jul 31 06:57:12 :) Jul 31 06:57:16 haha, i was just going to say that Jul 31 06:57:41 don't all of google apps use the same api? Jul 31 06:58:21 Doubt it Jul 31 06:58:47 SimonVT, I don't make a navigation software, but I want something like Waze kind of app. Jul 31 06:58:52 mmm i remember reading about google making a big deal about it… i maintain the right to be wrong Jul 31 06:59:19 Well, depends on what you mean by same api Jul 31 06:59:27 I'd imagine they build against aosp Jul 31 06:59:29 ron_frown, does OSM also has an api to show map that is stored locally, so I can use it offline? Jul 31 06:59:35 For all those nonpublic APIs Jul 31 06:59:36 uhh yeah Jul 31 06:59:45 osm is just a map data provider Jul 31 06:59:53 there are tile viewers for android/ios/etc Jul 31 07:00:04 but I think osmdroid was the one I used and it did let you view tiles offline Jul 31 07:01:00 tmho they arent the same apps Jul 31 07:01:03 for sure Jul 31 07:01:11 and the gapps source is not open Jul 31 07:02:12 i thought i read that while they didn't release the source for gapps, they were still made using the same apis available to the public Jul 31 07:02:16 Ok, thanks guys. I now have a better idea about maps, so it's time to google ;-) Jul 31 07:15:16 hi, where do i download just the support library source code? (that I can build myself)? Jul 31 07:15:32 if you downloaded the .jar, you got the sources too Jul 31 07:15:38 it's in your SDK folder Jul 31 07:15:47 hmm, thanks, let me check Jul 31 07:16:39 <_genuser_> beautiful! adding pagertabstrip leaves hte pages empty. Jul 31 07:17:13 <_genuser_> thinking of that viewpager third party control. Jul 31 07:18:05 JakeWharton, I have an issue with support library described here : https://code.google.com/p/android/issues/detail?id=34775, can you help? Jul 31 07:18:43 <_genuser_> lol, the control is called JakeWharton-Android-ViewPagerIndicator-2.3.1-0-g0439759 Jul 31 07:18:56 <_genuser_> JakeWharton: just realized that you wrote that control. Jul 31 07:19:29 I did indeed Jul 31 07:19:50 <_genuser_> so, did you make it pretty much imitate the play store control? Jul 31 07:20:23 the title indicator comes pretty close Jul 31 07:20:36 the play client team likes to change the behavior quite a bit in subtle ways Jul 31 07:20:59 <_genuser_> hehe, I used the docs and got the pagertabstrip working but it stopped the listboxes from showing on the pages, lol. Jul 31 07:21:09 <_genuser_> so I figured I'm looking at the control on viewpagerindicator.com Jul 31 07:21:21 <_genuser_> it's downloaded. :). Jul 31 07:21:48 <_genuser_> now just have to read the docs, and install it and add it. Jul 31 07:22:18 the sample app is probably the best form of documentation Jul 31 07:22:27 <_genuser_> it's part of the download? Jul 31 07:22:40 yep Jul 31 07:22:48 <_genuser_> extracting. Jul 31 07:22:50 there's the library folder and a sample folder Jul 31 07:23:20 <_genuser_> was really hoping for a great UI designer like MS does and to just put code behind in java files. Jul 31 07:23:56 <_genuser_> but it seems like the xml manual manipulation along with layout files and .java files along with res files is the way to go. Jul 31 07:24:07 <_genuser_> it's already seeming a lot easier to view than before. Jul 31 07:24:27 <_genuser_> woohoo, .gitignore. I see you using git there. Jul 31 07:25:08 quite religiously Jul 31 07:25:41 <_genuser_> hehe, I use hg, but close enough I suppose. you might not think so. Jul 31 07:25:49 <_genuser_> team foundation server just won't cut it. Jul 31 07:25:55 I'm not fond of the branching model of mercurial Jul 31 07:26:12 well, the four (last time I checked) of them Jul 31 07:26:33 <_genuser_> I don't branch much, so straight forward tagging, versioning seems to do it fine. Jul 31 07:27:16 <_genuser_> for customer based projects, branching seems to be better to branch from baseline product, but meh, some customers require clean cut from the baseline. Jul 31 07:27:54 I do every feature on a branch and then merge to my integration branch once it's stable Jul 31 07:28:04 when I release I merge that tag into the master branch Jul 31 07:28:22 <_genuser_> oh wow, quite a bit of files in the sample. won't be an overnight thing I see. :) Jul 31 07:28:51 <_genuser_> I suppose I never used branching much so never found it easy to incorporate into the main code. Jul 31 07:29:12 <_genuser_> mainly because I didn't like merging back and having to read all the code while merging just to be sure. Jul 31 07:29:41 git makes branching easy Jul 31 07:29:45 That's why it's awesome Jul 31 07:30:07 and merging Jul 31 07:30:08 <_genuser_> but interesting approach, so you branch off for each feature even parallel feature development. and merge individual into mainline? Jul 31 07:30:22 everything happens on a branch Jul 31 07:30:53 <_genuser_> I was really thinking of using branching for each customer to customer the baseline for the customer and only mreging back bug fixes in the base libs if any. Jul 31 07:30:56 I probably make and destroy 10 to 15 branches a day Jul 31 07:31:08 <_genuser_> or any customer feature that make into the baseline. Jul 31 07:31:19 <_genuser_> guess will give it another go. Jul 31 07:31:44 <_genuser_> using VSS will make you thinking linear. Jul 31 07:32:06 <_genuser_> it was easy putting a label and hacking the thing. and if it break, check out last working label, re-attempt feature. Jul 31 07:32:34 <_genuser_> BaseSampleActivity.java, is that a good one to start with? Jul 31 07:32:45 no Jul 31 07:32:55 that's a base class for all of the samples Jul 31 07:34:05 <_genuser_> I see SampleTabsDefault looks like what I'd like to use. Jul 31 07:53:02 hi. Im trying to build an app with a listview + adaptor. Now a need to add a headerview but my cuestion is if the call must be in adaptor.class or in the main activity?. Jul 31 07:53:22 im following this example http://stackoverflow.com/a/6121296 Jul 31 07:53:50 In your activity/fragment Jul 31 07:53:56 Before you set the adapter Jul 31 07:54:26 thx so much SimonVT Jul 31 07:56:07 !seen Jakewarton Jul 31 07:57:12 thepoosh: no bots - he was around 20-something minutes ago Jul 31 07:57:25 Leeds: thanks Jul 31 07:57:35 I'm too used to my native channel Jul 31 07:57:37 :P Jul 31 08:01:38 rofl at this lint Jul 31 08:01:54 everything with the word Handler in it gets bitched about Jul 31 08:02:43 even when you supress, it bitches about the world Handle in the commented out write up Jul 31 08:03:18 i have an idea for a mobile app, where I would like to allow end-user customization, adding various graphical widgets. i'm wondering if it would be feasible to do js+canvas or js+svg to display these things. Jul 31 08:03:25 like dials/gauges in real time Jul 31 08:03:53 or would that stuff be a bit slow on the phone Jul 31 08:10:00 SimonVT, please can check my onCreate method for addheader implementation? http://pastebin.com/8RGcCgZH Jul 31 08:12:06 hi guys, does it seem normal to have an actionbar that holds multipul ListFragments? Jul 31 08:12:32 meaning, many lists, and clicking on each list will go to a different fragment Jul 31 08:16:50 can anyone help me with this addheader implementation please? http://pastebin.com/8RGcCgZH Jul 31 08:53:17 dafuq? my app is crashing on HttpsURLConnection.getOutputStream() without any stack trace in logcat. I am doing it with wrong url (herp.derp.comx), to find which exception to catch and display some nice error message to user, but the app just crashes without showing me which exception to catch. Jul 31 08:54:04 there is just "W/dalvikvm(21201): threadid=11: thread exiting with uncaught exception (group=0x40a371f8)" Jul 31 09:02:40 Pitel: hm that's pretty nasty. Jul 31 09:03:03 Try catching it Jul 31 09:03:22 I tired catching any throwable and logging it, but nothing came out :( Jul 31 09:03:54 Weird thing is, the normal (non-https_ version has a checked exception: http://developer.android.com/reference/java/net/HttpURLConnection.html Jul 31 09:04:40 HDroid: I have it my custom SOAP class, which has IOException as "throws" attribute, so it should bubble up, right? Jul 31 09:05:05 If it's actually thrown and not caught by the underlying code. Jul 31 09:05:26 What's the correct way to end/stop an emulator? Jul 31 09:05:36 Just pressing the "x" at the top right and let him crash? :D Jul 31 09:05:49 spobat: yeah why not Jul 31 09:06:05 maybe the snapshot lock doesent get removed that way. Jul 31 09:16:05 Can anyone help me with this addheaderview implementation please? http://pastebin.com/JwTjBxQ5 Jul 31 09:17:04 HDroid: hmm, it's catched int the code above, but Log.w(getActivity().getString(R.string.app_name), e); just shows nothing. o_O Jul 31 09:22:11 Hi, how can I *define* a custom view in XML? Jul 31 09:22:35 basically I have a class MyWidget which has several views in it (i.e. imageview textview) Jul 31 09:22:52 I want to lay the view out in xml Jul 31 09:23:26 but so that when I call 'new MyWidget()' a view is created, with the layout defined in the XML file Jul 31 09:28:01 you inflate it Jul 31 09:28:04 hmm, I guess it should crash on URL("herp.derp.comx").openConnection()... Jul 31 09:29:45 hehe Jul 31 09:29:47 herp derp Jul 31 09:34:39 I am a standard GridView with 4 columns - vertical scrolling. I want to move to a ViewPager UI with horizontal swipes. Can I use my existing Data Adapter with ViewPager -OR- does ViewPager work more like a ViewSwitcher? Jul 31 09:34:48 *I am on a Jul 31 09:39:30 anyone up? Jul 31 09:39:36 Hi Jul 31 09:43:37 <_Arne> test Jul 31 09:44:02 question, what's some gadgets I could make for an android phone Jul 31 09:56:53 anyone else experiencing the building of the workspace/installing apps is extremely slow, when referencing extrnal libraries? eclipse just ran out of memory, after i used antlr to process my input Jul 31 09:58:08 <_Arne> Hello everybody, I have a problem with a VideoView. I'm trying to make a VideoView bigger than the size of my screen by overriding onMeasure in the VideoView. This works on most devices I tested on (Nexus One, HTC Wildfire, Samsung Galaxy Tab 10.1,...), but some devices refuse to resize the video (HTC Desire HD, Nexus S). The View is resized, since I tried to set a background. I'm completely out of ideas how to solve this, anybod Jul 31 09:58:08 <_Arne> y has another idea? Jul 31 10:07:35 "CLIs reflect ideas and attributes of ancient Greek Classicism by creating a static paradigm built on the premise of classification." Jul 31 10:08:03 classicism is defined elsewhere as: Jul 31 10:08:05 Classicism describes a style of creative expression marked by clarity, simplicity, balance, and harmonious proportion—features associated with moderation, rationalism, and dignity. Jul 31 10:08:08 W T F Jul 31 10:08:35 drugs are fun, huh? Jul 31 10:08:46 this author is killing me Jul 31 10:09:11 i've never heard anyone describe the differences between cli, gui, nui, and oui so terribly Jul 31 10:09:29 cli in terms of greek classicism, seriosuly Jul 31 10:09:49 Sci-Fi xD Jul 31 10:10:04 cli-fi :) Jul 31 10:10:28 has she(?) Godwined yet? Jul 31 10:11:04 The crisis has made some authors change their normal fields of writing hehe Jul 31 10:12:05 "mainframe user interfaces draw from Nietzsche's philosophy of the Aryan superman, later co-opted by Hitler's enterprise IT department" Jul 31 10:12:09 " Godwin observed that, given enough time, in any online discussion—regardless of topic or scope—someone inevitably makes a comparison to Hitler and the Nazis." Jul 31 10:12:27 O.o Jul 31 10:12:42 hehe Jul 31 10:13:06 i'm going to use that Leeds quite somewhere Jul 31 10:13:13 *quote Jul 31 10:13:20 attetion to whoever is an op here, Vakaris is a spammer Jul 31 10:13:25 seems like it would fit Jul 31 10:14:10 " Visit my homepages, and get discounts or free items FREE WORLDSHIPPING" and i'll cut it there for spammyness Jul 31 10:14:23 in PM Jul 31 10:14:53 Vakaris: hello? Jul 31 10:15:14 hello Jul 31 10:15:45 anyone aware of a, less or more easy, possibility to parse pcap files in android ? Jul 31 10:16:28 "Reductio ad Hitlerum", i ... Jul 31 10:16:42 don't remember this logical fallacy in my text Jul 31 10:21:42 has noone ever tried to parse pcap files on an android device ? Jul 31 10:24:01 hello Jul 31 10:29:44 Whats is better JDBC connection or REST web service ? Jul 31 10:30:01 REST Jul 31 10:30:12 thanks Jul 31 10:30:14 JDBC was never meant for WAN latencies Jul 31 10:34:22 I allow myself to ask again - anyone knows of a possibilitie to parse network dumps (tcpdump -w) on android ? Jul 31 11:09:40 anyone else noticing eclipse becoming extremely slow with building workspace/installing app, when using external libraries? I referenced the ANTLR library to generate parser/lexer for a grammer I need, but ever since then, each run on the project takes more than 5 minutes Jul 31 11:12:58 Hello Guys, my viewAdapter.notifyDataSetChanged is not refreshing the listview in ICS Jul 31 11:13:11 any Idea why I can still see the old entries there? Jul 31 11:14:18 Cus you're doing it wrong Jul 31 11:14:52 sonOfRa: antlr on android? Jul 31 11:15:00 good luck with that :) Jul 31 11:15:14 it's working fine, but the build process is extremely slow Jul 31 11:15:40 People, some help :( Jul 31 11:15:53 so you have the antlr and stringtemplate jars in libs/ and the build takes forever ? Jul 31 11:16:22 the issue looks familiar to http://stackoverflow.com/questions/11085888/android-ics-listview-refresh-issue Jul 31 11:16:34 antlr-3.4-complete jar Jul 31 11:17:20 if i recall, that actually includes new antlr, st, and the old version of antlr that st depends on Jul 31 11:17:25 (circular dependency) Jul 31 11:17:33 how complicated is your grammar ? Jul 31 11:17:40 very simplet Jul 31 11:17:48 try ragel instead :) Jul 31 11:17:49 boolean expressions or/xor/and/not/value Jul 31 11:18:29 well, ragel has certain limitations .. you will have to see if your grammar works ok with it Jul 31 11:18:35 alright, ill have a look at it Jul 31 11:18:36 it won't really handle recursive structures well Jul 31 11:19:59 that might be a problem Jul 31 11:20:24 also, why do they put out jars with circular dependencies inside ?! Jul 31 11:20:53 stringtemplate depends on antlr, and antlr depends on st :) Jul 31 11:21:12 the st grammar is parsed by antlr of course Jul 31 11:23:05 hi all Jul 31 11:23:09 the antlr website still looks terrible Jul 31 11:23:19 its been a few years since i used it Jul 31 11:24:20 one question: i have an ArrayList which is populated by code and it's shown in a ListView....... the problem is that chaning device orientation, ArrayList contents are lost.... why? Jul 31 11:24:33 sonOfRa: are you using the specific android port of antlr ? Jul 31 11:24:52 there is a specific android port? (no i don't) Jul 31 11:25:58 Miles8of9: on Orientation change Activity is destroyed and recreated Jul 31 11:26:13 Miles8of9: changing orientation recreates the view, so you should repopulate your list Jul 31 11:26:38 sonOfRa: yeah, see http://www.antlr.org/ … buttom under 'file sharing' headline Jul 31 11:27:17 ok... i think i should pass ArrayList through onSaveInstanceState .... but i see i can only pass strings, int, etc... not objects like an ArrayList Jul 31 11:27:25 (is it correct?) Jul 31 11:28:01 I'm trying to figure out the xml needed to place a bookmark (link) icon on the homescreen, anyone know how to find this information? Jul 31 11:29:57 g00s, it seems to include quite a few makefiles, am i safe to ignore those? I'm on a windows machine atm Jul 31 11:30:21 sonOfRa: yeah, those are for creating a system library distributed with android … wierd Jul 31 11:30:35 there is a readme.txt - just make a jar of the files there Jul 31 11:30:58 wish there was more info on what the android port entails :/ Jul 31 11:31:13 Miles8of9: you can serialize it Jul 31 11:33:35 SimonVT: somebody needs your help ! http://news.ycombinator.com/item?id=4316334 Jul 31 11:36:26 hah Jul 31 11:37:55 Building - ONLY WHEN ADDING ANTLR TO THE ANDROID SOURCE CODE Jul 31 11:37:55 -> Meaning modifying the OS itself?! The langauge in the readme seems quite ambigouos to me Jul 31 11:39:40 hemanshu: i'm noob i've never serialized an ArrayList... does it implement serializable interface so i can serialize it on the fly? Jul 31 11:40:08 yeah as long as the objects inside it are serializable Jul 31 11:40:26 You should make the objects parcelable instead of serializable Jul 31 11:40:37 google it Jul 31 11:41:22 hmmm.. parcelable... Jul 31 11:41:55 I was considering that Jul 31 11:42:14 then I relized I could serialize my object into a string Jul 31 11:43:58 I usually use Jackson to serialize and deserialize to json... much nicer pattern, most objects don't need any modification and it's refactor-safe. Jul 31 11:44:29 Then you realised parcelable is faster, remembered you are on a mobile platform, and quickly switched to it Jul 31 11:44:59 SimonVT: on the contrary, I realised mobile platforms are fast enough nowadays to make the speed difference negligable. Jul 31 11:45:06 I use JSON for storage in the MODE_PRIVATE area Jul 31 11:45:16 Should I considering putting it elsewhere? Jul 31 11:45:23 anyone knows how i can parse pcap files on an android device ? Jul 31 11:45:59 danharibo: dunno, do you have a reason for it? Jul 31 11:46:18 * tinyhippo tickles danharibo Jul 31 11:46:40 well it's just for recent and "stared" items Jul 31 11:46:46 Miles8of9: you can do it on the fly ..here you go http://pastebin.com/LCLksgnD Jul 31 11:47:09 * danharibo puts tinyhippo in a box Jul 31 11:48:01 SimonVT: What would be advantage of paracelable over serializable ? Jul 31 11:48:15 hemanshu: it's much faster Jul 31 11:48:39 danharibo: hmm.. I'll look it up Jul 31 11:54:35 i have a question for older android versionb 3.3 Jul 31 11:54:38 versions Jul 31 11:54:48 my app saves files to sd card Jul 31 11:55:09 but i can access die files first after i reboot the device Jul 31 11:55:31 is that a known issue Jul 31 11:55:47 or would an os update fix that? Jul 31 11:56:12 I'm facing issues with ListView update on ICS Jul 31 11:56:31 I've two workarounds that work I'm wondering which one will be less expensive Jul 31 11:57:02 a.) listview.setVisibility(View.GONE) and then View.VISIBLE Jul 31 11:57:04 b.) Jul 31 11:57:20 not use convertView inflate a new one each time Jul 31 11:58:12 For us to help you with your code, guess what we need Jul 31 11:59:12 a wizard's hat Jul 31 11:59:30 Payment Jul 31 11:59:39 anyone use run-jetty-run ? Jul 31 12:01:49 it can run stuff as web apps but i cant see the outputanywhere Jul 31 12:02:47 if I have a cursor that is the result of a query to a contentProvider, and put that cursor into a simpleCursorAdapter of a listView, the listView is updated every time anything changes in the contentProvider. if I'm running a large number of updates and insertions, the ui becomes unresponsive.. can I somehow disable syncing, and just call .notifyDatasetChanged by hand later? Jul 31 12:04:46 ecraven: that might become complicated: imagine scrolling through the listview Jul 31 12:04:51 ecraven: while the data changes.. Jul 31 12:04:54 You could use a cursorloader and throttle it Jul 31 12:05:03 the listview would have inconsisten data.. Jul 31 12:05:07 It even has a method for that Jul 31 12:09:06 Hi all Jul 31 12:09:43 a related question: same adapter, same listview, after scrolling around for a bit, I get "CursorWindow: Window is full: requested allocation ...." and there are noticable hickups in the UI. I can't find anything about this googling, do I somehow have to release cursor rows? Jul 31 12:10:10 SimonVT: thanks, i'll have a look at that, never heard of that class before Jul 31 12:10:28 Added in HC, available in support lib Jul 31 12:27:11 would anyone have any idea why my MapActvity gets slower after every close and open of the activity? Jul 31 12:27:20 has anyone had anything similar? Jul 31 12:29:46 Blou_Aap: off the top of my head, resource/memleak ? Jul 31 12:30:48 i'd definitely guess you're leaking the context Jul 31 12:30:56 hi all Jul 31 12:32:58 does anyone have a recommendation for an sdk that will deal with the server side comunication of a multiplayer real time game? Jul 31 12:33:25 i cant figure out if i can use googles gsm for a real time game comunication Jul 31 12:33:53 i meant gcm* Jul 31 12:34:22 j0e^: define realtime Jul 31 12:35:44 j0e^: GCM is meant to be very low bandwidth and may be high latency. Jul 31 12:35:54 I wouldn't recommend using it for anything realtime Jul 31 12:36:10 it might be reasonable if you're doing a play-by-email sort of game, and there's potentially minutes/hours between moves Jul 31 12:36:14 ««lov»» yea i just read its documantaion i doesnt seem to fit Jul 31 12:36:51 Frankly, if you're writing your own multiplayer game, you'll probably need to write your own multiplayer server. Jul 31 12:36:52 ««funktronic»» realtime.. for example a race where both of the players need to know the other player location at any given time Jul 31 12:37:00 no Jul 31 12:37:03 don't use it for that Jul 31 12:37:05 yeah. Jul 31 12:37:18 anything other than turn based games Jul 31 12:37:30 there was some old racing game when android first came out which had a neat trick. It used the ghost car for racing games, and just pulled driving data and replayed it. Jul 31 12:37:49 so technically you competed against other players, but since it wasn't at the same time you could just get the whole replay beforehand. Jul 31 12:38:16 cool but wont fit my game.. Jul 31 12:38:29 there are some platforms like AndEngine that have multiplayer implemented, but I don't know what their client/server architecture is like, or if it's local games only, or what. Jul 31 12:39:04 what about all those cross platform social engines like openfeint or something like that? Jul 31 12:39:24 do u know anything about those? Jul 31 12:39:41 i also found one called gree Jul 31 12:39:58 they all seem to be adressed to turn based games though Jul 31 12:40:00 openfeint is just meant for high scores if I recall Jul 31 12:40:15 Look, I don't know what the different multiplayer platforms and engines out there are Jul 31 12:40:24 you should do some research on your own, via google. Jul 31 12:41:09 i did .. the problem is the conclusion is making my own server side logic Jul 31 12:41:24 so i thoughet to ask for another opinion before i do Jul 31 12:42:22 yeah, sorry, I don't know anything better to suggest and it sounds like that might be what you need to do. Jul 31 12:42:38 just bear in mind that when you're dealing with cell networks, "real time" is a relative term Jul 31 12:43:05 yea.. ok thank you! Jul 31 12:43:27 no problem Jul 31 12:44:25 i might end up limit the multiplayer option to some other protocol like bluetooth or wifi direct Jul 31 12:45:08 guys, how to add Swtich button into bottom menu? Jul 31 12:45:11 it seem like i was optimistic about the "real time" capabilities of the mobile network Jul 31 12:45:30 If I have multiple apps including a library that starts a service, is android smart and only creates the service once or is that something I have to manage myself? Jul 31 12:46:08 saecula: huh? Jul 31 12:46:23 Yes, only one instance of a service runs at once Jul 31 12:46:52 saecula: I would very strongly recommend that you read the documentation for Service before you go any further. Jul 31 12:47:03 if you don't know what the lifecycle is, you're going to have some trouble. Jul 31 12:48:49 i wonder why this fails to load the page: http://pastesite.com/40723 Jul 31 12:50:43 tapas: why are you displaying youtube in a webview instead of just sending the user to the youtube app? Jul 31 12:51:22 Hello. Jul 31 12:51:39 I have the weirdest action bar problem right now. Jul 31 12:52:03 See, I want to place a banner-like graphic at the left side of the action bar that scales to fill the height. Jul 31 12:52:30 But when I set the actionbar mode to tabs and disable the application icon, the tab row jumps on top of the action bar (Android bug?). Jul 31 12:52:44 Guys, how to make checkable button in Options menu? (at bottom) Jul 31 12:52:51 So now I settled for an application icon that is fully transparent and put the banner in the background of the action bar. Jul 31 12:53:19 To make it fit, I need to know the height of the action bar, but in onCreate, get height always returns 0. Jul 31 12:53:57 There's also android.R.attr.actionBarSize, but I don't understand what that actually IS (It's an integer thats about 345893045). Jul 31 12:53:59 Any ideas? Jul 31 12:54:28 woozly: if you mean the menu that appears when you press the menu button, you don't. Jul 31 12:54:42 woozly: I'm sure technically you could, but it would be a horrible hack and totally against the android UI/UX Jul 31 12:54:44 you can't check heights at oncreate, as the layout hasn't loaded yet Jul 31 12:54:47 but.. there MenuItem .setCheckable() :/ Jul 31 12:55:02 woozly: ok, dig into AOSP and figure out what it does, or ask on StackOverflow Jul 31 12:55:24 okay thanks! Jul 31 12:55:35 Given that the menu softkey is removed in 4.1 and above, and menus in general have been deprecated in favor of the action bar, I'd recommend not even having a menu button based menu. Jul 31 12:56:35 So, where's the right place to check the actionbar's height? Jul 31 12:56:49 i tried to move it into onStart, that didn't work, so I'm here now. Jul 31 12:57:04 And what is android.R.attr.actionBarSize for? I don't understand that one at all. Jul 31 12:57:41 i think there's a method that's called after the layout has finished loading, but i can't remember what it is Jul 31 12:57:56 Okay, I'll look for it. Jul 31 12:59:06 UnbertKant: use onSizeChanged or onWindowFocusChange Jul 31 12:59:12 +d Jul 31 12:59:32 I need some help with ListView update Jul 31 13:00:46 Just realized that I'll have to load the image from SD card, so I'll use an async task anyway. And maybe it's simple enough to just wait in there until actionbar.getHeight returns not 0. Jul 31 13:12:16 Guys how bad would it be if I don't use convertView in getView but inflate view each time ? Jul 31 13:14:51 hemanshu: that depends, how smoothly do you want the user to be able to scroll? Jul 31 13:15:14 if you're not reusing the layouts, you're going to spend a nontrivial time reinflating resources, plus you shorten the time until GC, which will interrupt the UI. Jul 31 13:15:22 if you really don't give a shit about UI/UX, go wild. Jul 31 13:21:51 the lag is tangible but I still couldn't find a work around for my convertview corruption Jul 31 13:23:35 plus if I do a aggressive scrolling on a large list it runs out of memory too ' Jul 31 13:23:35 maybe you should explain the problem you're having and pastebin some code. Jul 31 13:23:52 do you have multiple object types in your list that you need different layout types for? Jul 31 13:24:28 I'd recommend watching Romain Guy's Google I/O talk about listviews and optimization Jul 31 13:26:10 lov: Just taking a screen shot, will put here, I've same layout but different textviews which I'm displaying based on getItemViewType Jul 31 13:27:00 lov: http://imgur.com/aZ0ui here's the screenshot Jul 31 13:27:59 there is one label at top and below it is the items Jul 31 13:30:51 hemanshu: then you should absolutely be recycling your listviews Jul 31 13:31:10 You know exactly what the layout is going to be, so you can just call setText Jul 31 13:31:26 what I'd recommend is this; check if the incoming recycled view is null. If it's null, inflated it. Then, call the rest of your method as normal. Jul 31 13:32:07 actually, hold on. the label at the top is just another view element, right? Jul 31 13:32:16 if so, you're properly providing the view type, yes? Jul 31 13:32:40 I guess, how can I validate that Jul 31 13:32:44 if that's the case you should be given the appropriate view back, but just in case you should do a quick findViewById test to verify that fields you're looking for exist, and if they don't re-layout Jul 31 13:33:25 is there any video editing api on android ? Jul 31 13:33:34 Hi there, I'm trying to find documentation wrt setting the names of trusted radius servers in wpa2 enterprise. Can anyone provide a pointer? Jul 31 13:34:23 http://pastebin.com/6KbHXW3G Jul 31 13:34:29 here's my getview Jul 31 13:37:03 I did you some logs out, for the given position correct item is getting called Jul 31 13:38:20 My guess is you do something in one case, then forget to undo it in another Jul 31 13:39:16 tuxattack: I don't think that there's a video editing api, sorry Jul 31 13:39:35 hemanshu: remove line 12. Jul 31 13:39:41 Does android have any movie editing apps? Jul 31 13:39:59 lov: oh not even on some latest platforms ? ICS ? Jul 31 13:40:26 tuxattack: it's JB now, and I honestly don't know, but I haven't heard anything about it. Jul 31 13:40:35 I'd recommend that you take a look yourself at the release notes for the platforms. Jul 31 13:40:44 ?hm is there really no dectent way to parse pcap files in android/java without native libs or am I simpley to stupid to finde something ? Jul 31 13:40:47 lov: yeah sry JB i meant. thanks neways Jul 31 13:40:56 Pinas: go talk to dragorn or something Jul 31 13:41:23 lov: mind telling me why ? Jul 31 13:41:25 hemanshu: I'd recommend moving the content of lines 20-106 and 109-129 into their own methods Jul 31 13:41:35 Pinas: he does that kind of stuff :) Jul 31 13:41:51 ok thats an argument :D Jul 31 13:42:04 Pinas: I'd consider him the SME when it comes to wifi sniffing on android. Jul 31 13:42:32 sounds good :D Jul 31 13:42:37 lov: line 12 was just added to check how it reacts to constant inflation, regarding moving that code, you're right I'll do that Jul 31 13:42:50 hemanshu: you can probably also remove the 1.1 compatibility code ;) Jul 31 13:44:28 lov: :) Jul 31 13:45:04 Pinas: there's no decent way Jul 31 13:45:11 Pinas: But porting libpcap wouldn't be too hard Jul 31 13:45:18 Pinas: or just decode them byte-wise, they're not that complex Jul 31 13:46:04 Pinas: I haven't gotten around to ndk-ing libpcap for my own purposes yet tho I could forsee myself doing so, perhaps even in the near future Jul 31 13:46:23 making coffee; brb Jul 31 13:47:00 dragorn: ok thx :( in this case logging tcpdump output to a txt file seems even easier Jul 31 13:52:23 Pinas: yeah, tho honestly, making a pcap from scratch, pretty easy Jul 31 13:52:37 Pinas: Probably looking at 50 lines of code or something Jul 31 13:55:46 hmm... Jul 31 13:57:10 what are you trying to do, anyhow Jul 31 14:02:56 dragorn - i need to detect if given words appear in the traffic dump (on the phone) Jul 31 14:03:30 Pinas: i heard echolon can do that Jul 31 14:03:33 *scnr* Jul 31 14:03:52 bede_ but not on the phone :P :D Jul 31 14:04:09 so I assume you're already rooted and doing something wacky there. If you already have tcpdump you have libpcap. Jul 31 14:04:09 so I am one step ahead echelon Jul 31 14:04:26 dragorn - I am running tcpdump and it works fine Jul 31 14:04:56 Guys, my R.id/layout/menu not works ((( all where I reference to R.x.y - marks red as error Jul 31 14:05:16 cannot be resolved or is not a field :(( Jul 31 14:05:22 hell oh? Jul 31 14:05:24 but all works fine :/ Jul 31 14:05:31 later. Jul 31 14:06:05 woozly: try clean ur project; and dont include android.R Jul 31 14:06:28 if u are in subpackage u should import ur project.package.R Jul 31 14:06:44 dragorn: but i just have tcpdump for arm - no seperate libpcap files or the like Jul 31 14:06:48 as I said, you're already root and doing something hinky. At that point, just compile your code native and run it. Once you're doing root capture you've pretty much broken out of the android environment Jul 31 14:07:00 Pinas: so compile it? it's pretty much the route you want to go Jul 31 14:07:15 * sysRPL is downloading the android sdk for linux ... 24.5MB of 77.8MB complete Jul 31 14:08:23 When compiling a jni layer for android, I'm getting "cannot locate '__aeabi_ldiv0'" at run time. I believe this is related to the standard library linking, but I'm not sure where to go from here about it Jul 31 14:08:42 dragorn: well i wanted to avoid native code Jul 31 14:09:15 If you're doing stuff that involves root you have to run native code. Jul 31 14:09:52 well yes - but i simpley run a shell command that executes tcpdump :) Jul 31 14:13:47 hey everyone Jul 31 14:14:07 Im trying to enter the world of android development Jul 31 14:14:21 I saw that some apps are developed using java Jul 31 14:14:23 is this correct? Jul 31 14:14:27 heh Jul 31 14:14:31 you could say that Jul 31 14:14:43 Pinas: the way *i'd* do it is native code. Otherwise write to /tmp or something and process the pcap in java. Jul 31 14:14:46 what is the recommended, if any, platform? Jul 31 14:14:50 Consolas: basically all apps are in java Jul 31 14:14:57 Consolas: almost ALL apps are developed using Java Jul 31 14:14:59 Yeah, I would prefer going with native Jul 31 14:15:04 really? Jul 31 14:15:07 Consolas: check out Qt for android then.. Jul 31 14:15:13 Consolas: there's native components linked via JNI. It's in theory possible to make a full app in native, I've never seen it done Jul 31 14:15:13 dragorn - that's exactly what I want to do, I simpley don't really know how i can process it in Java Jul 31 14:15:25 but shouldn't the majority be native? Jul 31 14:15:47 Consolas: nope. The android environment is all in java, to interact w/ it and pass messages, etc, you really want to be in java Jul 31 14:16:00 oh so we can consider java to be more or less "native" Jul 31 14:16:01 ok awesome Jul 31 14:16:06 thank you very much for your attention Jul 31 14:16:21 will start reading a few tutorials and everything Jul 31 14:16:31 since I know little of java, Im expecting a slow learning curve Jul 31 14:16:31 Consolas: yes; it runs in a VM (dalvik) but the android environment pretty much all runs in that as well Jul 31 14:17:31 * sysRPL wonders ... could a game which works only by way of voice controls be fun or challenging? Jul 31 14:17:35 Pinas: look up the pcap file spec, it's well documented Jul 31 14:17:49 sysRPL: it'd be different. Jul 31 14:18:07 sysRPL: But, being who I am, i wouldn't be able to resist yelling "jump off cliff" or something if I saw someone playing it ;P Jul 31 14:18:32 dragorn, maybe an adventure game Jul 31 14:18:54 dragorn, "follow path north" ... results are read to you Jul 31 14:19:09 kind of like an audio "choose your own adventure" Jul 31 14:19:41 sysRPL: My prediction is you'd get a bunch of press for a unique indy game for about two days :) Jul 31 14:19:42 http://justincaseyouwerewondering.com/wp-content/uploads/2011/08/Choose-Your-Own-Adventure.jpg Jul 31 14:20:50 how to use built-in icons? Jul 31 14:20:56 dragorn: ok thx maybe I'll try writing some kind of pcap parser in java - or i will simpley output ascii stuff with tcpdump Jul 31 14:20:57 I need checkbox icon for my Options menu Jul 31 14:21:27 Pinas: you want to be *really* clever, you'd write a pcap parser in java and write a popen stub in JNI that makes a filedescriptor object Jul 31 14:21:33 Pinas: Google, there's some examples of doing it Jul 31 14:22:00 Pinas: then tell tcpdump to write to stdout Jul 31 14:22:07 i must be missing something obvious here: http://pastesite.com/40729 Jul 31 14:22:11 the scrollview doesn't scroll Jul 31 14:22:17 rather the fragement overlay each other Jul 31 14:22:26 fragments Jul 31 14:23:05 dragorn: ok thank you very much :) Jul 31 14:26:47 woozly: getresources? Jul 31 14:27:08 ixc, how? Jul 31 14:28:06 built in icons in android's drawable you can reach it via android.R Jul 31 14:31:50 it's weird.. fragments getting pushed ontop of each other.. Jul 31 14:43:53 my problem was a gridview in a scrollview Jul 31 15:06:32 When compiling a jni layer for android, I'm getting "cannot locate '__aeabi_ldiv0'" at run time. I believe this is related to the standard library linking, but I'm not sure where to go from here about it Jul 31 15:12:12 is there a way to get an id from a textual representation of an id.. Jul 31 15:12:22 ? Jul 31 15:12:32 i.e. let's say i have a string "row0col1" and i'd like to get the id R.id.col0row1 Jul 31 15:12:38 1. dont do that Jul 31 15:12:41 2. dont do that Jul 31 15:12:44 3. yes Jul 31 15:12:48 4. NEVER FUCKING DO THAT Jul 31 15:12:52 +1 Jul 31 15:13:06 i have to fill a tablelayout in a place where i can't use a gridview Jul 31 15:13:12 probably not a good idea to plan around doing that Jul 31 15:13:21 so it's easiest to construct the id's programatically Jul 31 15:13:31 tapas: use some kind of delimeter at the very least Jul 31 15:13:35 well then stick the ids in an array Jul 31 15:13:38 use an array of ids Jul 31 15:13:39 row-1_col-0 Jul 31 15:13:43 yeah, that might work.. Jul 31 15:13:44 * canadiancow|work high fives Leeds Jul 31 15:13:47 more work though... Jul 31 15:13:49 no tinyhippo Jul 31 15:13:53 * Leeds down low Jul 31 15:14:05 while being otherwise equivalent except for being more error prone under changes Jul 31 15:14:11 oh, no, more work? Jul 31 15:14:17 canadiancow|work: that is my 'if youre going to do a BadThing, you might as well do it in a less stupid way' Jul 31 15:14:41 adding a delimiter to row[0-9]+col[0-9]+ is not less stupid Jul 31 15:14:49 it doesnt even change naything Jul 31 15:15:22 yes I'm sure there is a way to do this that isn't super bad. Jul 31 15:15:25 ids are just static integers Jul 31 15:15:43 they are fixed and unchanging in any particular build of your app Jul 31 15:15:53 make. an. array. Jul 31 15:16:01 [11:13:35] well then stick the ids in an array Jul 31 15:16:01 [11:13:38] use an array of ids Jul 31 15:16:15 been there, done that Jul 31 15:17:23 now that we got that worked out :P Jul 31 15:17:38 Leeds: don't forget the "more error prone under changes" part. i have to maintain the array Jul 31 15:17:50 anyways.. i'll do it differently anyways :D Jul 31 15:17:59 well, yes you do have to maintain your core Jul 31 15:18:00 code Jul 31 15:18:08 sucks to be you... Jul 31 15:18:19 Leeds: you are not programming for very long: 1 place to maintain is almost always better than 2 Jul 31 15:18:24 question: in this example, there's a method within AsyncTask public MyTask(Context context){} ---- how does it know what the context is if it's in an external class? Jul 31 15:18:25 i care for the future of my code.. Jul 31 15:18:27 you don't? Jul 31 15:18:33 http://stackoverflow.com/questions/8623823/finish-the-calling-activity-when-asynctask-completes Jul 31 15:18:38 no, I suppose that 28 years or so of coding isn't very long Jul 31 15:19:04 Leeds: then i digress: you are just in a bad mood today.. otherwise those comments are unexplicable.. Jul 31 15:19:21 tapas: funny thing to say if you're attempting a non-refactor-safe technique. Jul 31 15:19:29 canadiancow|work: you've only been coding for a few weeks, right? Jul 31 15:19:34 meh, whatever Jul 31 15:19:34 wat Jul 31 15:19:55 what is it with people asking for advice, then refusing it because they don't like it? Jul 31 15:19:58 Why do you need these IDs to be generated to begin with Jul 31 15:20:00 oh i get it Jul 31 15:20:13 Yes, what happened to the references? Jul 31 15:20:52 i asked a specific question.. only part 3 answered the question.. Jul 31 15:21:13 i didn't ask for advice on the merits of using the answer.. Jul 31 15:21:23 but thank you anyways :D Jul 31 15:21:33 what is it with people deciding on a solution to their problem, then refusing to listen to advice on better solutions Jul 31 15:22:26 Leeds Jul 31 15:22:29 because i know best Jul 31 15:22:34 and your opinion is amusing Jul 31 15:22:38 but is worthless Jul 31 15:22:39 obviously Jul 31 15:22:51 actually both solutions are bad.. Jul 31 15:23:28 everyone here is equally worthless Jul 31 15:23:37 let us all complain, continuously, in a loop. Jul 31 15:23:44 My paycheck says otherwise :P Jul 31 15:23:57 yeah, guys, lighten up and read about IRC helper burnout syndrome Jul 31 15:24:20 while true: moan(); Jul 31 15:24:28 Ahh.. "there is a doc about preventing IRC helper burnout, so I Jul 31 15:24:47 'm allowed to contribute to IRC helpers getting burnouts" Jul 31 15:24:50 anyways, since what i really need is a statically sized replacement for a gridview. i'll just programatically fill my tablelayout from my adapter.. Jul 31 15:25:10 the only parameter being the number of columns.. Jul 31 15:25:39 how is that not a gridview Jul 31 15:25:50 for now the number of rows (and elements) is fixed, but may change in the future. Jul 31 15:26:03 canadiancow|work: a gridview cannot exist in a scrollview.. Jul 31 15:26:25 well, it can, but it's a pain.. Jul 31 15:31:09 I have a layout XML with a RelativeLayout which I've now split its contents into two other XML files. One is a scrollable content area, the other is a SlidingDrawer that should be to the right side of the screen. I these two files so that I can have a special case for layout-large-land, where the layout_width is overrode for the drawer. Unfortunately the android:layout_alignParentRight Jul 31 15:31:09 and android:layout_gravity get ignored and it's near the left edge Jul 31 15:33:21 I am getting crashes using ABS due to illegalstateexceptions, claiming i dont have an ABS theme set in my manifest…but I do! and it works fine other devices, but crashes on the samsung galaxy tab 7 inch and the sony tablet s. Anyone have any ideas?! Jul 31 15:35:39 hello all Jul 31 15:35:55 i'm not getting any errors when i go to show my view, but at the same time i dont see my tablelayout or progress bar or anything Jul 31 15:36:44 well, the button in my layout shows up, but not the progress bar or the table layout Jul 31 15:38:08 if I want just a bold vertical line in the XML ..how would I do that? I don't see a widget for this... Jul 31 15:38:16 I want to build an android app where the user can login via facebook or twitter and then he can save data ... What shall I start reading ? Jul 31 15:40:51 CVirus: I'd say Google's one-step authenication Jul 31 15:43:08 ok, so if i add them programatically to a layout it works Jul 31 15:43:13 oh wait Jul 31 15:43:20 each layout can only have one child right? Jul 31 15:43:50 or is that only a scrollview? Jul 31 15:43:56 thats only a scrollview Jul 31 15:44:05 a scrollview can only have one direct child Jul 31 15:44:10 but that child can obviously have many children Jul 31 15:44:18 other layouts can have as many children as you'd like Jul 31 15:44:34 http://pastie.org/4365832 <-- is there something wrong with this? Jul 31 15:44:45 the button shows up, but none of the other content Jul 31 15:45:31 give your linear layout an orientation Jul 31 15:46:01 JakeWharton, would taht stop the rest of the content from displaying? Jul 31 15:46:08 yes Jul 31 15:46:25 if it's going horizontal instead of vertical Jul 31 15:46:30 and the first element is set to match_parent Jul 31 15:46:41 ooooh Jul 31 15:46:44 so it's sucking up all the space Jul 31 15:46:48 it should be wrap_content huh? Jul 31 15:47:18 no, it should have a vertical orientation Jul 31 15:47:29 well, what do you want our layout to look like? Jul 31 15:47:37 Button Jul 31 15:47:39 other stuff Jul 31 15:47:41 more stuff Jul 31 15:47:44 or rather: Jul 31 15:47:44 sonOfRa, si Jul 31 15:47:49 Button other stuff more stuff Jul 31 15:48:58 then you would want to use a vertical layout with match/fill parent, if I'm imagining it right Jul 31 15:49:06 match/fill parent as width Jul 31 15:51:14 always match, never fill Jul 31 16:02:07 JakeWharton, my app is crashing on some devices at if (!a.hasValue(R.styleable.SherlockTheme_windowActionBar)) { throw new IllegalStateException("You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative.");}, but i have the theme set properly. any thoughts? Jul 31 16:04:36 hi guys, i have a remoteview that i want to modify in code, do i first create the remoteview and then use its reference to add new views to it, or should i inflate a view, modify it and then create a remote view from that? Jul 31 16:11:57 asperon: the former, since the latter isn't possible Jul 31 16:12:22 I'm catching a ClientProtocolException when performing a HTTP request with a void message on the object. wth is this? Jul 31 16:12:50 xertoz: pastebin your code and your stack trace Jul 31 16:13:13 evancharlton: ok, so create and empty view and then use addView? that seems to be api 7+. is that my only option? Jul 31 16:13:15 luxurymode: are you sure you have the theme set properly? Jul 31 16:13:33 evancharlton, positive and it works fine on other devices! Jul 31 16:13:38 asperon: yeah Jul 31 16:14:37 evancharlton: ok, right now i have about 20ish different xml layouts to support different configuration, i would like to change all that into code, but that would mean no support for anything below api 7, is that correct? Jul 31 16:14:38 heh, just remembered my server will redirect to localhost which is something entirely different on the device Jul 31 16:14:53 asperon: looks that way Jul 31 16:14:58 darn Jul 31 16:15:26 So I'm trying to have a layout whereby there's going to be items of different sizes in it. I want something similar to a GridLayout or TableLayout where there will be items added both horizontally and vertically, but I'd like for items to all have the same amount of space between each item. And when there's no more room on a row, it goes to the next row. Will I need to make my own ViewGroup Jul 31 16:15:26 for this, or can I do this already? Jul 31 16:15:41 i just don't understand why one couldn't create a remoteview from code, just in the same way that one creates them in xml, i mean whats the difference? Jul 31 16:15:51 in an Activity, I set var x = "lol"; in an asynctask within the activity, can I simply refer to x in the doInBackground, or do I have to pass x through as a param? Jul 31 16:15:53 hmm, the redirect wasn't it Jul 31 16:16:32 asperon: remoteviews aren't actually views; they're a list of commands that the remote process replays to construct the view Jul 31 16:16:43 hip2p: what's the scope of your variable? The AsyncTask can see your Activity member variables, but for variables declared in the method you're creating the asynctask in you need to make it final Jul 31 16:16:51 lov it's global Jul 31 16:16:57 this is assuming you're making an anonymous inner class for your asynctask Jul 31 16:17:00 evancharlton: ok, so, drop support for 1.5 or scrap the nice layout idea... Jul 31 16:17:00 what do you mean it's global. Jul 31 16:17:40 lov global may be the wrong term - I define var x at the beginning of the Activity as public x = ""; Jul 31 16:18:20 I think you answered my question though, doInBackground can see a public var defined at the beginning of the activity Jul 31 16:18:35 if you do that, you're likely going to have a bad time Jul 31 16:18:41 your async task should probably be static Jul 31 16:20:24 just make everyting static Jul 31 16:20:50 you should make a static context in your application singleton Jul 31 16:20:53 and reference that everywher Jul 31 16:21:09 ? Jul 31 16:21:20 your application is a context Jul 31 16:21:20 everything went better than expected, now to work on my tabview Jul 31 16:21:38 /sarcasm Jul 31 16:21:47 evancharlton: i am understanding your correctly that i should be able to create an layout with an empty view in it and then just add new views to that via code? Jul 31 16:22:13 so long as the empty view contains a width, a height, and sometimes it needs an orientation apparently Jul 31 16:22:16 oh, and it helps to have an id ;) Jul 31 16:22:31 sorry CallumTaylor, there's so much stupidity in here, i can never tell who's joking and who isn't :) Jul 31 16:22:38 lol Jul 31 16:22:59 text makes it especially hard to tell sarcasm from stupidity Jul 31 16:23:17 there is the sarc mark, but it's not widely used Jul 31 16:23:37 http://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2010/1/19/1263942659123/SarcMark-002.jpg <-- sarc mark Jul 31 16:25:02 asperon: yes, as long as you're API 7+ Jul 31 16:25:29 i only develope API 10+ Jul 31 16:25:35 you have to be api 7+ to add new views via code? Jul 31 16:25:37 or am i missing something Jul 31 16:25:56 canadiancow|work, i know you need API 10+ to use certain views, API 14+ for others Jul 31 16:26:22 so, whats the general thought about API less then 7, i have 13k users running android 1.5 and 1.6, screw them to give the rest of the app users a better app, or? Jul 31 16:26:47 i guess they can always continue to use the current version... Jul 31 16:27:23 asperon, change the manifest to show a higher minimum SDK version and then those running the old app shouldnt even see the update Jul 31 16:27:57 kaneda^: yeah, i think thats the only option, even if i took some pride in supporting anything from 1.5 up Jul 31 16:28:19 i just dont think it's worth it :| Jul 31 16:28:48 hi all Jul 31 16:28:58 anybody here? Jul 31 16:29:57 bigmeow: 706 people according to my client Jul 31 16:30:29 asperon: many are dead:( Jul 31 16:30:37 asperon: http://i1271.photobucket.com/albums/jj624/bigmeowOoO/shouldiinstalltheotherthreepackagesforandroid22sdk.jpg Jul 31 16:30:58 asperon: should i install the other three package for android 2.2 sdk? Jul 31 16:31:18 bigmeow: not necessary Jul 31 16:31:24 bigmeow: only if you need them Jul 31 16:31:59 asperon: when i need them? Jul 31 16:32:48 asperon, the last app i developed for that low still has ~2200 active users Jul 31 16:32:51 asperon, fuck em Jul 31 16:35:34 asperon, 13k 1.5 and 1.6 users ? Jul 31 16:35:39 link to your app? Jul 31 16:36:05 dark3n: https://play.google.com/store/apps/details?id=se.catharsis.android.calendar&hl=en Jul 31 16:36:06 bigmeow, if you need to ask, you don't need them Jul 31 16:36:28 nice :) Jul 31 16:36:55 Android 1.5 6,995 Jul 31 16:36:56 Android 1.6 5,896 Jul 31 16:36:58 i raised min req from 1.6 to 2.1 a month ago Jul 31 16:36:59 almost 2% Jul 31 16:37:07 but only had ~ 700 users below 2.1 Jul 31 16:37:16 yeah, i think i need to go down that road as well Jul 31 16:37:21 you can offer two versions Jul 31 16:37:26 its tideous though Jul 31 16:37:42 i mean, it works as it is now, so i guess i will just leave the 1.5 and 1.6 users on this release and move forward with the rest Jul 31 16:37:54 i like it just because it can display several events at once Jul 31 16:38:04 yes thats what i did Jul 31 16:38:50 if there really is something important to fix you can still update it, but those who are still on sub 2.1 probably don't care about new features any ways Jul 31 16:39:32 asperon, would you mind sharing total down + active install number? curious about the % Jul 31 16:40:04 dark3n: sure, Jul 31 16:40:05 2,390,957 total user installs Jul 31 16:40:07 626,129 active device installs Jul 31 16:41:03 so i had to try. why is http://jsfiddle.net/x45zf/22/ not playing in android 2.3, but plays on a desktop browser? Jul 31 16:41:07 so about 1/4th, similar to me Jul 31 16:41:55 asperon, what new features are you looking for ? when rasing min api? Jul 31 16:42:25 asperon, widget related stuff probably, eh ? :) Jul 31 16:42:52 dark3n: i want to dynamically create the layout, right now i am using 20ish xml files, and i want to add even more configuration options, its just not doable via xml any more :) Jul 31 16:43:04 so i need the addView method Jul 31 16:43:47 ok i give up on trying to get sound to come out of a device, which ironically is supposed to be good at outputting sound Jul 31 16:43:52 (the web way at least) Jul 31 16:44:18 asperon, i see :), branch your code, prepare one last update saying, for newer updates they need 2.1+, then work on your new branch with raised minSDK, then upload both to market Jul 31 16:44:22 users will just have to deal with the "please download my android junk app" prompt Jul 31 16:44:53 dark3n: yeah, i think thats the only way forward. Jul 31 16:45:02 should go over well, maybe you will bored some day, then you can still push an update to the sub 2.1 users Jul 31 16:45:09 and if not, they still have a working app Jul 31 16:47:56 asperon: android 1.5 6,995, what's that? Jul 31 16:48:49 almost 7000 users using cupcake and his calendar app Jul 31 16:49:03 bigmeow: number of users Jul 31 16:51:15 So does anyone know of a sure fire way to avoid OOM with Bitmaps without using System.gc()? Jul 31 16:52:08 don't load too many pictures in high res simultaneously Jul 31 16:52:16 and make sure you recycle the old ones Jul 31 16:52:21 there's an article on that in d.android.com Jul 31 16:53:05 Yeah, but I've got OOMs even when following those instructions. Jul 31 16:53:23 well, then you're probably using too much memory Jul 31 16:53:44 That would seem to be indicated by the problem wouldn't it Jul 31 16:53:45 what exactly are you doing? Jul 31 16:54:18 It's a fragment that loads a scaled Bitmap into an ImageView. Jul 31 16:54:19 O Jul 31 16:54:19 c Jul 31 16:54:32 how big? Jul 31 16:54:46 Occasionally I get an OOM on rotation. Neither the ImageView nor the Bitmap are being held onto. Jul 31 16:55:12 how big is the bitmap Jul 31 16:55:20 I forget - slightly less than the screen res of a Galaxy Nexus. Jul 31 16:55:22 you should never have to recycle a bitmap Jul 31 16:55:29 They're pictures taken by the camera. Jul 31 16:55:43 You *should* never have to recycle a bitmap, nor should you ever have to call System.gc(). Jul 31 16:55:55 System.gc() doesn't force a gc. it just recommends it Jul 31 16:56:03 im pretty sure i read somewhere that dalvik ignores it Jul 31 16:56:42 so to rephrase that: Bitmap#recycle() is pointless on android 3.0+ Jul 31 16:57:01 it can help prior to that, but if youre hitting that limit, you've almost certainly done something wrong Jul 31 16:57:08 Are you running CyanogenMod? Jul 31 16:57:10 I doubt that dalvik ignores it - System.gc() is called multiple times in ActivityThread and elsewhere within Android itself. Jul 31 16:57:34 I've notcied sometimes I get OOM errors from nowhere. Jul 31 16:57:49 nowhere takes up a lot of memory Jul 31 16:57:52 canadiancow: I've been looking for solid docs on that, actually Jul 31 16:58:13 I see one offhand mention that bitmaps are no longer natively allocated in 3.0+ Jul 31 16:58:37 Not finding any solid docs, though, and the source seems to show that the pixel data is still being allocated with C++'s "new" operator Jul 31 16:58:37 which android are you using? Jul 31 16:58:50 android version* Jul 31 16:59:28 yuizy: I just saw it on a 4.1 galaxy nexus. Jul 31 17:06:30 <_genuser_> ListView with android:background="#000000" Jul 31 17:06:34 <_genuser_> android:textColor="#00AA00 Jul 31 17:06:48 <_genuser_> but while scrolling it changes background to white and text to black. Jul 31 17:07:12 <_genuser_> it there some other overriding rule covering the colors? Jul 31 17:07:41 android probably detected that your colors would blind a user Jul 31 17:08:24 _genuser_: just write it to google; around 500 stack overflow about it Jul 31 17:08:35 also in android developer blog Jul 31 17:09:41 <_genuser_> ixc: cool. :). Jul 31 17:11:35 hi there. does anyone know how to disable range requests for the media player when streaming audio? since android 4.1, the media player requests audio streams with range headers, and complains when the server returns a 200 response. after that, it retries about 10 times, making any audio streaming app unusable Jul 31 17:17:14 What is the recomended way to go fullscreen on a video view Jul 31 17:17:28 eg, from a small container to full screen Jul 31 17:32:37 question: is Froyo worth supporting? Jul 31 17:32:50 In most cases yes Jul 31 17:34:47 ok. i set the Build SDK to 2.2 for first application Jul 31 17:35:02 does anybody know how to use setAnchorView in MediaController? Jul 31 17:36:56 am happy with new project Jul 31 17:37:04 full blown android version of our app Jul 31 17:37:14 v4.0.3 :) Jul 31 17:37:16 Ravenheart: what app ? Jul 31 17:37:28 i work for a medical software company Jul 31 17:37:35 its a HIS Jul 31 17:42:43 Re: my earlier bitmap woes, this ginormous thread starts bearing fruit at around comment #80: http://code.google.com/p/android/issues/detail?id=8488 Jul 31 17:42:56 question: How do you manage different screen sized resources in the drawable-hdpi/ folder Jul 31 17:43:18 just maintain one image for each resolution? Jul 31 17:43:24 dogarrhea2: you can only do that with api12+ Jul 31 17:43:34 you usually only care about density Jul 31 17:43:45 but you can do drawable-hdpi-large Jul 31 17:43:50 for example Jul 31 17:43:57 most screens are normal though Jul 31 17:44:02 even the galaxy note is normal Jul 31 17:44:17 so you cant have different layouts for say galaxy nexus and galaxy note Jul 31 17:44:23 no Jul 31 17:44:34 wait so am i scaling images for different sizes or wut? Jul 31 17:44:37 that would be ridiculous Jul 31 17:44:50 wongk: why? Jul 31 17:44:50 <_genuser_> PagerTabStrip, anybody use that? Jul 31 17:44:56 different sizes for the 4 different densities Jul 31 17:45:11 birbeck: well think of how many different devices there are Jul 31 17:45:18 you'd have 100 of each image :P Jul 31 17:45:20 i only care about hdpi and xhdpi really Jul 31 17:45:22 someone should write a tool to auto scale all resources across thesse 4 sizes Jul 31 17:45:37 by a constant multiple or whatever it is Jul 31 17:45:37 dogarrhea2: it will Jul 31 17:45:38 mdpi is 1/2 xhdpi and ldpi is 1/2 hdpi Jul 31 17:45:57 wongk, you don't explicitly have to go into gimp and scale ? Jul 31 17:45:58 dogarrhea2: eclipse has a tool for that. Jul 31 17:46:09 it's not required, but it's usually done Jul 31 17:46:13 you create an "Android Icon set" I think, and it will let you import an image. Jul 31 17:46:42 evancharlton: you still around? if i add multiple views of the same type via addview, is there any way to identify them? Jul 31 17:47:13 there's also this wonderful tool: http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html Jul 31 17:47:34 aserpon, .setId() or setTag() Jul 31 17:47:53 doogan: thanks Jul 31 17:47:56 there is also this site... http://teehanlax.com.s3.amazonaws.com/files/teehanlax_density_converter.html Jul 31 17:48:04 my designer used to use it before i killed her Jul 31 17:48:29 hah Jul 31 17:49:13 PS, don't worry about ldpi Jul 31 17:49:20 so really only 2 densities Jul 31 17:49:22 er Jul 31 17:49:24 3 Jul 31 17:49:32 2, you were right the first time :) Jul 31 17:49:36 hdpi and xhdpi Jul 31 17:49:45 so many tablets are mdpi Jul 31 17:50:02 ldpi is 1/2 hdpi and mdpi is 1/2 xhdpi, the system will scale the images for you Jul 31 17:50:15 unless you really need optimized mdpi assets Jul 31 17:50:16 sure, just requires on the fly scaling Jul 31 17:50:21 not a big deal for an app Jul 31 17:50:28 unless it's a launcher :P Jul 31 17:50:41 or a game Jul 31 17:50:56 well games the scaling should all be done on the fly in gl Jul 31 17:51:20 launchers shouldnt have tons of assets to begin with, but there are exceptions to my rule Jul 31 17:51:49 don't try to use logic n what not Jul 31 17:51:59 for the most part, i only care about hdpi and xhdpi except for important assets like the app icon Jul 31 17:53:30 i only provide ldpi Jul 31 17:53:40 to each their own Jul 31 17:53:45 my app is a blurry mess Jul 31 17:53:48 muahaha Jul 31 17:54:07 asperon: what do you mean, identify them? You have the reference when you call addView Jul 31 17:55:13 evancharlton: nevermind, i rewrote the logic for the application, before i create all the lines and then populated them, now i just populate each line and then add them to the parent view Jul 31 17:56:56 anyone know the default font size in arrayadapter? Jul 31 17:57:52 an array adapter isn't a view, it doesn't have a font size Jul 31 17:57:55 is there a way to make the media player in android 4.1 not use http range requests for audio streams? Jul 31 17:59:00 someone just came over and asked me to help him update his nexus s from gingerbread to ics Jul 31 17:59:08 i gave him a pleasant surprise :) Jul 31 18:00:39 changed all contact names to "darth vader"? Jul 31 18:00:51 you upgrade to ios? Jul 31 18:01:18 BB10 ? Jul 31 18:01:43 canadiancow|work: JB? Jul 31 18:01:47 yea Jul 31 18:02:47 all these nice sounding names.. when are they gonna name an Android release "nose candy" Jul 31 18:03:07 well, not for at least 4 releases... Jul 31 18:05:15 +1 Jul 31 18:05:45 they should make K key lime pie Jul 31 18:05:47 and L lime pie Jul 31 18:05:58 and M mime pie Jul 31 18:06:05 gotta be lemon something Jul 31 18:06:06 o.O Jul 31 18:06:10 lemon merangue Jul 31 18:06:11 lemon drop Jul 31 18:06:25 nah K is Kulfi Jul 31 18:06:42 Kielbasa Jul 31 18:06:52 kandy Jul 31 18:09:32 K is for ketamine Jul 31 18:10:12 So I'm trying to have a layout whereby there's going to be items of different sizes in it. I want something similar to a GridLayout or TableLayout where there will be items added both horizontally and vertically, but I'd like for items to all have the same amount of space between each item. And when there's no more room on a row, it goes to the next row. Will I need to make my own ViewGroup Jul 31 18:10:12 for this, or can I do this already? Jul 31 18:10:21 why the hell is this device returning false when ABS checks to see if the styledAttributes has a value at R.styleable.SherlockTheme_windowActionBar? i cannot figure this out. its only on some devices! Jul 31 18:23:11 Has anyone seen strange results from getQuaternionFromVector? Jul 31 18:24:02 is there any way in hell that upgrading to mountain lion and reinstalling java could be causing build issues with android and intellij? im having problems obtaining values from my styledAttributes Jul 31 18:25:11 is there a thread pool available for those of us that use the NDK? Jul 31 18:37:15 So, when I want to publish my app I need to pay to do it? Jul 31 18:37:37 Drager: only for registering ($25) Jul 31 18:37:56 p_l|home: Ye, alright. I thought they took a % of the income of my app Jul 31 18:38:00 thats not true then? Jul 31 18:40:02 Drager: http://support.google.com/googleplay/android-developer/bin/answer.py?hl=en&answer=112622 Jul 31 18:41:20 ryanm: Thanks Jul 31 18:41:57 Drager: 30% of app price Jul 31 18:42:20 Why do they have a reg fee aswell? o,0 Jul 31 18:42:31 Money from the freeapps? Jul 31 18:43:09 Hi all, I need a little info: is it possible to save an image in raw format (ie bitmap, not compressed jpeg) taken using the camera API? Jul 31 18:43:13 thanks a lot Jul 31 18:44:44 Drager: stopping even more bullshit apps? Being careful regarding some possible legal issues in one of the areas they support? Jul 31 18:45:08 p_l|home: Good points Jul 31 18:45:57 as an example of difference in legalities - in Poland you can't get "free phone" on contract Jul 31 18:46:22 Oh okey Jul 31 18:46:25 instead you have phones for 1 PLN + VAT Jul 31 18:46:34 :| Jul 31 18:46:54 something similar to legal clauses causing such behaviour might be at work :) Jul 31 18:47:09 (and well... it stops Hello World from being posted, kinda) Jul 31 18:47:38 haha yea Jul 31 18:47:39 :) Jul 31 18:47:40 Anyone^ Jul 31 18:47:42 ? Jul 31 18:47:59 The_Jag: Hmm... might depend on the phone Jul 31 18:48:02 I only found tutorial for jpeg images Jul 31 18:48:40 I think it's just weird that I cannot access the raw data from the camera, but only the compressed output Jul 31 18:48:46 uhm... Jul 31 18:49:31 afaik the camera is a seperate unit Jul 31 18:49:49 danharibo: the camera might provide the data in JPEG alrteady Jul 31 18:49:52 danharibo: what do you mean by that? Jul 31 18:50:29 Android abstracts the camera interface because different sensors could return different formats. Jul 31 18:50:49 I'm not calling the "take picture" intent (just for clarification) Jul 31 18:51:11 what danharibo said Jul 31 18:51:23 danharibo: I know, but it is it the only option to just set the format as RGB? Jul 31 18:51:56 and pray that the device is capable of providing raw data? Jul 31 18:52:14 The_Jag: the camera might be hw-wired to JPEG encoding Jul 31 18:52:20 Can you build a screenview that only appears if its the first time a user starts the app? Jul 31 18:52:29 but I think you should be able to get YV12 Jul 31 18:53:00 Drager: use preferences and log the first start, and if it's first time, show an extra view? Jul 31 18:53:20 p_l|home: is it raw data? I have never heard of that format. Jul 31 18:53:49 The_Jag: it's a video-related format Jul 31 18:53:52 p_l|home: I dont wanna show preferences though. Jul 31 18:53:54 The_Jag: it is, however, raw Jul 31 18:54:02 Drager: I meant the preference storage apis Jul 31 18:54:13 p_l|home: I see... Jul 31 18:54:29 I'll try with that format Jul 31 18:54:44 thanks Jul 31 18:54:57 p_l|home: hm Jul 31 18:56:22 The_Jag: onPicture gets a raw byte[] array, however the format depends on what is set in Camera.setPictureFormat() Jul 31 18:57:18 p_l|home: Should I do something in the Manifest file because I'm not following you.. Jul 31 18:57:20 getSupportedPreviewFormats returns available options Jul 31 18:58:29 Drager: no. Just in the activity you want launched with extra screen on first run, you check in your onCreate if the app has been run before; if not, you show an extra view (which is normally hidden) or switch to another activity, and set the preference to true Jul 31 18:59:23 fuck adt:( Jul 31 18:59:37 p_l|home: Okey, thanks. I'll try to figure that out ;) Jul 31 18:59:41 The_Jag: API12 and later guarantee YV12 availability. NV21 (a YCbCr variant) seems to be default Jul 31 18:59:49 i cannot import my android project,what's wrong? Jul 31 19:00:11 The_Jag: "NV21 is always supported. YV12 is always supported since API level 12." Jul 31 19:00:21 Fuck ADT:( Jul 31 19:01:59 i'm trying to create a layout in which there's a list of images you horizontally scroll through Jul 31 19:02:06 and tap on one to go to a submenu Jul 31 19:02:16 i also want to put a caption below each image Jul 31 19:02:19 what's the best way to do this? Jul 31 19:02:35 i see there are some 3rd party 'horizontal listview' implementations, but is there something official now? Jul 31 19:05:10 Fuck ADT!!!!!!!!!!!!!!!!!! Jul 31 19:05:24 another satisfied customer Jul 31 19:05:46 Fuck ADT!!!!!!!!!!!!!!!!!!!!!!!! Jul 31 19:05:58 go to hell, ADT!!!!!!!!!!!!!!!!!!!!!!!!!!!! Jul 31 19:06:00 the new outlook.com is not shabby Jul 31 19:06:04 http://stackoverflow.com/questions/5784652/eclipse-invalid-project-description-when-creating-new-project-from-existing-so Jul 31 19:06:10 [X] productive Jul 31 19:06:22 bigmeow: ha, i filed that bug like 2 years ago :) Jul 31 19:07:59 p_l|home: So soemthing like this? boolean firstboot = getSharedPreference("BOOT_PREF", MODE_PRIVATE).getBoolean("firstboot", true); then check if firstboot is true show welcome view else not? Jul 31 19:08:38 "2/3 of Apple's iOS App Store populated by 'zombie' apps, estimate finds", hmm thats bad Jul 31 19:09:55 Drager: yes Jul 31 19:10:16 g00s: more than 2/3 of *ALL* software *EVER* is "zombie" ;) Jul 31 19:10:24 p_l|home: Ye alright, getting some errors though Jul 31 19:10:40 well, can't help you from memory Jul 31 19:11:00 :) Jul 31 19:11:23 The method SharedPreferences(String, int) is undefined for the type MyApp Jul 31 19:11:40 p_l|home: so as I understand, if I set the format to nv21 I should get the raw data Jul 31 19:12:46 The_Jag: not "raw" as in photography hw Jul 31 19:12:57 usually the system never gets raw data Jul 31 19:13:06 p_l|home: also, how can I write those bytes in a bitmap (PNG?) file? Should I just create a file and a general FileOutputStream and write data? Jul 31 19:13:12 it will be uncompressed Jul 31 19:13:23 The_Jag: You'll need to convert it Jul 31 19:13:42 p_l|home: Getting The method getSharedPreferences(String, int) is undefined for the type MyApp Jul 31 19:13:44 NV21 will be uncompressed bitmap, afaik Jul 31 19:14:08 Drager: doesn't that one need to be called from context? Jul 31 19:14:14 p_l|home: my job is to take a pcture and use it against an OCR procedure, so I'd need the most untouched picture as possible Jul 31 19:15:06 The_Jag: use either NV21 or YV12, then convert them to RGB Jul 31 19:15:49 p_l|home: Ah yeah Jul 31 19:15:52 thanks ;) Jul 31 19:16:17 p_l|home: convert it to RGB before writing it on file or after? Jul 31 19:16:22 The_Jag: both are more efficient variants of colour encoding Jul 31 19:16:26 The_Jag: before Jul 31 19:16:32 I'm so new to all this :( Jul 31 19:16:33 also, PNG doesn't support those colorspaces Jul 31 19:17:03 The_Jag: read about how computers store images, how images are processed, and then check API docs for compression etc. Jul 31 19:18:36 p_l|home: I recall to have read an API for Bitmap object that "compresses it" but I found nothing on convert formats. Jul 31 19:19:19 Bitmap.CompressFormat.JPEG Jul 31 19:24:10 ... wikipedia has instructions on how to implement conversion from YCbCr and YV12 into RGB Jul 31 19:24:41 yes, checking now Jul 31 19:24:42 p_l|home: Any idea how I can swipe the "app memory" so its like I start the app for the first time? Jul 31 19:25:51 Drager: Settings -> Apps -> your app -> clear app memory Jul 31 19:26:34 p_l|home: In the Emulator right? Jul 31 19:26:52 Drager: or on the phone Jul 31 19:27:05 ye, I see only Clear data Jul 31 19:27:13 but I there is no data Jul 31 19:27:43 it will clear settings as well Jul 31 19:27:56 I cant press it Jul 31 19:28:10 Drager: then you don't have settings set at the time, I believe Jul 31 19:28:42 p_l|home: Okey Jul 31 19:29:38 Well the welcome view doesnt appear Jul 31 19:29:42 my standard one does.. Jul 31 19:30:27 Drager: try adding logging to check if you're doing right Jul 31 19:30:46 Ye okey :) Jul 31 19:30:49 thanks for the help Jul 31 19:31:20 Now there is data at least Jul 31 19:31:20 :D Jul 31 19:34:05 i have a file named activity_main.xml and a file named activity_main.out.xml. the activity_main.out.xml appears to be generated by eclipse and has nothing in it. Build and running are erroring on this file. what do i do? Jul 31 19:35:23 That happens when you have an xml file open when you run your project Jul 31 19:35:35 It tries to run the xml file (which fails( Jul 31 19:35:38 delete it Jul 31 19:35:44 You can happily delete the out file Jul 31 19:35:55 And make sure you are in a Java file when you try to run next time Jul 31 19:36:42 Samsung Music Hub : lol / wtf Jul 31 19:39:37 Hello Jul 31 19:39:56 <_genuser_> lol, teh coolness. Jul 31 19:40:00 :D Jul 31 19:40:00 <_genuser_> cool nick Jul 31 19:40:04 thanks Jul 31 19:40:19 no resource found that matches the given name. Jul 31 19:40:35 this is for android:hint="@string/edit_message" Jul 31 19:40:47 Under what part of the Android library can I find classes to communicate between users? Jul 31 19:43:16 Working fine now p_l|home, thanks! Jul 31 19:43:21 <_genuser_> alright fellow viewpager users, I see sample code initiating a list in onActivityCreated. is that the fragment oncreated place the best place to populate UI widgets? Jul 31 19:44:04 <_genuser_> viewpager is implemented with FragmentPagerAdapter, which in turn implements ArrayListFragment for each fragment. Jul 31 19:45:08 Anyone care to help? Jul 31 19:45:52 <_genuser_> between users on the android OS, or between different people? like two device owners? Jul 31 19:46:03 <_genuser_> not that I know the response right away, but could help google. Jul 31 19:46:27 I was hoping between Android and iOS, but that would require some kind of HTTP, right? Jul 31 19:46:40 <_genuser_> just sms each other. Jul 31 19:46:45 ... Jul 31 19:47:02 This is #android-dev Jul 31 19:47:12 <_genuser_> unless you're wanting to open sockets, etc directly once each publishes their IP to a central location (like chats). Jul 31 19:47:19 hmmm. declaring variables in XML seems super heavy weight and ridiculous... but i will continue reading for now. Jul 31 19:47:30 <_genuser_> nah, man throwing ideas. don't take it negatively. Jul 31 19:47:31 How would I use sockets? Jul 31 19:47:39 Alright Jul 31 19:49:02 <_genuser_> sockets... http://thinkandroid.wordpress.com/2010/03/27/incorporating-socket-programming-into-your-applications/ Jul 31 19:49:11 <_genuser_> at it's doable. Jul 31 19:49:17 <_genuser_> *at least. ^ Jul 31 19:49:23 Alright, thanks man Jul 31 19:53:25 change of plans :3 Jul 31 19:53:34 I'm making it only for android to android. Jul 31 19:53:42 Same method? Jul 31 19:53:49 Or is there an easier way? Jul 31 19:53:56 android capabilities question (galaxy s2 samshit T Mobile): How long would you realistically be able to record sound before the battery runs out? Jul 31 19:54:22 <_genuser_> same method would work for sure. is there an easier way? google might have more ideas. Jul 31 19:54:25 <_genuser_> let's see what it says. Jul 31 19:55:35 dogarrhea2: plug it in Jul 31 19:55:51 canadiancow|work: assume you're in a club Jul 31 19:56:05 wear a battery pack :) Jul 31 19:56:05 and sitting down is not an option/ no wall outlet you don't want to seem antisocial etc. Jul 31 19:56:20 so basically buy that stun gun add on hrm? Jul 31 19:56:39 i want to know if you can shazam continously for 4 hours lol Jul 31 19:58:11 what kind of unit is a dp? Jul 31 19:59:23 elaborate. Jul 31 19:59:28 <_genuser_> t3hcoolness: http://stackoverflow.com/questions/9128825/is-it-possible-to-communicate-between-two-android-phones Jul 31 19:59:41 <_genuser_> sounds like you'll have to probably end up using sockets. Jul 31 19:59:49 anyone that can recommend a nice android soap lib Jul 31 20:00:06 <_genuser_> unless you find a bluetooth, or UDP for local networks such as wifi. Jul 31 20:00:14 thanks again! Jul 31 20:00:24 Ravenheart: there's no such thing Jul 31 20:00:28 <_genuser_> on wifi you could put both devices on the same network and use UDP broadcasts. Jul 31 20:00:31 soap and mobile aren't a good mix Jul 31 20:00:39 Ravenheart, no such thing as "nice" when it comes to SOAP... but http://ksoap2.sourceforge.net/ works afaik Jul 31 20:00:48 <_genuser_> with UDP you won't have any delivery guarantees . Jul 31 20:00:56 well it has to be soap Jul 31 20:01:04 good luck :P Jul 31 20:01:06 getting rest working under linux is pain Jul 31 20:01:08 <_genuser_> forget soap use detergent. Jul 31 20:01:37 btw, a dp is a density indepedent pixel Jul 31 20:01:40 holy god. px dp sp dip.. seems like a clusterfuck Jul 31 20:01:47 Is there something special I need to do to use ContextThemeWrapper() to use a light vs dark theme when using AlertDialog.Builder? Jul 31 20:01:48 dp = dip Jul 31 20:02:09 <_genuser_> dogarrhea2: the dp, sp, px fiasco kinda funny. just stock with dp, 'coz they recommended that in the docs. Jul 31 20:02:17 <_genuser_> *stick Jul 31 20:02:22 I just want a light theme for my AlertDialog for pre-Honeycomb devices Jul 31 20:02:27 sp is typically used with text Jul 31 20:03:08 dogarrhea2: dip and dp are synonyms Jul 31 20:08:07 any idea why Display#getWidth() is returning 480 on my galaxy nexus? Jul 31 20:08:29 oh nm Jul 31 20:08:31 i see what i did there Jul 31 20:09:06 canadiancow|work, maybe you hit this: http://stackoverflow.com/questions/5078808/android-showing-wrong-screen-resolution Jul 31 20:09:27 no Jul 31 20:16:26 sooo.. view = dom element and findViewById = document.getElementById and google = microsoft making up their own api? Jul 31 20:17:39 ..... huh? Jul 31 20:17:45 what the hell are you talking about Jul 31 20:17:54 findViewById isn't for the DOM Jul 31 20:18:01 at least not for the browser Jul 31 20:18:47 and yeah, I guess google is making their own api for android xml layout resources, but then again no one else is going to be using them so... Jul 31 20:18:47 sounds like they are paralleling the dom Jul 31 20:18:52 in a way. Jul 31 20:19:12 in the sense that "the view is a tree hierarchy" yes Jul 31 20:19:48 but this is just the display layer, whereas for the browser scripts and styles are part of the tree as well Jul 31 20:20:07 * lov shrugs Jul 31 20:20:14 oh yea. android likes inline styles Jul 31 20:20:16 what are you looking into this for, anyway? You shouldn't be concerned about writing native apps Jul 31 20:20:26 why not? Jul 31 20:20:48 I guess I figured you'd just be focusing on browser things instead of apps Jul 31 20:21:14 android browser is broken Jul 31 20:21:30 (relatively speaking) Jul 31 20:22:27 it's quite expected those two ceos page/brin want to get into hardware, they don't want to mess around with being the new ie6 vendor like microsoft in the 2000s Jul 31 20:23:00 they're done. they're finished. no more software. they can't produce good stuff anymore. people will leave google rather than give them a functional phone os/browser/etc Jul 31 20:23:57 your tinfoil hat might be a little too tight there big guy Jul 31 20:24:29 <_genuser_> so using a ListView, can you bind any arraylist where each item has a .toString() with a decent display text? Jul 31 20:25:15 lov, a lot of their good people leave to do their own stuff (like twitter) or are just figureheads (like the python guy) Jul 31 20:25:28 and that java guy who is no longer there Jul 31 20:25:40 hehe, that java guy isn't a figurehead any more Jul 31 20:25:45 he isn't even doing java Jul 31 20:26:05 it's a company, people come and go Jul 31 20:26:08 no news htere Jul 31 20:26:21 and become irrelevant, however slowly Jul 31 20:26:30 * evancharlton yawns Jul 31 20:26:55 dogarrhea2: afaik the "python guy" is quite active in Google Apps Jul 31 20:27:11 p_l|home: wtf, man. Stop letting facts get in the way of a perfectly good rageathon Jul 31 20:27:28 <_genuser_> don't bash android. Jul 31 20:27:29 evancharlton: Consider it mine rageathon ;) Jul 31 20:27:35 <_genuser_> I just started coding. Jul 31 20:27:36 <_genuser_> !! Jul 31 20:28:05 _genuser_: dogarrhea2's nick represents his output pretty well Jul 31 20:28:07 <_genuser_> clarification: coding android. Jul 31 20:28:12 <_genuser_> evancharlton: lol Jul 31 20:29:31 btw, does anyone has credible data about impact of using non-alpha blended view elements with rectangular shapes (or composed of rectangles) compared to "old android style" rounded corners etc.? Jul 31 20:30:43 _genuser_: to answer your question, if you're using simple_list_item (?) then yeah it'll just grab whatever it can from the toString() method of whatever array list you give it Jul 31 20:32:22 Hi all Jul 31 20:32:35 holas Jul 31 20:32:40 happy coding :) Jul 31 20:34:21 <_genuser_> S3nsat10n: yeah it's a setListAdapter(new ArrayAdapter(getActivity(), android.R.layout.simple_list_item_1, list)); Jul 31 20:34:40 yeah, it'll auto grab the toString()'s of the elements in your list Jul 31 20:35:03 <_genuser_> S3nsat10n: but what I'm working on figuring out is where the ListFragment turns and gets the reference to the UI from the xml. Jul 31 20:35:29 android.R.layout.simple_list_item is your UI Jul 31 20:35:32 <_genuser_> S3nsat10n: in .net slap it on the form and go to town. in android/java still getting used to different layers. Jul 31 20:36:16 <_genuser_> but my xml says: so shouldn't it really be android.R.layout.list ? Jul 31 20:36:40 http://arstechnica.com/gadgets/2012/07/tethering-apps-must-be-allowed-fcc-tells-verizon/ Jul 31 20:37:07 the one you give the adapter is for the individual list items Jul 31 20:37:21 your listview contains those list items Jul 31 20:38:57 <_genuser_> S3nsat10n: is the simple_list_item_1 the layout for the individual items? Jul 31 20:39:04 <_genuser_> S3nsat10n: a built-in layout? Jul 31 20:39:05 yes Jul 31 20:39:10 <_genuser_> oh ok, that makes sense. Jul 31 20:39:11 yeah, android supplied Jul 31 20:39:26 if you just have something simple, like a list of strings, it's handy Jul 31 20:39:34 <_genuser_> I'm learning. when I start yesterday this whole thing look a big mess. it's starting to show head/tail. Jul 31 20:39:44 <_genuser_> started/looked. Jul 31 20:40:06 <_genuser_> S3nsat10n: right, the next thing is to learn how to make layouts for each individual item. Jul 31 20:40:19 <_genuser_> S3nsat10n: then application features as to what it would do. Jul 31 20:40:29 one step at a time, you'll get there Jul 31 20:41:23 <_genuser_> S3nsat10n: no rush on it. Jul 31 20:42:38 <_genuser_> S3nsat10n: so one other question if you know viewpagers, using FragmentPagerAdapter, ListFragment, is the actual ListView in xml auto located by the ListFragment derived class? Jul 31 20:43:47 <_genuser_> I don't see a manual View.findViewById(...) anywhere in the sample code that gets a reference to the ListView in the layout. Jul 31 20:44:16 listfragment's know they're a list Jul 31 20:44:36 but if you want to give it something special, I believe you override onCreateView() in your fragment Jul 31 20:45:01 usually at that point, you'll just do things in your adapter to customize your individual item views Jul 31 20:45:59 <_genuser_> ListFragment derived class with onCreateView says: Jul 31 20:46:01 <_genuser_> View v = inflater.inflate(R.layout.fragment_pager_list, container, false); Jul 31 20:46:20 <_genuser_> so I think it's loading it's list automatically from the fragment_pager_list layout. Jul 31 20:46:27 <_genuser_> like you said it already knows what to do. Jul 31 20:46:31 yep Jul 31 20:46:55 <_genuser_> I'm trying to locate the point of pulling the plug on it being a sample app and load my own list from the database. Jul 31 20:47:07 <_genuser_> which database is another tons of google away.... Jul 31 20:47:50 <_genuser_> thx for helping me with the explanation. appreciate it. Jul 31 20:48:04 _genuser_: no problem Jul 31 20:48:55 if i have a linearlayout with lots of textviews that i want separate click listeners for, should i set a separate click listener for each textview, or do it from linearlayout? Jul 31 20:49:23 use a listview Jul 31 20:50:03 canadiancow|work: i need the scrolling to be horizontal Jul 31 20:50:09 and the textviews have attached drawables Jul 31 20:50:19 hrm the android tutorial is broken Jul 31 20:50:43 ok, then separate Jul 31 20:51:02 why do i see red squiggly lines for getActionBar android.R.id.home and other places? Jul 31 20:51:12 canadiancow|work: will creating so many separate onclick listeners have a significant negative impact on performance? Jul 31 20:51:12 hmm, digg.com is broken Jul 31 20:51:19 dogarrhea2: everything is broken ! Jul 31 20:51:29 g00s: it has been since v4 came out ;) Jul 31 20:51:33 hehe Jul 31 20:51:39 the new outlook makes gmail look broken Jul 31 20:51:40 that's how it works in the software world Jul 31 20:52:09 you ever watch diggnation? Jul 31 20:52:13 ridiculous podcast Jul 31 20:53:18 no. i don't participate on most websites; it was just a nice aggregator Jul 31 20:53:27 i don't get it. minSdkVersion = 8. why is getActionBar erroring/ Jul 31 20:53:51 the new hotmail just looks like email + metro Jul 31 20:53:52 because it was added in 11 Jul 31 20:53:57 i never really liked metro though Jul 31 20:54:01 i guess some people do though Jul 31 20:54:10 wongk: so the eclipse tool is basically adding broken code to my project? Jul 31 20:54:11 i like it Jul 31 20:54:22 i don't know what tool you speak of Jul 31 20:54:27 eclipse? do something unexpected? nahhh... Jul 31 20:54:38 i'll hold onto 7 for as long as i can Jul 31 20:54:54 i tried the preview of 8 and it's just so weird Jul 31 20:55:05 it's also erroring on android.R.id.home Jul 31 20:55:06 i can see how it'd be nice with a touchscreen, but not with a mouse/keyboard Jul 31 20:55:30 S3nsat10n: what are you talking about? eclipse is a shining example of quality software ;) Jul 31 20:55:51 CQN: yep, in the Lotus Notes sense of the phrase Jul 31 20:56:12 how much dpi has the new galaxy s3 ? Jul 31 20:56:17 it is a xhdpi ? Jul 31 20:56:35 S3nsat10n: i know someone who works at a company still using lotus notes Jul 31 20:56:48 the company is using lotus notes or just him? Jul 31 20:56:54 no, the whole company Jul 31 20:56:55 Is it possible to use a SwitchPreference as a header in preference-headers? like the wifi and bluetooth switch in the android (4.0+) settings? Jul 31 20:57:09 CQN: company I worked for 2 years ago did...probably still. Jul 31 20:57:12 the latest version was released just 9 months ago Jul 31 20:57:17 so ibm uses lotus notes. Jul 31 20:57:22 https://upload.wikimedia.org/wikipedia/en/1/1b/Lotus_Notes_8_home.png Jul 31 20:57:23 is View#onConfigurationChanged any different from Fragment#onConfigurationChanged? Jul 31 20:57:27 ech0s7: yes, it's xhdpi Jul 31 20:57:29 as they say, nobody ever got fired for going with ibm Jul 31 20:57:34 PWC uses it Jul 31 20:57:34 thanks liato Jul 31 20:57:40 (lotus) Jul 31 20:57:55 it has 360dpi if i remember correctly, it's right ? Jul 31 20:57:57 how do i fix these new activity errors Jul 31 20:58:06 seems like the tutorial is broken. the target api i am at is 8 Jul 31 20:58:10 er the minimum Jul 31 20:58:26 dogarrhea2: get the support library Jul 31 20:58:38 where's that at? Jul 31 20:58:50 what is this mystical support library Jul 31 20:59:22 if you support version 8 and you want an action bar, you need ABS Jul 31 20:59:26 abs.io Jul 31 20:59:51 what is 8? 2.0? Jul 31 20:59:52 a six pack ! Jul 31 20:59:59 2.2 Jul 31 21:00:10 ok, hopefully this new chrome update fixes all the crashes Jul 31 21:00:35 uh huh Jul 31 21:01:11 i've been getting lots of crashes in chrome lately Jul 31 21:01:21 disabused me of the 'chrome is rock solid' belief Jul 31 21:01:28 chrome has been rather unstable lately Jul 31 21:01:45 does google write stable software? just asking. Jul 31 21:02:20 i was amused they came out a few months ago with a book on how they test software there Jul 31 21:02:26 i was like "i'll pass" Jul 31 21:02:33 the flash plugin has been the biggest headache for chrome, in my experience Jul 31 21:02:50 * wongk out Jul 31 21:04:02 Android SDK Manager says I have the Android support Library REvision 9. Why am i still getting the error? Jul 31 21:04:32 dogarrhea2: the support library doesn't have any actionbar "yet" Jul 31 21:05:57 god damnit. i hate broken tools Jul 31 21:06:21 in this case, you have to do a little studying, its not the tools Jul 31 21:06:38 what do you mean? Jul 31 21:06:42 it's using a different api Jul 31 21:06:52 and is generating code for a different api. therefore it's broken Jul 31 21:07:02 I COULD just delete all the broken code Jul 31 21:07:21 but the tool should work. how do i know later it won't put some other useless code into the project Jul 31 21:09:45 * S3nsat10n doesn't use eclipse Jul 31 21:10:39 intellijew? Jul 31 21:10:42 er intellij Jul 31 21:10:53 indeed Jul 31 21:11:25 is the "community" version useful? Jul 31 21:11:33 yep Jul 31 21:11:46 or just like other open sh*t software where you need to have a money printing machine in ur anus Jul 31 21:11:53 the difference here is that intellij won't generate any code for you at all except the absolute bare minimum Jul 31 21:11:55 for support reasons Jul 31 21:12:12 ok i'll just delete the broken code. annoying Jul 31 21:12:15 you could always drop down to vim and command line if you don't like supported oss Jul 31 21:12:17 just get actionbarsherlock Jul 31 21:12:30 veeti, there's other errors as well Jul 31 21:12:47 you'll need it anyway Jul 31 21:12:49 android.R.id.home is erroring in some weird place Jul 31 21:20:35 hurray for instructions that don't work Jul 31 21:23:01 http://developer.android.com/training/basics/firstapp/starting-activity.html#CreateActivity completely broken on froyo Jul 31 21:23:08 clicking send does nothing. Jul 31 21:23:31 hi guys, i am having some issues with setOnClickPendingIntent on my remoteview, anybody got any good ideas on how to debug this? can i somehow tell if the event fires? Jul 31 21:23:46 None of my USB cables allow me to mount the SD card or do any debugging. They used to work. I'm on CM9 (4.0.4) but my brother's phone which is 2.x.x also has the same problem. Do not all USB cables allow mounting? Jul 31 21:24:06 ie, apart from adding code in the onReceive Jul 31 21:24:46 Austin`: is USB debugging enabled? Jul 31 21:24:49 from what i can tell the setOnClickPendingIntent is set to the wrong item, is there anyway i can determin which item is the top one? Jul 31 21:26:07 ryanm: yes, I also have the same problem when using a wall charger, it used to show 'Charging xx%' on the lock screen but it doesn't anymore Jul 31 21:26:44 does it charge normally? It almost sounds like a problem with the USB port Jul 31 21:27:08 you may also want to ask in #android to see if they have any idea if you don't have luck here Jul 31 21:28:03 someone help me debug the starting an activity in android on froyo Jul 31 21:28:11 Hi guys, if I create a PendingIntent in one activity, how can I cancel it from another activity? Jul 31 21:29:14 ok i give up Jul 31 21:29:16 time to go to ios Jul 31 21:29:20 It charges normally but doesn't display 'Charging xx%' on the lock screen. I've tried wall chargers and every USB port on two computers Jul 31 21:29:58 i must be stupid to follow instructions that will not work at all . and continue to want to work with some stupid instructions/tools/platform like this Jul 31 21:31:49 dogarrhea2: Are you using Eclipse? Jul 31 21:31:50 so. 30% usage on froyo right? Jul 31 21:31:56 yes Jul 31 21:32:09 because that's what the tutorial is using Jul 31 21:32:11 Oh, can't help you then Jul 31 21:33:15 so, where do you find a different way of learning android Jul 31 21:33:18 if i put an setOnClickPendingIntent on the root view of my remoteview, shouldn't it fire any time the user taps the remoteview? Jul 31 21:33:25 http://developer.android.com/training/basics/firstapp/starting-activity.html is obviously broken Jul 31 21:33:39 i'm willing to give it one more chance/ prove that i'm stupid to keep using this stupid platform/tool Jul 31 21:36:21 how do i know which keystore is being used for my application? i have two different projects in a workspace but only one of them has a buggy mapview with empty tiles - the other one works just fine Jul 31 21:36:29 they're using the same maps api key Jul 31 21:36:42 and no errors on logcat :( Jul 31 21:36:43 asperon: have you read the docs on that method? they may offer insight -> http://developer.android.com/reference/android/widget/RemoteViews.html#setOnClickPendingIntent(int, android.app.PendingIntent) Jul 31 21:37:02 S3nsat10n: i have, but ill read them again ;) Jul 31 21:37:12 it's not necessarily guaranteed to work, depending on what your view is Jul 31 21:39:49 right, but its a simple linearlayout Jul 31 21:40:16 so what is the best way to develop? Jul 31 21:40:25 eclipse? netbeans? intellij? Jul 31 21:40:47 asperon: have you tried adding an onClickListener to it and seeing if that will fire? Jul 31 21:41:03 S3nsat10n: great idea, ill do that right now Jul 31 21:41:21 S3nsat10n: or not, its a remoteview Jul 31 21:42:27 asperon: I don't have a ton of experience iwth RemoteView's unfortunately Jul 31 21:42:57 this used to work, i just redid the whole rendering of the widget and somehow it broke, and i can't figure out why Jul 31 21:46:03 asperon: my guess is one of the child views is intercepting the touch event Jul 31 21:46:32 S3nsat10n: yeah, thats what i am guessing, i have disabled everything and i am checking it from the ground up Jul 31 21:49:49 really? intellij won't navigate to the apps folder? Jul 31 21:53:03 why the fuck would it install in appdata :/ Jul 31 21:53:20 god open shit software is sooo bad. Jul 31 21:59:52 why is setting up tabs stupid difficult? Jul 31 22:07:33 does anyone see anything wrong with this: http://pastie.org/4367654 Jul 31 22:07:42 i can attach an error to this view Jul 31 22:08:33 and it says i'm successfully adding the textviews to those table rows Jul 31 22:08:36 but they do not appear :( Jul 31 22:08:37 now i cry Jul 31 22:11:31 <_genuser_> man, you touch something and it force closes the app. Jul 31 22:11:33 <_genuser_> argh! Jul 31 22:17:46 hey guys. How can I use getContentResolver() from within a TimerTask class? cant seem to wrap my head around it Jul 31 22:21:26 <_genuser_> can you not do toast.show from methods like onActivityCreated? Jul 31 22:28:38 Hey, making my firs app. Need some code design advice. It is recommended to have an Activity and many method's inside of it. Jul 31 22:28:49 Or many Activity's and split up the method's. And the same for the layouts.. ? Jul 31 22:29:05 comes from the c world and java is a bit new to me Jul 31 22:33:18 fatpudding: depends on what your activity does. Would recommend one Activity by... activity (or "screen") Jul 31 22:34:14 If you don't use fragments most of your code may be in the Activity Jul 31 22:34:14 I'm trying to pass an object to a tab fragment but for some reason I'm getting a null pointer exception, this is my code snippet http://pastebin.com/QmUWxhpK , thanks in advance Jul 31 22:36:17 does anyone see anything wrong with this: http://pastie.org/4367654 Jul 31 22:36:53 if i attach an alert to the view it appears correctly, but the view itself doesnt appear even though i can see that it definitely finishes getting the views and adding textviews and imageviews and such Jul 31 22:37:23 duckmanito, i had a similar issue, so i ended up doing it using the depricated tabview w/ activities Jul 31 22:37:40 duckmanito: If there's no saved state, savedInstanceState is null Jul 31 22:38:00 e.g. when it's first added Jul 31 22:38:08 SimonVT, the only solution was to override onSave and onDestroy i think Jul 31 22:38:15 for going from fragment -> parent Jul 31 22:38:37 What? Jul 31 22:38:38 SimonVT, I'm using the wrong method ? Jul 31 22:39:17 wagaf, just making a simple app to keep track of my dvd collection. The real problem is that i have some button's and they should display a new "layout". And have'nt manage this without making many layouts and Activity's :p Jul 31 22:39:21 duckmanito: savedInstanceState is the bundle returned in Fragment.onSaveInstanceState Jul 31 22:39:32 If the framework hasn't called that method, it's null Jul 31 22:39:58 SimonVT, ok, in the first call of the fragment is null Jul 31 22:40:02 it's* Jul 31 22:40:32 yes Jul 31 22:40:38 <_genuser_> so is maketoast not supposed to be run from onCreate or onActivityCreated() ? Jul 31 22:40:57 SimonVT, how do I send the bundle on the creation of the fragment? Jul 31 22:41:01 sooooooo, any idea why my activity isn't showing inside this tab via tabhost? here's my xml: http://pastie.org/4367654 Jul 31 22:41:23 duckmanito: Fragment.setArguments Jul 31 22:41:45 SimonVT, I will check that, thanks Jul 31 22:41:58 SimonVT, tried that too, w/ get on the other end, it was still null :/ Jul 31 22:42:17 kaneda^: Well, then you're doing it wrong Jul 31 22:42:28 SimonVT, undoubtedly Jul 31 22:43:15 fatpudding: button callbacks should be in the activity if the buttons are "unique" to a specific screen. If you reuse UI elements, build custom views or use fragments. If the user just navigate through "screens", use one Activity by screen or one Fragment by screen. Jul 31 22:44:17 To launch a new activity from a previous one, use Intents Jul 31 22:44:57 Okey, tnx.. Maybe i should read a little about Fragment's Jul 31 22:46:09 <_genuser_> fellers, little help needed. onActivityCreated, onStart of ArrayListFragment craps out if there's a Toast.makeToast in there. even without a .show(). Jul 31 22:46:30 <_genuser_> using: Toast.makeText(this.getActivity().getApplicationContext(), mCount, Toast.LENGTH_SHORT).show(); Jul 31 22:48:02 fatpudding: I suggest you to explore the "new project" wizard in Eclipse, they have a proper FragmentActivity implementation (only working with Android 4+) Jul 31 22:48:08 Hi. Is there a framework for android which simplifies everything a bit and which offers a more intuitive api? (intuitive api like Qt) Jul 31 22:48:21 Mhm, have used Intents, but have that feeling that that are not so nice way to code ? To they use allot of resourse ? Jul 31 22:48:28 Okey, will check it out Jul 31 22:55:40 fatpudding: Intents are just light messages to communicate between apps and system. They are relativly light and powerfull. Most use cases will use 1-5 lines of code Jul 31 22:58:19 what are some commons reasons text in a textview wouldn't be centered even though i have android:gravity="center" in the xml? Jul 31 22:58:25 the text itself is specified dynamically Jul 31 22:59:08 Tnx wagaf, see i have a little more reading to do :) Jul 31 23:04:07 CQN, have you android:layout_width="fill_parent" in the xml TextView? Jul 31 23:04:30 and in your Layout? Jul 31 23:07:31 bye Jul 31 23:09:30 Hi Guys, I have a WelcomeActivity that I would like to show in my MainActivity onCreate, should I use startActivity() onCreate? Jul 31 23:09:52 and if so, should I add a button to "close" this WelcomeActivity? or is there a better way to display a Welcome Popup Jul 31 23:11:05 joikus use Dialog Window? Jul 31 23:11:17 if it is only popup this is better option Jul 31 23:11:41 <_genuser_> son of a biscuit eating bulldot!!!! Jul 31 23:11:55 it's more of a welcome message that takes up the whole View, with a button at the bottom Jul 31 23:12:03 <_genuser_> toast.maketext won't complain if you pass there an int, but will crash at runtime. Jul 31 23:12:20 maybe an image, a diagram Jul 31 23:12:45 eventually I will have a WhatsNewActivity Jul 31 23:13:13 if I do use a regular view, and startActivity, and hide the optionsMenu at the top Jul 31 23:13:17 is this ok? Jul 31 23:13:53 by regular view I mean an Activity started from MainActivity's onCreate, with a close button that stops this activity Jul 31 23:18:05 hi, i'm trying to store a date in sqlite but the timestamp is different for every entry even if I use the following cal.set(year,month,day,0,0,0), is there a way to fix this? Jul 31 23:19:45 huh, i've got a Theme for my app, and I guess it inherits a background style. So when I set a background in a given activities layout, I get a warning about overdraw... Can i set a background in an Application level Theme, that only styles Activity backgrounds? Jul 31 23:19:46 when I set a background in the application theme, EVERYTHING gets the background, dialogs, everything. Jul 31 23:20:44 android:theme="@android:style/Theme.Dialog" Jul 31 23:20:47 this actually did something nice Jul 31 23:20:51 but the dialog box was too tiny Jul 31 23:23:50 wow Jul 31 23:31:07 wow :D Jul 31 23:31:09 ok this is great Jul 31 23:31:29 I just used styles.xml with custom for the first time Jul 31 23:32:12 Congratulations Jul 31 23:32:15 Now you're a real man Jul 31 23:32:21 ha Jul 31 23:34:04 :] Jul 31 23:34:40 What is the recommended way when dealing with one-time only popups, where should I store when a user clicked "close" Jul 31 23:34:45 so it doesn't popup again Jul 31 23:34:48 ever Jul 31 23:35:01 or until next update Jul 31 23:40:54 if I Call getWritableDatabase().beginTransaction() ...... will the next thread calling beginTransaction() wait for this to complete? Jul 31 23:50:03 yey, $50 GB phone coming to VZ :/ Jul 31 23:57:13 g00s: what phone? Jul 31 23:57:21 lg? Jul 31 23:57:47 does anyone know the best way to incrementally load resources for a (horizontal)scrollview? Jul 31 23:58:01 it has images downloaded from the internet, and waiting for them all to download would take too long Jul 31 23:58:10 preferably, further downloads would be triggered by scrolling Jul 31 23:59:51 http://blog.digg.com/post/28441399381/welcome-to-digg-v1 Aug 01 00:00:02 lulz Aug 01 00:00:04 "digg v1" Aug 01 00:00:10 they're not fooling anybody with that Aug 01 00:00:46 Using the Internal Storage Aug 01 00:03:24 CQN: pantech marauder Aug 01 00:05:34 g00s: a symbol of mediocrity Aug 01 00:05:43 i know someone with a pantech dumbphone Aug 01 00:05:52 it even has a touchscreen, but some custom shitty OS Aug 01 00:06:01 why the hell would you waste time and money developing a custom OS? Aug 01 00:06:24 That's a pretty awesome name. Aug 01 00:06:36 then again, the carriers probably won't allow smartphones to be sold without a data plan Aug 01 00:07:12 LOL slashgear terms GB as "getting on in days" Aug 01 00:07:29 I don't understand why everyone in the country isn't doing Galaxy Nexus + T-Mobile's $30/month plan. Aug 01 00:11:17 mdkess: What are the terms on the T-Mobile plan? Aug 01 00:12:01 chiuki: $30/month no contract, unlimited data (5GB data at HSPA+, then 2G), unlimited texts, 100 minutes + $0.10/minute after that. Aug 01 00:14:01 mdkess: Nice! Glad that there is finally a data plan that doesn't force me to pay for 300+ minutes. I don't talk on the phone :P Aug 01 00:26:55 if i've submitted a patch to gerrit for review is there any sort of magic rain dance i need to do to get someone to actually look at it or do i just wait? Aug 01 00:52:01 hey, who was in here earlier asking about fragmentactivities? Aug 01 01:10:37 aapt will extract the icon and label from an APK with a command line like this: "aapt d badging foo.apk | grep application:" and return something like this "application: label='Label Text' icon='res/drawable-whatever/icon.png'". Is there any way to get this information from Python? I can get the pointers to the icon and label but I don't know how to go from pointers to content. Aug 01 01:10:55 "pyapk" looked like the right way to go, but the code in the mercurial repository on bitbucket doesn't run. Aug 01 01:17:43 have any of you used mono for android? i'm curious about trying it out, but don't want to shell out lots of money to find out it sucks Aug 01 01:52:42 can anyone help me out with a problem? im going through the "beginning android games" book and hit a snag in a code example. When i run this, I get 100 blank white squares instead of the image that should show up: Aug 01 01:52:43 http://code.google.com/p/beginning-android-games-2/source/browse/trunk/ch07-gl-basics/src/com/badlogic/androidgames/glbasics/BobTest.java Aug 01 02:00:04 Hi guys, i need to make a hard task Aug 01 02:00:17 you could help me =) Aug 01 02:00:30 How to make a scheduled process for my application, without start the application? Aug 01 02:03:12 my idea, if it is possible, is show a notification icon in top bar of android screen Aug 01 02:03:23 in the end of process Aug 01 02:03:34 jalmeida: do you know about activities, services, broadcastreceivers and so on? Aug 01 02:04:25 i'm know activities , but services and broadcastreceivers no Aug 01 02:05:17 okay, so to put it simply: activities are foreground components of an app, services are background components, and broadcastreceivers are background components which are started in response to some 'event' Aug 01 02:06:09 if you want something to run continuously in the background, you need to use a service Aug 01 02:06:42 Leeds: i know the easy theory but not practiced yet Aug 01 02:06:54 if you want something to run at regular intervals, you want to look at AlarmManager, which lets you ask Android to run your app... well, whenever you ask it to, could be "in an hour", could be "every hour", could be "every day", whatever Aug 01 02:07:20 if you want it to run in response to some event (say, at boot time, or when the wifi connection state changes, etc.) you want to use a broadcastreceiver Aug 01 02:07:42 does that help? Aug 01 02:09:52 Leeds: i undertood =) Aug 01 02:09:59 good :) Aug 01 02:12:22 Leeds: my idea is provide to the user a configuration of this service, and from time to time this process are activated, thenks master Aug 01 02:12:30 se u later Aug 01 02:12:36 right, that's what my main app does Aug 01 02:22:38 What is the typical way to go about doing a "what's new" when the app launches every update? Is it just a boolean preference and is test to like "what ever the opposite is" every update? Like on first launch EVER have it default false, and if it is false it shows the dialog. Once the dialog is shown it changes it to true so it never shows. Then when you update you switch it, if it's true it shows the dialog, and once the dialog is Aug 01 02:22:38 shown it changes it to false. Rinse and repeat. Aug 01 02:22:43 Or is there a better way? Aug 01 02:23:06 set* not test Aug 01 02:26:19 T-Dub: use the version code Aug 01 02:26:32 Care to explain a little more? Aug 01 02:26:39 I don't see how that would work. Aug 01 02:26:54 versioncode has to be incremented every update Aug 01 02:26:58 How can that not work Aug 01 02:26:58 I use the version code to check if there is an update, but I don't see any other fuction Aug 01 02:27:06 the android manifest has a versionCode integral identifier that you generally add +1 to every time you update Aug 01 02:27:15 I don't see how a if statement would work is what I mean Aug 01 02:27:23 you just check if the new version is greater than what you have stored in sharedprefs or some similiar method Aug 01 02:27:30 I understand that Aug 01 02:27:40 Oh ok, I see that. Aug 01 02:27:44 if (versionCode != versionCodeFromSettings) Aug 01 02:27:52 But I don't understand how you only show the update once Aug 01 02:27:53 Or even just > Aug 01 02:28:03 oh nvm once you view it you change the version in settings to current Aug 01 02:28:07 :) I understand now Aug 01 02:28:38 That's basically the exact same logic behind my updater Aug 01 02:28:51 though I use a xxyyzz format for my versionCode, but it's always going to be a greater value when updated Aug 01 02:28:56 it gets current version in the app, and the version corresponding to my website. And compares Aug 01 02:29:12 Why do you need an updater Aug 01 02:29:30 It notifies the user there is an update Aug 01 02:29:35 Why? Aug 01 02:29:38 It just pops up a notification that the user can close if they want Aug 01 02:29:43 Play store already does that Aug 01 02:29:48 Well I assume there are people like me who rarely update their apps Aug 01 02:29:59 I may be wrong but it's my point of view therefore other people might do the same. Aug 01 02:30:11 when google tells me I have 8+ updates I usually ignore them for a few days Aug 01 02:30:16 I hope others don't do the same Aug 01 02:30:16 until I get annoyed to death Aug 01 02:30:23 I don't want to go disable it in every app I use Aug 01 02:30:24 I really wish I could tell play store to ignore updates for certain apps so I can do "update all" without touching those ignored apps. Aug 01 02:30:31 Or well, I'd uninstall Aug 01 02:31:00 By the sound of it SimonVT, progma- does the same to an extent. Aug 01 02:31:14 my app does not pop-up update notifications Aug 01 02:31:26 I mean that you ignore updates from google play some times. Aug 01 02:31:29 pragma- is asking for more play store features Aug 01 02:31:30 Or on specific apps. Aug 01 02:31:59 Also some people don't have a big data plan, therefore they might ignore google play updates until they have a wifi network. As a result they may forget they have updates. Aug 01 02:32:12 Then it'll notify them again Aug 01 02:32:21 Why do they need two notifications Aug 01 02:32:30 Well put it this way. Aug 01 02:32:43 Sense I've added my updater, I have a larger percentage of updates per day Aug 01 02:32:49 then I did previously. Aug 01 02:33:11 Might be just a coincidence, I don't know, but I like it. Aug 01 02:33:30 oh well, your users Aug 01 02:33:35 I ought to add something that pops up a request to rate my app -- i've got 14 ratings out of 300+ installs -- but at least I'm at a 5.0 rating :/ Aug 01 02:33:47 Oh I hate those as well Aug 01 02:34:01 yeah, I always refuse those and click 'do not show again' Aug 01 02:34:07 so I haven't bothered to add it to mine either Aug 01 02:34:07 Lol. Aug 01 02:34:09 I usually leave a bad rating Aug 01 02:34:09 I've not done much more than a successful 'hello world' and had it run in a virtual avd. in the mean time, I notice that my SDK manager has a lot of seemingly older APIs. are all these APIs necessary or can they be deleted? Aug 01 02:34:17 * pragma- hugs his 5.0 rating Aug 01 02:34:38 Your choice InphraRed, depends if you ever want to target those API's Aug 01 02:34:57 If you don't wish to, there is no hard in deleting. Plus you can redownload at any time. Aug 01 02:35:06 harm* not hard. Aug 01 02:35:07 T-Dub well, perhaps Android 1.5 will never be needed? how can I tell how far back? what requires Android 13? Aug 01 02:35:30 I assume 20 is jelly bean? Aug 01 02:35:37 my new Samsung S3 has icecream on it Aug 01 02:35:43 not sure what api version that is. Aug 01 02:35:47 Do you support 1.5? if so, do you want to test it on an 1.5 emulator? Then keep it Aug 01 02:35:53 Like I said before, it all depends on your style. The lower api you code for the more devices there are. Aug 01 02:36:14 Not to be rude but who cares what YOU have, your goal is to target the consumer. Aug 01 02:36:19 so it's not like they are obsolete? Aug 01 02:36:23 Unless you are making personal apps. Aug 01 02:36:24 Nope Aug 01 02:36:32 1.5 is pretty old though Aug 01 02:36:33 T-Dub that's perfectly fine. Aug 01 02:36:35 I target 2.2 Aug 01 02:36:48 2.2, 2.1, and 2.3 I believe are the most common Aug 01 02:37:16 Majority of my app installs are from 2.3 Aug 01 02:37:30 http://developer.android.com/about/dashboards/index.html Aug 01 02:37:35 when you say "most common" are you talking about the most "in" or are you including a lot of flip phones and other kiosky type phones that are usually budget and not really in the "smart phone" market? Aug 01 02:38:14 62.92 % of my 2.5k downloads are from 2.3 Aug 01 02:38:21 wow Aug 01 02:38:25 that's good enough for me. Aug 01 02:38:37 so, what's the big differences between say... API 20 and 2.3? Aug 01 02:38:47 0.20 % is from 4.0 Aug 01 02:38:56 I'll give you a pic, sec Aug 01 02:39:27 Maybe it's because you target 2.2 Aug 01 02:39:29 doogan gave me one Aug 01 02:39:31 http://puu.sh/Nw5A Aug 01 02:39:37 I'm targetting 2.2, yes. Aug 01 02:39:45 I've got tons of downloads from code.google.com and github.com which doesn't show which android versions it installed against Aug 01 02:40:29 And also I'm targetting entertainment which plays a factor Aug 01 02:41:02 T-Dub I don't doubt your numbers, but it sure does seem to me, at least in Southern California, that there are a fair number of... I guess I would say, 'recent' android devices. I'm the second person in my company with a new Samsung S3, but a lot of people I'm assuming has 4.0 (by your chart, and my understanding) Aug 01 02:41:05 Oh and I was wrong, ics acounts for more than .20% Aug 01 02:41:32 of course, my app requires rooted devices which diminishes its market quite a bit Aug 01 02:41:54 I'm sure there are a lot of other factors that we aren't seeing, but those are my stats for one of my apps. Aug 01 02:42:09 I thought there was a percentage charge google released. Aug 01 02:42:22 Oh yea Aug 01 02:42:27 doogan, posted it http://developer.android.com/about/dashboards/index.html Aug 01 02:42:35 That I believe are ALL versions Aug 01 02:42:41 From whatever date that was collected. Aug 01 02:42:44 pragma- I want to root mine but I'm not sure if I should wait for jellybean? I really am most interested in it, becuase it seems required for getting sshd working. I have a link that suggests there's a way to get sshd running without rooting the phone but I haven't tried it yet. Aug 01 02:42:44 As you can see most are 2.3 Aug 01 02:45:50 brb Aug 01 02:46:57 hi all. Anybody know why the -notlong and-long identifiers doest work as it should? Aug 01 02:50:37 Maybe you Aug 01 02:50:43 re not using them properly Aug 01 02:53:30 how to use it properly? I was trying to use something like layout-sw600dp-notlong Aug 01 02:54:14 but tablet such as samsung galaxy tab 10 inch still uses the layout from layout-sw600dp-notlong Aug 01 02:54:38 Maybe it's just not long Aug 01 02:57:07 Or maybe samsung didn't implement it properly Aug 01 02:58:04 Asus transformer too Aug 01 02:58:37 both are 1280 X 800 which is 16/9 Aug 01 02:59:02 this should be categorized as notlong Aug 01 02:59:11 sorry categorized as long* Aug 01 02:59:16 is there a -longish? Aug 01 02:59:22 -quitelong Aug 01 02:59:36 -lengthisnteverything Aug 01 02:59:46 hi i am a newbie to anrdoid development, i followed the google tutorial but i still don't feel confident. Is there any tutorial that teaches how to develop an application from start to end? **** ENDING LOGGING AT Wed Aug 01 02:59:59 2012