**** BEGIN LOGGING AT Sat May 24 02:59:58 2014 May 24 03:02:09 Yep my thoughts too, scratching my head raw. O.o May 24 03:04:53 OK wait, that might be it. Should I be invalidating the list viw maybe? May 24 03:10:27 qkzoo1978: uh, I dunno. Maybe? May 24 03:10:54 Ya, it was a stupid question, just thinking out loud. May 24 03:11:25 Thanks for the brainstorm! May 24 03:12:20 np, lol May 24 03:37:05 How do you access the current android machine to ask whether the user is using 12-hr or 24-hr? May 24 03:41:14 Hi May 24 03:42:06 Any one used facebook bolt in android apps May 24 03:42:10 ? May 24 03:43:48 tylertylertyler: DateFormat.getTimeFormat May 24 03:47:51 Use simpledateformat May 24 03:48:07 Use your face really hard against walls May 24 03:48:32 It's the only solution I've found for problems. May 24 03:49:28 Try yourself May 24 03:57:37 anyone know what might cause a surface preview for camera to not update on start but only sometimes .. very random May 24 03:57:39 no errors... May 24 03:59:14 it'll just show blank if i had the camera blocked until i click take picture at which point it fixes… or will freeze on the image that first is in view on start May 24 04:29:15 Well, extern symbol loading/relocation is now working in my VM. Woop. May 24 04:37:19 sharing data between activities is a bit of a nightmare May 24 04:52:22 can anyone here recomend a library with a GridView subclass that allows for "headers" sectioning off pieces of the grid? I've tried the usual suspects from many many goodle searches (like StickyGridHeaders) but none of them (or any of my custom creations) using the GridView work for having headers that span the entire width of the grid. May 24 05:01:58 https://android.googlesource.com/platform/packages/apps/Gallery2/+/android-4.4_r1/src/com/android/photos/views/HeaderGridView.java May 24 05:02:23 @jerd : you can use this May 24 05:17:44 what's this? May 24 05:19:20 hmm, the addHeaderView method says it puts them at the top? May 24 05:27:46 Yes it sets header @ top. May 24 05:28:03 It is android source May 24 05:28:27 i need the headers to be in the middle as well May 24 05:28:48 ie: header, X number of items, another (different header), Y number of tiems, etc. May 24 05:29:46 Can you use multiple headergridviews May 24 05:30:00 For each category May 24 05:30:20 i could do that without HeaderGridView May 24 05:30:39 but then all of my view recycling and what not is lost May 24 05:30:58 and the individual HeaderGridViews will scroll themselves May 24 05:31:03 rather than as one unit May 24 05:31:22 i got it _almost_ working using just an Adapter May 24 05:31:43 but i can't make one of the views in the gridview span the entire width of the view May 24 05:31:54 it gets removed from the view hierarchy and half of it gets rendered May 24 05:31:57 it's really odd May 24 05:32:47 Are you using linearlayout some where in that grid May 24 05:33:19 nope May 24 05:33:45 i've done it with just new View(..) and setting colors to test it - it does the same thing May 24 05:34:11 i noticed StickyGridHeaderViews suffers from the same problem - unable to make the header view span the entire width of the grid. May 24 05:35:28 Will tell you if i find a better one May 24 05:51:55 @jed : did you refer this https://github.com/emilsjolander/StickyListHeaders May 24 05:53:05 great for lists May 24 05:53:18 although headers for a list would be easy with the standard stuff anyway May 24 05:55:21 Can we use same kind of adapters for gridview May 24 05:55:39 i'm currently attempting to make an Adapter that makes a grid out of a ListView May 24 05:55:49 just worried about lost functionality May 24 06:18:53 bye May 24 06:42:39 Some say May 24 06:42:42 Mobile is the future May 24 06:42:48 Others? They disagree May 24 06:43:55 i think extinction is the future May 24 06:44:21 we will reach peak mobile May 24 06:46:29 Then what May 24 06:46:37 We will all go back to our desktops perhaps May 24 06:46:43 pretendo: then there will be yet another fad May 24 06:46:45 Once mobile is fully mobilized May 24 06:50:06 p_l did you see that samsung watch that makes calls is Tizen ? May 24 06:50:26 g00s: no May 24 06:50:33 frankly speaking, I don't give a damn :D May 24 06:50:50 yeah, samsung doesn't interest me from a consumer perspective May 24 06:51:09 more like yet-another-custom-smartwatch doesn't interest me May 24 06:51:22 … that too :) May 24 06:51:36 i was interested to see they used Tizen though May 24 06:51:41 Pebble at least was first and runs for quite long time plus has some level of support by now. The rest can wait till they hash out something compatible May 24 06:52:55 i just have a cheap ass casio May 24 06:53:28 g00s: I haven't had a watch on myself for so long I forgot how it feels May 24 06:53:46 well i need one because i don't have a phone XD May 24 06:54:00 if I wanted to really drop a lot of money on a watch, I'd buy myself not some wearable computing gadget, but a mechanical breitling navitimer :P May 24 06:54:33 capella hey fira has a fixed width variant May 24 06:54:44 hm, if it has bold i'll try in intellij May 24 06:55:24 * capella -> back inna bit ... trying to glom the camelopardis showers ... May 24 06:55:41 capella can you see them ? May 24 06:57:54 ah craps .... heavy showers, didnt look out the window today or I'd've noticed :( May 24 06:58:18 That sucketh May 24 06:59:14 g00s: spent 5 hours trying to upgrade my Sprint GS3 4.3->4.4.2 ... the OTA completely locked up the device on me May 24 06:59:40 capella that sucketh too :( May 24 07:00:10 i dont know what i'll do if they discontinue nexus; not buying anything else May 24 07:00:38 yah Sprint started enforcing SE linux was the isssue May 24 07:00:59 Didja look @ the OnePlusOne? May 24 07:01:06 capella was yours rooted ? May 24 07:01:10 Yep May 24 07:03:25 capella do you think that was the problem ? May 24 07:04:18 about the 1+1, hmm … if it was pure android, but since they will add features i'm not sure May 24 07:04:27 Oh it was! Fenny (I see his nick here too :) ) Walked me through the fixs ... figured out sdFix for extSd issue that 4.4 added insult to injury May 24 07:04:57 i only use my n7 for dev and occasional gmail; its pretty useless to me otherwise May 24 07:04:59 Titanium wouldnt backup to my extSd and that was why May 24 07:05:06 hm, k May 24 07:05:31 I use my N7 for testing tablet specific code for mozilla - they gave me the device for support issues May 24 07:05:44 But my GS3 is my "personal" May 24 07:06:31 i need offline maps for a trip; i tried getting gmaps to work offline but couldn't May 24 07:06:54 i feel like i'm getting dumber and dumber with gmapps - the ui becoming more inscrutable or something May 24 07:07:19 from what i heard it should work … for an area; not sure about a trip May 24 07:07:41 so maybe i'll get a lumia 520 or something; those are getting kinda old - like too old; just bad timing May 24 07:08:49 I thought about the OnePlusOne /because/ its a cyanomod ... maybe time to switch off Android OTA's and all since I require root for dev May 24 07:09:11 and every upgrade is a *special learning experience* May 24 07:09:37 But the 1+1 doesn't have remoavble battery of extSd card May 24 07:09:43 *or May 24 07:09:56 so still looking May 24 07:11:58 so why were we discussing fira? lost my train of thought... May 24 07:12:16 oh, the font was on HN tonight :) May 24 07:12:38 Ah! I was reading when you pinged ...! Musta missed that in the list :) May 24 07:12:44 hey May 24 07:13:09 guys i'm a noob and i have an issue: the action items aren't being displayed on my app and i don't know why May 24 07:14:40 any help May 24 07:15:58 * capella rebuilding nightly .... didnt see fira in my stale repo May 24 07:16:59 cliffreich from a fragment ? May 24 07:17:41 oh well i only have the main activity but using this guide, it doesnt say about fragment so im not sure May 24 07:17:44 this http://developer.android.com/guide/topics/ui/actionbar.html May 24 07:21:56 do i need a fragment? May 24 07:23:04 no May 24 07:25:43 oh well then no idea May 24 07:25:55 i cant even see it on the graphical layout May 24 07:26:03 nor the device May 24 07:26:39 cliffreich, actionbar items as in menu items? May 24 07:26:46 the ones on the right? May 24 07:30:22 wait what? Fira is an FF/OS thing May 24 07:32:50 hm, the fixed width only comes as OTF May 24 07:33:05 my java + intelliJ combo doesn't handle that May 24 07:34:40 yes May 24 07:34:45 items at top May 24 07:52:52 damn there is no way May 24 07:52:56 :( May 24 08:05:07 Any1 got any tips for good walkthroughs/tutorials when it comes to how to populate a listview via read XML Feed data from an AsyncTask? May 24 08:06:21 I am new to this area in android appdev so have few clues of how its done - having hard time to adapt Google Developers "parsing XML Data" section: http://developer.android.com/training/basics/network-ops/xml.html#read May 24 08:07:40 My goal here is to create an app which reads XML Data and populates a ListFragment with items and then when one of these items is clicked, a "detail_content" FrameLayout next to it should be populated with data from that specific RSS Feed which was clicked in the list May 24 08:09:24 I have followed the Google Devs "Parsing XML Data" creating files they use to fetch the mainly RSS Feed Data, have created my own datatype with specific variables to hold the data I am interested in fetching from the feed etc. May 24 08:22:10 Do I have to use a ListFragments GetView() method along with NotifyDataSetChanged() method in order for making the onPostExecute to work to update the List with generated/fetched list items from the rss feed? May 24 08:22:57 or can I somehow just simply call it in setListAdapter() method as the third parameter somehow? May 24 08:23:23 (inside of the onCreate method I mean) May 24 08:33:52 Yes May 24 08:38:16 ok May 24 08:38:20 experimenting with it atm May 24 08:40:39 I am thinking about having doInBackground return a String[] Array but having troubles with the caught error messages that is to be returned if error occured.. I was thinking of maybe somehow I can declare String[] string = null; above the try statement, and then within it fill it, but this does not work for stringarrays right? only ArrayLists? May 24 08:40:51 You have to declare its size already from the beginning May 24 08:40:53 ? May 24 08:41:49 (The StringArray I thought doInBackground could return would consist of XML formatted strings like testtext\nnextrowtext <- as one string item in the string array) May 24 08:42:04 hi guys can i ask a question for JSOUP parsing? May 24 08:42:32 (which later will be one of the ListFragment items)) May 24 08:42:54 think this could somehow work? or should I simply try another type of approach? May 24 08:54:48 anyone have a good tutorial to convert web app based to android app? :) i have web app, and now i want to build for android platform, i have try to used webview but isn't good :( May 24 09:34:42 good morning everyone May 24 09:35:10 yeaah good afternoon on here :3 May 24 09:36:39 I've got a question. In the app I'm working on, I want the user to be able to add new data, which consists of two variables basically. how would I store this the best way? May 24 09:40:55 I'm thinking sqlite, or is there a better solution? May 24 09:44:15 Chris92, if its two variables then use sharedpreferences :) May 24 09:47:52 hm, I might have explained it badly. it's not only two variables, I want a user to add instances of a certain data structure, let's call it "Stream" which has always two variables - "user" and "platform" May 24 09:48:50 e.g. it could be something like user="foo" platform="bar", next Stream consists of user="nyan" platform="cat" and so on May 24 09:49:00 guys May 24 09:49:08 i keep getting a stupid error May 24 09:49:19 is that possible in sharedpreferences, mavrik? May 24 09:49:24 casting a videoview to my own child of videoview May 24 09:49:25 saying May 24 09:49:28 "tag found was VideoView" May 24 09:49:39 whic it ISNT. i'm using my own view in the layout resource May 24 09:49:40 -_- May 24 09:49:44 Chris92, oh, use sqlite then May 24 09:49:55 mavrik, okay thanks :) May 24 09:49:58 Chris92, sharedpreferences is just a simple key/value store that gets saved as an xml file :) May 24 09:50:35 Mavrik, that's how general app settings would get stored, right? May 24 09:51:21 mhm May 24 09:51:35 okay got it, thanks :) May 24 09:51:39 Chris92: if you want to use sqlite, i recommend a package called SimpleContentProvider May 24 09:52:17 https://github.com/mitmel/SimpleContentProvider May 24 09:55:43 Kevel: Thanks, I'll have a look at that =) May 24 11:01:07 Is there a list of things that you need to know and have to put an app on google play store? May 24 11:07:44 has anyone participated in topcoders first to finish changelles May 24 11:07:53 What google used to make people's app contacts list with headers? May 24 11:08:20 BWestOZ, read content guidelines. May 24 11:09:08 Mavrik; thank you May 24 11:09:16 that's pretty much it May 24 11:09:21 also, DON'T LOSE YOUR SIGNING KEY May 24 11:09:22 EVER. May 24 11:11:38 It seems the high resolution icon needs to be visible at launcher sizes which makes me wonder why it has to be 512 by 512 May 24 11:13:01 BWestOZ, because they're also shown on website and other materials May 24 11:13:08 where they have to be sharp and rather large May 24 11:13:22 like here for example: https://play.google.com/store/apps/details?id=cir.ca May 24 11:13:32 So the 512 by 512 high res icon has to look OK at 72 by 72? May 24 11:14:17 I find it difficult to make an image that looks sensible at 512 by 512 and also at 72 by 72 May 24 11:14:23 uh May 24 11:14:31 I don't really understand your quesiton. May 24 11:14:41 You provide launcher icons in the app for different DPIs anyway May 24 11:14:49 512x512 is for webpage and promotion materials May 24 11:15:20 icon sizes inside your app are defined here: https://developer.android.com/design/style/iconography.html May 24 11:15:24 This site: http://xayin.com/thisisatest.html indicates that the high res icon will be displayed at very small sizes May 24 11:15:38 yeah I've been over th iconography site May 24 11:16:28 that's a really old site :) May 24 11:16:55 It's shows the 512 by 512 icon displayed at 72 by 72 May 24 11:17:00 Do you think that May 24 11:17:06 is wrong? May 24 11:21:12 Is the $25 developer registration fee one off or do you have to pay annually or somethingorather? May 24 11:26:58 I want to show a menu but the app doesn't show the menu. This is java code http://pastebin.geany.org/zEV7R/ and this is the xml code http://pastebin.geany.org/aOq1r/ May 24 11:34:50 gah May 24 11:34:53 why the flying heck May 24 11:34:59 does damn listview ignore margins on items May 24 11:54:21 dominuskernel u link to the wrong menu resource - should be "getMenuInflater().inflate(R.menu.menu1, menu); May 24 11:55:10 it's always "R.menu.XXXXX" where XXXXX is the name of the .xml file May 24 12:37:27 im trying to start an activity via intent, my app keeps crashing, exception: 05-24 14:28:58.970: E/AndroidRuntime(13930): java.lang.RuntimeException: Unable to start activity ComponentInfo{tuilm.isa_swp/tuilm.isa_swp.LoginActivity}: java.lang.NullPointerException, does anyone have a hint? May 24 12:39:33 Hi guys , where can i find "source codes" for guess the picture sort of games?, i tried github no luck May 24 12:57:08 does anyone have example code for navigation drawer with multiple activites and fragments? May 24 13:15:17 alt0r, you'll have to add navigation drawer to each activity May 24 13:16:27 Mavrik: i have a mainactivity, all other activities extend the main acvtivity which implements navigationdrawer, wont that do the job? May 24 13:53:56 is it possible to have a ViewGroup as a ListView header added with addHeaderView() ? In my case, adding a LinearLayout header to a ListView always results in this exception: "android.widget.AbsListView$LayoutParams cannot be cast to android.widget.LinearLayout$LayoutParams" triggered in the LinearLayout's onMeasure(), no matter what I do. It works with headers that are not ViewGroups (TextView, May 24 13:53:56 Button, etc). May 24 14:00:10 hi all, i am creating a level editor to put in my game, anyone have any sugestions on what method to use to create somekind of a grip where user call "drag and drop" or press in the grid to change what is in the location of that grid (x/y cords of the level)? idea is to have two sides of the screen left and right where left would be the "map" and right would have list of tiles that can be put in the game. simplesy way would be to be able to drag May 24 14:08:01 hello, when I directly pass a float buffer in open gl in glVertexPointer, I can change this buffers current position, ultimately sharing a vbo for different sets of vertex data. When I bind a buffer directly in memory, if I want to reference vertex data at different positions in the bounded buffer, can I accomplish this? May 24 14:10:03 or would I have to change the buffer on the cpu first, then rebind it again on the gpu, then I guess that would accomplish what I want, just seems I should be able to have some call to change its position May 24 14:55:04 Hey everyone, Let's say I use File.createTempFile() to save a cache file. How can I check for existence or access it later? May 24 14:55:33 File.createTempFile() returns a File May 24 14:58:16 Hello, I am trying to develop with the Android Studio IDE. I am having trouble with Gradle, I get the error: "No resource identifier found for attribute 'showAsAction' in package", how can I correct this? May 24 14:58:34 alexes: Correct, but I the docs say that calling createTempFile() will guarantee "The file denoted by the returned abstract pathname did not exist before this method was invoked" May 24 14:58:50 alexes: So when I want to load the File again, how can I do so? May 24 14:59:19 I'm saving in the cache directory using: getCacheDir() May 24 15:02:06 MarkyC: I'm not sure I'm understanding, but can't you just store the name of the File after it gets created, and use that to load it later? May 24 15:08:24 Would non-square OpenGL textures (such as 1024x512) be fine on all devices? May 24 15:09:03 alexes: I could, but I save these cache files (they're actually serialized objects) with the same name every time, so I don't want to add extra meta data to get the name, I /know/ what the name is May 24 15:18:26 Knowing the name and the directory isn't enough? May 24 15:28:45 how should I implement deletion on a list view? May 24 15:29:01 don't want to do the iOS swipee and delete icon appears May 24 15:29:25 like this, http://stackoverflow.com/questions/20797099/swipe-listview-item-from-right-to-left-show-delete-button May 24 15:31:33 any ideas? May 24 15:33:40 dead. May 24 15:33:55 hey Sicp May 24 15:33:59 hi May 24 15:35:43 Sicp: this should help https://www.youtube.com/watch?v=YCHNAi9kJI4 May 24 15:35:52 I'm gonna do like Hangouts May 24 15:35:57 this is how it should be done I think on Android May 24 15:38:29 hey thanks, that's it May 24 15:41:21 Sicp: want an example? May 24 15:41:44 that code in the video is an example linked to in the comments, but yea sure I'll see another May 24 15:49:51 this is really complicated May 24 15:50:02 shame that I'm going to ctrlA ctrlC it May 24 16:04:03 if I pull this off.. May 24 16:04:08 I would have pulled it off. May 24 16:51:27 all this work May 24 16:52:32 and then I realize that I am using an Adapter that inflates a view to create the list May 24 16:52:47 don't know how to change my layout to fit what he used May 24 16:54:22 hey Sicp May 24 16:54:39 he has a list view, I don't even use a list view, why does he have an adapter then May 24 16:54:51 your not using a listview? May 24 16:54:53 ah, yea you can have an adapter and set that on your list view, yea May 24 16:54:56 no I use table row May 24 16:54:59 ugh May 24 16:55:04 nasty May 24 16:55:06 but I want to be using a list view, with my custom adapter May 24 16:55:10 yes this code is very old May 24 16:55:17 How is the search bar from Google Now made? So that when you scroll down it hides, but the moment you scroll up, it shows May 24 16:55:44 autrilla: its just a scrollistener that sets the translationX of the view May 24 16:56:01 Sicp: so i'm working on an Adapter that does this swipe to reveal a delete May 24 16:56:39 As I haven't achieved the drag and drop ListView reordering, I think it's time to move on :) May 24 16:56:57 nah this should work out May 24 16:57:04 Sicp: already doing it May 24 16:57:29 I just need to feed the list view an XML file to know what itself is, and then in the listView's adapter, I feed it my other XML file so it can know what each of its rows it May 24 16:57:30 is* May 24 16:58:04 Sicp: what kinda action are you expecting after reveal.. ie) touch anywhere other than delete and it slides back to hide the delete? May 24 16:58:10 cause if you notice in his Adapter he doesn't feed it any XML, he just creates it to be able to tell each of its rows that they have an onTouchListener May 24 16:58:11 or will the user need to swipe it back? May 24 16:58:23 nah, it's exactly as you showed in the videos May 24 16:58:25 -s May 24 16:58:28 that's what I want to do for now May 24 16:58:41 so you just want to swipe to delete.. not a reveal? May 24 16:59:17 yea May 24 16:59:21 reveal is more iOS no? May 24 16:59:28 nowhere in Android does that happen May 24 16:59:36 reveal, when it's done, reveals Undo May 24 16:59:38 doesn't really matter, android has never had it May 24 16:59:51 well im doing it now May 24 16:59:54 might aswell post the code May 24 16:59:58 sure May 24 17:03:49 does the emulator bundled with the SDK emulate ARM? or do people generally test on android x86, and the port to ARM? May 24 17:07:19 all of what he showed, I want to achieve in a dialog May 24 17:07:39 so I want to say, mDialog.setCOntentView(R.layout.accounts_list); then find the list view from that layout May 24 17:08:18 this should work, but Im getting that the child already has a parent, Im familiar unfamiliarly with this error, from before May 24 17:08:40 is there a listDialog maybe? May 24 17:09:35 nvm May 24 17:14:25 is it really necessary to install the official "Oracle Java JDK" before installing the Android ADT? May 24 17:14:41 will gcj work? May 24 17:22:01 probably it depends on the environment you are using but i dont see big issues by using the java jdk, you dont need to install it, just extract May 24 17:22:51 it works :) May 24 17:23:23 swipe-to-delete custom list view inside dialog May 24 17:25:16 but now it overrides onItemClick May 24 17:25:17 lol May 24 17:28:14 im back babies May 24 17:28:36 What will the DVM do with my DataSource in an Adapter when the Adapter is killed? Will it kill it too? May 24 17:34:28 what lib do you suggest for rsa/aes encryption+decryption? May 24 17:34:56 maybe keyczar if you want it quick and easy May 24 17:37:09 well, bye May 24 17:37:12 gluck Napalm May 24 17:37:19 aaa? May 24 17:37:23 lol May 24 17:37:23 hang on May 24 17:37:26 forgot to eat May 24 17:37:31 well you coming back? May 24 17:37:41 Ill be online, will leave laptop aside May 24 17:37:52 was that your StackOverflow post? May 24 17:37:56 What's wrong with this: android.database.sqlite.SQLiteException: near "INNER": syntax error (code 1): , while compiling: SELECT categories.* INNER JOIN shoppinglists ON categories._id=shoppinglists._id WHERE shoppinglists._id = 6 ORDER BY shoppinglists.position ASC; ? May 24 17:38:08 the swipe to reveal delete? May 24 17:38:10 no May 24 17:38:22 ah, well i was going to post my answer to that May 24 17:38:35 do anyways, I want to look into that one too May 24 17:38:41 plus free rep May 24 17:38:47 for you May 24 17:40:48 Ah, it's missing the FROM May 24 17:41:18 yea you're gonna need the FROM May 24 17:41:21 heh May 24 17:41:23 LOL May 24 18:00:21 I need help with a variable issue which just presented itself in my app May 24 18:01:05 I have a ListFragment with interface onItemSelected(int position) within which I need to put a listener on a textview, making it load WebView data on click May 24 18:01:06 http://pastebin.com/P98MqcP1 May 24 18:01:09 there is my source May 24 18:01:21 How can I avoid performing certain actions after onSaveInstanceState? When I run my app with my screen turned off, it throws that error May 24 18:01:26 the String variable htmlContent do not work inside my void onClick setOnClickListener method May 24 18:01:28 How can I fix this? May 24 18:02:09 I cant declare the string htmlContent final - because then I get the error message that it may not be declared or something like that May 24 18:02:17 what context should I pass to new Dialog(Context) when using TYPE_SYSTEM_ALERT for drawing a notification while another (associated) app is running? May 24 18:02:21 somehow I need to inject it into the void method May 24 18:02:33 onClick(View v) that void method is May 24 18:03:01 row 28 & 51 in the pastebin doc u can find my string htmlContent May 24 18:03:13 row 80 is the void onClick method May 24 18:03:27 mylord: always pass in your application context.. its only used to resolve theme.. a dialog has IS its own context May 24 18:04:20 Napalm: when I pass in MyApp.getInstance().getApplicationContext I get this error: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application May 24 18:05:02 MyApp extends Application May 24 18:05:36 calling theDialog.show() causes that error, I mean May 24 18:06:40 ah May 24 18:06:46 yea, it needs the token May 24 18:06:54 so it should be the owning Activity May 24 18:07:15 but really a Dialog shouldn't be TYPE_SYSTEM_ALERT May 24 18:08:33 Is it possible to emulate a Huawei Y530? I tried with different emulators in AVD and also setting a custom resolution with Genymotion, but none of them have the same output as the actual deivce. May 24 18:09:12 Napalm, you have any idea how to inject a variable from the method outside of the method I need the variable to be inside? May 24 18:09:26 yes, make it final May 24 18:09:40 but i cannot due to http://pastebin.com/P98MqcP1 that var construction May 24 18:09:49 its the htmlContent i need May 24 18:09:54 to inject into void onClick May 24 18:11:10 the variable is populated with data after its been declared, declaring it final didnt seem to work since it practically was declared null initially May 24 18:11:19 need an alternate approach May 24 18:13:03 Trekka12: have the class that implements your OnItemSelected also implement the click listener and have a private var they can share then May 24 18:13:45 uhm ;/ okay, not sure exactly how u mean May 24 18:14:03 do you mean like having the onClickListener also as a subclass to the mainclass? May 24 18:14:22 If so, I dont understand how that would change anything with the htmlContent variable string May 24 18:14:29 what is onItemSelected from? May 24 18:14:31 it will still be inside of onItemSelected, no? May 24 18:14:40 a ListFragment May 24 18:14:44 interface May 24 18:14:48 for callback May 24 18:15:41 Maybe I somehow could put it inside of sharedPreferences after having had it declared? and then inside the onClick method fetch it? May 24 18:15:46 via getSharedPreferences? May 24 18:15:47 what? May 24 18:15:48 no May 24 18:15:54 your nuts May 24 18:15:54 lol May 24 18:15:57 huh? May 24 18:16:11 you seem to make things really difficult for youself May 24 18:16:13 yourself May 24 18:16:31 I tend to do that unfortunality - habit of lack of proper knowledge I suppose May 24 18:16:43 I dont see any other solution though :/ May 24 18:16:50 sharedPreferences seemed fairly easy imo May 24 18:16:57 how are you using this code you posted May 24 18:16:59 unless Ive missed the whole point of that May 24 18:17:03 post the parent class May 24 18:17:03 Ill post entire May 24 18:17:05 ok May 24 18:17:05 sec May 24 18:17:17 is this like a submission fragment? May 24 18:17:28 explain what your trying to do May 24 18:17:58 http://pastebin.com/DWKqNPWk May 24 18:18:08 That is for the MainActivity May 24 18:18:42 I have XML Layout consisting of a ListView to the left, and then a ScrollView containing textviews and a webview to the right May 24 18:19:09 the ListFragment I seem to have gotten to work properly (and by that I mean no serious coding errors showing up) May 24 18:19:40 I have yet to test the whole app as an app, but I first need to fix this MainActivity handling when an item inside of the list is clicked May 24 18:19:51 to update the data in the right pane of the XML Layout May 24 18:21:45 ok May 24 18:21:49 the apps purpose is to fetch and manipulate XML RSS Feed and create a ListFragment/ListView with the item posts of the feed, and then when clicked in the list, load the contained data into the right pane May 24 18:21:56 you seem to be making this more difficult on yourself then it needs to be May 24 18:21:57 Im new to that area May 24 18:22:00 ok May 24 18:22:12 Id love to hear ideas of improvement :) Im all ears May 24 18:24:16 Napalm: sys alert window isn’t showing up over the foreground app, just the generating app.. how to draw over another app that’s in the foreground? May 24 18:24:38 you need to create your own PopupWindow May 24 18:24:40 you can use a Dialog May 24 18:27:12 Napalm: do I need to craete it from within the foreground app? How does Heyzap draw notification over any game whatsoever, ie, seemingly unassociated apps? May 24 18:27:52 its using a Service with a View added via the WindowManager with TYPE_SYSTEM_ALERT May 24 18:29:13 Napalm, I have this: https://gist.github.com/anonymous/6f6f144b4b010395bdc2 May 24 18:29:35 YOU CANNOT USE A DIALOG May 24 18:29:38 how many times May 24 18:29:48 “Napalm: you can use a Dialog” May 24 18:29:51 oopsy May 24 18:29:53 my bad May 24 18:29:55 typo May 24 18:30:06 k, no worries May 24 18:31:27 What does this query do exactly? SELECT categories.* FROM categories INNER JOIN shoppinglists ON categories._id = shoppinglists._id WHERE shoppinglists._id = 7 ORDER BY shoppinglists.position ASC; May 24 18:32:21 Get all the categories in shopping list 7 May 24 18:32:31 ordered by the position of the shoppinglist May 24 18:32:38 Oh, categories._id is wrong I think May 24 18:32:49 it should be categories.shoppinglistid May 24 18:32:58 yeah, that sounds reasonable May 24 18:54:09 ktwo: i looked at keyczar, but it seems a bit bloated for what i want to do, will this do? http://www.macs.hw.ac.uk/~ml355/lore/FileEncryption.java May 24 18:54:27 i.e. java.security and java.crypto May 24 19:09:32 how can i create a webview floating above app in a way that doesn’t involve me changing the app’s xml layout etc? May 24 19:09:51 mylord: AlertDialog with setView May 24 19:09:57 aton`, well you asked for a lib, sure the one you posted will do the job but its way more complex to handle it right , especially if you sometimes need RSA and sometimes AES May 24 19:10:19 mylord: but it will take focus from the app until dismissed May 24 19:17:16 thepooch: how can i send events onto the current activity of the app without altering the app code? May 24 19:31:19 its not about "sometimes aes and sometimes rsa" its about encrypting an aes key with rsa May 24 19:31:49 cause rsa block size is pretty limited May 24 19:32:20 ktwo: ^ May 24 19:39:10 hello everybody May 24 19:47:52 I need help with sqlite databases May 24 20:13:10 any help here? https://gist.github.com/anonymous/7b7d57fe88496da518c0 May 24 20:13:19 thepooch, Napalm? May 24 20:39:26 I just made the most noobish mistake ever May 24 20:39:27 EVER May 24 20:39:35 Comparing strings with == May 24 20:41:39 If I delete the parent item of another item, should I delete all references to it on SQLite? May 24 20:42:09 Dumb question May 24 20:42:15 The answer is yes May 24 20:47:15 so much hate... https://parse.com/questions/how-to-avoid-exception-this-query-has-an-outstanding-network-connection May 24 21:09:02 is there a standard or widely used coroutine library for android/java? May 24 21:16:01 trying to do something like this: May 24 21:16:04 https://www.irccloud.com/pastebin/oq4Lm7Rg May 24 21:21:12 ie, just trying to load items into a listview with a textbox and an "add" button May 24 21:22:54 adymitruk: your insert() is capitalized May 24 21:23:30 also, it should be insert(object, index) May 24 21:26:08 Mango_Man: the insert is something that is not there May 24 21:26:35 adymitruk: what do you mean May 24 21:26:36 I'm wondering how to use a listview in the most simple way May 24 21:27:07 adymitruk: ? just use one May 24 21:27:21 adymitruk: it might be that you haven't set an adapter May 24 21:27:42 no, I have not May 24 21:27:47 how do i set one May 24 21:28:00 listView.setAdapter May 24 21:29:57 When you download an APK from Google Play, do you get the drawables for all resolutions? May 24 21:30:03 densities* May 24 21:31:20 can someone help me with sqlite db May 24 21:31:31 http://developer.android.com/training/basics/data-storage/databases.html May 24 21:31:57 im trying to figure out where to put all these classes at May 24 21:32:29 ia9371: if you don't absolutely have to, use sharedpreferences or json on disk May 24 21:33:58 json on disk May 24 21:34:29 why cant i just use whats in the android dev site May 24 21:34:35 thats what it says May 24 21:35:19 ia9371: sqlite is perfectly fine, but from my experience it's a huge mess May 24 21:35:37 you get like 1k lines of hard to read code May 24 21:36:06 where do I put all these classes and methods May 24 21:36:17 on http://developer.android.com/training/basics/data-storage/databases.html May 24 21:36:24 in mainactivity May 24 21:36:49 kinda your call May 24 21:37:05 sqliteopenhelper is its own class May 24 21:40:18 my Debian dosne't see my device via fastboot(it's in bootloader mode) May 24 21:40:29 it's Galaxy Nexus GSM (maguro) May 24 21:43:37 Is there any Android browser which will support the autoplay element in HTML? I have written a music player in Javascript that I'd like to use on my tablet. May 24 21:54:36 is it a good idea to host your app's images on imgur? May 24 21:55:10 no May 24 21:56:44 autrilla: any suggestions? parse's free plan has a pretty small quota May 24 21:56:59 Get a VPS May 24 21:57:05 DigitalOcean for example May 24 21:57:36 but my vps has a pretty small quota too May 24 21:57:43 Napalm, it was you who explained how the google now search bar worked, right? May 24 21:57:50 Mango_Man, then use DigitalOcean May 24 21:57:52 Or get a dedi May 24 21:58:35 well, lemme check May 24 21:59:19 autrilla: yes May 24 21:59:32 Napalm, what layout should I put it in, FrameLayout? May 24 22:01:21 500 gb per month, for an app that hits the network for ~300x500 images May 24 22:01:37 i wonder if that's enough May 24 22:11:07 Hi, I enabled debug mode on my S2. I'm on a Mac laptop. Well, I am packaging using virtualbox and it says device not found, waiting on device. What do I do? May 24 22:21:28 autrilla: why do you think it's a bad idea to host on imgur? seems perfectly okay to me May 24 22:21:48 Mango_Man, because you depend on them May 24 22:24:42 autrilla: hmm, that doesn't bother me too much. May 24 22:24:52 though if anything, i'll just keep images on parse for now May 24 22:25:21 Also, https://imgur.com/tos May 24 22:25:29 don't use Imgur as a content delivery network. May 24 22:59:24 http://pastebin.com/WUPdgnnv okay help May 24 23:01:24 using kivy? ooh May 24 23:02:45 yup May 24 23:02:47 jennifer: maybe try creating an android vm? May 24 23:02:52 don't use your connected s2 May 24 23:03:11 Why not use my connected S2? :( May 24 23:04:05 are you following kivy installation steps somewhere? maybe i'll try it out and see what goes wrong May 24 23:04:09 i have an s2 myself May 24 23:04:46 Yes one minute. May 24 23:05:41 Start here: http://kivy.org/docs/guide/packaging-android-vm.html#kivy-android-vm May 24 23:06:54 http://kivy.org/docs/guide/packaging-android.html#packaging-your-application-into-apk I am up to this part. So it says that it will install to the first connected device which should be my S2. May 24 23:09:20 k currently downloading the vm, should take 8 minutes or so May 24 23:09:44 Ok. May 24 23:09:59 also, if you want it'd be easier to just write android apps in java May 24 23:10:42 :( May 24 23:10:45 really? May 24 23:10:56 Not only do I not want to learn Java, I want to develop for iOS too. May 24 23:11:13 And I spent a year or two learning Python and C++. May 24 23:11:24 I feel too demotivated atm to learn Java. May 24 23:11:33 I just want this to work. If others can get it work, so can I. Just gotta figure out how. May 24 23:12:57 hmm, developing for both? usually there'd be design considerations for each May 24 23:13:26 python is awesome though, i'll see if kivy is any good May 24 23:13:44 Kivy is supposed to be really good, I have developed / modified some Kivy apps with it. May 24 23:13:56 But now I want to upload said apps to Android first, then iOS. May 24 23:14:01 So I'm stuck at the Android step. May 24 23:17:06 woot, finished downloading May 24 23:18:39 is it necessary to have a web site to put an app on google play? May 24 23:18:55 no May 24 23:19:15 thanks Mango_Man May 24 23:19:22 though it'd be nice as a landing page May 24 23:20:25 Also, is there a list of app requirements, eg network access, storage etc, that one must list when listing an app? May 24 23:22:00 BWestOz: yep, those go in your manifest May 24 23:23:43 When you're putting an app on google play store do you have to enter them somewhere or does it do it automatically? May 24 23:25:13 BWestOz, you should look up the Google Publisher checklist. May 24 23:25:19 It'll tell you what you need to do to publish your app. May 24 23:26:22 I've looked through that. I'm just trying to clarify a few bits and peices May 24 23:26:51 Mango_Man, are you getting it up and running? May 24 23:27:07 jennifer: yep, currently going through the readme in the vm May 24 23:29:57 Is the Google Play $25 developer fee a one off fee? May 24 23:30:45 Yearly fee I believe. May 24 23:30:48 Or one time fee. May 24 23:31:59 that's what I'm trying to clarify May 24 23:32:42 I hope $25 isn't too much to you. May 24 23:37:08 building this kivy distribution is taking forever May 24 23:40:02 Heh, old computer? May 24 23:40:41 nope, pretty beefy actually. it might just be the fact that it's a vm May 24 23:41:18 ok i see your original error May 24 23:41:37 hmm May 24 23:43:13 :'( May 24 23:44:05 i think you need to create a shared folder so that the apk is visible on your mac. then everything should be fine May 24 23:45:01 No. May 24 23:45:02 That won't help. May 24 23:45:03 I tried. May 24 23:45:11 Well, I didn't, but I know that's not the problem. May 24 23:45:24 Besides, I dunno how to get it to just build the apk without installing it to a device. May 24 23:45:46 I can hit ctrl+c there and go to the file to fetch it myself but when I do I see files ending in .ap_. May 24 23:45:51 Which makes me think the package isn't completely built. May 24 23:46:38 i see touchtracer-debug.apk May 24 23:46:41 that should be fully built May 24 23:47:22 How do you know? May 24 23:47:31 I dunno how to test it.. can you please test it? May 24 23:47:36 yep, i'll test it May 24 23:51:08 one sec, having some trouble setting up a shared folder May 24 23:51:25 I'll cry if you need shared folder. May 25 00:03:20 Mango_Man, you know, worse come to the worse, I can just upload the apk file to dropbox.. May 25 00:03:22 What's wrong with that idea? May 25 00:03:50 just got the apk out of the vm 2 minutes ago May 25 00:04:10 Via shared folder? May 25 00:04:14 yep May 25 00:04:49 Okay.. May 25 00:04:58 so you have apk, now you're gonna upload it to your S2? How do you do that? May 25 00:05:21 adb install touchtracer.apk May 25 00:05:28 also, it crashed on my s2 May 25 00:05:33 lame May 25 00:05:38 What.................. May 25 00:05:51 I don't understand, adb from your host or virtual? May 25 00:06:05 adb on your host May 25 00:06:07 If host, is it Mac? Do I need to install adb on Mac too? :( May 25 00:06:21 nope, you could always copy it over to your device manually May 25 00:06:30 and install that way May 25 00:06:39 Well. That sounds infinitely easier, why don't you do that? May 25 00:06:57 i have it installed on my s2 already May 25 00:07:11 though touchtracer crashes May 25 00:07:26 time to use pidcat May 25 00:09:15 * jennifer prays for Mango_Man. May 25 00:12:19 argh, i guess it won't work May 25 00:12:48 it says "SDL wrapper failed to import" May 25 00:13:25 do you have a pre-prepared apk? maybe i could try that May 25 00:13:31 or you could try it on your s2 May 25 00:26:07 jennifer: anyway, my conclusion is that kivy is a mess, even though python is awesome. it's too hard to setup, and having all these dependencies means something's guaranteed to go wrong May 25 00:32:22 NOOOOO! May 25 00:32:24 mango man! May 25 00:32:26 :( May 25 01:09:58 I'm impressed at how tourist friendly it is here, free sims with a 50c credit at the airport May 25 01:28:24 Hello is there a way to copy files into internal app space without root? May 25 01:56:44 hey May 25 01:57:25 hey. May 25 01:58:49 pfn where? May 25 01:58:49 I don't know if this is the right place to ask but , need income of some sort ,was thinking of programming a an app,can I teach myself enough java in 2 months to do something that will bring me around 1 k ? May 25 01:59:47 * Fenny offers Westen one kilobyte. May 25 02:06:28 if i wanted to wait for a camera intent to finish before finishing the function that called the intont May 25 02:06:32 how would u go about doing that? May 25 02:10:10 call the intent for a result? May 25 02:14:58 well that would just make it call back the onActivityResult function May 25 02:15:19 no? May 25 02:26:39 Yes, but you can set a stateful variable and loop until it is complete, jaspertheghost. May 25 02:26:55 I don't think you want to do it that way though, jaspertheghost. May 25 02:27:20 its the only way i knowhow to make javascript interface in a web view wait for the camera to be done taking a picture May 25 02:28:37 and even then I'm still not sure its working May 25 02:28:43 trying to test this out now... May 25 02:29:05 if u can think of a better way I'm all ears May 25 02:30:09 Something like: boolean isTakingPicture = true; StartActivityForResult(blabla); while (isTakingPicutre) {Sleep(blabla);} //TheRestOfYourCode May 25 02:31:38 i was using a while loop to do that so yea May 25 02:32:01 // while (imageReturnedSuccess==null) { May 25 02:32:02 // } May 25 02:32:26 You should put some sort of sleep in the loop May 25 02:32:36 You CPU usage would go crazy otherwise. May 25 02:35:18 ok May 25 02:37:39 now i gotta figure out why some query .append I'm doing in JS isn't working in a webview May 25 02:37:42 but is working in firefox May 25 02:37:51 and its works in the default browser on the android... May 25 02:44:27 mWebView.setWebChromeClient(new WebChromeClient()); how comparable is this with older verions May 25 02:53:35 anyone wnna take a guess as to why query .append doesn't work? May 25 02:57:24 nvm... May 25 02:59:12 still not working May 25 02:59:27 what does "not working" mean? **** ENDING LOGGING AT Sun May 25 02:59:58 2014