**** BEGIN LOGGING AT Sun Sep 08 02:59:59 2013 Sep 08 03:00:16 Yes, but do you know what type of drawable it results in? Sep 08 03:00:22 I know, I'm asking if you do Sep 08 03:00:34 'Cause it was kind of funny once I found out Sep 08 03:07:21 What kind of drawable is it Nilium Sep 08 03:07:33 It's a GradientDrawable. Sep 08 03:08:05 why's that funny? Sep 08 03:08:09 I'd guess at one point it might've been a ShapeDrawable with a LinearGradient shader, but I'd have to go back through the versions to check. Sep 08 03:08:27 Just because it's not named in a way that makes it obvious what it is. Sep 08 03:08:36 i see Sep 08 03:18:00 suppose I have a messenger, and the content is added to the bottom of the scroll list, and then auto-scrolled down. What's the best means of starting initial posts at the bottom? Sep 08 03:18:44 I would assume create a dummy view the size of the scrollview, right? Sep 08 03:26:04 are there any other android channels in different languages? Sep 08 03:29:38 imaginary: I don't know, but you can probably find forums in any language Sep 08 03:29:48 What language? Sep 08 03:30:21 Komak57: Are you using a database? If you, you can just select the messages and add on REVERSE Sep 08 03:30:56 cheese1756: spanish Sep 08 03:31:16 imaginary: That should be doable. There's definitely a forum out there Sep 08 03:31:17 a random person went in ##espanol and is looking for android channels in spanish Sep 08 03:31:21 thought id help him out Sep 08 03:31:36 cheese1756: sure, i don't think he's looking for a forum, though Sep 08 03:31:48 cheese1756: nah. Just instantiating a view layout for each item and dumping it in a scroll view Sep 08 03:32:21 Komak57: Hmm. I'm not familiar with that method Sep 08 03:32:49 cheese1756: the content is loaded to the bottom like it should be, but I want the first post to appear at the bottom of the view. My best guess is to create an invisible, non-interactive 'dummy' view the size of the screen minus the size of the first content view Sep 08 03:33:40 Komak57: Sounds solid to me Sep 08 03:37:04 hello all can i get some help with the android sdk kit please ? i am trying to emulate my soon to come busbi 7 tablet so i can work on some projects of my own, but i cant seem to set it up right can someone help me please Sep 08 03:41:19 I want to display some simple html fragments as rich text in an android app, e.g. "

some text

some other text

