**** BEGIN LOGGING AT Fri May 22 02:59:58 2015 May 22 03:01:45 pfn, there is this http://stackoverflow.com/questions/10827520/how-to-get-the-ip-address-of-a-system-using-android-phone May 22 03:02:11 but that requires you to connect to a router with a pc also on the network May 22 03:03:48 why am i getting: Error:(92, 21) error: cannot find symbol method setText(String)??? this is the relevant code: http://paste.ofcode.org/FhbAknAZkewfJjNPypyQ6Y May 22 03:04:00 i have import android.widget.TextView; May 22 03:04:05 if i cant do it with arp, how about grabbing all incoming data packets, also the idea is to connect directly to the camera May 22 03:07:06 luist: relativelayout + android:alignParentLeft May 22 03:07:26 luist: `aboutVersion` is a View, not a TextView. May 22 03:07:42 oh May 22 03:07:47 thats right :P May 22 03:07:56 i should get some sleep May 22 03:15:16 luist: On a side note, it's sensible to specify 'private' field accessibility by default (as opposed to package-private, the default). May 22 03:17:42 TacticalJoke: i dont get it :) May 22 03:20:32 For example, `View vw_layout;`. That's package-private, meaning that it's visible to the entire package. The typical thing is to use `private`. May 22 03:21:03 to be visible inside the class only? May 22 03:21:19 Yeah. May 22 03:21:33 is that good for some reason beside make people better programmers? lol May 22 03:22:39 It's like putting sharp items in drawers before the kids come home from school. May 22 03:24:11 onSaveInstanceBundle is called before the activity is destroyed right? May 22 03:24:38 you make it sounds very dangerous lol May 22 03:26:13 well i still need to find out how to clear all athentications from the xwalk webview May 22 03:26:36 aspire: As long as the Activity is not finishing for good, it should be called before onDestroy. May 22 03:26:42 I think it's usually called a moment after onPause. May 22 03:28:13 TacticalJoke, right May 22 03:28:17 im just sort of confused how this works May 22 03:28:46 i have an activity that starts a service and binds to it - when i press the home key (to leave the activity) i know the service is still running May 22 03:29:01 because the service puts a notification in the notification bar and the notification isn't dismissed May 22 03:29:23 which should be enough indication that my service is still running (which i know for a fact that it is). when the notification is pressed i want to open the activity back May 22 03:29:55 and i am just confused what to do with starting the service and binding to it again May 22 03:29:56 Anyone know of / used a gooey logcat? May 22 03:29:58 *gui May 22 03:30:01 do i need to bind to the service again? or is it already bound May 22 03:30:17 aspire, start a service means its started. bound means you can return a binder (which can be the service itself) May 22 03:30:31 lasserix, right i got that part down its just that May 22 03:30:43 is my activity still bound to a service when i leave the activity (via pressing the home key) May 22 03:30:49 if you bind to a service that is not running, it'll start it, but it will also stop it if you unbind (and you are the only one bound, if not, it'll stop when the last client unbinds it) May 22 03:31:01 o.. May 22 03:31:03 only if you unbind in onpause May 22 03:31:15 you can also start and stop a service, manually May 22 03:31:21 yeah May 22 03:31:26 mhmm ok i am going to test this May 22 03:31:26 if you start a service before binding to it, then unbinding will not stop it, you have to manually stop it May 22 03:32:09 eeek i have some code in my activity's onDestroy which unbinds and stops the service May 22 03:32:22 but it's weird because the service is actually still running - which means that onDestroy must not be getting called May 22 03:33:09 yeah May 22 03:33:16 ondestroy is not called when you press home May 22 03:33:19 home button = minimize May 22 03:33:22 so that means my activity is still bound to the service May 22 03:33:23 back button = quit May 22 03:33:23 right? May 22 03:33:26 o... May 22 03:33:27 yeah May 22 03:33:35 home button = minimize = onpause, usually onstop May 22 03:33:37 gah so i have a static boolean in my service class called running May 22 03:33:46 back button = quit = onpause, onstop, ondestroy May 22 03:33:48 if(!Service.running) start service + bind May 22 03:33:52 right? May 22 03:34:03 it depends May 22 03:34:10 do you want the service to stop when you unbind? May 22 03:34:21 then don't manually start it, just let the binding take care of it May 22 03:34:22 i don't want to unbind at all actually haha May 22 03:34:39 its not meant to run as a background service - it is only meant to run while my activity is running May 22 03:34:48 when you quit the activity - the service stops May 22 03:34:55 unless you have a reason forhaving the service run independently of the app don't start it manually if you are binding May 22 03:35:03 yeah May 22 03:35:09 mhmmm May 22 03:35:10 then in onstart bind and in onstop unbind May 22 03:35:19 right May 22 03:35:27 the only thing that is throwing me off about this is that onCreate is called again May 22 03:35:40 oncreate? May 22 03:35:45 yeah May 22 03:35:52 when? May 22 03:36:08 it gets called when i press the notiifcation (which starts the activity again) May 22 03:36:39 even if it is already started? May 22 03:36:55 yup May 22 03:37:13 start the activity - press home key - press notification -> onCreate is called again May 22 03:37:25 i looked at http://stackoverflow.com/questions/4300291/example-communication-between-activity-and-service-using-messaging which is extremely helpful May 22 03:37:41 anyone know whats the best way to design GUI with java? #java is being more than useless May 22 03:38:04 then i think your activity needs to be configured properly May 22 03:38:25 don't use a gui builder May 22 03:38:33 trust me :p May 22 03:39:41 lasserix, what happens when you try binding to a service you are already bound to? May 22 03:39:42 nothing happens? May 22 03:39:55 onstartCommand may be called again i can't recall May 22 03:40:04 lasserix designing gui with java ? May 22 03:40:05 aspire: i think a new activity is being created May 22 03:40:07 http://stackoverflow.com/questions/28480017/android-notification-starting-new-instance-of-activity-no-matter-what-the-launch May 22 03:40:14 g00s yeah was thinking of making a gooey logcat May 22 03:40:30 good project for this weekend May 22 03:40:36 mhmmm May 22 03:40:42 lasserix oh. i guess javaFX May 22 03:40:57 aspire: your notification is starting multiple activity instances May 22 03:40:57 That could be a fun project. May 22 03:41:01 but ... spinning up a jvm for lolcatting is kinda heavy May 22 03:41:02 Also easy to create something good. May 22 03:41:07 TacticalJoke: yeah May 22 03:41:14 lasserix, eh May 22 03:41:23 g00s on modern hardware? really? May 22 03:41:33 aspire: ? May 22 03:41:41 In case you're into a CLI interface, a lot of people like pidcat, though I personally haven't tried it yet. May 22 03:42:04 im going to test this and see if i run into problems May 22 03:42:08 lasserix also look at multitail for all kinds of crazy ideas May 22 03:42:33 g00s this? http://www.vanheusden.com/multitail/ May 22 03:42:39 lasserix yeah May 22 03:43:01 TacticalJoke:i want to do things like sort on columns and other nonsense May 22 03:43:12 Yah, that'd be cool. May 22 03:43:35 The documentation says "[onDestroy] can happen either because the activity is finishing (someone called finish() on it, or because the system is temporarily destroying this instance of the activity to save space". Does this mean that we get onDestroy if an app is running in the background and Android is killing all the visual components (but not the process)? May 22 03:43:46 (Referring to the 'or' part.) May 22 03:43:54 i was also thinking of using chrome but i think those are written in javascript May 22 03:44:02 groxx: are you around is that true do youi know? May 22 03:44:37 TacticalJoke: what are you asking? May 22 03:45:11 If my app is running in the background for a long time and Android destroys the activities to reclaim RAM, will I get onDestroy for the activities? May 22 03:45:25 no May 22 03:45:39 Yeah, I didn't expect so. May 22 03:45:45 I wonder what this means, though: "or because the system is temporarily destroying this instance of the activity to save space". May 22 03:46:17 At first I thought they meant screen rotations, but who knows. May 22 03:46:54 TacticalJoke theoretically, if your app is in the FG then it might destroy those activities on the stack May 22 03:47:58 Would I get onDestroy in that case (foreground)? May 22 03:48:20 yes if i recall May 22 03:51:11 TacticalJoke set 'dont keep activities' in dev opts May 22 03:54:25 lasserix: I've never seen it happen, but that's all I can claim May 22 03:54:35 ? May 22 03:54:40 Ah, true. May 22 03:54:44 didn't you make a chrome based android thingy? May 22 03:55:35 On a side note, I'm not sure that the scenario I described above is even possible (app in background; Android destroys all activities but doesn't kill process): https://commonsware.com/blog/2011/10/03/activities-not-destroyed-to-free-heap-space.html May 22 03:57:27 lasserix: ooh, sorry, wrong message. rereading. May 22 03:57:34 and busy :| May 22 03:58:56 Ah, that's interesting -- with "Don't keep activities", when I open a new activity in front of the main activity, I get onPause with !isFinishing, and then I get onDestroy. So there's a simple case of the kinda thing I was wondering about. May 22 03:59:28 (i.e., an onDestroy after an onPause without isFinishing being set.) May 22 03:59:51 lasserix: OK, no, I'm confused. what's the question? May 22 04:00:59 TacticalJoke: interesting. I hadn't noticed that !isFinishing thing May 22 04:01:37 TacticalJoke: but yeah, outside DKA I don't actually think it happens. nor will it ever - it would break too many apps in horrific ways. May 22 04:02:57 Ah. The reason I'm asking all this is that I have some clean-up code in onDestroy, but I'd much rather put it in onPause { if (isFinishing()) { ... } }. But I'm not sure I can justify it. May 22 04:03:06 It's unregister-me-from-the-event-bus kinda code. May 22 04:03:24 (We-might-leak-an-Activity-otherwise code.) May 22 04:03:29 it should go in onStop May 22 04:03:53 TacticalJoke: I'd just match the when-registered time. if onCreate, then onDestroy May 22 04:04:14 Yeah, registering in onCreate. May 22 04:04:27 register in onStart :) May 22 04:04:42 I find it's almost always either correct, or leads to more correct organization. not 100%, but close :) May 22 04:04:50 g00s: The issue then is that I might miss some events (because of my setup). May 22 04:05:01 how can i make sure that my app has instantiated a webview before calling CookieManager.getInstance() ? May 22 04:05:07 TacticalJoke what kind of events ? May 22 04:05:10 Something could happen between onDestroy/onStop and onStart, for example. May 22 04:05:16 Downloads. May 22 04:05:20 (UI-related.) May 22 04:05:54 There's no risk of missing anything between onDestroy and onCreate when it comes to screen rotations (since they are guaranteed to be together in the message queue), so I'm happy with that idea. May 22 04:06:39 those kinds of assumptions lead to very brittle code May 22 04:07:09 groxx oh maybe it wasn't you someone was showing some android tool they made that worked as a chrome (plugin/extension) May 22 04:07:20 but i believe all chrome extensions are javascript May 22 04:07:24 i was just wondering if that was the case May 22 04:07:39 TacticalJoke: whata re you doing>? May 22 04:12:37 lasserix: ah. I modified the systrace tool's viewer lately. I have made chrome extensions before though, and done quite a bit of web work May 22 04:14:26 The thing I'm relying on is documented: "A new instance of the activity will always be immediately created after this one's onDestroy() is called. In particular, no messages will be dispatched during this time (when the returned object does not have an activity to be associated with)." May 22 04:14:33 http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance() May 22 04:14:44 Also Alex Lockwood talks about it in a few posts. May 22 04:15:09 e.g., "If the task were to complete concurrently in the background between onDestroy() and onCreate(), it would need to enqueue an event to be dispatched on the main UI thread's message queue. Since onDestroy() and onCreate() will have already been placed on the MessageQueue, it isn't possible to deliver the results in between these lifecycle events." May 22 04:15:35 gross :) May 22 04:15:45 I don't see what's gross about it. :D May 22 04:15:58 There's no other way to solve my exact problem, I think. May 22 04:16:59 90% of my app lives in service / datalater - activities & fragments just report whats going on May 22 04:17:30 Yeah, I can see how services would help here. I just can't justify that to myself for a reddit app (because my downloads are all UI-focused). May 22 04:17:41 Maybe the uploads could justify a service (I dunno). May 22 04:17:56 I am trying to make a simple toolbar but it won't align to the top of my screen? I have a toolbar right there in the layout and there is a border around it. Do I need android:layout_alightParentTop? May 22 04:18:12 if you are downloading, yeah that should be in a service. and the result should go into some datalayer the UI can just pick up whenever May 22 04:18:16 I feel like this is a simple problem but I haven't found anything on google, or at least I don't know what to google May 22 04:18:17 bilb_ono: You shouldn't need that. I guess post the XML. May 22 04:19:22 https://bpaste.net/show/1029fd13cc84 May 22 04:20:20 Where is the toolbar appearing (I've never tried setting a single View as an Activity's content)? May 22 04:21:25 g00s: Here, though, the worst-case scenario is that I miss a download. But that'll happen only if my activity dies (in which case I'm happy to miss the download). May 22 04:21:34 I can see some advantages to services, but not using them seems so much simpler to me. May 22 04:21:46 services are so simple ... May 22 04:21:52 bilb_ono: you need to include the full xml May 22 04:21:56 https://bpaste.net/show/c39700b2cd22 May 22 04:21:56 the binding bs is pita but you don't need that May 22 04:21:59 specifically the parent of the toolbar and its parent May 22 04:22:16 bilb its all that padding May 22 04:22:18 in the relative layout May 22 04:23:00 TacticalJoke: downloading like files you mean? May 22 04:23:02 ahhhh im an idiot May 22 04:23:10 thanks lasserix and TacticalJoke May 22 04:23:23 lasserix: Just reddit stuff (posts, comments, whatever). May 22 04:23:23 TacticalJoke: you should def put downloading of files and big images in a service May 22 04:23:32 for your UI May 22 04:23:34 right? May 22 04:23:40 Yeah, just UI stuff. May 22 04:23:48 oh ok then service is overkill May 22 04:23:49 I want the downloads to fail if the UI goes down, though. :) May 22 04:23:58 I don't want greater priority. May 22 04:24:01 well you could use a service May 22 04:24:06 just send it a message to cancel May 22 04:24:22 Sorry, I mean "if the app is killed when running in the background". May 22 04:24:33 The data I'm downloading is (a) not important and (b) tied to a UI. May 22 04:25:09 I was thinking of using a service for posting reddit comments (because that's not tied to a UI). May 22 04:25:11 sorry i dont see the problem May 22 04:25:20 you can use intent service May 22 04:25:25 just send a message on complete May 22 04:25:28 to upload May 22 04:26:10 Yeah, I was thinking of that for uploading. May 22 04:27:32 TacticalJoke: oh yeah, I love guarantees like that. they make lifecycle management easy. May 22 04:27:51 and there are so few documented guarantees :| May 22 04:28:46 Yeah, I was surprised this was documented. May 22 04:28:53 TacticalJoke are you using support fragments ? May 22 04:29:14 I'm not using fragments yet (hopefully at all :D). Though I will use support fragments if I end up using fragments. May 22 04:30:04 I'll have to research services more (since I'm not very knowledgeable about them). May 22 04:30:10 TacticalJoke: how do i remove actionbar from a AppCompatActivity subclass? May 22 04:30:20 Theme.AppCompat.NoActionBar. May 22 04:31:01 I just set it for my entire app. May 22 04:32:00 How many years do you think it will take before everyone is using the native Toolbar? May 22 04:33:46 Hardly anyone supports pre-honeycomb so maybe 4 years May 22 04:34:35 I suspect that people'll be using ActionBar till the death of Android. May 22 04:35:15 TacticalJoke: jesus! why people don’t create a organized styles file May 22 04:36:08 TacticalJoke: I'm not saying they won't use an ActionBar. May 22 04:36:22 when everyone will switch to android.app.Toolbar May 22 04:37:26 surf2b1: i am working on a app that was rewritten from scratch last month…. and they used actionbar May 22 04:37:52 ActionBar = Toolbar on Lollipop May 22 04:37:52 lasserix, i set my activity's launchMode to singleInstance :p May 22 04:38:18 javafx uses css nice May 22 04:38:51 aspire: nice May 22 04:39:30 didn't have to worry about restoring everything so it's all good May 22 04:45:07 wtf why does intellij not have inline updating May 22 04:45:11 so f--cking primitive May 22 04:45:49 Inline updating for what? May 22 04:47:33 version May 22 04:47:44 you have to quit uninstall previous version and reinstall May 22 04:47:58 "Update Available" "Kill me?" May 22 04:48:23 I get updates for AS. Haven't tried IntelliJ lately, though. May 22 04:50:15 I am removing Status bar and title bar in android device but whenever I am running the root command my whole device locks to the lockscreen , it is a bad UX for users , can i override the lock screen after my command ? May 22 04:51:43 Not sure if app-dev question or android-root question. May 22 04:52:33 chinu_: what is the shell command you are running? May 22 04:54:17 surf2b1 : rootManager.runCommand("service call activity 42 s16 com.android.systemui"); May 22 04:56:34 chinu_: are you trying to restart com.android.systemui? May 22 04:57:04 If so, you need to restart it right after you run that command with "am startservice -n com.android.systemui/.SystemUIService" May 22 04:57:23 surf2b1 : No , When I am running this command it refreshes the whole UI of the device and removes the status bar and title bar but it also send me to the lock screen part and after unlocing my app starts May 22 04:57:49 try running the shell command I posted right after you send the first command May 22 04:58:00 Is it possible to override the lockscreen just after this stage ? May 22 04:58:18 restart com.android.systemui ? May 22 04:58:38 should I run this just after my first command ? surf2b1 May 22 04:58:50 chinu_: yes May 22 05:03:00 is it a poor programming practice use callbacks in java or just a programming style? May 22 05:03:55 ventura: no, but you should consider an EventBus. https://github.com/greenrobot/EventBus https://github.com/square/otto May 22 05:05:22 TacticalJoke oh oh, reddit is down :) May 22 05:05:27 surf2b1: i didn’t know this exist. thx. usually i implement my event handler manually May 22 05:06:04 i am dealing with a pyramid of doom: 4 levels of callbacks May 22 05:06:24 ventura -> interface = callback May 22 05:06:39 overusing them is probably ppor programming practice May 22 05:06:52 ventura callbacks are fine. you can use rxjava to create a chain May 22 05:07:17 g00s: I was worried my app was broken. Another app on my phone is working fine. ;o May 22 05:07:35 Okay, weird. Down in browser too. May 22 05:07:36 TacticalJoke so now is a good time to test your app May 22 05:07:45 make sure it handles emergency downtime :D May 22 05:07:48 g00s: this is not my code. only adding features to it and i can’t change the arch :-\ May 22 05:08:01 and presents UI to user that its not the app, but reddit is down in emergency May 22 05:08:16 Okay, never mind: the other app was reading from a cache. May 22 05:08:21 That is insane, though. It caches everything. May 22 05:08:33 TacticalJoke thats smart, in this case ... May 22 05:08:36 lol May 22 05:08:43 The cache is from weeks ago, though. :D May 22 05:08:47 always surprises me that lighters survive the washingman just fine May 22 05:08:49 g00s: for example, no service or intentservices are used to https requests May 22 05:08:54 The app drives me crazy: every time I open it, it takes about 200MB. May 22 05:08:58 And my phone is running out of space. May 22 05:09:23 your app? May 22 05:09:27 Nah. May 22 05:09:35 ventura then i dont see how event bus will help you May 22 05:09:37 My app is very minimalistic in its caching. May 22 05:09:37 oh the other reddit app May 22 05:09:50 yeah seems kinda pointless to cache too much May 22 05:09:50 My app's philosophy is that nobody cares about old reddit stuff. :D May 22 05:09:55 yeah exactly! May 22 05:10:17 I should send it to you again soon, lasserix. May 22 05:10:19 do you h ave a stable build? May 22 05:10:21 hehe May 22 05:10:21 It's a whole different app now. lol May 22 05:10:25 jinx! May 22 05:10:27 It's pretty stable. :D May 22 05:10:32 please do May 22 05:10:37 g00s: no fragments, no services, no material design, no content provider May 22 05:10:39 Thanks! May 22 05:11:30 What do we do now that reddit is down? May 22 05:11:44 now that ive seen most of the app ideas on my stack have been developed guess i should jump into making some of the games before those get somehow made May 22 05:11:46 we stop wasting time :) May 22 05:11:53 \o/ May 22 05:11:55 sleep? May 22 05:12:01 i had an idea for a sheep dog game and someone made it like down to the last detail of what i had in mind May 22 05:12:26 TacticalJoke: we beat our flappy bird score May 22 05:12:33 what what May 22 05:12:33 Wait, people still have that? ;o May 22 05:12:39 I lost my copy. :\ May 22 05:12:52 I guess there are clones now. Hmm. May 22 05:13:02 droves of clones May 22 05:13:20 TacticalJoke but if reddit is down, your app shows no content? or some at least ? May 22 05:13:20 i want minimal apps that help you be a smarter person May 22 05:13:26 i dont see too many that quite get it right May 22 05:13:35 It just shows "reddit is down" so far. :D May 22 05:13:43 If they force-refresh (and bypass the cache). May 22 05:13:45 you should add pong or something May 22 05:13:46 http://www.bigfishgames.com/games/2235/elf-bowling-7-17-the-last-insult/ May 22 05:13:52 Maybe I could add Flappy Birds. May 22 05:13:53 hehehe - i love that game May 22 05:14:23 capella: except the elves should have facial expressions May 22 05:14:29 like the space game can't remember the name May 22 05:14:40 weebils or something May 22 05:14:48 that, or I'm currently looking at http://cl.ly/image/3r0p2X110m3V May 22 05:14:54 the elves should be like --- oo OOO AHHH! May 22 05:15:14 find copy of flappy bird -> decompile and add your admob id -> publish to the masses -> profit May 22 05:15:23 don't do that. it's evil May 22 05:15:50 reddit is back. May 22 05:16:03 have anyone implemented an oauth authentication flow and backend service? May 22 05:16:10 Unless my app has some really weird bug. May 22 05:36:44 \o g'night all, I'm off for the evening May 22 05:39:04 ok May 22 05:39:08 :) May 22 05:39:25 gnight groxx , don't let the android bugs bite :) May 22 05:44:29 g00s: it's far too late for that May 22 06:01:54 * TacticalJoke reads groxx a bedtime story. May 22 06:02:28 What screen size does the Nexus 5 report to Android? May 22 06:05:49 xlarge? May 22 06:22:26 barq: almost definitely not. xlarge is tablets, right? May 22 06:23:34 and not all, mostly those 10" May 22 06:24:51 groxx: xlarge screens are at least 960dp x 720dp according to http://developer.android.com/guide/practices/screens_support.html. The N5 has 1920x1080 pixels and 445 dpi. So roughly 690dp x 288dp May 22 06:25:08 388* May 22 06:25:25 So that would b normal screen then if normal screens are at least 470dp x 320dp May 22 06:26:08 If I understand this correclty that is. May 22 06:28:49 physical size and dp are not one to one May 22 06:29:17 that is why you are supposed to use -w and -sw suffixes these days May 22 06:34:27 the FAB in iosched 2015 looks messed up May 22 06:37:10 What do you folks think about an event bus using WeakReferences instead of requiring unsubscribing? Is that a bad idea? May 22 06:37:33 (I guess one issue is that, AFAIK, collection is non-deterministic with WeakReferences.) May 22 06:41:00 lasserix: I thought the formula for conversion was px = dp * (dpi / 160). Which means that if the N5 has 445 dpi, 1dp = 2,78125px. May 22 06:41:16 i haven't used weakrefs anywhere; dont use event bus either anymore TacticalJoke May 22 06:41:53 Ah, okay. May 22 06:41:56 man, on google Keep, who's dumbass idea was it to have white text with a light yellow bg ? May 22 06:42:10 I wonder whether I'll end up drinking the Rx Kool Aid. :D May 22 06:42:17 Maybe when I'm using Kotlin. May 22 06:49:42 "Fine particulate air pollution linked to risk of childhood autism", hmm ... interesting. there are clusters in CA, wonder if they correlate to high pollution areas May 22 06:51:42 IE explorer usage linked to murder rate. May 22 06:56:46 barq at the moon :) May 22 06:57:00 ? May 22 06:57:16 bbq at the moon? May 22 06:57:19 is he a mawg? May 22 06:57:55 ( part man, part dog .... he's his own best friend :p ) May 22 06:58:05 lol May 22 06:58:17 heh - spaceballs joke May 22 07:01:26 Is my calculation for the N5 correct, though? May 22 07:18:53 Does anyone know C/C++, Computer Vision/Image Processing, Machine Learning, AI, linux systems programming, or electronics? I'm looking for a programmer to join my Startup. We're going to China (manufacturing is there) from July to November. We're a team of 4. We're building a flying computer. A drone that you can play games with and install apps on. May 22 07:19:22 stanford_drone how many times do you have to be reminded, no advertising ? May 22 07:20:04 him again? May 22 07:24:04 lol May 22 07:32:46 stanford_drone: in here either ;) May 22 07:58:09 interesting https://medium.com/@hfuecks/11-app-ranking-factors-8e4a8debdc67 May 22 07:58:25 i would have thought "Recently Updated" would count on Play May 22 08:01:04 is there free android irc client chat template to edit ? May 22 08:03:26 chat template ? May 22 08:04:25 Can I use the tablet layouts introduced in v13 if my minSdkVersion is 10? May 22 08:04:26 complete functioning code he can tweak and brand? May 22 08:06:42 g00s yes for ircd May 22 08:07:39 But targetSdkVersion is 22? May 22 08:15:38 hi guys, where can I see Gradle detail error ? every time I do "Make Project" or "Build" or "Run" I got "A fatal exception has occured. Program will exit." May 22 08:15:54 I'm using Android Studio 1.2 May 22 08:16:29 even when I clean the project, I still got the same message May 22 08:17:31 Good morning @ all! I want to enable speech to text for an app. Requirement for this, is to work offline. So I'm playing around with the speech recognition API and it seems to work flawless online (a lot inspired by this: http://stackoverflow.com/questions/21695522/getting-speech-to-text-android ). But it seems not bo be working offline (I'm getting errors like "ERROR_NO_MATCH" or "ERROR_REVOGNIZER_BUSY", since i'm restarting onError). But I saw, that t May 22 08:18:15 How do some indie developers get ranked so high in the Google Store with short descriptions? May 22 08:18:31 Wouldn’t that mean they have much less keywords May 22 08:20:19 That would make it much more difficult to get noticed in the first place right? May 22 08:22:27 samB__: big following on social networks. They get a lot of downloads from reviews on popular android blogs. They have fanboys, etc May 22 08:23:15 samB__: and they make good shit, usually May 22 08:23:34 surf2b1: Yeah that make sense May 22 08:23:59 This guy is ranked at 58 in education: https://play.google.com/store/apps/details?id=maddy.toddlershapes May 22 08:24:08 Couldn’t find him on social media May 22 08:24:21 Was just curious how he got so high May 22 08:24:54 samB__: there are way to get that high^^ May 22 08:25:00 *ways May 22 08:25:01 yeah.. I think google uses Math.random when ranking sometimes May 22 08:25:27 How do you set max height to webview? May 22 08:25:47 Ponsen: I know things like ratings, installs and user engagement help May 22 08:25:49 tried set height in layout params, but it didn't work. I want it to be on the size I set, and scale to fit May 22 08:25:52 now you can pay for a bunch of people to download your app to get high in the rankings. A lot of BS like that May 22 08:26:24 But without good keywords it would be really hard to get any initial visibility May 22 08:26:49 surf2b1: Yeah I read that but Google finds and bans people who do that May 22 08:26:52 which makes sense May 22 08:27:58 Some guys have super good descriptions but are are ranked much lower May 22 08:28:45 I’ve just finished a game so trying to figure all this stuff out May 22 08:29:31 samB__: from my experience it isn't about your description. It's about getting on social networks and blogs to get people to see it. May 22 08:29:48 Even with a good description you will be very low in the rankings until your app gets downloads May 22 08:30:38 surf2b1: I could start social networking but something like that takes time to build a following. Is there much point to emailing a bunch of blogs with links or do they tend to focus on the bigger dev? May 22 08:30:39 *devs May 22 08:31:09 samB__: they will probably ignore you unless you are willing to spend some $$ on advertising. May 22 08:31:34 I would spend it if I had it :D May 22 08:33:23 That guy I posted doesn’t seem to have any social networks so perhaps he did pay for advertising like you mentioned May 22 08:35:01 looks like I solved the width problem. How do you scale in webview so it will fit without scrolling? May 22 08:35:42 That'd be a JavaScript question May 22 08:38:27 anyone having idea how ad networks detect fake installs like from those users who change their device id and IP to install apps targeted for other countries? May 22 08:42:55 I think my best bet is to make the description as good as possible and try a few sites to see if they are interested May 22 08:43:41 Apart from that I’m not sure if there much I can do to gain visibility after lunching May 22 08:58:16 samB__, did you not see g00s's link? your app description is worthless as far as rankings go May 22 08:59:32 wakelock: Sorry I must have missed that, could you post the link? May 22 09:00:04 no, I'm on the phone, just look up May 22 09:01:16 samB__: https://medium.com/@hfuecks/11-app-ranking-factors-8e4a8debdc67 May 22 09:01:54 Thanks barq, I could only go as far back as 9:17am May 22 09:02:42 he posted that at 9:58 May 22 09:02:49 Depending on the time zone that may or may not be sufficient. May 22 09:03:14 you fail at url spotting, samB__ :p May 22 09:04:31 barq ’s right I think I just missed it: https://www.dropbox.com/s/1y2fvfokxxm8r1d/Screen%20Shot%202015-05-22%20at%2010.03.19.png?dl=0 May 22 09:04:33 :) May 22 09:05:00 :p May 22 09:05:21 Not GMT then. May 22 09:06:47 If a feature is introduced in a certain SDK version, does my min or targetSdk need to be greater or equal to it in order to use it? May 22 09:07:32 define "use" May 22 09:07:40 you need targetSdk greater so it'll compile May 22 09:07:52 and device must be at least that sdk so you can invoke it May 22 09:08:34 So my minSdkVersion is 10, and I want to use the v13 tablet layouts. So can my apk contain these tablet layouts and they will only be used if the device is >= 13 and disregarded otherwise or will they cause problems on devices <13? May 22 09:13:34 barq: put them in layouts-v13 May 22 09:14:35 OK May 22 09:14:37 Thanks. May 22 09:15:44 unless you never use the layout in pre-13. Then they should be fine in the normal layout folder (i think) May 22 09:19:44 No, I need the layout for all versions. May 22 09:20:06 Couldn't think of a case where a layout is only used for some versions and not for others. May 22 09:20:38 well, if you want to only use a fragment for certain versions. It's layout would be just that May 22 09:21:47 How could I prevent a fragment from being used in one version and not another? May 22 09:22:06 Only if referenced by another layout.xml? May 22 09:23:14 with -vXX buckets May 22 09:24:03 So one -vXX bucket references the layout then I can just put it in normal folder, because other vXX will not referenece it. Ok, but not option to do this programmatically. May 22 09:38:11 F***, I hate IDEs (Android Studio). 20 minutes to convince the IDE to actually compile and use my updated source file (that I updated IN the IDE). May 22 09:38:30 I have a grid view and above it a lenear layout which is hidden, I am trying to show the lenear layout on grid item click , but it works sometimes and does not , I think when the grid view animate down when linear layout is visible the touch listner of the perticular element is lost for a while , but when i scroll the grid view a little the button start working May 22 09:40:48 kjeldahl : 20 minute ? 2 Hours last week , Bitch please May 22 09:43:23 chinu_: :-) Only reason I use it is because handholding is useful with new languages (Kotlin). May 22 09:46:35 kjeldahl : ok , can you look at my problem ? May 22 09:46:45 kjeldahl : I have a grid view and above it a lenear layout which is hidden, I am trying to show the lenear layout on grid item click , but it works sometimes and does not , I think when the grid view animate down when linear layout is visible the touch listner of the perticular element is lost for a while , but when i scroll the grid view a little the button start working May 22 09:47:40 hey,i need to share a text in facebook without any permission popup May 22 09:47:59 im trying webviews etc, but its hard to get call back from if user shared May 22 09:48:05 what should i do May 22 09:48:30 I'm trying to integrate appcompat in my android app, but everytime I got an error when I use