**** BEGIN LOGGING AT Sun Apr 06 02:59:58 2014 Apr 06 03:12:40 for raster graphics, how do I know what resolution to make my source images? Ive read all the articles about using (m/h/xh/xxh)dpi versions of graphics, and understand that different pixel desities require different sizes.... but when it gos to creating images (not just icons) how do I know what pixel resolutions to use? Apr 06 03:25:06 I'm struggling to get google play services to work with me app. It keeps saying "Check that the package name and signing certificate match the client ID" and I checked and they do match! Apr 06 03:26:43 A more general question... So within a thread that is separate from the UI thread, I am parsing a bunch of JSON, creating a bunch of objects, and then populating a list with those objects. I will be needing that list in the UI thread. For ease's sake, I made that list global. Should I not have done this? Apr 06 03:27:04 Since they are on two separate threads, will there be race issues? Apr 06 03:27:06 RetroDude: Though I've never used play services myself, I'm quite certain that if anyone is able to help you, they will need more information that "Something is wrong! but im doing it right!" ;) Apr 06 03:27:58 And, since they are on different threads, will the UI thread be accessing the list as the other thread is writing to it? Apr 06 03:28:22 If this is the case, I don't think I'll get the data in the order that I want. Apr 06 03:28:27 Am I making fair assumptions? Apr 06 03:28:52 mantazer: it is up to you to schedule and make sure that they are accessed in the proper order. There is nothing within java that will do this for you Apr 06 03:29:35 zzxx: ok, so was my understanding correct? in my current setup, will there be any data racing? Apr 06 03:29:55 do you mean race conditions? Apr 06 03:30:02 yes Apr 06 03:31:19 it does not sound like it, but i could not be sure wihtout inspecting your code. Im a little conceorned you may not understand what a race condition is. Does your ui create a lock on a resource? Apr 06 03:33:48 zzxx: yea maybe my understanding of what a race condition is a little washy :p Apr 06 03:33:49 lol Apr 06 03:34:02 zzxx: my ui doesnt create a lock Apr 06 03:35:22 good. nor should it. Apr 06 03:35:57 are you using an Async task to dour background work? yo Apr 06 03:35:59 Hi guys, I've been following this tutorial http://developer.android.com/guide/topics/media/camera.html, I'm done with the video capture section. Now, how do you preview the video after recording? Apr 06 03:36:11 *do your background work? Apr 06 03:36:14 zzxx: so let me reiterate my understanding of how my system works: Two threads. One is a thread that crunches data and stores it in a list. The other is the UI thread that accesses that data in the list. Apr 06 03:36:28 zzxx: im not using async tasks. Im using a thread and handler Apr 06 03:36:39 to do background work Apr 06 03:38:19 mantazer: ah. I have never used handler myself. If you want to try Async task it has a method that will call on the orginal (UI) thread when the background task completes. Perhaps look into that Apr 06 03:38:40 now I am sorry, but I must get back to my own work for a bit. best of luck :) Apr 06 03:38:43 zzxx: oh ok. that would solve the issue i am talking about Apr 06 03:38:48 zzxx: no problem Apr 06 03:38:53 zzxx: thanks for your help Apr 06 03:38:56 hope I have helped more confused :P Apr 06 03:39:03 zzxx: definitely helped Apr 06 03:39:42 Is the SHA1 fingerprint the same as the keystore ID? Apr 06 03:49:20 has anyone found some good recent documentation on doing Android Studio and App Engine stuff? Apr 06 03:52:26 Maven Apr 06 03:52:32 Look into the docs on that Apr 06 04:07:55 hmm. can't get this to work :( PopupWindow with Spinners, get: Apr 06 04:08:02 android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@53532d04 is not valid; is your activity running? Apr 06 04:10:16 I have two threads. The UI thread, and a worker thread. The worker thread populates a list with data. The UI thread uses that list to display items on the screen. Will I have race conditions? Apr 06 04:10:43 if they access a critical section without syncronization, sure Apr 06 04:20:52 if i set spinnermode="dialog" this works, but yuck Apr 06 04:21:06 kso somehow, PLay Books is achieving this Apr 06 04:21:11 gah! Apr 06 05:22:58 Is anyone here experiences with Custom PreferenceLists or willing to check a pastebin of the one I am debugging? Apr 06 05:57:45 Hello . . . how would I go about drawing an 8X8 grid on the screen with different colors in the squares? Apr 06 05:59:55 custom view and a for loop Apr 06 06:00:09 or custom view group and a for loop :) Apr 06 06:00:17 could also use GridLayout ;) Apr 06 06:01:34 damn it bankai_au , spent 2 days banging my head on something, have to give up and go on. happens so often with me & android Apr 06 06:03:04 Technicus, yet another 2048 game? XD Apr 06 06:05:04 frankdrey: no, I want to make a screen with on off buttons. Apr 06 06:05:31 g00s: better than implementing hacks to get around stupidities like some genius had to do yesterday :S Apr 06 06:09:05 g00s: I found the tutorial: < http://www.androidhive.info/2012/02/android-gridview-layout-tutorial/ >. I'm looking for something simpler, but this tutorial demonstrates a lot. I just want to have two colors for each square. A single square will be one color until it is touched, then change to the other color. Maybe even three seperate states with three colors, but at least two. Apr 06 06:22:25 Hey everyone ! Apr 06 06:28:44 Does Volley call the Web API always or first it checks from cache or something else ? Apr 06 06:32:52 it claims it is much faster than other almost 10 times, how this ? Apr 06 06:36:29 Where does it claim that? Apr 06 06:46:49 f2prateek : SO Volley wiki tag says http://stackoverflow.com/tags/android-volley/info Apr 06 06:53:25 TGMCians: if you go into BasicNetwork.java in the volley toolbox code Apr 06 06:53:39 you'll see that it accesses the cache first Apr 06 06:54:03 OK, perfect ! Apr 06 06:54:19 that why it is much faster than other API Apr 06 06:54:37 *library Apr 06 06:54:41 IDK Apr 06 06:54:48 I don't make promises for google Apr 06 06:54:56 plus, it's not good for everything Apr 06 06:55:12 yes Afaik, not for streaming Apr 06 06:55:14 right ? Apr 06 06:57:52 not for streaming and large request/responses Apr 06 06:58:36 hello , i was looking for faster coding on JIT , can someone look this ? http://stackoverflow.com/questions/22890760/is-it-possible-to-remove-jumps-with-final-boolean-on-java-hit Apr 06 07:00:01 hmm thepoosh Apr 06 07:00:58 JDuke128, I think its because of the weird way you have your object set up Apr 06 07:02:42 AFAIK if your member was static final boolean = false; then the if statement will be excluded from compile Apr 06 07:03:04 But I'd say this is a better question for #java?:P Apr 06 07:03:09 not compile , i want to remove it at runtime Apr 06 07:03:22 Oh, I see... Apr 06 07:03:23 because constructor is making the decision Apr 06 07:03:33 No idea then :p Apr 06 07:04:42 Quick Question : When to use handler.post() in android, there is already you can use runonUIThread or View.post ? Apr 06 07:14:08 TGMCians: Handler is much more than just a method of posting to the UI Apr 06 07:15:12 much more what ? Sorry didn't get you Apr 06 07:16:09 Handlers are used in order to pass information between thredas Apr 06 07:16:31 a good example of this working is posting runnables to the UI thread Apr 06 07:17:11 when using View.post or Activity.romOmUiThread we are basically passing a runnable to the handler associated with them Apr 06 07:29:48 hmm Apr 06 07:31:16 hi. I am using android-x86 as emulator. so do you know an app that can show me the command [netcfg] result as maybe wallpaper ? Apr 06 07:31:54 thepoosh : but you don't create your own handler there in case of runOnUIThread and View.post Apr 06 07:32:19 yes Apr 06 07:32:28 it's a good example of the use of Handlers Apr 06 07:34:48 how ? Apr 06 07:51:10 Hi, i'm building my own video player using HW h264 decoder. I can decode 1080p frame in <1ms but in different file it takes about 60-120ms to decode frame. Do you have any idea what may cause it?? Apr 06 07:52:05 thepoosh : gotcha thnx Apr 06 07:52:33 I'm struggling with it last days and really don't have an idea what's wrong. Apr 06 07:53:22 But it seems that standard player can play it smooth also MX player. So it must be possible to play it smoothly. Apr 06 07:54:06 I've tried MediaCodec in Java and C and also OMXCodec with same result :( Apr 06 09:05:08 Hi everyone, sorry for this question: How am I able to add a file to either the "Downloads" list or the "Recent" list via File Explorer? Apr 06 09:05:33 (I mean the file explorer in the android SDK) Apr 06 10:32:27 Hi, ok so I thought I was just going to click some "scrollable" attribute somewhere in eclipse to make my activity scrollable. Apr 06 10:32:39 I wasnt so lucky. Apr 06 10:33:05 So how do I do that ? Apr 06 10:35:57 Is scrolling a Relative layout a problem ? Apr 06 10:36:07 Making it scrollable. Apr 06 10:36:09 ? Apr 06 10:37:54 Unknown0BC, wrap it in a ScrollView Apr 06 10:38:04 Yeah, thats what i'm trying... Apr 06 10:38:09 with complications.. Apr 06 10:38:13 EPG Apr 06 10:38:49 Is this suppose to be such a hassel ? Apr 06 10:39:34 A hassle? It's 5 lines of xml Apr 06 10:42:17 SimonVT you never ran into any troubles with that ? Apr 06 10:43:30 Troubles adding a scrollview to a layout? No Apr 06 10:46:12 A relativelayout will all sorts of things like views and buttons ? Apr 06 10:47:07 Unknown0BC, just put this relativelayout in a scrollview Apr 06 10:51:38 Yeah, got it working, but the examples on stackoverflow did not work for me. Apr 06 10:51:44 anyway ty :) Apr 06 10:54:09 It was not really as simple as adding 5 lines of code, I also had to move the xmlns:android attributes out of the linear layout Apr 06 10:54:48 I hope thats normal. Apr 06 10:54:52 :) Apr 06 10:54:56 heh Apr 06 10:57:28 Android programming is a breeze compared to j2me. Apr 06 10:57:34 this is fun. Apr 06 10:57:48 now that you got it working it is, wait till your next problem Apr 06 10:59:09 I know what you mean. Apr 06 10:59:33 Still a breeze compared to j2me. Apr 06 11:06:36 how to get bitmap from a png/jpg? Apr 06 11:06:44 should this work? m_Bitmap = BitmapFactory.decodeStream(bis, null, options); Apr 06 11:06:59 or will that only work for getting bitmap data? Apr 06 11:20:20 I got a problem guys. So I have a textview which I set to show the value from a database using SimpleCursorAdapter. Now my problem is that the textview sets itself to the value and I would like to add something to that ... like for example C:55 where C is my text and 55 is from the database ... how can I do this? It's like the most basic thing in programming but i can't seem to find a way to do it here lol Apr 06 11:23:44 luci1093: which bit can't you do ? Apr 06 11:24:14 add the C: to the value which is set by the SimpleCursorAdapter ... Apr 06 11:24:36 luci1093: use + to concatenate strings Apr 06 11:25:03 well I know that ... the thing is since I don't acutally set the textview I can't do that Apr 06 11:25:37 you can get the value and set it again, or add it all up before setting it Apr 06 11:26:02 well that's what I don't know how to do ... Apr 06 11:26:45 I acutalyl tought of just adding another text view nest to the value to have C: in it, but that would be bad programming, would it not? lol Apr 06 11:27:14 textview.getText().toString() Apr 06 11:27:56 but that doesn't modify my value too? or the text I set there gets modified after the SImpleCursorAdapter runs? Apr 06 11:33:01 hello Apr 06 11:33:16 luci1093: I guess you have to look into FilterQuery Apr 06 11:35:00 i have galaxy core gt-I8260 Apr 06 11:35:05 i root my phoe Apr 06 11:35:08 phone* Apr 06 11:35:18 i install Titanium Backup Apr 06 11:35:29 coreuser: #android-root Apr 06 11:35:59 and with this app i delete some apps from the phone that i cant del them if im not root this Apr 06 11:36:05 coreuser: #android-root Apr 06 11:36:27 now i want my phone back like i buy it.. Apr 06 11:36:31 i dont want to root Apr 06 11:36:46 can i have a solution to this? Apr 06 11:36:53 (sorry for bad english) Apr 06 11:37:14 not from this channel Apr 06 11:37:48 tell me the channel pls Apr 06 11:38:03 #android or #android-root Apr 06 11:38:12 okay thank you Apr 06 11:38:44 I really wish rooting stuff came with the old traditional 'warranty'... "If you break it, you get to keep both pieces" Apr 06 11:38:57 luci1093: or create a custom SimpleCursorAdapter and override setViewText() Apr 06 11:38:57 shmooz: thanks for that, I think that migh help. But as a curiosity, can't I just get the string of the textview and .insert(0,"c:")? (<--that is in C++, can't remeber how to do it in java right now ... I have to check>.<) Apr 06 11:40:01 (still learning ... don't shoot me if I ask stupid questions >.<) xD Apr 06 11:46:13 Good day everyone... Apr 06 11:46:26 I've inherited some Android code I need to fix. Apr 06 11:46:56 The code I have inherited uses Intents to send a number of REST calls. Apr 06 11:47:11 These calls happen every few seconds. Apr 06 11:47:38 Would you consider this to be a good practice? Apr 06 11:47:59 We are having some problems here. Apr 06 11:49:02 what are you sending the Intents to? Apr 06 11:49:33 Actually make the REST call Apr 06 11:50:25 Seems like they intended to use the Intent as a queue of sorts Apr 06 11:51:19 an Intent cannot make a REST call Apr 06 11:52:54 luci1093: there's also this ... http://stackoverflow.com/questions/4776936/modifying-simplecursoradapters-data Apr 06 11:54:00 Intent intent = new Intent(getApplicationContext(), MessageBusService.class); intent.putExtra(MessageBusService.MSG_TYPE, MessageType.INITIAL); intent.putExtra(MessageBusService.MSG_PARAM_1, data); intent.putExtra(MessageBusService.MSG_PARAM_2, ""); intent.putExtra(MessageBusService.MSG_PARAM_3, ""); intent.putExtra(MessageBusService.MS Apr 06 11:54:40 startService(intent); Apr 06 11:54:54 They do this everytime for each GPS point Apr 06 11:56:42 right, so you're sending it to MessageBusService Apr 06 11:56:50 yes, exactly Apr 06 11:57:14 shmooz: alright, I'll try it , thank you for your time Apr 06 11:57:20 and help Apr 06 11:57:22 ^.^ Apr 06 11:58:04 luci1093: and they talk it about it here some more ... https://groups.google.com/forum/#!topic/android-developers/T1Cfyx14sHk Apr 06 11:58:22 later in the MessageBusService they handle the intent Apr 06 11:58:28 luci1093: I'm learning too :) so my pleasure Apr 06 11:58:44 and actually sends the gps message Apr 06 11:59:07 is this a good practice in your opinion. Apr 06 11:59:09 ? Apr 06 11:59:43 is MessageBusService an IntentService? Apr 06 12:00:22 public class MessageBusService extends IntentService Apr 06 12:00:38 then you're probably ok Apr 06 12:03:23 OK, so in your opinion this is a viable way to handle these messages? Do you ever see a scenario where Intents get backed up? Apr 06 12:03:56 IntentService handles one Intent at a time, in a queue Apr 06 12:05:02 Would it better to just send them asynchronously so they are not serialized? Apr 06 12:05:59 dunno Apr 06 12:06:15 ok Apr 06 12:06:54 On android, is there a maximum number of allowed REST calls allowed at one time? Apr 06 12:08:09 Like a max number of sockets open? Apr 06 12:11:00 hey guys i keep getting this message when setting up eclipse. I asked in eclipse but its dead in there https://www.dropbox.com/s/tz96q0x0e4r1bq6/Screenshot%202014-04-06%2012.41.23.png Apr 06 12:11:15 Im just trying to set up android dev so i can make my first widget ^ ^ Apr 06 12:12:15 hi, i need help about mediaStore. i want to share a view from my app. i have created a bitmap from view and store in mediastore; and share with ShareActionProvider. actually i need to create and push bitmap every time i enter in activity on oncreate. i want to create bitmap only when user tap on share button. anyone can help? i can post on pastebin code Apr 06 12:13:21 http://pastebin.com/uh1Ut4Xi pls help me. Apr 06 12:14:01 basiclaser_: you did install java? and did you set your PATH to have java? Apr 06 12:43:24 shmooz: ah ok i installed java and now its alive Apr 06 13:43:10 I just start out in jaa android.I want to know how much cost a year to make android app? Apr 06 13:44:19 perlsyntax: that's like asking how much it costs to have a website Apr 06 13:44:28 not a stupid question; but highly broad and relative Apr 06 13:44:39 it can be from $10 a month to $2,000 Apr 06 13:45:15 i thought it was $25.00 a year. that i read. Apr 06 13:45:31 It costs a one-time fee of $25 to publish apps on play store Apr 06 13:45:31 or i could been wroung. Apr 06 13:45:37 Costs nothing to make apps Apr 06 13:46:03 25$ once Apr 06 13:46:07 wow that it:D Apr 06 13:46:33 if it doesn't do much Apr 06 13:46:43 thanks Apr 06 13:46:46 if you use external paid services and what not Apr 06 13:47:22 25$ is for google market, but you can publish your app (apk) on your own website Apr 06 13:47:36 i didn't know that. Apr 06 13:48:38 but google play is the first gate for android users Apr 06 13:49:49 $25.00 to put your appin the good store not a bad deal. Apr 06 13:49:57 google play store Apr 06 13:50:05 of course! Apr 06 13:51:19 but... if you want to make a erotic app.. it is now forbidden :p Apr 06 13:51:44 thank for the help and now i know where to start. Apr 06 13:52:12 start to develop your, not necessaru to have developer account, I tkink Apr 06 13:53:01 i se Apr 06 13:53:05 i see Apr 06 13:53:08 but you can use this account for publisshing draft and send it to testers Apr 06 13:53:57 and they test it out i take it? Apr 06 13:55:20 it is just easier for them to download your draft app (you can also send it in a e-mail, if your testers is close to you) Apr 06 13:56:12 but if you have a team of testers, you create a google group of testers, and they receive an update like other app Apr 06 13:56:34 cool Apr 06 13:56:44 like the Alpha and Beta programs of the play store Apr 06 13:57:00 all you need is a G+ hangout or a google group Apr 06 13:57:09 i got that. Apr 06 13:57:24 This differnt then the iphone. Apr 06 13:57:33 but cost less. Apr 06 13:57:47 yes, and no review process Apr 06 13:58:13 that what shock me. Apr 06 13:58:26 yes, it's politic :p no troll, lol Apr 06 13:58:41 sorry Apr 06 14:00:41 I don't know what kind of review they do on google Apr 06 14:24:10 hi again Apr 06 14:24:37 how performant does xslt run in android ? Apr 06 14:47:25 Hi Guys Apr 06 14:47:52 I've got question - did anyone try using RoboGuice 2.0 with Gradle? Apr 06 14:48:01 I got strange errors Apr 06 14:48:41 java.lang.IncompatibleClassChangeError: class org.objectweb.asm.tree.ClassNode has interface org.objectweb.asm.ClassVisitor as super class Apr 06 14:54:00 one more thing - I use Robolectric Apr 06 14:56:13 pessimik: this might not be a great time of week to get answers here Apr 06 14:57:07 oh, ok Apr 06 14:59:06 pessimik: no Apr 06 14:59:11 it wont work ATM Apr 06 14:59:33 so, back to 1.1.3? Apr 06 14:59:51 but you mean robolectric or roboguice ? Apr 06 15:00:25 roboguice Apr 06 15:00:32 ah, so I dont know Apr 06 15:00:40 I'd go for dagger and butterknife Apr 06 15:00:47 check if they're working with gradle Apr 06 15:00:58 I've got some robolectric tests - they had been working before I tried using roboguice 2.0 Apr 06 15:01:11 with gradle ? Apr 06 15:01:26 how did ou do that ? Apr 06 15:01:44 since everyone on the internet has problems Apr 06 15:01:49 ok, 1.1.3 seems to work Apr 06 15:02:06 I'm talking about robolectric now Apr 06 15:02:08 apply plugin: 'robolectric' Apr 06 15:02:16 give me a second Apr 06 15:02:19 ok Apr 06 15:02:28 classpath 'com.novoda.gradle:robolectric-plugin:0.0.1-SNAPSHOT' Apr 06 15:02:30 this plugin works Apr 06 15:02:53 someone started new plugin? Apr 06 15:02:56 yep Apr 06 15:03:19 and if you want see test folder as source folder you need add (to build.gradle): Apr 06 15:03:40 JakeWharton: will you look at that plugin? seems to be here https://github.com/novoda/robolectric-plugin Apr 06 15:03:48 http://pastebin.com/pWe12Srd Apr 06 15:04:05 I can then launch tests from intellij ? Apr 06 15:05:28 it's more complex - it needs edit classpath, add custom test runner, etc. - I saw a article abou that but I run tests using gradlew robolectric Apr 06 15:06:34 it's probably likely Apr 06 15:06:58 I hope Google guys will add support as default in the future... Apr 06 15:10:06 * Novus has quithttp://pastebin.com/53rCYecj <- If thats my activity_Main how can I grab the fragment in code to make it a GoogleMap object. Apr 06 15:10:46 on linux in intellij which emulator should be downloaded? Apr 06 15:11:07 i've got the whole android devel bundle but don't have an emulator a "fast" one Apr 06 15:11:11 i like genymotion Apr 06 15:11:22 its a vm, depends on virtualbox Apr 06 15:11:23 what is best practice to add a key listener to EditText? for onClick i can do this in the layout. can i do that for the key listener, too? Apr 06 15:12:39 you have to do a little jumping through hoops to get the play services working on the genymotion vms but it's not so bad Apr 06 15:12:40 ovrflw0x, did which platform do you work on? Apr 06 15:12:55 emx: what? Apr 06 15:13:10 http://www.genymotion.com Apr 06 15:13:18 ovrflw0x, remove "did" from my question Apr 06 15:13:33 i already said i am on linux using intellij Apr 06 15:13:50 x86 64bits Apr 06 15:13:54 intel Apr 06 15:14:30 if that's what you want i5-450m processor Apr 06 15:14:38 emx: ? Apr 06 15:14:44 ovrflw0x, did you choose to use host gpu in your virtual device? Apr 06 15:15:09 if you got a real android device you can connect that instead of get annoyed by virtual devices. Apr 06 15:15:45 emx: does programming on virtual device suckz? Apr 06 15:15:58 hello Apr 06 15:15:59 i mean running program Apr 06 15:16:12 or add programming "with" virtual device Apr 06 15:16:35 ovrflw0x, no, but the handling is much easier with a real device. Apr 06 15:16:55 I've a question about GCM, on this tutorial, there is the schema that describe GCM flow from device to device. What does exactly the database? I need to implement it in Apr 06 15:16:59 ops.. Apr 06 15:17:00 emx: i want a virtual device so that i can try different tablets and phones Apr 06 15:17:20 I've a question about GCM, on this tutorial, there is the schema that describe GCM flow from device to device. What does exactly the database? I need to implement it in *my* server side or it is *google* side? http://androidexample.com/Device_To_Device_Messaging_Using_Google_Cloud_Messaging_GCM_-_Android_Example/index.php?view=article_discription&aid=122&aaid=142 Apr 06 15:17:22 emx: which intel virtual device do i need? Apr 06 15:17:55 ovrflw0x, you could buy them ;) but if you want to test on as many devices as possible then it is much cheaper to use virtual devices. Apr 06 15:18:05 ovrflw0x, then one you want to test on Apr 06 15:18:30 which emulator is there for linux? Apr 06 15:18:31 i use nexus s atm Apr 06 15:18:44 ovrflw0x, the one in the android sdk bundle. Apr 06 15:18:57 (or be more specific) Apr 06 15:19:01 emx: i get no emulator found in the bundle Apr 06 15:19:15 did you set up a virtual device? Apr 06 15:19:19 yes Apr 06 15:19:27 then i can't help Apr 06 15:19:52 i used AVD Manager Apr 06 15:20:02 but when i press start i get no emulator found Apr 06 15:20:44 ovrflw0x, i can't help. what i had to do to get eclipse running with android emulator was to use the eclipse binary in the bundle Apr 06 15:21:03 and i think the setup of the bundle is described on the download page for the bundle. Apr 06 15:21:06 look there Apr 06 15:22:27 nebs: do you use genymotion with intellij? Apr 06 15:22:37 on which os? Apr 06 15:25:40 adb picks it up as a device, you can use it from any IDE Apr 06 15:26:07 nebs: i only need genymotion plugin for intellJ? Apr 06 15:26:08 I use osx mostly, but I've used it on ubuntu too Apr 06 15:27:03 nope, when you run your app, intellij will pop up the "where to run it" dialog, and any running genymotion devices will show up in there Apr 06 15:27:51 just like when you use an regular old android emulator or a real device Apr 06 15:27:58 adb picks it up Apr 06 15:28:30 yea, you dont need any plugins Apr 06 15:29:02 run genymotion externally, so run app from intellij and select genymotion device Apr 06 15:31:18 virtx, GCM runs on googles services, not yours Apr 06 15:31:34 nebs: yes, but the database? Apr 06 15:31:46 I really need it? Apr 06 15:31:48 what do you need the db for? Apr 06 15:32:10 or the app connect to GCM directly and push msg, so other device can read it popping from gcm? Apr 06 15:32:37 better documentation than the link you posted: http://developer.android.com/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html Apr 06 15:33:03 hey how do I access a button in the activity view from the fragment Apr 06 15:33:20 I tried getActivity().findById but no luck and a bunch of other stuff Apr 06 15:33:24 the idea is your app "registers" itself with the GCM servers, and gets a registration id, that you have to manage, Apr 06 15:33:38 and for apps to communicate with eachother, you need to pass that regid through Apr 06 15:34:00 so you will need a mechanism of some sort to save those Apr 06 15:34:15 i use appengine Apr 06 15:34:29 oh, much easier than i thought Apr 06 15:34:51 so I need only to track on app the id of others device Apr 06 15:35:19 so I can push msg to gcm as send(msg, id_dest) Apr 06 15:35:37 well, more likely, you would store the regid you get back on a server somewhere, with the account id Apr 06 15:36:01 so I always need a server Apr 06 15:36:03 but you dont have to store the messages Apr 06 15:36:06 I cant comunicat without Apr 06 15:36:48 the server would relay the messages out to the other devices, in most cases Apr 06 15:36:57 uhm Apr 06 15:37:11 you could send the message directory from the device to GCM servers, if you have the targets regid Apr 06 15:37:30 my idea is to send and receive messages to and from devices wituout a server, only with GCM Apr 06 15:37:57 How would you id whose device is whose? Apr 06 15:38:06 how are you going to know all the registration ids of all the devices? Apr 06 15:38:08 that is my question :) Apr 06 15:38:37 so I need always a server to track the reg_id Apr 06 15:38:49 regid + account, yup Apr 06 15:38:53 hi Apr 06 15:39:06 ok, thanks Apr 06 15:39:15 how can i have tree fragment in mainactivity Apr 06 15:39:50 two of them are listview Apr 06 15:39:52 another question about GCM, what they mean when they say "GCM is good because you get open only one socket on device"? Apr 06 15:40:19 i want when user click on one of item in listview it apear in second Apr 06 15:40:19 there is only one tcp socket and the device polling on it? Apr 06 15:40:34 the device doesn't poll, Apr 06 15:40:38 If you were to not use GCM, you would keep open another socket and service to watch it for messages Apr 06 15:40:41 but how can i force reload second fragment when user click on first Apr 06 15:40:46 the server sends the message to the device when there is a message to send Apr 06 15:40:51 And that's wasteful Apr 06 15:41:02 nebs, I think it does poll... Apr 06 15:41:23 really? Apr 06 15:41:26 1. How would GCM know the IP of the address at every moment? 2. Shared IPs Apr 06 15:41:28 I wouldn't have thought that Apr 06 15:41:54 yah, good point. Apr 06 15:42:24 Yeah, so with your own system you'd also need a server to store notifications Apr 06 15:43:13 uhm.. Apr 06 15:43:23 GCM is a VERY good idea. It bugs me so much when I see apps running their own notification service -.- Apr 06 15:43:37 don't you use the GCM directly for notifications? Apr 06 15:43:56 ? Apr 06 15:44:10 app X push msg to GCM Apr 06 15:44:17 the device initiates a connection to the server, then idles on it - it's not polling, as such Apr 06 15:44:25 so device Y poll and receive notification from GCM Apr 06 15:44:35 you receive a message from GCM and then create a notification, that's on you. Apr 06 15:45:06 so you don't need external notification service, right? Apr 06 15:45:10 note that you absolutely do *not* have to create a notification in response to an incoming GCM message - they are separate things Apr 06 15:45:37 you *can* create a notification, but you could also, say, silently do a data update so your data is fresh the next time the user opens the app Apr 06 15:45:58 right, exactly - what Leeds is saying Apr 06 15:45:58 Good morning all. I'm upgrading my development environment from Eclipse Indigo (3.7) with separate sdk package, to the new unified Eclipse development bundle. Ha anyone run into issues with this sort of upgrade? Is there documentation of issues typically encountered in this type of upgrade? Apr 06 15:49:22 oh right, the notification is not a GCM related thing Apr 06 15:50:33 we need to understand if GCM poll's or not :) Apr 06 15:50:35 http://www.doubleencore.com/2013/09/push-dont-poll-how-to-use-gcm-to-update-app-data/ Apr 06 15:51:12 it seems not Apr 06 15:55:03 i connected android phone to linux and clicked "Run" button but nothing happens is there some permission issue? Apr 06 15:55:41 does ./adb devices show your device? Apr 06 15:56:46 you probly don't need the ./ - that was finger memory Apr 06 16:01:36 You don't unless you're in the adb dir :p Apr 06 16:07:38 game of thrones is back tonight :) Apr 06 16:15:14 I've got to save it, got a long-haul flight on Friday and it would be silly not to keep it until then Apr 06 16:15:34 also, https://plus.google.com/u/0/+HTC/posts/6HwDr9du34p Apr 06 16:15:50 frankdrey: if you don't need it, then you don't need it in the adb directory either. Apr 06 16:22:23 nebs: i've got this -rwxrwx--- Jan 18 03:01 adb Apr 06 16:22:40 i can't execute it Apr 06 16:29:07 Hello guys Apr 06 16:30:27 i`m new to the Android Dev world i was wondering if you have some link with step by steps intructions to create sample apps. Apr 06 16:31:10 Drawoh: youtube? Apr 06 16:31:30 i looked around and got few books but they are very confusing i`m looking for something i can read and undertsand Apr 06 16:32:29 try to coursera lessons Apr 06 16:32:39 there is a nice course about android introduction Apr 06 16:32:52 thx ovrflow0x but i`m more like a reading person i like to undertand what i`m doing instead of just writting codes Apr 06 16:33:22 https://www.coursera.org/course/android Apr 06 16:33:26 Drawoh: try vogella tutorial for android Apr 06 16:34:06 Drawoh: http://www.vogella.com/tutorials/Android/article.html Apr 06 16:34:23 Thx gu Apr 06 16:34:27 thx guys Apr 06 16:34:42 i will take a look at those sites Apr 06 16:35:21 good day to you both Apr 06 16:38:54 hey Apr 06 16:39:15 can we have demographic analytics for apps using google analytics? Apr 06 16:39:18 Hello, I am having problems with Android Studio. It is installed on a Linux system. I was prompted to upgrade. I could not upgrade with regular user privilages, so I started with sudo and did the upgrade. But now I can't start it with normal privilages. How can I get it to start with out sudo privilages? Apr 06 16:39:40 the code example on the site is only for websites Apr 06 16:39:43 says nothing about apps Apr 06 16:40:05 support.google.com/analytics/answer/2444872? Apr 06 16:41:11 Hi Guys, who is an android expert here? I need help. Apr 06 16:41:38 androidnewb: no one is Apr 06 16:41:52 androidnewb: all r learning.. Apr 06 16:41:58 overflw0x: ok Apr 06 16:42:15 what do you need help with, androidnewb? Apr 06 16:42:18 Anyone here have use Parse.com before? and uploaded a video? Apr 06 16:42:58 lots of video uploading, but not to parse... I'm partial to appengine Apr 06 16:42:58 nebs: I've been following this tutorial http://developer.android.com/guide/topics/media/camera.html Apr 06 16:43:39 I'm done with the video recording part, but I know know how to preview my video? wanna see my code? Apr 06 16:44:30 perhaps info about age and stuff isnt available in google analytics for apps yet? Apr 06 16:44:32 not really. have you tried the videoview? Apr 06 16:45:06 http://developer.android.com/reference/android/widget/VideoView.html Apr 06 16:45:40 nebs: yeah, I tried video view, I pass the getAbsulotePath but still not palying Apr 06 16:45:44 *playing Apr 06 16:46:56 are you calling start()? Apr 06 16:47:15 nebs: yup, I call start Apr 06 16:47:23 it says cannot play video Apr 06 16:47:37 then theres either something wrong with the path, or something wrong with the video. Apr 06 16:48:01 nebs: thanks, ill try again. Apr 06 16:48:04 nebs: i installed geny motion but intellij is not recognizing it Apr 06 16:48:07 try with a video you know is good? Apr 06 16:49:18 nobody uses analytics for apps here? Apr 06 16:49:42 do you have a genymotion vm running? if so, does adb see it? Apr 06 16:52:11 nebs: somehow adb i can't execute it Apr 06 16:52:13 how to do that? Apr 06 16:52:18 i've running genymotion emulator Apr 06 16:53:22 What IDE should I use for building Android applications? Apr 06 16:54:00 cd to the android sdks folder, /platform-tools, type ./adb devices Apr 06 16:54:37 nebs: i see adb there but still i get this bash: ./adb: No such file or directory Apr 06 16:55:03 nebs: maybe it is 32bit and i need 64 bit adb? Apr 06 16:55:07 you're in the platform-tools directory? Apr 06 16:55:12 pwd? Apr 06 16:55:22 yes Apr 06 16:55:38 /home/UESR/opt/android-studio/sdk/platform-tools Apr 06 16:56:17 nebs: ? Apr 06 16:56:32 nebs: do i need support for 32 bit script called adb? Apr 06 16:56:46 i need 32bit libs? Apr 06 16:57:26 nebs: what do you enjoy more using? OSX or linux ubuntu? Apr 06 16:58:01 I'm not sure if you need the 32 bit libs, can't recall when I set it up on ubuntu. I prefer osx. Apr 06 16:58:15 ls -la - you see adb there? Apr 06 16:58:44 nebs: i see adb there Apr 06 16:58:48 why do you prefer osx? Apr 06 16:59:30 who doesn't like ohsex Apr 06 16:59:45 and ./adb devices tells you it's not found? Apr 06 16:59:52 yes. Apr 06 17:00:08 lol, it's pretty freakin beautiful to look at, thats the truth Apr 06 17:00:26 weird then, I dunno, i bet you can google it. Apr 06 17:00:57 nebs: do you have laptop imac or mac mini? Apr 06 17:01:12 i have a macbook pro Apr 06 17:01:23 do you use external display? Apr 06 17:02:03 yah Apr 06 17:02:10 a couple of them Apr 06 17:02:38 1080p or 4k? Apr 06 17:03:16 O.o Apr 06 17:03:26 there are other resolutions out there also you know :P Apr 06 17:03:47 1080p or 4k or in between? Apr 06 17:04:50 lol, if I was rich enough to afford a 4K... Apr 06 17:05:14 4k doesn't really work well with macs currently anyway Apr 06 17:05:16 I just have a couple 27" i got off newegg, and asus and an LG I think Apr 06 17:05:23 most monitors won't run at 30Hy Apr 06 17:05:25 *hz Apr 06 17:05:38 erm, sorry, 60Hz .... *need coffee* Apr 06 17:06:20 nebs, how do you get those on a single desk? :) Apr 06 17:06:32 easy, 2 desks! Apr 06 17:06:38 well, tables. Apr 06 17:06:53 the rounded corner kind so you have a horseshoe like area Apr 06 17:07:01 and a swivel chair inside. Apr 06 17:07:06 science. Apr 06 17:07:08 we're running our dev from rMBP + 27" display combos and adding another screen was too annoying for me tbh :/ Apr 06 17:07:17 ah, corner tables are awesome yea Apr 06 17:07:31 well, I have one of the monitors hooked up to my ubuntu desktop, Apr 06 17:07:51 I hook it up to the mbp and change the input if i wanna run a bunch of genymotion vms for testing Apr 06 17:07:55 nebs: do you have a pic of your mons. setups? Apr 06 17:08:11 but otherwise I just use the one Apr 06 17:08:14 mhm Apr 06 17:08:49 I'd just be happy if I wouldn't have to replace mine every 3 months or so >P Apr 06 17:09:01 nebs: if you had choice what would you have? macpro, mac mini or imac? Apr 06 17:09:03 replace it? why replace it? Apr 06 17:09:13 I do have a choice. Apr 06 17:09:14 nebs, the Apple TB displays keep failing in our office Apr 06 17:09:23 I had to replace mine like 3 times now Apr 06 17:09:40 i chose the mbp. Apr 06 17:09:45 not the display itself, but the power cable, ethernet, audio device and stuff like that Apr 06 17:09:53 nebs: why mbp? Apr 06 17:09:59 Im unable to find any information about how to get age and gender in google analytics from my android apps. Any ideas? Apr 06 17:10:03 and this one started randomly not charging my MBP again... Apr 06 17:10:16 because it's a badass and portable and retina Apr 06 17:10:24 Quacked, um, do you have any way of actually sending that data from your apps? Apr 06 17:10:28 hmmmm Apr 06 17:10:31 hi all Apr 06 17:10:36 o/ Apr 06 17:11:00 ovrflw0x, because the MBP is pretty much the most powerful thing out there right now if you have the money for it? Apr 06 17:11:07 Mavrik, I assumed Google fetched it from user profiles or something Apr 06 17:11:31 Mavrik: what do you mean most powerful in what way? Apr 06 17:11:33 Quacked, yeah that would be... rather creepy and illegal without consent :P Apr 06 17:12:08 Mavrik, so why is there an option to activate demographic reports in the analytics options web page? Apr 06 17:12:24 Quacked, because you can fill them up yourself after you ask the user for consent. Apr 06 17:13:14 but the example only shows some javascript code Apr 06 17:13:25 on Android? Apr 06 17:13:36 https://support.google.com/analytics/answer/2444872/ Apr 06 17:13:46 Mavrik: wait wat, MBP as in Macbook Pro, as "most powerful"? the frack? Apr 06 17:13:51 says nothing about android Apr 06 17:15:30 is there a way to vertically center a single text in a textview that is defined for 2 lines? meaning I want it to be centered vertically when there is only one line, and regular when there are 2 Apr 06 17:15:39 a friend of mine picked up one of the system 76 laptops, it's pretty awesome actually Apr 06 17:16:27 p_l, *shrug* I've yet to see anything portable with that kind of hardware that's actually buyable. Apr 06 17:16:27 Mavrik, any ideas? Apr 06 17:16:33 Quacked, nop. Apr 06 17:17:26 https://www.system76.com/laptops/model/bonx8 Apr 06 17:17:46 it's kinda beasty but the specs are impressive Apr 06 17:19:10 yeah, that's not portable Apr 06 17:19:28 4kg isn't something you lug around for more than few minutes >( Apr 06 17:20:09 I've seen some nice stuff from ASUS and Lenovo, but it practically doesn't ship Apr 06 17:20:19 i remember my first laptop was one of those 15 pound sonys Apr 06 17:20:34 its probly still in a box somewhere Apr 06 17:20:40 a very heavy box. Apr 06 17:21:19 yeah, there was a time when I lugged around 3kg toshiba with everywhere... that's when I stopped buying those huge laptops Apr 06 17:21:41 I was pretty apple resistant for a long time Apr 06 17:21:53 I was all like, linux or gtfo! Apr 06 17:22:07 then I got a job writing ios apps, and had to suck it up and get a mac Apr 06 17:22:12 so I got an air Apr 06 17:22:29 took about 15 minutes before I realized my closed minded ways were only hurting me :) Apr 06 17:23:05 meh, I still get pissed off at Apple crap at regular intervals Apr 06 17:23:33 yah, agreed Apr 06 17:23:38 I refuse to write ios apps Apr 06 17:23:45 but office is equipped with Apple displays (wonderful lockin) and other manufacturers simply don't ship better gear here Apr 06 17:24:55 it's the policies that bother me Apr 06 17:38:41 I *finally* made a game my husband loves lol Apr 06 17:48:43 sheesh nebs are you a lady? Apr 06 17:50:03 no wonder you use words like 'badass' Apr 06 17:55:59 where can you change the debug sha1 key? Apr 06 17:57:45 why would you do that?! Apr 06 17:58:02 just create your own keystore for releases Apr 06 18:09:13 Does anyone have a decent guide as to what to do in each Fragment callback? Apr 06 18:13:01 I don't really get why there's onAttach, and then onActivityCreated later on. Apr 06 18:15:18 has "badass" been downvotes? Apr 06 18:15:32 no longer cool? Apr 06 18:15:46 how do you clear cache in eclipse? Apr 06 18:16:37 does eclipse have cache? Apr 06 18:16:50 yes Apr 06 18:18:08 If I have android-support-v4.jar in actionbarsherlock/libs project, must I also have it in my main project? Apr 06 18:18:14 I removed it and got no errors :P Apr 06 18:23:00 Can anybody confirm that is not possible for an app(activity or service) to block any other app to make an call or send an email at a specific time? Apr 06 18:23:26 To an specific target Apr 06 18:24:26 without a root, yes Apr 06 18:24:27 Ie.: The app should only permit the phone to call John between 6 and 8 pm Apr 06 18:26:25 gdrc, alright, thanks Apr 06 18:28:03 Hi guys, this is my code http://pastebin.com/vURcsqCr , I'm trying to preview the video after being recorded, which part of this code do I have to put the video playback? which line? Apr 06 18:28:07 I assume it's possible to block calls, considering apps like Call Confirm can do what they do Apr 06 18:28:54 what file are you suppose to put in the "custom debug keystore" field? Apr 06 18:29:43 SimonVT, i don't know Call Confirm, i'll take a look Apr 06 18:29:46 RetroDude: are you taking about exporting android? Apr 06 18:31:40 yes Apr 06 18:32:06 RetroDude: the file that you created when you where exporting Apr 06 18:32:09 yurakeshi: it should be possible to do so by implementing certain intents, but you wouldn't be able to stop anyone from switching the dialer or otherwise bypass the block (on calls, that is - email is completely different) Apr 06 18:32:17 tried that, didnt work Apr 06 18:32:26 I tried both the apk file itself and the other file Apr 06 18:33:05 did you put password? Apr 06 18:33:10 keystore password Apr 06 18:33:51 thanks guys, i will study more about it, but now i got go Apr 06 18:33:52 seeya Apr 06 18:34:36 Where do I type in my password/ Apr 06 18:36:33 at the bottom Apr 06 18:36:39 is there an env var such as ANDROID_HOME that I can set that's useful for pointing to where my SDK folder is? Apr 06 18:36:39 after you select the file Apr 06 18:38:15 When I try to add the file it says keystore was tampered with, or password was incorrect and theres no field to enter a password? Apr 06 18:39:44 bufferloss, why do you need more than ANDROID_HOME ? Apr 06 18:40:08 SimonVT, I am asking if ANDROID_HOME even exists or is "a thing" Apr 06 18:40:13 which from your question I suppose it is Apr 06 18:41:11 https://www.google.com/search?q=ANDROID_HOME would have given that away Apr 06 18:42:30 what's the point of having onAttach in a fragment when the activity always seems to be null anyway? Apr 06 18:46:20 how are you creating your fragment? the activity shouldn't be null Apr 06 18:48:53 with a transaction Apr 06 18:49:11 one sec, lemme check something Apr 06 18:49:57 oh, it seems to work now. can I guarantee that the activity will exist in that callback then? because I need a context for database stuff Apr 06 18:50:40 null is never passed on onAttach Apr 06 18:50:46 ok, thanks Apr 06 18:57:40 so, how might I go about getting e.g. firefox/chrome/thedefault browser installed on my AVD? or maybe I'm missing something else entirely Apr 06 18:57:52 I created an AVD with $ANDROID_HOME/tools/android avd Apr 06 18:58:05 do I need to give it an SD card for it to be able to have/store programs like that? Apr 06 18:58:36 bufferloss: http://forum.xda-developers.com/showthread.php?t=1787595 Apr 06 19:05:44 Do you guys have a website for people to hire you? if so, could you tell me what CMS you use, if you use one? Apr 06 19:06:01 ok, I figured out what my program is doing. My program isn't calling all the publishprogress()'s until doinbackground() completes Apr 06 19:06:08 how do I fix that? Apr 06 19:06:17 is HttpClient the only raw way of getting a json from a restful webservice? is there a better way of doing it? Apr 06 19:06:18 I'm using an async task Apr 06 19:06:22 and a button to start it Apr 06 19:08:21 DoYouKnow: are you explicitly calling publishProgress in your doInBackground? Apr 06 19:08:25 yes Apr 06 19:08:53 but none of them get called until doInBackground completes Apr 06 19:09:02 sounds bogus Apr 06 19:09:06 post some code Apr 06 19:10:00 http://pastebin.com/2kFs8iZf Apr 06 19:11:51 it might be something the libraries are doing Apr 06 19:12:04 but I doubt it since this is a problem from square 1 in doinbackground() Apr 06 19:12:14 it could be an import setting though Apr 06 19:12:50 DoYouKnow: are you debugging? put some logs in the onProgressUpdate Apr 06 19:13:16 I am using System.out.println Apr 06 19:13:24 I see them in the debugger log Apr 06 19:13:45 check out onprogressupdate() Apr 06 19:14:07 ahh, all I needed was to add an sd card, now I have what I need Apr 06 19:15:36 string1 = new CustomTask().execute(value3).get(); <- you're blocking the main thread until doInBackground completes.. Completely negating the point of using AsyncTask Apr 06 19:16:01 And since you're blocking the main thread, the messages posted with publishProgress can't be delivered until doInBackground completes Apr 06 19:16:10 ok Apr 06 19:16:20 wow Apr 06 19:16:27 how are you avoiding an ANr? Apr 06 19:21:38 hi guys i have a problem... how to create this? Apr 06 19:21:39 https://lh3.ggpht.com/d7SEvTSDcLmbnUz5YcSuje7m4SDVL-rchUp8J0cRRnuNYNBsVZ5HVCWGI3RsBqdkYg=h900-rw Apr 06 19:21:51 only yellow Apr 06 19:21:56 not tab Apr 06 19:22:42 With viewgroups and views Apr 06 19:23:02 isn't listview? Apr 06 19:23:37 listview is a viewgroup Apr 06 19:23:42 roxdragon: it looks like a list with custom UI for the listElements Apr 06 19:27:48 what type of thing would I want to use to create something akin to an OpenGL canvas? i.e. for creating games I don't suppose I'll be usingi a lot of radio buttons and standard "form based" UI/UX Apr 06 19:28:08 also, specifically just concerned with 2d to start, but 3d would be a nice/next step Apr 06 19:28:35 the default android template asks if I want to create a default/empty/blank "activity" Apr 06 19:28:43 thepoosh: SimonVT i use relativeLayout? lineralayou? Apr 06 19:28:52 is there some subclass of activity such as "Canvas" or something? Apr 06 19:29:10 roxdragon: use what ever works for you Apr 06 19:32:36 SimonVT: how do you suggest I keep it from blocking? Apr 06 19:32:50 I tried creating a seperate thread to update the screen, but it still blocks Apr 06 19:32:55 I think so anyway Apr 06 19:33:19 By not calling get Apr 06 19:42:22 bufferloss, what do you mean canvas? Apr 06 19:42:34 you have NativeActivity for full OGL C/C++ code Apr 06 19:42:41 and SurfaceView for everything else Apr 06 19:42:50 ok cool thanks Apr 06 19:44:14 typically, around a Spinner (opened) or ListPopup, there is a slight shadow - but my PopupWindow does not have that. Anyone know how to go about adding it ? Apr 06 19:53:10 The dropshadow is part of the PopupWindows background Apr 06 19:59:38 SimonVT oh really. i see many people asking how to get rid of it. i thought maybe it was some decoration by the window manager. i wonder what i did to nuke it Apr 06 20:00:15 Maybe those other classes are changing the background Apr 06 20:00:26 To one that has a dropshadow Apr 06 20:00:30 Who knows, look it up Apr 06 20:01:05 SimonVT maybe you know this also - i have tried to create a Spinner in a PopupWindow, and it isn't going well. I can put it in the layout, but once I click on it I get a bad window token exception. seems lots of people have tried this also. do you know if there is a way around it ? Apr 06 20:01:31 For example, in Play Books, if you press 'Aa' a sheet comes down and looks like a PopupWindow … not sure it is though Apr 06 20:01:36 they managed to get spinners in there Apr 06 20:04:18 does apache common-io jar work on android too? Apr 06 20:04:55 Having never used play books, I wouldn't know Apr 06 20:05:07 does apache common-io jar work on android too? Apr 06 20:05:31 Please don't spam your question Apr 06 20:06:40 I love link bubble it's a wonderful app. Apr 06 20:06:45 ovrflw0x, woah. Wait like 30 mins if no one answers before reposting Apr 06 20:07:36 ovrflw0x: just put the jar on your classpath, compile and install Apr 06 20:07:50 if that all works, you likely will not have any problems using the library Apr 06 20:08:06 io is pretty old, it should work Apr 06 20:18:59 yes!! I got it working Apr 06 20:19:07 it looks so cool, I like the changing % indicator Apr 06 21:01:05 g00s, did you ever find out what that preference popup piece was? Apr 06 21:02:00 Do you guys have a website for people to hire you? if so, could you tell me what CMS you use, if you use one? Apr 06 21:02:56 autrilla, 1) Stackoverflow. 2) I built my own. 2.1) You can try Wordpress & EE. Apr 06 21:04:11 aretecode, stackoverflow for hiring? Apr 06 21:04:28 http://careers.stackoverflow.com/ Apr 06 21:05:04 Personally I am all booked up for the foreseeable future. Apr 06 21:05:14 does android change the locale automatically when we move from a region to a different region Apr 06 21:05:43 aretecode, that's not for freelancing, right? Apr 06 21:05:45 Cafzalone: android changes locale according to language selection in settings Apr 06 21:05:54 autrilla: it's not Apr 06 21:06:13 I'm looking to work on my own Apr 06 21:06:24 p_l> oh thank you Apr 06 21:08:44 autrilla, you can use Elance for that. Apr 06 21:30:44 I’m trying to get a mashup working using Retrofit and Robospice. Is there a good way to handle multiple URLs? I’d love to be able to have multiple interfaces, one for each URL. Apr 06 21:32:50 I guess Endpoint objects are for this purpose? Apr 06 21:39:57 hy all Apr 06 21:41:17 what happened with my SDK? a few days ago it worked...now eclipse say this: Could not find D:\Progik\Android\android-sdk\tools\emulator.exe! Apr 06 21:51:01 colintheshots: you can declare multiple methods on an interface and/or use multiple interfaces Apr 06 21:52:08 JakeWharton: Yes, but what about multiple endpoint URLs? It looks like there’s a start at support for it in Retrofit, but I don’t see how I’d use them with Robospice/Retrofit. I’d need two SpiceManagers I think. Apr 06 21:52:49 Never used Robospice. If you have multiple URL endpoints you need multiple RestAdapters. Apr 06 21:53:34 JakeWharton: So I probably need two services then. I guess I’ll have an API mashup will look hackish for now. Apr 06 21:53:59 I mean the mashup cannot look like a best practices solution. Two services is messy. Apr 06 21:54:26 I think spicemanager service to restadapter is 1:1 Apr 06 21:54:49 I see Apr 06 21:56:00 Was hoping to demo an interesting mashup instead of a boring API hit for our conference. Apr 06 22:00:44 Does a thread still run after the app has been closed Apr 06 22:08:03 it does, AndreYonadam, but you can't rely on that behaviour because it could be killed any time Apr 06 22:08:38 Whats the best way to update something every 5 or 10 minutes? Apr 06 22:08:40 a service? Apr 06 22:08:43 not sure Apr 06 22:09:14 what are you trying to update exactly? as in, is it something more suited to push notifications? Apr 06 22:15:18 leslie I'm trying to update a array Apr 06 22:15:23 that is in my class Apr 06 22:15:58 AndreYonadam use a service Apr 06 22:20:44 leslie: I have another question Apr 06 22:20:47 How long does it usually take after publishing your first app to show up on the play store? Apr 06 22:20:53 depends Apr 06 22:20:58 usually around 4-8 hours in my experiance Apr 06 22:21:06 fastest time was around 3 Apr 06 22:21:33 perfect thanks. I posted it about 1.5 hours ago. Do you get notified or no? Apr 06 22:21:39 No Apr 06 22:21:40 somebody? my problem is theme.appcompat.light not found Apr 06 22:21:47 yes, AndreYonadam ? Apr 06 22:21:50 stackoverflow can't help me Apr 06 22:22:47 leslie: I'm going to be using that service to copy a list of numbers from a database to an array because I was going to be checking that array every second or two. Would it make a difference if I just directly query the Database or should I continue loading the database to an array to improve performance. Apr 06 22:23:05 gregtom6: what are you using this for? an activity? Apr 06 22:23:55 AndreYonadam: yes Apr 06 22:24:06 AndreYonadam mind if I ask why you'd need to do that? Apr 06 22:24:25 and it says import com.example.bteszt.R; cannot be resolved Apr 06 22:25:24 leslie: So basicly, I have points on a map that I want the driver to be notified while he's driving even though he or she closes the app. I get location updates through a location listener ever second or so because the person is driving. I check the contents of the array to see how far it is compared to the users local coordinates. Apr 06 22:28:08 leslie: so do you think it would be fast enough to get the numbers from the SQLITE database directly Apr 06 22:28:15 if I send you the project, can you help me to solve the problem in eclipse? Apr 06 22:28:16 AndreYonadam I don't know what your database performance is like, you could profile it to find out Apr 06 22:28:37 leslie: I'll do that Apr 06 22:28:41 AndreYonadam but you'll want to do that stuff in a service so it works in the background Apr 06 22:29:34 leslie: see If I decide to go directly and fetch the rows every second or so when the gps gets a new location, I will no longer need the arraylist. I was just using the arraylist because I thoguht It would be faster than the SQL datbase. Apr 06 22:29:47 The app basicly checks if you are close to a police station. Apr 06 22:30:07 or like red light camera Apr 06 22:30:10 so like I was trying to do that Apr 06 22:30:14 yeah Apr 06 22:30:30 ok. use a service with setForeground then Apr 06 22:30:38 How do I delete my first APK which was signed with java 7 in the Google Play Developer Console? Apr 06 22:30:38 I tried uploading a new app but it wouldn't work because com.foobar was the same. And uploading a new apk wouldn't work because it was signed differently (with j6)  Apr 06 22:30:44 for getaway drivers ;) Apr 06 22:30:48 you can't delete an apk relipse Apr 06 22:30:54 then i'm SOL Apr 06 22:30:59 you have to change the package name Apr 06 22:31:01 i need to publish my apk Apr 06 22:31:02 which you can do from eclipse Apr 06 22:31:03 its easy Apr 06 22:31:05 ok how do i change package name? Apr 06 22:31:11 there is something that comes with the android SDK that does it for you Apr 06 22:31:13 are you using eclipse? Apr 06 22:31:17 ridiculous Apr 06 22:31:17 if so right click on your project Apr 06 22:31:24 no titanium Apr 06 22:31:30 ohh snap Apr 06 22:31:31 lol Apr 06 22:31:32 but why do i have to change the package name Apr 06 22:31:34 i know in the android tools Apr 06 22:31:38 they have like change package name Apr 06 22:31:54 why can't i rename the old one and then re-upload a new one Apr 06 22:32:08 because its the package name Apr 06 22:32:11 not the actual project name Apr 06 22:32:22 thats like the unique identifier for the app Apr 06 22:32:24 on the play store Apr 06 22:32:29 if you are uploading to the play store Apr 06 22:33:32 but i had to unpublish my first app Apr 06 22:33:46 because i signed with java 7 and it said incorrectly signed when anyone downloaded it Apr 06 22:34:03 they really need a [delete] button Apr 06 22:34:33 the only thing you can do is unpublish Apr 06 22:34:45 if you want that is. Its up to you. Apr 06 22:36:06 what should I do with R cannot be resolved? I had an R somewhere in my project before and it worked Apr 06 22:36:09 please help me Apr 06 22:40:17 ok thank you for the help Apr 06 22:40:19 i have another question Apr 06 22:40:56 somebody please Apr 06 22:42:07 Is there a way to transport or copy all my pictures/descriptions to a new app or do I have to find all the images again on my computer Apr 06 22:57:29 ActionProvider. hasSubMenu() ==> Associated submenus will be shown when an action view is not. Apr 06 22:57:34 not wut? Apr 06 23:00:14 i'm still perplexed by ActionProvider. So you can have a submenu, but my understanding is that the submenu won't be shown "For the case of an action provider placed in a menu item" Apr 06 23:00:35 so then what? how does the user access those submenu items? Apr 06 23:01:01 seems like if there isn't room and it just winds up in the overflow, you get a default action and lose the submenus ? Apr 06 23:01:38 how long does it for users to be able to use a new client ID (linked app) to my app? Apr 06 23:02:24 its like they didn't even try to write docs for this Apr 06 23:04:03 hm based on SO seems like "Associated submenus will be shown when an action view is NULL" Apr 06 23:04:06 piece of shit Apr 06 23:04:29 foes google just hire interns to write these apis ? Apr 06 23:07:55 http://pastebin.com/KN5ZfYGk how can I have the one textBox fill the parent of width then put a imagebutton/icon on the right to it that is wrap content Apr 06 23:08:16 g00s, did you ever find out what that preference popup piece was Apr 06 23:08:20 Do I do a linear layout or am I missing something Apr 06 23:08:46 aretecode i'm sorry, which preference popup ? Apr 06 23:08:53 oh ! Apr 06 23:08:58 no i did not Apr 06 23:09:17 he told you, a piece of shit pops up Apr 06 23:09:43 g00s loves to whine about android ;) Apr 06 23:09:48 aretecode you mean the PopupWindow with spinners in it, from Kindle and Play Books :) Apr 06 23:10:08 g00s, http://cl.ly/image/1w3Q2O1X113T Apr 06 23:10:27 aretecode yeah … i tried doing that Apr 06 23:10:37 anybody else knows what that is? Apr 06 23:10:39 but i get a invalid window token exception from the spinners Apr 06 23:10:54 i looked at the code from Spinner, and they use ListPopupWindow or whatever Apr 06 23:11:00 Do you have a pastebin of your code? Apr 06 23:11:07 not much too it, yeah Apr 06 23:11:35 Anyone mind helping me. Basically I want two things on one row with one fill parent and one wrap content Apr 06 23:11:38 how would I do that Apr 06 23:11:43 g00s, ListPopupWindow can it have spinners in it? Apr 06 23:11:45 i was going to try on monday to ask someone who may know from google. either , they aren't using PopupWindow at all because its simply impossible,and i'm awasting my time .... Apr 06 23:12:02 aretecode no, Spinner uses ListPopupWindow to show its items Apr 06 23:12:31 g00s, yes, but what if you used a spinner to achieve that and put spinners in the spinners? Apr 06 23:12:31 also people have poblems with TextEdits.setError() when its in a PopupWindoe Apr 06 23:12:33 you can set a spinner to be dropdown by android:spinnerMode="dropdown" but it doesn't work on all hardware Apr 06 23:12:36 presumably the same problem Apr 06 23:12:53 shmooz spinnerMode="dialog" is the only thing that works Apr 06 23:13:08 it still pops up a dialog on my 2.3.3 phone Apr 06 23:13:17 it drops down correctly on the Nexus 7 Apr 06 23:14:04 schmooz, if it was a dropdown (or even a popup that could be positioned?) could it have nested spinners? Is there any examples of such a thing? Apr 06 23:14:05 shmooz spinner in a popupwindow with spinnerMode = dropDown? doesn't work for me Apr 06 23:14:31 lots of people have asked on SO / dev groups, nobody seemed to be able to get it to work Apr 06 23:14:37 no answers Apr 06 23:15:32 g00s, what is the app that you got that picture from? Apr 06 23:15:41 aretecode Play Books Apr 06 23:17:18 here is my java code http://pastebin.com/NHrhqsva Apr 06 23:17:22 and my xml: Apr 06 23:18:41 http://pastebin.com/cVKAwG8c Apr 06 23:19:19 nothing remarkable at all Apr 06 23:19:35 just doesn't work. typicak Apr 06 23:19:37 *typical Apr 06 23:20:07 I will decompile Google Play Books & see if that helps at all Apr 06 23:20:37 aretecode oh thanks aretecode ; i don't know how to do that Apr 06 23:20:48 or it would take me a while, i don't have the tools Apr 06 23:25:27 g00s, so many files... hmmm Apr 06 23:25:39 There has to be an easier way... it is crazy that nobody knows... Apr 06 23:27:12 g00s, try this? http://stackoverflow.com/questions/18761854/how-to-achieve-nested-spinner-in-android Apr 06 23:28:30 how long does it for users to be able to use a new client ID (linked app) to my app? Apr 06 23:28:38 i'm not using a nested spinner tho :( none of the spinners will show once clicked Apr 06 23:28:48 just one spinner working would be great ;) Apr 06 23:29:15 brandsAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); Apr 06 23:29:22 g00s, surprisingly, I have had no luck with spinners. Apr 06 23:29:27 this is just the layout for the listview item in the ListPopupWindow Apr 06 23:30:26 he aosp apps aren't really a good place to go anymore for these UI tricks Apr 06 23:30:34 seems like they are reserved for the gapps Apr 06 23:30:54 of course, we don't get the code for that. and then add in crappy docs, and you have a bad situation Apr 06 23:31:23 g00s, they aren't terrible. I have noticed some of the time they don't work, but in general, they work very well. Apr 06 23:31:44 I have gathered ~400-500 links while learning to code for androidin the last couple weeks. Apr 06 23:32:57 i mostly use SO because , lots of people ask questions about how to do things for android - probably one of the biggest tags there Apr 06 23:33:18 People here often help as well. Apr 06 23:33:28 You should post the image to SO! Apr 06 23:33:36 it already was Apr 06 23:33:41 link me Apr 06 23:33:52 SO: spinner popupwindow, lots of people have asked Apr 06 23:35:11 your outer spinner would have to be something custom Apr 06 23:35:59 shmooz makes sense … beyond my abilities Apr 06 23:36:21 looking at code from Dialog, etc , they use PolicyManager to get a Window Apr 06 23:36:30 those are private apis though Apr 06 23:36:35 so i have no idea Apr 06 23:38:36 shmooz, something custom like a BaseAdapter extension? Apr 06 23:39:50 sure, why not, give it a shot Apr 06 23:40:26 no idea Apr 06 23:40:33 i dont think its that simple, it involves the window manager Apr 06 23:42:10 I suppose it could all be done in settings... Apr 06 23:42:16 preferences* Apr 06 23:43:10 why do you need to nest spinners ? Apr 06 23:43:55 shmooz, http://cl.ly/image/1w3Q2O1X113T Apr 06 23:44:02 shmooz, I also mean a spinner inside a spinner. Apr 06 23:44:46 aretecode why a spinner inside spinner ? Apr 06 23:45:31 that 'sheet' is not a spinner Apr 06 23:45:47 yeah Apr 06 23:46:13 looks like a scrollview with a layout Apr 06 23:46:13 g00s, what if it was a spinner using a custom array adapter with a table for the getView? Apr 06 23:46:55 schmooz... "it looks like a ScrollView" ...really? Apr 06 23:47:35 or whatever, it doesn't look like a spinner Apr 06 23:48:13 aretecode but i could run with that idea, maybe it IS a ListPopupWindow, and for my items i need to build out all those views. Paybe Positions 1-3 are Spinners, 2 is a LinearLayout with some widgets, etc Apr 06 23:48:32 i suspect i'll have the same problem maybe worth a try Apr 06 23:49:42 but a spinner uses LisPopupWindow, so i would be showing a ListPopupWindow from a ListpopupWindow Apr 06 23:51:23 g00s... http://stackoverflow.com/questions/6288811/popup-overlay-screen-in-android-honeycomb Apr 06 23:53:59 aretecode thanks; yeah thats a whole different way Apr 06 23:54:04 definitely is a frame. Apr 06 23:54:24 g00s, by definitely, I mean 90% for sure. Apr 06 23:54:40 how can I benchmark sqlite query Apr 06 23:54:58 now Play Books has a split action bar, and the TOC actionView has a TabHost inside of it Apr 06 23:55:08 so it gets even crazier Apr 06 23:55:55 so i'd have to find a way to anchor that child of the framelayout to the actionview Apr 06 23:56:53 Are you like, cloning Play Books? Apr 06 23:57:25 no, just trying to use that one technique, where an actionButton shows a complicated set of controls over the main area Apr 06 23:57:39 meaning, spinners, tabhosts, etc Apr 06 23:58:14 AndreYonadam, http://pastebin.com/aTg6u6ty Apr 06 23:59:18 g00s, don't over think it, when the navigation menu item is clicked, show, when it is clicked (or anything on the frame is), hide. Apr 06 23:59:36 that may be correct ;) Apr 07 00:00:11 aretecode: thanks Apr 07 00:01:03 AndreYonadam, my pleasure. Apr 07 00:02:41 g00s, update me when you have implemented it. Apr 07 00:03:26 g00s, it probably goes without saying, but a boolean frameOverLayIsShown = false; seems to be the easiest way to do this. Apr 07 00:03:50 How do I track how many bitmaps are created by my app at a certain point of time, both in a new android, and in a 2.1 one... Also, how to track how much memory they use of the heap, and how much is still available? and is there any way to map those bitmaps to a filename or something that was used to create the bitmap? Apr 07 00:10:33 how can i programmatically force a searchview to be shown? Apr 07 00:11:00 using seticonifiedbydefault won't work here because i need to show the searchview after oncreateoptionsmenu has been called Apr 07 00:56:26 tstivers, http://stackoverflow.com/questions/11478227/force-action-bar-show-search-view Apr 07 00:56:48 Hey, a while back I came across a website that seemed to crawl play store apps and give you a breakdown of the libraries it uses. And also for those libraries you could see what other apps used it Apr 07 00:56:57 can anyone remember what that site was? Apr 07 00:57:06 tstivers, rather, http://stackoverflow.com/questions/14235677/how-do-i-open-the-searchview-programmatically Apr 07 00:57:52 ifmw, I wasn't here for that, have you tried querying Google for it? Apr 07 00:58:22 aretecode: all evening sadly Apr 07 00:58:35 ifmw: that sounds insanely cool Apr 07 00:58:38 maybe it's on reddit? Apr 07 00:59:30 ifmw, best of luck! Apr 07 00:59:53 aretecode i ended up setting my activity's launchmode to singletop and that gave me the effect i was looking for Apr 07 00:59:56 but thanks anyway Apr 07 01:00:52 ifmw: how would a crawler figure out an app's library usage? Apr 07 01:01:22 i guess it could be in the app's description Apr 07 01:02:04 though there isn't any info beyond that Apr 07 01:08:26 Mango_Man, downloading them all, decompiling them, analyzing... Apr 07 01:09:06 aretecode: ah okay. i'm not too familiar with decompilation, so it didn't occur to me Apr 07 01:10:52 Mango_Man, seems like a lot of work though to figure out which libraries are used. What is the main benefit of this anyway? Apr 07 01:11:07 *shrug* Apr 07 01:11:37 wo, when i go to android google earth settings, the screen only stays for about 5 seconds and then automatically exits Apr 07 01:11:52 *how does this software ever see the light of day* Apr 07 01:12:25 Is there anyway I can directly use a json array if its not named without converting it to jsonarray if it has different fields? Apr 07 01:13:06 I could add a { random and } but I was wondering if there is anyway to fimple use the whole json object Apr 07 01:13:15 without getJSONArray() Apr 07 01:15:18 don't understand any of that, but have you looked at gson ? Apr 07 01:15:33 yeah but isn't it a library? Apr 07 01:15:48 yes Apr 07 01:16:08 i mean then it would be easier to reformat the json Apr 07 01:16:24 but I would have to use that extra method which really isn't a problem Apr 07 01:16:37 I just wanted to know why android needs it to view the object Apr 07 01:16:44 ill post source code in a minute Apr 07 01:17:18 g00s: reactive cocoa syntax is shit, reminds me of oo php :( Apr 07 01:17:28 eeeek Apr 07 01:17:53 php is beast Apr 07 01:18:16 i want what you're having Apr 07 01:19:42 I love PHP! Apr 07 01:20:00 why? what's wrong with you Apr 07 01:20:06 php is amazing Apr 07 01:20:08 I have lots of what he is having, I have lots of lines of PHP, wanna do one with me? Apr 07 01:20:10 :3 Apr 07 01:20:11 PHP is bad enough, but OO-PHP is just... repulsive Apr 07 01:20:21 what are the best practices for managing keys for different clients? i personally dont see a problem with having a single keystore with aliases for different keys for different clients. anyone know any reason why i shouldnt? Apr 07 01:20:46 bankai_au, 1) why do you dislike it 2) why do you hate on it 3) show me some examples of "repulsive" OOP in PHP Apr 07 01:21:15 teasp00n, you could use the Wireless MAC Apr 07 01:22:55 aretecode: i dont think we are on the same page. im talking about signing the APK. when I say client I mean the people im developing the app for Apr 07 01:23:42 teasp00n, I am sorry I was so wrong! Yes you should not do that because you may want to give the keystore to the clients if they want to change the app! Apr 07 01:24:04 Hi all. Question: I got this googlemap, which i reference and change with it's parameters in a method. I can't call this method from an Async task's DoInBackground, i get the IllegalStateException: Not on the main thread error, but I can call the method from onPostExecute. Apr 07 01:25:03 am i correct in assuming that onPostExecute is a method in the main thread that gets triggered once the Async thread is done? Apr 07 01:25:45 aretecode: good point! might be easier just to keep them separate Apr 07 01:26:06 ThomQ: yes Apr 07 01:26:35 ThomQ: well it depends where you start the thread Apr 07 01:26:44 Yeah, from the main thread Apr 07 01:27:56 ThomQ: how's android development going for you? i remember talking about being newbs a month or so ago :) Apr 07 01:29:33 Mango_Main: It's going well, thanks. Wrapping up the 1.0 version of my current project. Apr 07 01:30:21 I've heared a couple people saying that the SDK might look convaluted, but once you get familiar with it, it's really quite logical and simple Apr 07 01:31:17 This is what I mean Apr 07 01:31:22 bankai_au: Apr 07 01:31:24 http://pastebin.com/XY1FqU71 Apr 07 01:31:36 Android is only able to handle the second one nativly, I think. Apr 07 01:31:51 Mango_Man: Starting up was slow though, I was coming from a year nad a half coding in C#, hadn't touched java before. But the basis is very much the same Apr 07 01:31:53 the first isn't valid json Apr 07 01:31:55 I was asking if there is anyway you can convert the first one to an json array Apr 07 01:31:55 AndreYonadam: Apr 07 01:31:57 Neither are. Apr 07 01:32:05 Mango_Man: I checked it on JSONlint Apr 07 01:32:09 wait Apr 07 01:32:11 maybe your right Apr 07 01:32:12 thanks Apr 07 01:32:18 aretecode is right Apr 07 01:32:26 the second isn't right either, it's missing a cloes bracket Apr 07 01:32:27 *close Apr 07 01:32:39 ohh yeah I just wrote that right now. I ment like the formating Apr 07 01:32:55 What you meant is this? http://pastebin.com/qAFgJghR Apr 07 01:32:57 Mango_Man: JSONlint says the first one is valid but I still belive you. Apr 07 01:33:23 AndreYonadam: wait maybe it is valid json Apr 07 01:33:32 aretecode: precisely Apr 07 01:33:55 jsonlint gets mixed up sometimes. thats why I said it might not be valid. Apr 07 01:33:58 I don't know though. Apr 07 01:33:59 Yes I was wrong at first, #1 is right, #2 had no closing ] & an extra comma Apr 07 01:34:19 Regardless, I bet Android can parse both of them Apr 07 01:34:23 Give it a shot. Apr 07 01:34:30 And I ain Apr 07 01:34:32 ain' Apr 07 01:34:40 talkin no tetnis Apr 07 01:35:07 dependency injection reminds me of decorators in python Apr 07 01:35:20 o.o Apr 07 01:35:35 @'s everywhere! Apr 07 01:36:02 that's just an annotation, nothing specific to di Apr 07 01:36:06 aretecode: I use contacts = jsonObj.getJSONArray("chicago"); Apr 07 01:36:06 to convert it to an array and then I use a for loop to get the objects and later fields from each one of the objects. I was wondering if there is anyway to skip getting the array from the object and avoiding that meathod Apr 07 01:36:07 Depends on what language you use. Simply put, you use it to store objects to prevent extra creation of it and for ease of use. Apr 07 01:37:02 AndreYonadam, you use .getJSONArray, then you `convert` it to an array...? Apr 07 01:37:46 Actually I get it as an JSONobject, convert it to a jsonarray and get objects from the json array. I was wondering if there would be anyway to cut the middle man. Apr 07 01:37:52 (the jsonarray. Apr 07 01:38:02 ohh yeah aretecode I use getJSONArray() Apr 07 01:39:35 So 1) You get the JSON object (which is your whole JSON file) 2) you have an array inside of that object that you want, so you get it with getJSONArray() 3) you loop over it Apr 07 01:39:42 Do you see why #1 is needed? Apr 07 01:41:15 aretecode:that is right Apr 07 01:41:23 ohh Apr 07 01:41:31 there is no way I can read the whole file as an array? Apr 07 01:41:34 I guess not Apr 07 01:41:35 yeah Apr 07 01:41:43 Thanks for highlighting and illustrating that for me Apr 07 01:41:54 You're welcome :) Apr 07 01:42:28 Have you released an app yet, AndreYonadam? Apr 07 01:42:44 aretecode: I released about 5 Apr 07 01:42:52 unpublished temporaroly Apr 07 01:42:54 most of them Apr 07 01:42:57 that reaquire intenret Apr 07 01:43:05 because they use internet and i want to put a privacy policy Apr 07 01:43:12 I also donated two apps to my school Apr 07 01:43:14 I made it for them Apr 07 01:43:23 and they are going to share it with their like district or network. Apr 07 01:43:33 I have a problem that I need to overcome. Whenever I try to solve a problem I get it right and can solve it but I usually keep looking for a simpler way to do it. idk why. Ijust don't feel secure about somethings. Apr 07 01:43:49 I manage a lot of my schools website too. Apr 07 01:44:55 not sure if I should tell them to add it to my resumè or something Apr 07 01:45:13 Practice makes perfect :) Apr 07 01:45:30 yeah. Apr 07 01:45:32 Just put it on your resume! Apr 07 01:45:32 :D Apr 07 01:45:42 So are any published? Apr 07 01:46:21 yeah Apr 07 01:46:28 My first one is still published Apr 07 01:46:32 four years old Apr 07 01:46:52 aretecode: most are educational. Apr 07 01:47:00 All educational ones are free Apr 07 01:47:05 4 of them Apr 07 01:47:05 lol Apr 07 01:47:22 I belive that educational products shouldn't be only for people who can afford them and should be available to all Apr 07 01:47:35 this is so cool: http://www.objc.io/issue-11/dependency-injection-in-java.html Apr 07 01:47:56 I might ask them to put it in my linkedin. I'm only in Highschool anyways so I won't be looking for a job for a while I guess. Apr 07 01:48:32 AndreYonadam, my favorite kind! Can you send me a link? Apr 07 01:49:14 ohh my app? Apr 07 01:49:36 aretecode: https://play.google.com/store/apps/developer?id=Andre+Yonadam Apr 07 01:53:45 AndreYonadam, nice job, great work! Apr 07 01:53:48 aretecode: I have a DNA Replication app. A physics app which is also free. Apr 07 01:54:03 it litterly shows how to do any physical education problem for students Apr 07 01:54:16 and has a step by step tab its also free as I said Apr 07 01:54:18 Where can I download it? Apr 07 01:54:38 that one. Its unpublished because I think I need to add a privacy policy. Apr 07 01:54:42 It will be back soon Apr 07 01:54:48 probblay in the next several or couple days Apr 07 01:54:54 also have another one which I took off for the same reason Apr 07 01:55:02 If unpublished, you can add to alpha and allow only certain people Apr 07 01:55:10 which allows you to practice drawing derivatives. Apr 07 01:55:17 ohh snap Apr 07 01:55:19 I can Apr 07 01:55:21 ? Apr 07 01:56:07 I made a primitive graphing class. I can make it a library for poeple to use but don't know if it will be helpful because it doesn't have numbers or a grid and only has an axis Apr 07 01:56:10 For DNA replication if you do a quick update ever, my quick advice is 1) remove the numbers from the buttons 2) add padding around the edges 3) Try working with Preferences and having a black on white version. Apr 07 01:56:10 Another question: I need an async task to run 3 times, one after another, but i don't want the main thread to be halted by this operation. I need them to reach OnPostExecute as well, so I can't loop within the async task as well. What's the smart thing to do? Start a seperate async tasking handling the those 3 threads, so that the main thread can continue? Apr 07 01:56:46 AndreYonadam, yes you can - you publish, then click in alpha mode. Apr 07 01:56:50 aretecode: I was a freshman in highschool when I did that so I lost the keystore. Apr 07 01:56:54 I can't update. Apr 07 01:56:58 I only update the description now. Apr 07 01:56:59 lol Apr 07 01:57:03 it has spelling errors. Apr 07 01:57:12 ThomQ: I think you can restart it after the post execute Apr 07 01:57:21 brb Apr 07 01:57:38 back Apr 07 01:57:49 I have a lot of stuff Apr 07 01:58:00 AndreYonadam, maybe make a new version of it? Name them the same thing, duplicate the information, and use a Master/Detail flow. Apr 07 01:58:03 Not sure if your into wordpress but I made two plugins like 6 months ago that I haven't used Apr 07 01:58:14 do you think people will download it if I make a new version. Apr 07 01:58:24 Yeah If I were to this time I would put a master/detail or flow Apr 07 01:58:37 They downloaded the old version, you will still have the old version there as well just put in the comment no keystore. Apr 07 01:58:39 My projectile motion will be coming out tommroow I'll tell you tommrowo to download it if your interested. Apr 07 01:58:45 Definitely., Apr 07 01:58:46 yeah I can do that. Apr 07 01:58:48 PM me on h ere. Apr 07 01:58:52 sure Apr 07 01:59:00 right now or tommroow when I publish it? Apr 07 01:59:40 Both :P Apr 07 01:59:43 alright sure. Apr 07 02:00:24 young love blossuming Apr 07 02:00:33 hell 0 Apr 07 02:00:36 I'll let you know when I update mine, I am on version 3, testing out the final bugs & waiting for a new phone to come in the mail. Apr 07 02:00:45 ohh cool. I'll download it too Apr 07 02:01:00 bankai_au: whats up. Apr 07 02:02:53 man, you're in high school? that's insane, programmers are starting so young these days Apr 07 02:03:25 <|0xD34D|> these days? Apr 07 02:03:46 When did you start? Apr 07 02:04:00 Mango_Man: Yeah. Lol. Idk about that. I started freshman year, 4 years ago. But I took of rapidly last year. I went back into PHP and then I came back to Java. Apr 07 02:04:01 are you having a "back in my day" moment ? coz i'll join in Apr 07 02:04:08 I honestly think the market kinda saturated Apr 07 02:04:11 I mean idk why. Apr 07 02:04:23 I think I'm going to get a degree in EE and get a job in CS. Apr 07 02:05:36 How long have you guys been programming? Apr 07 02:05:47 Good plan, started a little bit later than me but you are going to come along nicely! Apr 07 02:05:51 Nigh a decade. Apr 07 02:10:08 Thnks alright guys. I'll be going. Apr 07 02:10:09 Peace Apr 07 02:13:33 does anyone want to help me with an extremely daunting task? Apr 07 02:13:40 no Apr 07 02:14:36 No. Apr 07 02:14:42 porting ubuntu touch to the sgs3, am working on full functionality. this requires the AOSP which I am downloading. Apr 07 02:14:57 isn't this #android-dev? :S Apr 07 02:15:06 actually it is. :) Apr 07 02:15:30 as I said, it requires the AOSP and dependencies from it. Apr 07 02:15:39 Are you a programmer? Apr 07 02:15:47 (my first port) Apr 07 02:16:02 maybe you should chat to #android and #android-root - they care more about OS stuff like that Apr 07 02:16:13 So you're either not a programmer or this is a stupid rooting thing. Go bother #android-root. Apr 07 02:16:27 I'm not rooting... my phone is rooted. Apr 07 02:16:39 be even more rooted once you put ubuntu on it Apr 07 02:16:42 Nobody in here cares about getting Ubuntu working on your phone. Apr 07 02:17:03 anonynimity please read the topic - part about roms ;) Apr 07 02:17:20 I have some experience in programming... but not a whole lot... I'm working on it for my phone so I can release it for everyone else to use. :) Apr 07 02:17:31 maybe we should put some colour or pretty flashing stuff in the topic. that's what they did back in the 90s Apr 07 02:18:27 This isn't related to android dev, so nobody's going to care. Go bug the rooters or the Ubuntu people. Apr 07 02:18:30 we should have a nyan cat in there Apr 07 02:18:59 The Android chatroom on SO classifies help vampires as nyan cats. The help vampires found this very offensive. Apr 07 02:19:09 channel Apr 07 02:19:32 what is a help vampire ? Apr 07 02:19:33 i like the idea of nyan cats - are you committing to that, g00s ? Apr 07 02:19:46 bankai_au i can't change the topic :S Apr 07 02:19:59 useless .. Apr 07 02:20:04 pfft Apr 07 02:20:09 aren't we off topic here? Apr 07 02:20:12 bankai_au: If you're suggesting I should use channel instead of chatroom, you're wrong Apr 07 02:20:23 i think this calls for certain people being suspended from this channel. :) Apr 07 02:20:27 hey, I have a checkbox with some text set to it, when I try to set the gravity of the checkbox to center, the checkbox doesn't move but onyl the text for it, how do I move both? Apr 07 02:20:30 lets see if I can find an op Apr 07 02:20:36 Stack Overflow's chatrooms are not IRC. Apr 07 02:20:49 anonynimity: Bugger off. Apr 07 02:20:57 anonynimity hold, let me find one for you Apr 07 02:20:58 yeah i didn't read the SO bit and got confused when you started talking about vampires and cats haha Apr 07 02:21:46 Fair enough. Apr 07 02:22:58 anyone? Apr 07 02:23:56 you would have to center the text box as well? Apr 07 02:24:04 gwz: Move the checkbox and don't set the text's gravity. Apr 07 02:24:09 layout_gravity i think is what you want Apr 07 02:25:08 Either that or use a relative layout and center it using one of the layout attributes. Apr 07 02:25:09 Either way, gravity is a textview attribute for setting the text's gravity. Apr 07 02:25:21 I am not using a different textview though, I am just doing .setText on checkbox Apr 07 02:25:40 Since CheckBox is a Button is a TextView. Apr 07 02:28:03 I hate tax season Apr 07 02:28:29 I took care of mine a while ago, which only proved I suck at making money Apr 07 02:28:37 HR Block made sure you would, by lobbying against efforts to make it simple Apr 07 02:28:43 and Quicken Apr 07 02:28:44 I'm holding off on filing mine Apr 07 02:28:52 Hello. Apr 07 02:28:57 since it makes my $30k bill real Apr 07 02:28:57 I have a quick question. Apr 07 02:29:04 I'm so bad at making money I don't have to file. Apr 07 02:29:15 Nilium me too :D Apr 07 02:29:15 You have a $30,000 bill? Apr 07 02:29:18 From who? Lol. Apr 07 02:29:28 That's like half a nice car. Apr 07 02:29:34 We've all got questions, terrifying ones, dark ones, the kind that make adults weep in horror at their tattered lives Apr 07 02:29:48 The one that I have is terrifying! Apr 07 02:29:54 i bet pfn consumed 30K worth of fresh coffee stuff this year Apr 07 02:30:04 Not really. To be honest, I forgot. :( Apr 07 02:30:10 Been drinking. Apr 07 02:30:43 Oh I remember now: Does anyone here use Android Studio? Apr 07 02:30:55 what kinda stupid question is that Apr 07 02:31:06 The kind with a question mark at the end lol. Apr 07 02:31:10 I use IntelliJ, so I use what it's built on. Apr 07 02:31:11 <-- Sarcastic. Apr 07 02:31:16 It would be pretty awesome to have a record of everything I ever purchased over my entire life so I could look at the data for it Apr 07 02:31:33 that would be depressing Apr 07 02:31:40 Ahh. Well my real question is, what's the steps to take to use a Library, or some SDK in Android Studio? Apr 07 02:31:43 Where's the NSA when I need them on that Apr 07 02:31:55 In eclipse, you make it as "Is Library" and it's all good. Apr 07 02:32:02 Just import, blah blah. Apr 07 02:32:11 But Android Studio is drawing a blank for me lol. Apr 07 02:32:25 Just trying to "Link to a Library. (C++ Talk)." Apr 07 02:32:43 Project Structure Apr 07 02:32:47 Add it as a dependency Apr 07 02:32:53 What kind of library? Apr 07 02:32:57 IntelliJ Apr 07 02:33:01 pBlack, the irs of course Apr 07 02:33:06 Specifically the Facebook SDK. Apr 07 02:33:11 Oh, pfn. I see. Apr 07 02:33:12 AS does some weird Gradle shit Apr 07 02:33:16 >< Be careful. Apr 07 02:33:27 An Android project library or just a jar file? Apr 07 02:33:36 Should just use SBT. Apr 07 02:33:45 Hmm, I think the Facebook SDK is a normal project as far as I can see. Apr 07 02:33:56 i gotta file a bug, every time i start a new project in AS it downloads all the gradle shit; even though i have it locally. damn thing takes like 10 minutes Apr 07 02:33:59 Even if you don't use Scala, just use SBT. Apr 07 02:35:06 The only prerelease stuff I willingly use is IntelliJ's 'cause they're pretty great about fixing bugs. Apr 07 02:35:25 I just write code, build, run. Apr 07 02:35:29 No weird features. :) Apr 07 02:35:42 I did notice that the Android Studio layout designer seems to be more accurate. Apr 07 02:35:51 Did they improve it since 0.3.x? Apr 07 02:36:02 g00s, just download gradle and tell it to use that in the open project dialog Apr 07 02:36:04 not to mention that it looks nicer Apr 07 02:36:11 alex_PP i do :( Apr 07 02:36:14 I never use layout designers. Wouldn't recommend it. Apr 07 02:36:14 Too inaccurate, better to just write everything in XML and test it on a device. Apr 07 02:36:22 also, make yourself a simple template project Apr 07 02:36:32 i have all AS set to use local install Apr 07 02:36:44 seems when you create a new project, it has its won idea though Apr 07 02:36:46 Nilium: yes but its nice for new people to get into it. It is good to see instant results. Apr 07 02:37:00 all that module stuff with the AS template is unnecessary for 99% of projects Apr 07 02:37:10 Nilium: any serious developer will use xml though Apr 07 02:37:18 I use the designer because my compile + install takes a good 5 min Apr 07 02:37:19 Yeah, but it'll just teach the new people how it backfires in weird ways to rely on it. Apr 07 02:37:37 if you use a ViewStub, is there any way to remove the inflated view when its not needed any more ? its not a ViewGroup so there is no removeChild (even if its more a proxy) Apr 07 02:37:54 Mine takes about 10 seconds at worst, usually. Apr 07 02:37:59 pfn's done a nice job of making that work out. Apr 07 02:38:07 How so? Apr 07 02:38:29 I use sbt for building/packaging/installing/etc. Apr 07 02:39:02 * frankdrey makes mental note to find out what SBT is Apr 07 02:39:25 Manning has an SBT book Apr 07 02:40:01 http://www.scala-sbt.org ⇐ sbt. Apr 07 02:40:02 I use it 'cause I use Scala, but it works fine for just Java as well. Apr 07 02:45:22 hm spiped looks very nice Apr 07 02:45:32 http://www.tarsnap.com/spiped.html Apr 07 02:50:27 Books Apr 07 02:51:10 Deodorant Apr 07 02:51:21 Nilium freudian slip ? Apr 07 02:51:51 Just naming another common item. Apr 07 02:57:56 no common enough Apr 07 02:58:52 how quick does admob update their estimated earnings? Apr 07 02:59:06 is it realtime like adsense? Apr 07 02:59:33 Dunno, ask admob. **** ENDING LOGGING AT Mon Apr 07 02:59:59 2014