" is there a lighweight way to do this? When I use the webview widget there is a noticable pause while it loads and the background flickers. Sep 08 03:42:16 I don't need javascript/css parsing/rendering just basic html Sep 08 03:51:54 <^cheeky> hungry Sep 08 03:51:58 <^cheeky> sorry Sep 08 03:52:09 can no one help me? Sep 08 04:08:44 does anyone know about the avd of the sdk Sep 08 04:12:53 <^cheeky> ^^ previous message was supposed to be sent in another # sorry Sep 08 05:38:34 hello everyone Sep 08 05:46:35 bcows, Html.fromHtml Sep 08 05:46:49 apparently, 2 hours late Sep 08 05:50:25 findFragmentByTag() return the fragment, but findFragmentByTag().getView() return null Sep 08 05:50:26 what's the problem? Sep 08 05:51:24 pfn fromhtml() only parses a small subset of tags, it won't do lists or anything Sep 08 05:52:11 that's too bad, you need a Web view then Sep 08 05:52:45 van7hu, onCreateView hasn't run since the fragment got detached, most likely Sep 08 05:53:38 you said simple html as rich text, bcows Sep 08 05:53:46 lists aren't simple Sep 08 05:55:35 pfn, http://ideone.com/giPR4q Sep 08 05:55:55 I think onCreatView() done! Sep 08 05:56:47 probably not Sep 08 05:57:03 try calling quiz on resume instead Sep 08 05:57:27 or even post resume Sep 08 05:57:42 wait me a minute Sep 08 05:59:24 pfn, sorry, I don't get it Sep 08 05:59:54 I think with executePendingTransactions(), the onCreateView() must be called Sep 08 06:58:42 anyone have good experiences with an alternative to google places API? Sep 08 07:18:57 x Sep 08 07:29:31 hello all Sep 08 07:30:17 Anyone using ShowcaseView library? The Title/Message text is hard to see over my MapView activity... I'm trying to find the best way to handle this situation. Dim the background activity or any other suggestions? Sep 08 07:31:25 hey QubeZ , how is todomapr? Sep 08 07:31:51 pretty good, adding a search along route feature and wanted to try out ShowcaseView to show the user how to search Sep 08 07:32:08 point A and point B on the map, you can now search for locations along the route Sep 08 07:32:30 oh nice Sep 08 07:33:43 how you been g00s? Sep 08 07:34:12 QubeZ oh, rough times. trying to focus in terrible conditions. i'll keep moving on though Sep 08 07:34:43 Sorry to hear that -- hope it gets better for you. Sep 08 07:34:49 ;) Sep 08 07:35:19 what part of the country are you in? Sep 08 07:35:31 i'm in AZ Sep 08 07:35:51 nice and dry Sep 08 07:35:55 QubeZ :D Sep 08 07:36:04 Im in freezing MN, well.. will be in about 2-3 months. Sep 08 07:36:06 QubeZ so how does this new feature work ? Sep 08 07:36:28 hi! is someone here that is good at sound processing? I need a link where I can read more about implementing a correct bar visualizer for music. I did a simple implementation but I have problems distributing the energy of the 512 bins in just 20 bars Sep 08 07:38:04 g00s: right now pretty basic, after you enter say your destination (address or POI like walmart, target etc..), you long-press on the task and select the option to "Search Along Route". Takes you to a mapview activity which shows your current loc, destination and draws the route between. From ABS, you can click search and enter anything like park, coffee, etc.. and it will put markers for results returned that are within a certain d Sep 08 07:38:27 g00s: will end up adding user editable width feature Sep 08 07:39:11 right now I'm trying to get this ShowcaseView library working the way I expect -- sure it's working but the text is hard to read over my mapview. Figured dimming my activity would be the best plan right now until I run into better solutions. Sep 08 07:40:19 QubeZ are you searching against some service, or does your app have to do spatial searches against its own db ? Sep 08 07:40:49 mashup between Google Places and MapQuest's free api Sep 08 07:41:21 luckily for me, the Google Maps team up'd my per day quota from 50k queries to 500k queries. Just from an email and them looking at the app. Sep 08 07:42:08 oh nice ;) Sep 08 07:44:26 Zgary alankila *might* have an idea Sep 08 07:44:49 if you can catch him Sep 08 07:45:20 I will keep my ChatZilla on him Sep 08 07:45:41 i haven't used chatzilla in a loong time Sep 08 07:52:47 findFragmentByTag().getView() always return null, wtf happening? from 7 A.M. to 2 P.M. could not find the answer with gooogle Sep 08 08:06:26 i dont understand why this is deprecated http://developer.android.com/reference/android/database/DatabaseUtils.InsertHelper.html Sep 08 08:06:59 "Use SQLiteStatement instead. " Sep 08 08:07:07 huh? the docs on that suck ass too Sep 08 08:30:39 hi there Sep 08 08:30:57 is there any chance anyone has libutils.so built with -g for 4.2.1? Sep 08 08:31:19 need it urgently and i only have a windows machine :\ Sep 08 08:32:46 esvee you'll probably have to set up a vm and do it yourself :| Sep 08 08:33:13 :( Sep 08 08:33:39 i have a build system set up at home with everything i need but before leaving for work i forgot to write down the external ip addr Sep 08 08:34:55 stupid me :( Sep 08 08:41:35 why does it take my phone so long to install an app via adb Sep 08 08:49:30 nvm Sep 08 09:03:32 I don't suppose there's a way to have a NavigationDrawer with a two pane layout Sep 08 09:30:02 nvm Sep 08 09:44:57 hey, i moved a button and a text field and now when i click the button the app crashes...?? Sep 08 09:46:08 too general Sep 08 09:46:15 need to be specific Sep 08 09:46:47 uhm in eclipse adt Sep 08 09:46:56 wit the graphical layout Sep 08 09:46:58 with Sep 08 09:47:00 stacktrace or GTFO Sep 08 09:47:07 09-08 03:40:10.204: E/AndroidRuntime(8076): java.lang.IllegalStateException: Could not execute method of the activity Sep 08 09:47:34 clean clean clean Sep 08 09:48:41 http://pastebin.com/iHb1q5x9 Sep 08 09:48:47 it's my first app Sep 08 09:49:23 you cleaned your project? Sep 08 09:49:46 how do you clean? Sep 08 09:50:08 ok i fouind it Sep 08 09:50:54 cool thanks that fixed it Sep 08 10:19:13 Is there a simple way to filter a list view? Sep 08 10:21:12 on code.google.com, if a project uses hg, is there any way to get a tarball of 'head' without actually installing hg :P Sep 08 10:53:43 Does setContentView create a new Fragment on a FragmentActivity? Sep 08 11:14:24 zyngawow: if the content being created names fragments Sep 08 11:14:54 i need help on programing Sep 08 11:14:56 please helpme Sep 08 11:15:03 alankila, oh. Can I give it a tag? Sep 08 11:15:38 not sure. I don't think it matters, the fragments directly named by XML can't be replaced so I'm not sure what value tagging them would do Sep 08 11:16:43 Can't they be replaced? I replace it with a FragmentTrasaction Sep 08 11:17:15 well it didn't work last time I tried it which arguably was years ago Sep 08 11:36:14 It'd be added again on configuration change Sep 08 11:36:18 You usually don't want that Sep 08 12:16:36 hello Sep 08 12:16:46 I've got a problem importing the aosp (branch android-4.2.2_r1 ) in eclipse. I followed the instructions on the http://source.android.com/source website but I always get a lot of resolving errors, for example: „accessibility_switch_to_camera cannot be resolved or is not a field CameraSwitcher.java /android_4.2.2/packages/apps/Camera/src/com/android/camera/ui„. Can somebody help me? Sep 08 12:26:11 hello Sep 08 12:27:03 anyone use android studio here ? Sep 08 12:28:29 cortexA9: unless you're doing a survey of IDE usage, ask your actual question Sep 08 12:28:59 nono.. just installed it right now. Sep 08 12:29:14 and i want to know if it's good Sep 08 12:30:03 well, I don't use it :) Sep 08 12:30:25 Is there a away to manually initialize the service that handles metadata sending to bluetooth? tm spotify only sends the metadata after I start playing a song on play music which is really annoying. Sep 08 12:51:09 If I want to give users the option to start/stop my service, is it fine to use an OnPreferenceChange listener and a preference item? Sep 08 13:12:35 what's in SDK Built-tools compared to Platform-tools? And do I need to update SDK Build-tools to 18.0.1 since I don't have API 18 installed? (I'm using API 17 and have SDK Build-tools installed 17) Sep 08 13:18:01 hello, there is a problem with android studio, when i finish to start a new project says something sdk manager. Sep 08 13:18:11 *something about Sep 08 13:18:40 cortexA9: "something" is probably of relevance here Sep 08 13:18:46 i downloaded sdk manager from eclipse Sep 08 13:19:40 but says something about the android repository and sdk manager. Sep 08 13:19:50 i installed android repository. Sep 08 13:19:58 in the sdk manager. **** BEGIN LOGGING AT Sun Sep 08 13:25:09 2013 Sep 08 13:26:33 When defining a BroadcastReceiver in the manifest, at what point will that BroadcastReceiver stop receiving broadcasts? Sep 08 13:29:52 hello Sep 08 13:29:55 sorry Sep 08 13:29:56 back Sep 08 13:30:16 have u read my problem with android studio ? Sep 08 13:31:04 The something is probably relevant Sep 08 13:31:28 oh Sep 08 13:31:40 what is the problem please help me Sep 08 13:32:22 i have android studio 0.2.7 Sep 08 13:32:44 What does the message say? Sep 08 13:33:36 you must install the android support repository though the sdk manager Sep 08 13:33:39 is there a way to receive broadcasts when screen is off? Sep 08 13:33:40 Sonicadvance1 Sep 08 13:33:53 says Sep 08 13:34:39 Did you install it through the SDK manager directly through Android Studio? Sep 08 13:34:55 oh no from eclipse Sep 08 13:35:54 it's not the same ? Sep 08 13:36:27 cortexA9, Installs to a different location Sep 08 13:36:41 quit Sep 08 13:39:59 wow it works thanks Sonicadvance1 i found the problem Sep 08 13:40:08 :) Sep 08 13:40:14 no problem Sep 08 13:58:11 hello im trying to connect to my database in android but cant seem to connect to it what host should i use? Sep 08 13:58:58 velus, an external database? Sep 08 13:59:07 or an sqlite database Sep 08 13:59:07 why not make an android studio design version. Sep 08 14:00:32 Mhmm.. Ive a SQL Statement and want to grab all rows. I do Cursor.movetofirst before looping with while(Cursor.movetonext()){} and it jumps over the first result. Why? Sep 08 14:01:10 Because the next after first is the second. No need to call first in your example. Sep 08 14:01:21 i need helo on my calender aplication Sep 08 14:01:23 okay. So doing a do while is the solution Sep 08 14:01:25 can anyone hel me? Sep 08 14:01:51 misterli: Yes. Sep 08 14:02:07 Okay, thanks. This is kinda crappy -_- Sep 08 14:02:37 yes an external one (sorry made a cofffe) Sep 08 14:03:19 misterli: no Sep 08 14:03:27 Just while (cursor.moveToNext()) Sep 08 14:03:42 Yeah, did that. It jumps over the first row Sep 08 14:03:46 No it doesn't Sep 08 14:03:56 It does if you call moveToFirst Sep 08 14:04:08 But don't do that Sep 08 14:04:11 Yeah. I need to call it because i dont know the exact entry Sep 08 14:04:29 velus, the host of your external database will be the IP it's running on Sep 08 14:04:30 rymate1234: its an external mysql database im using jetbrains to connect to it and cant seem to connect to it Sep 08 14:04:44 oh ok how do i find the ip address? Sep 08 14:05:04 well what's the IP of the server it's running om Sep 08 14:05:13 If you don't know where the cursor is pointed, move it to position -1 Sep 08 14:05:20 also why connect to an external mysql server, surely that's a security risk? Sep 08 14:05:22 that i dont know? Sep 08 14:05:45 so doing if (Cursor.movetoFirst) { do { ... } while (Cursor.movetonext()); } is not a good solution? Sep 08 14:06:48 velus, if you dont know the IP of your database you need to find out Sep 08 14:07:25 ah and btw.. does anyone know an OWN push solution instead of GCM which is easy installed on an own server? GCM is not very good :-/ Parse seems to use GCM Techniques too Sep 08 14:07:34 and as I don't know what your mysql server is running on I can't tell you to find out Sep 08 14:08:25 also I would advise against connecting to an external database if your going to release an apk, as someone could potentially decompile the apk and find out the password of the database afaik Sep 08 14:08:56 yeah. better use soap to communicate Sep 08 14:09:57 its so i can have it connect to my websites and that, im creating a social site for a perticular group of people (and the other app i will be creating will be for me only and will be for me to just use to administer stuff) but the social one needs to be able to log in and such Sep 08 14:10:26 hi Sep 08 14:10:30 use soap/json calls and validate by return-values for example Sep 08 14:10:40 do the processing in a script on the webserver Sep 08 14:10:48 I have this problem too Sep 08 14:10:49 ok i wil have to do that then Sep 08 14:10:53 ok Sep 08 14:10:56 I finally settled for a token after restful queries Sep 08 14:11:40 one REST resource will spit out session tokens, all the other resources expect a session token as a query string parameter Sep 08 14:11:52 i will be learning json soon lol im just going to set it out for now Sep 08 14:11:56 Do you mean beacuse of PUSHs? Sep 08 14:12:19 Hey all, I'm am in the early stages of development with this personal project and I'm having some trouble with interaction between activities, fragments and cursor loaders. What is the best way to instatiate a fragment with data obtained via a cursor loader. All my tries have failed Sep 08 14:12:27 velus. It's not like a "learning-protocol". It's more like storing an array or groupped data in a easy and simple to read format (like xml) Sep 08 14:12:39 ok cool Sep 08 14:13:28 i need help on programing Sep 08 14:13:56 I'm having a problem implementing the official google navigation bar. I have the code all functional, however the home button is still an arrow rather than the 3 line menu button. My code is here https://github.com/rymate1234/Rymate-Notes/blob/master/src/net/rymate/notes/activities/NotesListActivity.java#L64 Sep 08 14:14:01 anything I've missed out? Sep 08 14:15:44 karachiguy2, please ask your question in the channel, don't just randomly PM people, as someone else might have the same sisue as you Sep 08 14:17:32 i need help on my calender application Sep 08 14:17:39 is show null before 1st of date Sep 08 14:17:47 of an month Sep 08 14:18:51 so helpful Sep 08 14:19:17 karachiguy2, are we supposed to be able to see your code via mind reading? Sep 08 14:19:22 cuz it ain't working Sep 08 14:20:11 no no my complete coe is here https://www.zeta-uploader.com/517051366 Sep 08 14:21:31 Why could I get this error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.darkraven.shoppinglist/com.darkraven.shoppinglist.ShoppingList}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment Sep 08 14:22:16 wow Sep 08 14:22:47 what are you making zynagawow Sep 08 14:22:55 what are you making zyngawow Sep 08 14:22:56 i mean Sep 08 14:23:04 i have no idea Sep 08 14:24:57 A shopping list app Sep 08 14:25:06 With fragments Sep 08 14:25:37 I'm having a problem implementing the official google navigation bar. I have the code all functional, however the home button is still an arrow rather than the 3 line menu button. My code is here https://github.com/rymate1234/Rymate-Notes/blob/master/src/net/rymate/notes/activities/NotesListActivity.java#L64 - anything I've missed out? Sep 08 14:27:44 karachiguy2: Do not randomly message people. You've been told once already Sep 08 14:29:20 karachiguy2, question - how much programming knowledge / java experience do you have? Sep 08 14:32:08 What is the app more spectacular than you did? Sep 08 14:32:35 cortexA9, ? Sep 08 14:32:57 yes Sep 08 14:33:13 what is the app more spectacular you guys did Sep 08 14:33:33 I'm not saying I made anything better Sep 08 14:34:38 i mean Sep 08 14:34:44 your better app. Sep 08 14:36:10 cortexA9, what are you implying Sep 08 14:36:50 nothing rymate1234. Sep 08 14:37:13 then why are you asking me this Sep 08 14:37:45 karachiguy2, just built the app on my PC - I don't appear to get your problem Sep 08 14:39:24 rymate1234 not only for you for all. Sep 08 14:39:39 what Sep 08 14:39:59 what is your better app you guys did. Sep 08 14:40:25 OH Sep 08 14:40:33 sorry, I misunderstood you :( Sep 08 14:40:38 oh Sep 08 14:40:40 no problem Sep 08 14:43:38 under *android list targets, there are 2 versions for every api level. , eg: id:1 or "android 10", name:android 2.2, APIlevel:10, ABIs:armeabi / x86, ..... and .... id:2 or " google inc.:google api:10", name:googleAPIs, based on android 2.3, ABIs:armeabi ... what is the difference between these 2? Sep 08 14:44:27 i notice that until API 18, it every version's first id has an x86 under ABI Sep 08 14:44:34 at least in my targets i installed Sep 08 14:45:20 Why could I get this error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.darkraven.shoppinglist/com.darkraven.shoppinglist.ShoppingList}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment Sep 08 14:45:46 zyngawow, there's an error in the xml of your fragment Sep 08 14:45:55 i thought maybe they were diffrerent revisions.. but it seems sometimes they have the same revision number... Sep 08 14:45:57 There is not Sep 08 14:46:12 "android.view.InflateException: Binary XML file line #7: Error inflating class fragment" Sep 08 14:46:14 there is Sep 08 14:46:20 I've had it before Sep 08 14:46:27 there's a problem inflating your xml file Sep 08 14:47:10 rymate1234, sure. There is not an error on the XML file. Want to see it? Sep 08 14:47:33 http://pastebin.com/Xpskk4Ys Sep 08 14:48:11 looks fine to me actually Sep 08 14:48:21 zyngawow, is there any more of the error you can pastebin? Sep 08 14:49:00 rymate1234, http://pastebin.com/H3NHqwQ5 Sep 08 14:50:20 there's something wrong on line 31 in ShoppingList.java Sep 08 14:50:59 this is caused by a null pointer exception, which means there's something null in your app Sep 08 14:51:58 setContentView(R.layout.activity_shopping_list); Sep 08 14:53:31 well idk what the issue is then Sep 08 14:56:42 Does anyone know an app which sends song metadata via avrcp? THe spotify player seems to need something to initilialize a service i think because I need to start playing one song on play music n order for it to work at all. Sep 08 15:02:01 I'm having a problem implementing the official google navigation bar. I have the code all functional, however the home button is still an arrow rather than the 3 line menu button. My code is here https://github.com/rymate1234/Rymate-Notes/blob/master/src/net/rymate/notes/activities/NotesListActivity.java#L64 - anything I've missed out? Is it because I'm using the v7 actionbar? Sep 08 15:03:37 Should Fragment#getActivity() return null on Fragment#onCreateView()? Sep 08 15:11:15 even on an i5 the avd is slow Sep 08 15:14:08 zyngawow: I think so Sep 08 15:14:34 actually sorry I don't know. I see onAttach before onCreateView but then there's also onActivityCreated after that Sep 08 15:14:38 have to read Sep 08 15:16:21 Hmm ... I think you shouldn't try to use the getActivity() before onActivityCreated(), that method is called when onCreate() for activity hosting fragment has been called... so even if you got an activity instance it might be in pretty unfinished state Sep 08 15:28:17 how do you check if a file is a Bitmap? Sep 08 15:28:47 how do you check if a file is a Bitmap from its contents and not from its extension? Sep 08 15:29:37 <|0xD34D|> file name_of_file Sep 08 15:29:46 <|0xD34D|> at least that's how I would do it in linux :P Sep 08 15:32:21 |0xD34D|, that i know. but in Java?! Sep 08 15:33:54 i added an exception, try to create a bitmap from the file path. if any troubles catch it and throw an error message Sep 08 15:35:38 yes it works , but still without exceptions is better. Sep 08 15:35:38 <|0xD34D|> that's easy enough since you are not really concerned about knowing if it is a bitmap but rather if it loads as a bitmap Sep 08 15:36:08 <|0xD34D|> then open the file and read X number of bytes and check the header Sep 08 15:36:21 <|0xD34D|> doing that you'll need to know the header formats for the various image formats you allow to be loaded Sep 08 15:36:33 i'll settle to the exception. Sep 08 15:37:18 I get java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState on onNavigationItemSelected... Sep 08 16:06:01 Anyone ever get this error when querying google play inventory with IabHelper.queryInventoryAsync(mGotInventoryListener)? Sep 08 16:06:01 Can't create handler inside thread that has not called Looper.prepare() Sep 08 16:07:32 hey, i'm using a listview to display a dump of accelerometer values, but i can't remove the padding between the items: http://puu.sh/4mhcy.png Sep 08 16:07:57 i've tried to set the padding of the textview in the listitem layout to 0, and removed the dividers and set their height to 0 on the list Sep 08 16:08:28 i just want them to look like they're lines in a multiline textview Sep 08 16:09:32 diphtherial, tried layout parameters? Sep 08 16:09:51 layout parameters? such as what? Sep 08 16:09:58 Is there any way to handle the home key for lockscreen replacement apps, without setting it as an alternate launcher (for ICS+)? Sep 08 16:10:14 Yomic, either do it on main thread, or a handler thread you explicitly create Sep 08 16:10:20 diphtherial, there is a class LayoutParams which sets padding values and other stuff Sep 08 16:10:31 then you can use layout.addView(someView, layoutParamValue); Sep 08 16:10:47 might be wort a try Sep 08 16:10:49 *worth Sep 08 16:11:20 ah, i'll look into it, thanks :0 Sep 08 16:11:21 er, :) Sep 08 16:12:33 this seems to apply to the list itself, not to the elements inside of it Sep 08 16:12:39 i want to remove the space between the elements Sep 08 16:17:28 ListView has no padding between items. If there is any, it's in your row layout Sep 08 16:18:59 my row layout is the following: Sep 08 16:19:32 i'm not sure if layout_height should be match_parent or wrap_content, for the record Sep 08 16:22:30 It should be wrap_content Sep 08 16:22:51 Well, you're doing something that adds that margin between items Sep 08 16:23:28 right, i'm well aware that this is my fault, but i'm not sure where that would be Sep 08 16:23:36 i'm starting to think that using a textview would have saved me a lot of pain Sep 08 16:24:29 ah, heh, i found it; i was adding a newline after each element :\ Sep 08 16:24:37 apologies, user error Sep 08 16:25:02 ^_^ Sep 08 16:45:08 anyone have any experience debugging phonegap apps in eclipse with lots of javascript? I've looked around and found nothing definite, only third-party tools or device tools Sep 08 16:45:14 Can anyone help with this? http://stackoverflow.com/questions/18685870/illegalstateexception-on-onnavigationitemselected Sep 08 16:50:29 Hi Sep 08 16:50:50 I have a question about OpenSL ES and OpenAL Sep 08 16:51:03 Do they support streaming from custom file formats? Sep 08 16:51:14 custom pack formats, I mean Sep 08 16:51:24 Or from parts of a sound file Sep 08 16:52:06 I'm using a pack format with stdio-like functions Sep 08 16:52:25 custom fopen, fread, fseek Sep 08 16:52:44 and I don't want to load the sound files entirely Sep 08 16:52:47 they can be large Sep 08 16:52:59 megabytes in case of music Sep 08 16:53:03 SiPlus: I think it's possible, but you have to do the demuxing yourself Sep 08 16:53:22 p_l, what is demuxing? Sep 08 16:53:24 bufferizing? Sep 08 16:53:35 reading the data streams from the file Sep 08 16:53:36 the sounds are stored as wav or mp3 files Sep 08 16:54:07 demuxing is reading the streams that will be understood by codecs from storage format Sep 08 16:54:31 p_l, does OpenSL ES support overriding of stdio? Sep 08 16:55:13 SiPlus: OpenSL doesn't give a damn about stdio Sep 08 16:55:28 you'll have to pass it a buffer with stream to decode, iirc Sep 08 16:55:32 p_l, how do play-from-file functions work then? Sep 08 16:56:10 you know, you could look into reading the spec? Sep 08 16:57:14 OpenAL isn't a library to play music formats Sep 08 16:57:24 You pass it a raw sound buffer and it puts it to the speakers Sep 08 16:57:50 There's a little bit more magic in there than that, but it doesn't decode your audio for you. Sep 08 16:57:53 Sonicadvance1: we are talking about OpenSL, which also includes access to demuxers Sep 08 16:58:15 He said and OpenAL :P Sep 08 16:58:25 Yes, it's an option too Sep 08 16:58:53 How is audio streaming usually implemented in games? Sep 08 16:59:02 Using sort of double buffering? Sep 08 17:00:18 SiPlus: buffer queue Sep 08 17:00:23 Move the 2nd second into 1st half of the buffer => move pointer into the 1st half => load new sound into the 2nd half? Sep 08 17:00:41 load next second into the 2nd half * Sep 08 17:00:44 or what? Sep 08 17:00:58 SiPlus: are you familiar with circular buffers? Sep 08 17:01:07 that's one of the simple ways to do so Sep 08 17:01:21 p_l, yes, but don't they have races/collisions? Sep 08 17:01:25 you push new buffers with a certain amount of samples etc. Sep 08 17:01:32 SiPlus: only when done stupidly bad Sep 08 17:02:06 circular buffers are the classic concurrent data exchange structure Sep 08 17:05:31 Is there a way to automatically make my phone start play music and spotify on bluetooth connection, make play music play 2 seconds of a song and then start playing on spotify without me touching it? Sep 08 17:14:31 Can anyone help with this? http://stackoverflow.com/questions/18685870/illegalstateexception-on-onnavigationitemselected Sep 08 17:21:01 I lost part of the scroll buffer, did someone reply to my question about build-tools? Sep 08 17:21:40 namely I'm asking what's in build-tools with respect to platform-tools, IIRC there where only "tools" and "platform tools" a few API release ago Sep 08 17:29:10 Well, in build-tools there's stuff for building Sep 08 17:45:39 hi. im trying to compile a native shared lib using an Android.mk file. i set 'LOCAL_COPY_HEADERS' and 'LOCAL_COPY_HEADERS_TO' to copy header files out to the build directory... but ndk-build doesn't copy anything (the library seems to build fine) and doesn't show any error messages with verbose output. does anyone know if there's anything specific you have to do to use LOCAL_COPY_HEADERS and LOCAL_COPY_HEADERS_TO? Sep 08 17:50:17 activity name has to have capitals right because it is used as class name? Sep 08 17:52:20 occ, That's up to the programmer if they want to or not Sep 08 17:52:43 Variable/class names can be just about anything that isn't completely off the wall Sep 08 17:53:13 i see Sep 08 18:05:16 Can anyone help with this? http://stackoverflow.com/questions/18685870/illegalstateexception-on-onnavigationitemselected Sep 08 18:07:11 anyone know of any good article or videos for dependency injection? I'm looking to get started with it Sep 08 18:23:07 cross device frameworks/sdks, that I can use from linux... what are they =p apparently xamarian is not one Sep 08 18:23:40 or is this against chan ettiquette Sep 08 18:27:05 zyngawow, that error is so straightforward Sep 08 18:27:14 supercell, anything java Sep 08 18:27:16 pfn, is it? Sep 08 18:27:20 yes Sep 08 18:27:34 pfn, please enlighten me Sep 08 18:27:52 read the exception message, it tells you clearly Sep 08 18:28:09 so eclipse basically. I wonder if jetbrains has anything =x. And i know you all probably hate this type of question, but what about the cross-device portion... like droid/ios Sep 08 18:28:26 pfn, sure, I can't change the fragment after onSaveInstanceState Sep 08 18:29:06 or did you mean dev the app in java Sep 08 18:29:31 zyngawow, yes, then don't Sep 08 18:29:42 pfn, I don't do it Sep 08 18:29:48 yes, you do Sep 08 18:29:54 pfn, show me the line where I do it, please Sep 08 18:30:19 I have no idea, because you didn't describe the problem Sep 08 18:30:46 and the line is the one in the stack trace Sep 08 18:31:03 Hi guys, can you help me ?I have String paths = "C:/docs|C:/test|C:/java" why does String[] test = paths.split("|"); why does it splits the paths string into characters? Shouldnt it split it just when it comes to "|" ? Sep 08 18:31:15 DOSP, regex Sep 08 18:31:15 pfn, ft.commit(); on onNavigationItemSelected. Why would that get triggered after saveInstancestate? Sep 08 18:31:37 zyngawow, you tell what you're doing and you'll have the answer why Sep 08 18:32:12 you probably set a nav item while you're getting destroyed Sep 08 18:32:24 Hey guys, can someone please explain why this causes an FC: Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.android.launcher"); startActivity(LaunchIntent); Sep 08 18:32:42 pfn ? Sep 08 18:32:57 LaunchIntent is null for com.android.launcher but only for that... I don't understand. Sep 08 18:33:02 Is it because it can't resolve which activity to open? Sep 08 18:33:29 oh i get it i think Sep 08 18:33:29 pfn, alright. I have drop-down navigation on the ActionBar, so I have that method, onNavigationItemSelected to change the Fragment when the drop-down selection changes Sep 08 18:37:37 so? Sep 08 18:37:46 when does the crash occur Sep 08 18:38:05 launch? when you jerk off? Sep 08 18:40:34 launch Sep 08 18:41:33 launch! Sep 08 18:44:08 pfn, launch Sep 08 18:48:44 needing help with my razr m Sep 08 18:49:33 override and throw an exception from on save instance state, zyngawow Sep 08 18:50:03 pfn, just a plain exception? Sep 08 18:50:16 I do stuff on onSaveInstaceState Sep 08 18:50:20 runtime Sep 08 18:50:25 I put parcelable data in it Sep 08 18:51:37 I'm building a C library for android. I need to determine if char is signed or unsigned Sep 08 18:52:04 unsigned Sep 08 18:52:26 pfn, alright, now you need the logcat? Sep 08 18:53:15 pfn, I read a blog post that also suggests this. I wonder though, how do you determine this for any machine? Sep 08 18:54:44 pfn, also, would this be different for android running on x86 or MIPS? Sep 08 18:54:55 and do I need to worry about those platforms? Sep 08 18:56:03 Java char is unsigned by spec Sep 08 18:56:20 I'm wanting to speed up my razr m and also find another way around this flash business other than by using puffin Sep 08 18:56:50 pfn, my question applies to the NDK. I'm referring to C's char type Sep 08 18:56:50 vulcanmummie: #android or android-root Sep 08 18:57:20 I'm in both, I was recommended this room Sep 08 18:57:26 but I'll try again tho thanks Sep 08 18:57:38 Well, this isn't the room. This is for app dev Sep 08 18:57:50 k thanks Sep 08 18:59:15 RustyShackleford, what does it matter? Sep 08 18:59:35 it's just data, it behaves like you treat it... Sep 08 19:00:04 the library I'm working with requires to know it Sep 08 19:02:06 just say it's unsigned all the time Sep 08 19:02:12 makes no difference Sep 08 19:05:17 pfn, http://pastebin.com/nnGAxcxz Sep 08 19:09:33 something is stopping you activity Sep 08 19:09:50 like a Google Apis call Sep 08 19:10:02 Mine? Sep 08 19:10:03 like account authorization Sep 08 19:10:32 or orientation change Sep 08 19:10:51 The orientation is the same Sep 08 19:11:22 Oh, now it works Sep 08 19:11:22 in any case, a stop was requested Sep 08 19:11:35 But yeah, when I change the orientation it crashes Sep 08 19:16:40 because you're throwing now Sep 08 19:17:11 anyway, detect saved and don't do anything in on nav Sep 08 19:44:40 i wanted to dwell into the world of kernels....would anyone have experience with that? Sep 08 19:44:53 jump in headfirst Sep 08 19:45:05 A plan is also good to have Sep 08 19:45:07 huh? Sep 08 19:45:19 like books? Sep 08 19:45:41 you wanted to delve Sep 08 19:45:42 not dwell Sep 08 19:46:07 Ubuntu is a must right? Sep 08 19:46:35 you know what linux is? Sep 08 19:46:56 i dont live under a rock...-_- Sep 08 19:47:05 Well, you could make your own microkernel if you wanted to Sep 08 19:47:18 i guess i was trying to say... theres linux.... and then theres distros. linux is the kernel Sep 08 19:48:05 ok so i can download the complete source code for android and edit it right? Sep 08 19:48:17 That's what AOSP is for Sep 08 19:48:34 compiling it and getting it to run is more complicated though Sep 08 19:48:54 cant u build another OS on-top of the source code? Sep 08 19:50:21 huh? Sep 08 19:50:26 datandroiddude, Android kernel is the Linux kernel with some more stuff on it Sep 08 19:50:43 Alot of the work in the Android Kernel gets merged back in to Linus' tree Sep 08 19:51:47 should i start basic linux coding? Like learning commands and stuff? Sep 08 19:52:14 It would probably be best yea Sep 08 19:52:28 Figure out how to build the regular desktop kernel and get it running Sep 08 19:52:38 Maybe do something you want to in there Sep 08 19:52:47 ok thanx Sep 08 19:53:15 also will i be able to install ubuntu on my asus g75? Backtrack didnt work Sep 08 19:53:49 Sonicadvance1 Sep 08 19:53:51 if you cant get back track to run on modern hardware you wont be able to develop kernels, or even kernel mods Sep 08 19:53:54 also will i be able to install ubuntu on my asus g75? Backtrack didnt work Sep 08 19:54:03 No idea Sep 08 19:54:04 perhaps start with learning linux Sep 08 19:54:20 linux mint, ubuntu..? Sep 08 19:54:39 give it a whirl Sep 08 19:54:44 doesn't matter which one you start with Sep 08 19:54:55 oh really? thanx Sep 08 19:55:45 can u build a complete kernel with linux and build a whole operating system for a phone Sep 08 19:55:45 ? Sep 08 19:56:42 Linux is a complete kernel Sep 08 19:56:59 what does that mean? Sep 08 19:57:10 and yes, Google has made a OS for a phone, so its possible Sep 08 19:58:04 does this require command after command or lines of code in an IDE? Sep 08 19:58:22 hundreds of thousands of lines of code I would presume Sep 08 19:59:14 I need a team... Sep 08 19:59:20 once i learn.. Sep 08 20:00:28 more like a whole brigade of people with a driving will to wipe Android off the market and can bring up a brand new OS quickly because the interest would be lost very quickly Sep 08 20:00:36 Just look at OpenMoko :/ Sep 08 20:02:18 lol but dude thanx so much! Sep 08 20:03:07 Yea. Have fun Sep 08 20:03:31 I will Sep 08 20:04:30 BTW have u read linux from scratch?? Sep 08 20:04:42 Nope Sep 08 20:05:08 oh...wondering if it was good.. Sep 08 20:15:07 hm, http://www.spiegel.de/international/world/privacy-scandal-nsa-can-spy-on-smart-phone-data-a-920971.html Sep 08 20:43:23 that's starting to fall into the 'what else is new' category Sep 08 20:48:20 hey Sep 08 20:48:37 i'm having some trouble building my project with ant debug Sep 08 20:48:59 in that, it won't tell me where the error in my code actaully is Sep 08 20:49:20 running in verbose mode doesn't add anything useful to the output Sep 08 20:49:38 it does say, at the very end in both modes "... 18 more" Sep 08 20:50:13 the errors that it is displaying are all outside of my project Sep 08 21:01:08 outside of your project? Sep 08 21:09:39 yeah, in org.apache.tools or com.son.org, etc Sep 08 21:09:54 sun, not son Sep 08 21:12:25 something inside my project is obviously causing it, but it isn't giving my any clues on where to look Sep 08 21:17:35 com.sun.org? are you retarded? Sep 08 21:18:31 it does show you where the error is. perhaps you cannot read. Sep 08 21:18:48 chars6, can you paste the stacktrace? Sep 08 21:19:04 sure Sep 08 21:20:48 http://pastebin.com/zhhX0AqQ Sep 08 21:21:09 yup, can't read. Sep 08 21:21:28 seems your AndroidManifest.xml is broken Sep 08 21:22:15 lol Sep 08 21:22:29 chars6, "Expected "" to terminate element starting on line 6", that's what you're missing Sep 08 21:22:55 i see that, but in which file? Sep 08 21:23:22 how many .xml files in the build process do you have that have in it? Sep 08 21:23:28 logic, do you have it? Sep 08 22:44:24 when you create a project.. to delete it do you just need to delete the folder Sep 08 22:44:39 or is a reference stored in the sdk somewhere(like references for avds seem to be stored) Sep 08 22:48:33 a reference isn't stored in the sdk Sep 08 22:51:04 k Sep 08 23:31:05 hi guys I finally got remote debugging working with chrome :) Sep 08 23:31:14 I used jsHybugger Sep 08 23:32:38 How can I only show the Spinner and not the activity label when using dropdown navigation? Sep 08 23:40:27 i just created a new android project, havnt edited anything, when i build and run it in avd and run logcat, logcat shows lots of lines like: PR_CAPBSET_DROP 7 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.... is this a big problem? is it common Sep 08 23:41:29 is it referring to my avd Sep 08 23:43:12 oh i get it before i even run my app on the avd Sep 08 23:43:15 so its the avd Sep 09 00:04:44 How can I choose to show or not to show a ListView item? Sep 09 00:09:27 zyngawow filter Sep 09 00:09:32 change your adapter Sep 09 00:10:30 On the Adapter#getView() method Sep 09 00:10:30 jaynewstrom yea no...even if you want to go that route go with notifydatasetchanged(), swapping adapters is inefficient Sep 09 00:10:43 that' Sep 09 00:10:51 s what I meant, change the data in your adapter Sep 09 00:10:52 zyngawow you can't there Sep 09 00:11:13 Maybe there's a better way to do it Sep 09 00:11:25 I have a product list and multiple shopping list Sep 09 00:11:40 All products are on the product list, but they can or can not be on the shopping lists Sep 09 00:14:27 http://www.survivingwithandroid.com/2012/10/android-listview-custom-filter-and.html Sep 09 00:15:27 jug6ernaut, nice, will check it out tomorrow, gtg Sep 09 00:16:07 are you filtering live or just presenting a different view? Sep 09 00:16:15 Me? Sep 09 00:16:20 I'm not doing anything now Sep 09 00:18:18 what is the plan then Sep 09 00:19:19 lol Sep 09 00:41:19 the truth hurts and i'm in pain Sep 09 00:41:26 no more lies no more games Sep 09 00:50:06 Hi guys Sep 09 00:50:50 I'm having a bad day Sep 09 00:51:12 Did it involve taco bell? Sep 09 00:51:30 lol no Sep 09 00:51:37 Then take heart: it could be worse. Sep 09 00:52:07 I have terrible code that is half working Sep 09 00:52:57 And I just threw my spastic library up on github, so that was fun. Sep 09 00:53:10 That is, it's called spastic. The library itself is not spastic. Sep 09 00:53:14 Or maybe it is. Sep 09 00:54:57 I know I'm doing something really stupid but if someone would like to take a look I'm trying to have a custom listView which returns a list of profile pics and names when searched in an edittext field. It only works when I type in odd names with few results but any common names would just take forever, the screen stays blank. Also the picture thing doesn't work for some reason http://pastebin.co Sep 09 00:54:57 m/tcAMdkeW Sep 09 00:55:12 if my app lets users add records to the sqlite database.... looks like using a line something similar to: getDatabase().insert(TABLE_NAME_BUSSES, null, values); , will the new data persist on app relaunch(it is written to the app folder automatically)...... or it just adds the record on the fly and i need to save the full state of the app for it to persist? Sep 09 00:55:12 Nilium, why did ya name it spastic lol Sep 09 00:55:51 Because 'spifftastic' includes the letters from 'spastic' Sep 09 00:56:39 oh i see nice Sep 09 00:58:45 http://pastebin.com/tcAMdkeW Sep 09 01:03:41 Xabster Sep 09 01:17:10 -exec String blah = "}BnbnRsnql,,"; for (int i = 0 ; i < blah.length() ; i++) System.out.print((char)(blah.charAt(i)+1)); Sep 09 01:17:11 ~CocoStorm-- Sep 09 01:18:12 Xabster, huh? Sep 09 01:20:43 huh what Sep 09 01:21:02 it's just java Sep 09 01:21:51 Xabster, yeah but I'm not sure what you want me to do with that? Sep 09 01:22:01 nothing, the bot did it Sep 09 01:22:05 oh Sep 09 01:22:07 Why do you think you need to do something with it? Sep 09 01:23:01 well I thought he was using botster to highlight me Sep 09 01:27:22 i did Sep 09 01:32:44 -sysout "Xabster 1 | 0 CocoStorm" Sep 09 01:32:44 Xabster 1 | 0 CocoStorm Sep 09 01:33:32 I'm trying to have a custom listView which returns a list of profile pics and names when searched in an edittext field. It only works when I type in odd names with few results but any common names would just take forever, the screen stays blank. Also the picture thing doesn't work for some reason http://pastebin.co Sep 09 01:33:32 m/tcAMdkeW Sep 09 01:33:50 http://pastbin.com/tcAMdkeW Sep 09 01:33:54 dammit Sep 09 01:33:58 http://pastebin.com/tcAMdkeW Sep 09 01:57:59 Xabster: is 'Botster' yours? No bots, please. Sep 09 01:58:10 alright Sep 09 01:58:20 thanks! Sep 09 01:58:23 no worries Sep 09 01:58:29 hm Sep 09 01:58:33 ban it, please Sep 09 01:58:36 np Sep 09 01:58:38 can't be arsed to ssh Sep 09 01:58:47 ha Sep 09 02:03:15 hi Sep 09 02:04:30 Anyone got a Snapdragon 800 device yet? :D Sep 09 02:05:27 I have a listview with each item having a hidden toolbar, trying to figure out the best way to hide them when an actionmode is destroyed. getListView().getChildAt(i).findViewById is problematic because gets only visible items. So nullpointers. Any ideas? Sep 09 02:06:54 Right now I'm going off of List6 of api demos Sep 09 02:07:03 but would like an animation Sep 09 02:10:01 only the root linearlayout needs "http://schemas.android.com/apk/res/android" right? Sep 09 02:10:12 i see some examples only have the root... others have on all Sep 09 02:12:22 occ: its a copy paste bug Sep 09 02:12:24 :D Sep 09 02:12:36 occ: its only needed on root, when people copy paste they forget to remove it Sep 09 02:15:04 i seee Sep 09 02:15:15 Hi, I'm trying to have a custom listView which returns a list of profile pics and names when searched in an edittext field. It only works when I type in odd names with few results but any common names would just take forever, the screen stays blank. Also the picture thing doesn't work for some reason http://pastebin.com/39siUUEP Sep 09 02:18:17 Napalm, hey Sep 09 02:18:26 hey Sep 09 02:18:51 hows it going CocoStorm Sep 09 02:19:32 Napalm, No 2Ghz+ ARM devices in your arsenal yet? :P Sep 09 02:20:09 I'm okay thanks, very sleepy Sep 09 02:20:13 nope, might be waiting for the new Nexus 5 Sep 09 02:20:52 Sounds reasonable Sep 09 02:21:06 I'm waiting for the new ARM chromebook to come out Sep 09 02:21:13 it's 3.20am , I don't wanna go to bed until I fix this :'( Sep 09 02:22:35 Sounds like my issue Sep 09 02:23:14 same Sep 09 02:23:15 lol Sep 09 02:24:22 is it normal for textviews inside a horizontal linear layout to have a large height when it is wrap_content Sep 09 02:25:00 oh nevermind Sep 09 02:25:23 that was a d'oh moment Sep 09 02:25:27 yeh Sep 09 02:25:37 its been that moment all day Sep 09 02:26:14 Ahoy! Anybody experience A/V sync issues when playing video with a TextureView? Sep 09 02:26:16 is my issue not trivial enough Sep 09 02:26:33 VideoViews handled the stream just fine, changing that to TextureView breaks the a/v sync Sep 09 02:27:14 btw: trying to play video in a ListView Sep 09 02:27:51 VideoView's separate window punch-through causes all sorts of artifacts / flickering during scrolling Sep 09 02:31:46 dbro: TextureView for video playback works fine. It's probably because something weird is happening because you have it inside a ListView. It might be something like the TextureView causing a layout of the ListView. Which then causes lag to the eye when the view is recreated. Sep 09 02:32:20 hmm, I should say I'm playing .m3u8 HTTP HLS streams which aren't officially supported IIRC Sep 09 02:32:45 anyone? :( Sep 09 02:32:46 dbro: what android version are you dealing with? Sep 09 02:33:01 Napalm: just testing for feasibility with 4.3 now Sep 09 02:33:15 dbro: then they are offically supported. Sep 09 02:34:09 aw man Sep 09 02:34:34 ahh you're right Sep 09 02:34:45 dbro: with that? Sep 09 02:34:52 CocoStorm: whats up? Sep 09 02:37:33 Napalm: ? Sep 09 02:38:03 dbro: you said im right, about what though? Sep 09 02:39:24 Napalm: About HTTP HLS being officially supported. Still, this a/v sync issue is bizarre Sep 09 02:39:47 dbro: have you tried it outside the ListView? Sep 09 02:52:16 Napalm: Sorry I found a bug that just stole my attention. I really appreciate the braincycles Sep 09 02:52:17 I'll try to let you know if I figure something out Sep 09 02:54:53 dbro: np, i seem to have plenty of brain-cycles' to go around **** ENDING LOGGING AT Mon Sep 09 02:59:58 2013