**** BEGIN LOGGING AT Tue Nov 12 02:59:58 2013 Nov 12 03:01:57 No Body?? Nov 12 03:09:47 MrMeTooo, there's a hackathon this saturday at google Nov 12 03:13:28 no body??? Nov 12 03:14:51 scala works well on android Nov 12 03:15:08 does it take a longer to compile? Nov 12 03:15:31 but if android apis are already causing you pain... Nov 12 03:15:49 somewhat Nov 12 03:16:23 Anyone go by Brad Kibler? Nov 12 03:17:06 did he give you a 1* review? Nov 12 03:18:11 i got a 1* from a mister Rajesh Kumar Karan Nov 12 03:18:26 there was only one other so the rating is now 2.5 :( Nov 12 03:18:32 No. Nov 12 03:18:32 They sent me an email asking about how to build something in Android and I have no idea why they emailed me Nov 12 03:18:38 But it went to my gmail account, which means it wasn't via the Play store Nov 12 03:19:37 I haven't gotten any 1-stars yet, but I would've complained about it and then done nothing. Nov 12 03:20:07 I don't bother asking about who left reviews since that would get creepy real fast. Nov 12 03:20:25 alex_PP, love those Nov 12 03:20:37 Nilium, how long does the plugin take to build your app anyway? clean vs. delta? Nov 12 03:20:43 I'm curious what other people are experiencing Nov 12 03:21:13 and yeah, weird... Nov 12 03:21:13 Clean, maybe a minute, delta, probably on average about half a minute depending on what's changed. Nov 12 03:21:22 that's pretty slow... Nov 12 03:21:43 Adding new resources basically guarantees I'm rebuilding stuff pretty frequently. Nov 12 03:21:52 If it's strictly code, usually it's much faster. Nov 12 03:41:46 funniest line today: "Wow, I don't exactly understand what happened, but when you are thinking of driving down to the headquarters of an SOA company and pleading your case, you are in a special kind of fuck." Nov 12 03:42:39 hello guys, is there a way to figure out why x86 virtual devices don't work suddenly? Nov 12 03:43:25 I've deleted and recreated my virtual device and only the arm work, when I start up with the x86 one, nothing shows up, it only takes up the process Nov 12 03:43:35 razzledazzle: have you checked if either kvm (linux) or intel haxm (win/mac) are there working? Nov 12 03:46:18 p_l: yes, they seem to work Nov 12 03:50:19 installing virt-manager now, will check back Nov 12 03:50:41 shouldn't there be a log for this? Nov 12 03:51:01 run emulator with -verbose -debug ? Nov 12 03:51:15 also, you can get logcat from emulator Nov 12 03:51:23 with android -v avd? Nov 12 03:51:39 no, the "emulator" command Nov 12 03:51:50 emulator-x86 in this case Nov 12 03:51:55 okay, will do Nov 12 03:52:05 you can run it with -help to get list of options Nov 12 04:09:36 emulator gets stuck at "emulator: trying to find: /home/xxx/android-sdk/sdk/tools/lib/pc-bios/vgabios-cirrus.bin" Nov 12 04:11:43 sounds like broken emulator install Nov 12 04:32:00 p_l, the file is there plus arm works, I don't think it is Nov 12 05:07:18 How to implement this kind of layout? http://imgbin.org/images/15643.png Nov 12 05:22:13 okay, the emulator only shows up when I cause it to terminate with Ctrl+C for a very brief moment, a fraction of second Nov 12 06:00:20 pfn, at work its all java at home i use intelliJ Nov 12 06:01:04 I want to automatically add @domain.com to the value of an EditText while the user is typing it, in a greyed out font. the color can be achieved using setSpan, but how can I add the text without ending up in an endless afterTextChanged() loop? Nov 12 06:03:52 PendingIntent.getBroadcast(); returns a normal broadcast. Is there any way to get an orderedBroadcast out of it? Nov 12 06:31:44 PendingIntent.getBroadcast(); returns a normal broadcast. Is there any way to get an orderedBroadcast out of it? Nov 12 06:52:08 hello, I am just going through the tutorials at http://developer.android.com/training/basics/firstapp/ and have seen quite a few references to "R" without any explination of what that is. ie. EditText editText = (EditText) findViewById(R.id.edit_message); Nov 12 06:52:14 can anyone tell me what R denoted? Nov 12 06:52:17 denotes* Nov 12 06:54:18 R is basically, a compiled file that keeps track of a lot of your resources Nov 12 06:54:57 So, if you have something defined in an xml file as a layout or something, if you set its ID, then it will show up in the R file Nov 12 06:55:12 its autogenerated, and you shouldnt edit it manually Nov 12 06:55:15 remargorp: it's an autogenerated class that has necessary indices that identify named resources from XML files etc. to apropriate resource provider code Nov 12 06:55:30 Or at least thats how i use it... im not an expert though Nov 12 06:55:45 p_l said it better lol Nov 12 06:56:14 but probably less understandably Nov 12 07:00:41 PendingIntent.getBroadcast(); returns a normal broadcast. Is there any way to get an orderedBroadcast out of it? Nov 12 07:04:02 R is a piece of statistical software Nov 12 07:04:18 http://www.r-project.org/ Nov 12 07:04:21 :) Nov 12 07:05:27 Hey there. Having some trouble getting the android support library to work with my maven project Nov 12 07:05:54 used the deckard project, then added the support lib as a dependency Nov 12 07:06:15 now, I recognized that I downloaded the support library using the android tool Nov 12 07:06:28 so I suppose I need to tell maven to look somewhere for that jar Nov 12 07:24:12 aren't you suppoesd to be able to open your app by typing the URL with your app's scheme into the broswer URL? Nov 12 07:30:06 i guess it works if its a link, but not if its in the address bar? Nov 12 07:31:41 Note that you cannot have a circular dependency between the size of the RelativeLayout and the position of its children. For example, you cannot have a RelativeLayout whose height is set to WRAP_CONTENT and a child set to ALIGN_PARENT_BOTTOM What does this mean and why? Nov 12 07:32:53 well, a RelativeLayout that is WRAP_CONTENT will wrap the content, ie, it's bottom will be the bottom of its child view Nov 12 07:33:23 and if you have a child view who says that it is ALIGN_PARENT_BOTTOM... well, its asking where the parent's bottom is... Nov 12 07:33:38 and the parent's bottom is at the child's bottom, which is at the parent's bottom which.... Nov 12 07:33:45 so you need one to be more concrete Nov 12 07:35:41 Ok, but how about this kind of layout? I want a RelativeLayout at the bottom of the screen whose height is wrap_content, and the parent of this RelativeLayout is FrameLayout Nov 12 07:36:43 BTW, does it mean that only the `ALIGN_PARENT_BOTTOM` can not be used or `ALIGN_PARENT_BOTTOM` and `ALIGN_PARENT_TOP` can also be not used? Nov 12 07:36:50 well, you could probably get something working Nov 12 07:37:16 im not sure -- i dont think there's rules about what can and can't be used Nov 12 07:37:24 i think it has to do with the dependencies between the views Nov 12 07:37:51 just a guess, but align parent top might be ok Nov 12 07:38:54 Thanks :) Nov 12 08:09:27 http://youtu.be/hahhpkqfmCo Nov 12 08:12:41 finally got a workaround in place to avoid http://code.google.com/p/android/issues/detail?id=62091 Nov 12 08:12:41 what ap ita Nov 12 08:12:45 a pita rather Nov 12 08:15:02 the emulator-x86 process is just sitting there taking up the processor.. Nov 12 08:15:38 How to make two view inside a RelativeLayout align at the bottom? http://imgbin.org/images/15644.png Nov 12 08:22:12 hi I tried to create a new project with android studio. it uses gradle but it instantly fails to build. it selects the JDK and not the android sdk as SDK by default and if I change that to a proper android sdk, it cannot resolve R and other stuff... how to do this correctly? Nov 12 08:22:56 oh "other stuff" is something from a android-v7-compat library which is referenced for some reason but not there Nov 12 08:23:10 *it isnt there Nov 12 08:55:32 hey guys, im trying to connect gdb to android emulator to debug AOSP. I followed instructions on www.kandroid.org/online-pdk/guide/debugging_gdb.html. If I use the short instructions, i get a connection time out. If I use the detailed, i receive a segmantation fault :(. could anybody help me please? Nov 12 08:55:53 *segmentation Nov 12 09:02:31 Hey, does google provide a way to read an app's rating? how many 5 stars, 4 stars etc...? Or do I have to parse their HTML? Nov 12 09:07:42 what's the best way to send a fileinputstream using apache's http library? The new KK document picker returns a URI I have to open using content resolver and that returns an input stream rather than a file path, so I can't use FileBody, and using InputStreamBody isn't repeatable :/ Nov 12 09:43:45 Why the popupwindow does not display? http://stackoverflow.com/questions/19925519/popupwindow-does-not-show-as-expected Nov 12 09:45:03 Hello, I need listen to android.accounts.LOGIN_ACCOUNTS_CHANGED intent but only for the primary google account changes. Apparently the intent is broadcasted on any account changed and the intent object does not hold any details for specific account that was changed. How do I filter it then? Nov 12 10:00:38 hi Nov 12 10:01:12 i have problems with Android Studio e custom view and styleable Nov 12 10:01:41 IDE don't show problem, but when i compile have errors... Nov 12 10:04:04 there is code: http://pastebin.com/D2UCaVCW Nov 12 10:07:10 hi everyone Nov 12 10:08:19 I'm using google maps within my app, and I'd like to have a "transparent layer" on top of the map, like the temperature thing in this picture: https://lh6.ggpht.com/sp7a69E3gXwv-YU931U84dqbSFzC3aI1018tJiZesej1oeKyWUnpRM3g8Y_c_aJZ7JQ%3Dh900 Nov 12 10:09:02 how can I do that? Nov 12 10:39:21 hmm, is it possible to package native libraries in aar library files? Nov 12 10:49:08 hi Nov 12 10:57:38 Hi! I have a view hierarchy where all the superviews have as layout height wrap_content, and a leaf that's an ImageView (also wrap_content height), of which I set a computed minimum height once inflalted. But this is not reflected on display. I've tried to set invalidate either to the ImageVIew (when the bitmap is set) or to the root view or some parent view, I've tried with refreshLayout and various combinations. Nov 12 10:57:58 How can I have the layout update when I set the minimum height of a subview? Nov 12 10:58:27 This is on 4.2.2 Nov 12 11:30:37 Can anybody thing of a good way of linking edittexts together? I've got 6 in a row and when you've entered one item into the first box i need it to jump to the second Nov 12 11:30:50 I was thinking a text watcher that changes focus? Nov 12 11:34:23 Unless there is a better way Nov 12 11:42:23 Hello Nov 12 11:43:09 Does anybody know how can I get the overrided Draw(Canvas c) method of a view use the same canvas every time the view needs to be painted ? Nov 12 11:43:38 I want to avoid REdrawing all the time the same, i would like to draw only the new things I want Nov 12 11:44:12 Once a package is published, the package="foo.bar.baz" cannot be renamed in AndroidManifest right? Nov 12 11:45:24 ..but, can I move all code into another package and just keep the MAIN activity in the original package scope - are there some smart forwarding tricks? Nov 12 11:50:14 you can rename the package in the manifest, but that would mean you will have a separate entry in the play store Nov 12 11:50:20 you can move all your code to another package Nov 12 11:50:55 I just ran into the problem you are having, and it appears to be working in the beta I just released Nov 12 11:52:10 you can even change the name of the Nov 12 11:59:06 cadmi: think there is a invalidateREct or something where you only make the view redraw a portion? Nov 12 12:03:15 canvs2321 it should be invoked in the view? Nov 12 12:03:53 so what was drawn before keeps in the screen? Nov 12 12:06:36 i'd have to double check how you'd use it. i just know there is some way to only update a portion Nov 12 12:06:59 can always keep your drawing cache&update accordingly Nov 12 12:07:24 or save the canvas outside the scope of onDraw into a global canvas or bitmap object Nov 12 12:07:34 canvs2321 i have a very long very long scroll view Nov 12 12:07:43 i want to draw text while scrolling.. Nov 12 12:07:50 not the full the scrollview Nov 12 12:08:00 yes Nov 12 12:08:07 i tried what you say without success Nov 12 12:08:13 maybe the best would be to invalidate(portion) Nov 12 12:08:23 hello guys I have some issue with receive udp packet, I turn off multicast lock gave right permissions but none of multicast packet isn't receive http://pastebin.com/BkcPb2Pe Nov 12 12:08:56 or overlay a textview over your scrollview, or use framelayout with scrollview then textview&set textview visibility&text accordingly towhat you need Nov 12 12:09:01 adress is correct Nov 12 12:09:10 if you can show me an example of what you want i can probably throw more words@u :) Nov 12 12:10:02 I try do it form Fragment Nov 12 12:12:29 any of you was working with udp at android? Nov 12 12:13:40 there is 422 users and no one works with UDP ? Nov 12 12:14:03 Dudi: ISP hate UDP ;_; Nov 12 12:15:28 p_l, what can you do, I need it :) Nov 12 12:16:02 Dudi: and even worse, you are using multicast! That's black magic! You must be... a witch! Nov 12 12:17:12 p_l black magic in deed... Nov 12 12:17:55 (if you tell me you're doing non-local multicast, you're so deep in black magic, half the routers in the network go WTF at you) Nov 12 12:18:13 pduin: you can move ALL the other code to another package? doesn't anything need to be left in the original package? Nov 12 12:18:54 p_l are you mad?! ofc local multicast Nov 12 12:19:00 hehe Nov 12 12:19:17 p_l I don't want to wrold hate me Nov 12 12:19:23 world* Nov 12 12:20:23 p_l ok but what's next I remove lock (I guess), I join to group, but still no packet received Nov 12 12:22:49 Dudi: have you tried dumping the traffic to see if the system actually receives anything (or joins the group?) Nov 12 12:23:27 (also, tested the network for working multicast... that doesn't nuke your upstream --- been there, done that, didn't get a tshirt for killing ISP with local multicast in LAN...) Nov 12 12:26:12 p_l for second suggestion, I have running iOS and WP app and those two reading packets perfectly. I just read that article and maybe it's device problem http://codeisland.org/2012/udp-multicast-on-android/ Nov 12 12:26:40 how to export a jar-file from an android studio project? Nov 12 12:26:46 but I have 2.3.4 android on it Nov 12 12:27:35 p_l I try change device Nov 12 12:28:08 snowpong, you can move everything as long as you leave the package name in the manifest-tag intact Nov 12 12:28:23 code package and manifest package seem to be completely unrelated Nov 12 12:29:18 pduin: but all references to activities in the manifest must then be complete foo.bar.baz.MainActivity instead of before a shorthand .MainActivity I guess Nov 12 12:29:40 p_l now it's working... so multicast it's working well on SE w19i :( Nov 12 12:30:05 difference in OS version? Nov 12 12:30:15 hey guys so Nov 12 12:30:16 snowpong, you can move those as well Nov 12 12:30:39 what is the best way to get the contact number and email address from the phone Nov 12 12:30:48 snowpong, the beta I mentioned is a complete rewrite of the app, no activity is the same Nov 12 12:31:14 i can get it but its 3 queries, 1 to get all the contacts then looping it and filtering the HAS_PHONE_NUMBER Nov 12 12:31:25 then individual queries for the number and email address Nov 12 12:31:33 is there a faster betterway?? Nov 12 12:31:33 pduin: OK Nov 12 12:31:37 hey maiatoday Nov 12 12:32:05 p_ it's working on android 2.3.6 but not at 2.3.4 Nov 12 12:34:01 ehhh... now I'm trying to update my w19i Nov 12 12:36:30 Changing minSdkVersion in manifest it's all I need to do to prevent installing app at devices with < 2.36 right? Nov 12 12:36:42 btw 2.3.4 is still poplular? Nov 12 12:36:48 canvs2321 ok thanks, i'm trying. I used invalidate(Rect r) But all is repainted :( Nov 12 12:41:34 any idea to draw only a certain part of a view ? Nov 12 12:47:39 i have two pref fragments on a screen.. one longer than the other and longer than the screen Nov 12 12:48:01 when i scroll it scrolls only the one on which i start the touch event from Nov 12 12:48:26 as i wish to replace the second on demand, is there a way to mate both of these pref fragments together Nov 12 12:48:31 mm i see picture class Nov 12 12:48:32 so that they scroll as a group Nov 12 12:49:28 i can give you an apk i that will help explain Nov 12 13:03:01 ok, i'll just keep going at it then Nov 12 13:11:25 It seams that 2.3.4 Android have huge problem with mutlicast lock Nov 12 13:12:25 Hmm.. I try to get the calllogs or strings from a device wich are in chinese letter and transfer it using the default androidhttpclient with charset utf8. The Strings are damaged or not transfered to the webserver. The Webserver has charset utf8 and store the strings int he database as utf8. What may be the problem? Nov 12 13:12:26 2.3.4 has many problems Nov 12 13:13:57 what do you guys use for TDD ? Nov 12 13:19:14 junit Nov 12 13:20:00 kinda lame, but its what i do Nov 12 13:20:04 http://paulbutcher.com/2012/05/15/mockito-on-android-step-by-step/ Nov 12 13:20:07 may be what you're after though Nov 12 13:21:00 http://developer.android.com/tools/testing/testing_android.html#JUnit Nov 12 13:25:56 wmealing, thank you I would check that out Nov 12 13:26:39 tagrudev, robolectric helps alot Nov 12 13:26:45 if you want to test on an integration server Nov 12 13:28:55 Mavrik, currently not using integration server Nov 12 13:29:04 I will check that out too thank you Nov 12 13:41:59 Is there typically a delay between when a user submits a crash report and when it shows up in the Google Play developer console? Nov 12 13:42:05 This is for a beta version of the app Nov 12 13:42:37 My testers say they've submitted 3 crash reports in the past 2 days, but I don't see any. Nov 12 13:42:59 please any good tutorial for graphics.picture ? Nov 12 13:57:42 I have extended a dialog preference, and I get a little bit odd appearance for my extended preference, a bit more bigger font and the lcon a little to the left. Have anyone came across this issue?! Nov 12 14:12:14 This is what I see : http://imgur.com/Zze34UL Nov 12 14:12:26 the top one is simply a normal preference Nov 12 14:12:49 and the one on the bottom, is the one I created by extending a dialog preference. Nov 12 14:13:04 See the icon shifted to the left, and having a bigger font size for the title. Nov 12 14:26:05 please any good tutorial for graphics.picture ? Nov 12 14:38:40 is this phone worth it http://madison.craigslist.org/mob/4185876740.html Nov 12 14:41:05 doubt it Nov 12 14:41:25 repairing those phones is a bitch Nov 12 14:41:55 * pfn thinks long and hard about not being to have an unlocked bootloader :( Nov 12 14:42:59 Looney: see http://www.ifixit.com/Teardown/HTC+One+Teardown/13494 Nov 12 14:43:03 changed my htc phone's screen myself Nov 12 14:43:06 ok Nov 12 14:43:10 let me check Nov 12 14:43:26 imho if the ifixit guys cant break it Nov 12 14:43:30 can break it Nov 12 14:43:32 i have no chance Nov 12 14:43:48 the htc ones lock button sucks though Nov 12 14:46:40 wow, they are trying to close the hardware Nov 12 14:49:01 yeah… i imagine so Nov 12 14:49:37 but gotta cre3dit them for doing all the shielding in the phone Nov 12 14:49:43 *credit Nov 12 14:50:19 Looney: i refuse to Nov 12 14:51:50 yeah, from repairing perspective they do not deserve it Nov 12 14:54:46 can anyone help me out with my problem above? Nov 12 14:59:23 napster: Check the layout alignments. Perhaps it's centered or some other adjustable setting instead of being left-justified? Nov 12 14:59:49 ogamita: I actually don't use a custom layout. Nov 12 15:04:26 napster: check the settings of the used layout objects, whether it's a custom or an android layout object. Nov 12 15:05:12 well, not sure how to do that :) Nov 12 15:25:23 nexus 5 wireless charger. go Nov 12 15:26:43 funkbox do you think its safe on the sensors? not so sure Nov 12 15:26:45 freaking samsung piece of craps Nov 12 15:26:52 g00s: why wouldn't it be Nov 12 15:27:18 funkbox i was reading about concerns regarding damage to the gyro / compass Nov 12 15:27:36 it was a "we'll have to see" Nov 12 15:27:44 Guinea pigs, go ! Nov 12 15:27:48 g00s: ah, i'll wait then Nov 12 15:28:00 i want ot do wifi debugging Nov 12 15:28:05 too many wires Nov 12 15:28:22 i could really use a nice powered USB hub with some sort of fancy cable management Nov 12 15:28:32 how to know when a custom view is going to dissapear inside of it ? Nov 12 15:28:43 (due to pause method in the activity that contains it) Nov 12 15:33:06 Do anyone have the layout xml for a default preference view? Nov 12 15:37:51 shit, ContentResolver.call(uri, …) doesnt pass the uri to ContentProvider.call() … wtf Nov 12 15:42:14 c] Nov 12 15:42:41 Cadmi: so you can save data? use onSaveInstanceState and OnRestore.. Nov 12 15:44:18 Anyone knows why a loading webview blocks clicks from another non loading webview? Nov 12 15:44:36 Or better yet, how to prevent a loading webview from blocking clicks? Nov 12 15:48:00 Got a few webviews in a ViewPager. Because it can take a while ±500ms to get each webview loaded, I have them preload their data off screen. While the offscreen webviews are preloading, the (already loaded) onscreen webview does not seem te be able to catch clicks. Once the offscreen webviews are done loading the clicks come through. Nov 12 15:50:25 'a few web views' in a ViewPager : sounds pretty rough Nov 12 15:50:51 It's 3 max Nov 12 15:50:51 maybe nowadays that could pass; back during froyo no way we'd do that Nov 12 15:51:19 they are pretty heavy weight, with threads fetching data Nov 12 15:51:49 I know, It works fine, even on slow devices Nov 12 15:51:57 is there a way to sniff out what sockets a server has? Nov 12 15:52:07 or is that sort of a grey area? Nov 12 15:52:44 uh, nmap ? Nov 12 15:53:23 The thing I don't get is why one webview blocks the clicks of another webview. The webview is scrollable though Nov 12 16:00:22 Guys - Software Engineering question here. What would you write into a "Data Requirements" section of a Terms of Reference document? Nov 12 16:02:39 Anthaas usually if you are using a process which prescribes artifacts like that, the section will have a little blurb about what should be there ;) Nov 12 16:03:12 what is a Terms of Reference doc anyhow, a data dictionary ? Nov 12 16:03:17 g00s: Can I translate your response to: "Whatever needs to be there should be there"? Nov 12 16:03:26 A reference document for an on-going project Nov 12 16:03:27 Contains everything Nov 12 16:03:32 User requirements Nov 12 16:03:36 System requirements Nov 12 16:03:36 etc Nov 12 16:04:29 Same goes with "System Performance Criteria". Nov 12 16:04:34 The system must work? Nov 12 16:04:36 lol Nov 12 16:04:57 sounds like you'll be in ms word for a while :D Nov 12 16:04:59 If that is talking latency on submodules, then I guess there are no real constraints other than working within a reasonable time. Nov 12 16:05:08 But then what is "reasonable" Nov 12 16:05:20 I expect so :/ Nov 12 16:05:22 'working in reasonable time' is not measureable / testable Nov 12 16:05:24 27 pages in.... lol Nov 12 16:05:27 Exactly. Nov 12 16:05:53 non functional requirements should probably come from your architect Nov 12 16:06:02 I am all of the above :/ Nov 12 16:06:05 Its an individual project hahaha Nov 12 16:06:07 hehe :) Nov 12 16:06:21 Which makes it a pain in the ass because I am arguing with myself. Nov 12 16:49:31 TI's website is a piece of crap Nov 12 16:52:50 Many are Nov 12 16:53:09 my.TI seems like some crappy drupal site from 2005 Nov 12 17:23:40 hi ! Nov 12 17:24:21 I have a project with many activities. Is there a way to see from what activity is called another activity ? Nov 12 17:26:04 macTAR no, not really. i've thought this was a good idea to add to the tooling for a while, but alas Nov 12 17:27:06 aight lets read all files line per line :) Nov 12 17:27:48 if your app uses explicit intents, i suppose you could write a little tool to weed that out Nov 12 17:35:50 g00s: if you use the newInstance pattern (or similar) then it's much easier Nov 12 17:36:22 evanc how does that go? can you point me to an example ? Nov 12 17:36:31 i use that for fragments Nov 12 17:36:36 (i think) Nov 12 17:37:29 i noticed iosched 2013 embedded some meta-data elements in the manifest, but these were really flags for tablet / phone i think Nov 12 17:49:45 g00s: public class MyActivity extends Activity { public static void start(Context c) { c.startActivity(new Intent(c, MyActivity.class)); } } Nov 12 17:50:00 pass in params (for extras) as necessary Nov 12 17:52:10 evanc ah, ok. i use that for frags / services a lot. thx Nov 12 17:52:16 evanc do you know of any possible way to ship some data from ContentResolver.notifyChange(uri) … to a listening ContentObserver? I can't think of anything. maybe i will try Uri setQueryParameters() Nov 12 17:52:50 g00s: you could add fragments (or params) to the URI Nov 12 17:54:16 hm, so you think setQueryParams might work, i'm going to try Nov 12 17:55:45 Hey guys quick question, if im using a webview is it possible for me to alter how the webpage is viewed in my app without actually altering the webpage? Nov 12 17:56:55 making a recursive subroutine lab manual for factorial calculation, forcing student to write a subroutine for multiplication Nov 12 18:03:54 i must be going mad, wasn't there a Uri.appendQueryParameter() ? Nov 12 18:05:47 oh, Uri.Builder() :) Nov 12 18:17:48 with the new storage provider stuff, is it possible the get the underlying google drive or dropbox url? Nov 12 18:17:50 Guy can some one please tell me y my information is not being strung between activities???????????? http://pastebin.com/drYtXKtQ Nov 12 18:20:39 Hi.... question about AlarmManager in Android 4.4. My app was working in other versions of Android, but for 4.4, my receiver no longer receives scheduled calls from the alarmManager. Does anyone know how to fix? Nov 12 18:21:17 Guy can some one please tell me y my information is not being strung between activities???????????? http://pastebin.com/drYtXKtQ Nov 12 18:22:17 dck28 there were changes made there Nov 12 18:22:58 besides the keys not matching Nov 12 18:24:28 the app does not die just does not populate Nov 12 18:24:32 OnClick Nov 12 18:26:51 I know its soooo simple -_- Nov 12 18:27:12 g00s: yes I noticed... but they claimed that if your app is build with target 18... it should still behave the same... Nov 12 18:27:44 g00s: do you have any good resource how i can update my implementation so that I can support 4.4 also? Nov 12 18:28:07 Anyone know if the note 3 is a large screen device? Or where I might look up this kind of info? Nov 12 18:30:41 dck28 i think you will have to check Build.SDK version or something and if 19, use setExact Nov 12 18:30:52 i *hate* these kinds of changes Nov 12 18:31:45 they did something like this with content provider permissions back in 4.0; and said that if the target was < 4.0 everything would keep working /but it did not/ Nov 12 18:31:53 i basically had to just make my provider public Nov 12 18:32:18 uri permission stuff was broken on EXTRAs on some versions Nov 12 18:32:23 there was no workable solution Nov 12 18:32:57 any ideas???? Nov 12 18:34:04 huh Nov 12 18:34:23 something very very wierd is going on if you pass bitmaps to NDK in onDraw Nov 12 18:34:25 g00s: I can't agree more... at least don't make such claims... and provide working examples of how to support/transition to newer builds Nov 12 18:35:23 dck28 you'll do something like this http://socialtech101.blogspot.com/2013/01/how-to-write-code-for-different-android.html Nov 12 18:36:19 i think the old technique was to use reflection Nov 12 18:36:34 Guy can some one please tell me y my information is not being strung between activities???????????? http://pastebin.com/drYtXKtQ Nov 12 18:37:32 MrMeeToo i think you put a bundle in your bundle Nov 12 18:39:26 what about my "KoreyzAdapter"? I stuck on thinking thats my issue Nov 12 18:45:14 hello Nov 12 18:45:41 i cross-compiled using gcc from android-sdk, but when binary is launched, it says: sh: my_test: No such file or directory Nov 12 19:07:59 Hey guys Nov 12 19:08:14 i have edittext boxes in list view Nov 12 19:08:27 and i need onchange listerner on all of them Nov 12 19:08:29 how can i do it? Nov 12 19:13:00 anyone? Nov 12 19:16:43 Xtreme, well, this isn't going to be great, but in your list adapter, when the view is inflated, attach your listener there Nov 12 19:17:23 http://stackoverflow.com/questions/7735936/android-edittexts-within-listview-bound-to-custom-arrayadapter-keeping-track Nov 12 19:17:25 Only solution? Nov 12 19:18:07 Wavesonics,: Nov 12 19:18:30 ya pretty much Nov 12 19:18:41 its not ideal obviously Nov 12 19:21:10 why they made this one so complicated? Nov 12 19:21:16 coz i mean.. Nov 12 19:21:24 aah anyways. Nov 12 19:21:26 leave it.. Nov 12 19:21:38 you cant compare javascript to java. ;) Nov 12 19:24:27 just integrate it in your adapter Nov 12 19:25:09 FabianH, Nov 12 19:25:14 please explain Nov 12 19:25:50 hey there Nov 12 19:26:01 anyone can give a little help? Nov 12 19:26:09 (easy question) Nov 12 19:26:27 It's encouraged that you just ask straight away. Nov 12 19:26:43 ok Nov 12 19:26:58 basically I'm trying to use videoview with costum headers Nov 12 19:27:14 I found a way on the web Nov 12 19:27:26 but now I don't know how to start the videoview Nov 12 19:27:34 here's my small code: Nov 12 19:27:56 HashMap header = new HashMap(); Nov 12 19:27:57 header.put("Host", "ratotv.com"); Nov 12 19:28:09 header.put("Referer", "http://www.ratotv.net/movies/1038-kick-ass-2-agora-a-doer.html"); Nov 12 19:28:10 Method setVideo = videoView.getClass().getMethod("setVideoURI", Uri.class, Map.class); Nov 12 19:28:20 setVideo.invoke(videoView, Uri.parse("http://s2.ratotv.com/magic/4866/1.mp4"), header); Nov 12 19:28:37 how can I call videoView.start() Nov 12 19:28:39 ? Nov 12 19:29:30 enen92: Don't post code in here, you can easily use services such as http://pastebin.com Nov 12 19:30:27 sorry Nov 12 19:30:32 here's the code: http://pastebin.com/Sn3LtXm0 Nov 12 19:36:40 I am trying out gradle and debug/java folder is not seen as source folder in Android Studio nor the foo/bar.java file is not picked up from there but from main/java only any pointer for that ? my question is similar to this one. http://goo.gl/XJnvKC But this is for an app, not library even. Nov 12 19:44:01 why would debug/java be a source folder Nov 12 19:44:31 Because you can have classes that's only there in debug builds Nov 12 19:44:39 Just like release/java is Nov 12 19:45:37 pfn: you can look at the xav's answer here and you will see debug/java http://goo.gl/Vx0rjD Nov 12 19:45:48 I see build variant Nov 12 19:45:49 * pfn shrugs Nov 12 19:47:09 http://bgr.com/2013/11/12/motorola-moto-g-strategy-analysis/ Nov 12 19:47:18 unlock the bootloader for vzw, damnit, and you'll sell one more Nov 12 19:47:18 :p Nov 12 19:50:26 Guys can some one please tell me y my information is not being strung between activities???????????? http://pastebin.com/drYtXKtQ Nov 12 19:53:35 MrMeeToo: looks fine Nov 12 19:53:53 but you know your putting xyz in and asking for abc at the other end right ? Nov 12 19:55:01 as in Jenny, Forest, Dan != huba, forest, gump Nov 12 19:56:14 yea I caught that made the changes and its still not populating Nov 12 19:57:19 how to properly finish an activity that has a webview? every time i re-enter the activity, bitmap loading gets slower Nov 12 19:59:04 finish() Nov 12 19:59:06 :) Nov 12 19:59:37 I'm trying to debug why my framerate is low and it seems that mediaPlayer.setSurface is the issue here. What exactly does this "bridge" mean when profiling? https://www.dropbox.com/s/xtfk942fqr70gwm/ui27.jpg Nov 12 20:00:24 Cant figure it out Nov 12 20:01:56 Apparently im the only person in the world that wants to do this I find a solution anywhere Nov 12 20:02:18 to do what ? Nov 12 20:03:02 String the edittext content and spinner value from one activity to the listview in another activity Nov 12 20:03:42 erm, you have the 2 have little to do with each other Nov 12 20:03:54 you mean you want to pass data between activities Nov 12 20:04:01 the view types are irrelevant Nov 12 20:04:29 yes and populate the listview via layout inflator Nov 12 20:04:35 irrelevant Nov 12 20:04:40 thats something different all together Nov 12 20:04:47 what bit is failing Nov 12 20:04:52 cause you have 4-5 things there Nov 12 20:05:08 1 of them doesn't work, does not mean that all of it is wrong or failed Nov 12 20:07:34 I belive everything in activiy one is fine, the layout inflator is fine, I belive the problem lies somewhere between my receiveing bundle and my "KoreyzAdapter" here is an update of were I am on it Nov 12 20:08:16 http://pastebin.com/QCDKwmKQ Nov 12 20:09:23 are you getting the data from the bundle in the 2nd activity ? Nov 12 20:09:37 Want to give us all the code and this time with syntax highlighting? Nov 12 20:09:43 Where do you set the Adapter of the ListView? Nov 12 20:09:51 lv.setAdapter() Nov 12 20:10:29 No.. the app will run without problem but the listview will not populate Nov 12 20:11:12 MrMeeToo: do you undestand listViews and adapters ? Nov 12 20:11:19 have you learned about them ? Nov 12 20:11:29 and used them ? Nov 12 20:11:36 I havent not fully Nov 12 20:11:42 do that 1st Nov 12 20:11:48 cause I think you are confused Nov 12 20:11:52 For static everything fine Nov 12 20:12:12 go do some reading learning tutorials from d.android.com Nov 12 20:12:24 will help you beyond measure Nov 12 20:15:15 will do... so within the layout inflator I still need the lv.setadapter? Nov 12 20:15:43 random questions will not help much Nov 12 20:15:58 they will get you random out of sequence answers Nov 12 20:16:13 best to do a linear approach from start to end Nov 12 20:16:22 those tutorials will be lifesavers Nov 12 20:17:28 thanks Nov 12 20:19:24 any hint on my question? :/ Nov 12 20:20:13 enen92: I'm afraid that if you do not get a quick response, you should try google a little more; or formulate your question more clearly. Nov 12 20:23:59 Hey quick question is it possible to edit the way a WebView looks? Nov 12 20:25:15 Dragonya, http://gurushya.com/customizing-android-webview/ Nov 12 20:25:36 thanks pal Nov 12 20:25:53 Why does »ndk-stack -sym« crash with »ndk-stack: elff/elf_file.h:300: char const* ElfFile::get_debug_str(Elf_Xword) const: Assertion `debug_str_.is_mapped() && index < debug_str_.size()' failed.«, and what does it mean, when an entire backtrace is just »#00 pc 000443a0 /system/lib/libicuuc.so (uidna_toASCII_48+115)«? Nov 12 20:28:39 hello, does anyone know how to efficiently create 2d lighting effect like in pixel dungeon? http://images2.wikia.nocookie.net/__cb20130410105909/pixeldungeon/images/thumb/e/e6/Pixel_dungeon.jpg/640px-Pixel_dungeon.jpg Nov 12 20:29:03 i have 30x30 tiles, and rendering this many shadow-tiles in real time makes my app run at 10 fps Nov 12 20:39:47 ison__: depends on how you implement things. Nov 12 20:40:07 How do you generate "shadow tiles"? Nov 12 20:40:08 what would be any way of implementing it so i get more than 60 fps? Nov 12 20:40:31 well, generation of shadow tiles is not that complicated, i just draw a rectangle Nov 12 20:40:34 Again, really depends. Are you using OpenGL ES 2.0 / 3.0? Nov 12 20:40:39 with different corner-colors Nov 12 20:40:44 i'm using android sdk Nov 12 20:40:47 android.graphics Nov 12 20:41:11 What are your tiles? Bitmaps? Nov 12 20:41:18 yes Nov 12 20:41:51 so i had like 30x30 tiles, rendering them all in real time was causing my app to run at 10 fps, since it's a pixel-game with 16x16 tiles i rendered them all to 1 texture Nov 12 20:41:57 and display this 1 texture Nov 12 20:42:05 wish i could do the same with shadow-tiles Nov 12 20:42:33 Editing bitmaps/textures is a very expensive operation. Nov 12 20:42:37 but i can't, because view is zoomed-in, it's a pixel-game so 1 tile pixel is actually many pixels on screen, if i had that low resolution shadow-map shadows would look bad Nov 12 20:42:52 but i'm doing it only once Nov 12 20:44:28 I'm not sure what android.graphics is using "behind the scene" but I'm not sure if it is optimized for games. Nov 12 20:44:45 probably not. Nov 12 20:45:18 if you have static tiles, using OpenGL ES to render them is your best bet for speed Nov 12 20:45:44 Either I'd recommend you read in on OpenGL ES 2.0 and use shaders to process the shadows (shaders are small programs running on the GPU, capable of doing per-pixel operations). Not sure what ES pre 2.0 is capable of doing. Nov 12 20:46:06 don't even need shaders tbqh, you can just set vertex color Nov 12 20:46:18 or if you want to be fancy about it, you can render the shadows on top :/ Nov 12 20:46:56 Otherwise, check out gaming creation libraries on Android. Things such as LibGDX offer a lot of tools and classes for making tile-based games. (Though their documentation is aweful) Nov 12 20:54:00 Miklas zinx, ok, thanks, but still, would 1000 tiles run at 60 fps in opengl es? Nov 12 21:00:04 ison__: is that no like saying "if I get a car how fast can I go ? " Nov 12 21:00:33 nope, cause i can still merge all these tiles into 1 texture Nov 12 21:00:37 Not completely sure it's the issue, but does setting NDK_TOOLCHAIN_VERSION=4.8 instead of 4.7 make ndk-stack -sym crash when trying to decode any stack trace? Nov 12 21:00:38 so it will be faster Nov 12 21:01:25 If you get a car, you can go around 100 km/h. (Depends on the car, but that's how fast a car might go.) Nov 12 21:02:48 Anyway, it shouldn't be crashing at all, reverted everything to a known good state, and still crashes... As far as I can tell, only difference is updating some android packages. Nov 12 21:16:58 Is there a way to get Android to set up correct include paths for NDK projects automatically? Nov 12 21:21:43 I only end up with "Your project contains error(s), please fix them before running your application." when attempting to debug the NDK application. Debugging HelloJni works Nov 12 21:23:45 ison__: (late reply): yes, it is capable of rendering 1000 tiles in 60 fps. Look at existing games in the same genre (tile based games). However, it really depends on how you use the given resources. Nov 12 21:24:04 Don't do costly texture manipulations, precompute what you can, don't compute what won't be seen anyway, etc. Nov 12 21:24:28 ok then, i'll have to switch to opengl es, i thought i could write a tile map in basic android sdk graphics module :/ Nov 12 21:32:07 Hi guys. I'm constantly getting OutOfMemoryErrors in this piece of code where I try to scale a 8 megapixel JPEG to something lower. Any ideas how I can make this code more efficient. This is pretty much the code that does the job. OutOfMemoryErrors happen on line 21. http://pastie.org/private/ugnjxuxhnojbjzbavvtrqq Nov 12 21:36:22 8 million pixels takes up 32 megabytes Nov 12 21:36:50 don't do it Nov 12 21:36:53 or scale it in native code Nov 12 21:36:57 pfn: Exactly... I don't even know how to begin solving this... :) Nov 12 21:37:07 Uhhh how do I draw text with kerning... Nov 12 21:37:14 I need the user to be able to adjust kerning Nov 12 21:37:16 http://bgr.com/2013/11/12/motorola-moto-g-strategy-analysis/ Nov 12 21:37:17 oops Nov 12 21:37:20 or scale it in native code Nov 12 21:37:33 Could use 16-bit. Nov 12 21:38:01 pfn: Still I'd have to find some weird streaming C JPEG implementation... Nov 12 21:38:19 pfn: (not at all familiar with libjpeg and friends) Nov 12 21:38:28 why does it have to be "streaming" Nov 12 21:38:48 pfn: Well then it would still take up 32 MB :) Nov 12 21:38:51 any ol' library would work Nov 12 21:39:02 scale it in native code and you do not have heap size limitations imposed by the vm Nov 12 21:39:04 that's why Nov 12 21:39:11 not because it'll save you memory Nov 12 21:39:46 of course, libjpeg could be better optimized such that it doesn't have to load the entire bitmap into memory Nov 12 21:39:47 is there a way to change the look of a webview without touching the css? Nov 12 21:39:56 inject your own css Nov 12 21:40:10 pfn: Well I'll see what I can do... Nov 12 21:40:46 Anyway, anyone have any information if I can tell the default camera app to use like 3 megapixel resolution or less? Nov 12 21:40:48 yea i was looking into that, but the page im trying to edit has javascript dynamically doing alot of the css and the css file is like 10k lines long Nov 12 21:41:26 Dragonya: inject your own css and add !important to every rule, that should pretty much break the design. :) Nov 12 21:42:04 ok, so there is no other way? Nov 12 21:42:36 Dragonya: Why would there be? Nov 12 21:42:46 just wondering Nov 12 21:43:30 Dragonya: If you append CSS to a webpage, the CSS engine tries to override (cascade / C in CSS) the stylesheet. Nov 12 21:44:00 yea, im quite familiar with css, but thanks :) Nov 12 22:05:51 In my gridview i set my number of columns. To make the views that come from the adapter fill their space, what layout params do I set? Nov 12 22:06:08 width: fill_parent, height: wrap_content? Nov 12 22:07:03 I wonder if I can use RenderScript to resize this image... I don't want to start an NDK project (not being paid so much)... Nov 12 22:08:48 stdim: Not sure at all what you're doing. but if you're just drawing, you can scale the drawing with matrix maths on the canvas Nov 12 22:08:57 probably doesnt help Nov 12 22:09:00 but whatever Nov 12 22:10:34 if your resizing an image, based on the method you could do it in segments as a stream Nov 12 22:10:40 accounting for the overlap Nov 12 22:10:53 overlap = resize method boundary size Nov 12 22:11:20 or do nearestNeighbour and there is no overlap :) Nov 12 22:15:15 What is the best way to animate layout changes of a row in a listview? basically expanding downward Nov 12 22:15:48 jaynewstrom: 4+ ? Nov 12 22:17:31 no :( Nov 12 22:18:39 expandableListView ? Nov 12 22:19:12 i'm just using a normal list view, if that's what you're asking. Nov 12 22:19:27 no I'm saying it sounds like you need to use Nov 12 22:19:51 expandable list view doesn't animate Nov 12 22:20:11 and I don't think that's what i need. Nov 12 22:20:25 i just want to tap a button in a listview row, and have it expand Nov 12 22:20:55 is that not the definition of "expandableListView" ? :) Nov 12 22:21:35 expandable list view is 2 level. I only want single level Nov 12 22:21:56 basically a detailed view of the view they clicked Nov 12 22:22:07 ah ok Nov 12 22:22:18 but the details could be in the sub item Nov 12 22:22:27 it could... but that would look gross Nov 12 22:22:32 dont have to relate to different data, just needs to be organized that way Nov 12 22:22:44 it would look how you make it look Nov 12 22:22:50 i can very easily do it without animating. just do .setVisibility(View.GONE), etc. Nov 12 22:24:47 not sure that property animation has a good solution in <3.0 Nov 12 22:25:11 be interested if you find anything, but like I say, not too sure, there are some libs, hacky ones so I have been told Nov 12 22:27:22 I may just have to write a custom animation. Nov 12 22:27:55 think jake did a lib, maybe look at that Nov 12 22:28:10 I dont think he will have touched it in a long long time…but maybe Nov 12 22:28:24 I know there is samples app on play, remember looking at it a long time back Nov 12 22:29:04 *sigh* Unresolved issues with Eclipse/CDT is kind of annoying when everything builds fine with ndk-build Nov 12 22:29:20 Yeah, I actually already use nineolds Nov 12 22:38:59 Is there a good way to get the scroll bar to not be retarded when each listview row is a different height? Nov 12 22:50:20 is it unicorn day in google play? Nov 12 22:54:13 it's unicorn day every day! Nov 12 23:10:24 What's the most exciting Android tablet these days for a programmer & professional IT? I've been happy with the ASUS Transformer TF101 so far, but it's getting old and my phone (SGS3) can already beat it at a lot. Nov 12 23:11:04 getting old? Nov 12 23:11:06 Thrae: Google's devices, ofc. Nov 12 23:11:06 it /is/ old Nov 12 23:11:09 nexus 7 Nov 12 23:12:18 I do hear good things about the Nexus devices. Would they be powerful enough to run x86 virtual machines? I'm using RDP & VNC at the moment to work remotely. Nov 12 23:12:52 Ah wait, it couldn't be a virtual machine. It'd have to be an emulator, like qemu. Nov 12 23:12:54 o.0 Nov 12 23:14:17 uh you can probably get a rdp/vnc APP Nov 12 23:14:36 canadiancow: Right, that's what I've been using at the moment. PocketCloud, specifically. Nov 12 23:14:37 but what exactly are you trying to do? run windows 8 on android? Nov 12 23:15:01 if that answer is "run wine on my phone", please keep walking Nov 12 23:16:58 Struggling a bit with debugging C++/NDK code. I can run it and it stops at breakpoints, but the values for all local variables seems like garbage - and stepping does not work properly. Has anyone seen this problem? Nov 12 23:17:00 Hah! That'd be awesome (Windows 8 RT, which I have a license for), but no; just a simple x86 Linux CLI for tools & utilities programming. Nov 12 23:19:55 Can anyone at all get ndk-stack -sym to show a stack trace, if using NDK_TOOLCHAIN_VERSION=4.8? Nov 12 23:20:24 If I could emulate headless Windows Server 2012 on a tablet, that'd be awesome, but unlikely even now that you can do it 100% headless. Nov 12 23:20:56 Thrae: What you're talking about is virtually impossible... Nov 12 23:21:29 Thrae, honestly, i'm not sure if current android devices are the best option for you Nov 12 23:21:59 Thrae: Why not just get Surface Pro 2 and run Windows natively? Nov 12 23:22:44 I'd rather have x86 Android than Windows 8 RT. Nov 12 23:23:03 i'd rather have a chocolate sundae Nov 12 23:23:04 It doesn't run the RT version afaik Nov 12 23:23:14 neither does a chocolate sundae Nov 12 23:23:53 * stdim sometimes wishes his laptop were a supercomputer, but it ain't Nov 12 23:23:59 Thrae: Wiki says it runs Windows 8.1 Pro 64-bit. It was only the Surface 1 RT which ran Windows RT. Nov 12 23:24:25 skfax, Thrae: Join #surface for that chat... :) Nov 12 23:25:09 i wish my computer were a chocolate sundae :( Nov 12 23:25:52 :( Nov 12 23:27:19 what is the best way to render fonts in my c++ opengl app? should I just compile freetype in? Nov 12 23:29:53 can anyone have a quick look? (http://stackoverflow.com/questions/19937975/how-to-videoview-start) Nov 12 23:33:46 michaelmath: https://en.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Tutorial_Text_Rendering_01 Nov 12 23:39:32 nyt, see your bug? looks like it's a dupe Nov 12 23:39:58 oh you already discovered that Nov 12 23:47:22 Hey guys I can't seem to find anything on it, should I use ABS or ABC? Nov 12 23:47:33 canadiancow: yeah, orig bug wasn't as detailed and title didn't explain it Nov 12 23:47:35 Specifically, is ABS now "discontinued"? Nov 12 23:47:37 minSdkVersion="14" Nov 12 23:47:38 jeaye: thanks, I'm compiling the whole freetype library (well the tt part) into my source Nov 12 23:47:50 desmin88: i'd say the latter Nov 12 23:47:55 canadiancow: so created a new one, but now you merged it it seems and title is back to not being as descriptive Nov 12 23:48:23 canadiancow: annoying workaround, remote process for receiving alarms and posting back to main process via aidl interface, remote process gets killed on alarm, main process restarts it Nov 12 23:49:01 JakeWharton :( bankai_: okay then i will probably go ahead with abc Nov 12 23:49:20 although abc can look messed up in lower api levels Nov 12 23:50:02 nyt, i copied your title into the new one Nov 12 23:50:13 neat Nov 12 23:50:14 <3 Nov 12 23:50:29 i haven't slept yet since reporting that =[ Nov 12 23:50:34 been on a coding binge Nov 12 23:55:55 http://thenextweb.com/google/2013/11/12/google-says-working-automatically-updating-androids-chromium-based-webview-just-like-chrome/ Nov 12 23:56:12 i wonder if this is a prelude to updating the rest of the os … :/ Nov 12 23:56:59 anyone here have any experience with this lib? Nov 12 23:57:00 https://github.com/koral--/android-gif-drawable Nov 12 23:59:31 Wavesonics: nope Nov 12 23:59:51 looks like the solution to the ever present "no animated gifs on android" problem Nov 12 23:59:57 g00s: well it looks like they are working on updating core parts of the os seeing as ART is in progress Nov 13 00:00:30 GIFLIB is as close to a canonical implementation of the GIF spec as anything out there Nov 13 00:01:01 Wavesonics: I've seen this library used many times before: https://github.com/chrisbanes/PhotoView Nov 13 00:01:42 desmin88, looks very nice, and it supports animated GIFs? Nov 13 00:01:55 I think it does. Nov 13 00:02:43 desmin88, if it does. I wounder how. I've done a bit of research into GIF decoders, most of the existing solutions on android are not robust enough to throw user generated content at (aka: arbitrary gifs from the web) Nov 13 00:02:58 the lib i linked uses GIFLIB under the hood Nov 13 00:03:23 What I know is that photoview is used in reddit sync that also supports gifs Nov 13 00:03:26 so im going off on that :P Nov 13 00:03:38 oh interesting Nov 13 00:05:05 Anybody have issues with Android Studio just redirecting you to a website instead of updating when you press download? Nov 13 00:05:37 desmin88, ya theres like 2 update dialogs Nov 13 00:05:42 1 doesnt have the right button Nov 13 00:05:49 u want the one that has "update and restart" or what ever Nov 13 00:05:53 what version of studio just dropped Nov 13 00:06:02 0.3.6 Nov 13 00:06:09 Wavesonics: I've tried getting to that one, but it wont open Nov 13 00:06:22 huh Nov 13 00:06:24 shitty Nov 13 00:06:42 yep. Nov 13 00:10:05 the butter knife library looks really interesting Nov 13 00:10:53 anybody use it before? Nov 13 00:11:52 Yes Nov 13 00:12:24 thoughts? Nov 13 00:13:00 I like it, there's not much to it. Just does what the website says it does ;) Nov 13 00:14:36 ugh can't tell if coffee headache or lack of sleep headache Nov 13 00:15:01 little bit of both Nov 13 00:19:23 nyt those are the worst; i'm a chocoholic and get the same thing Nov 13 00:25:49 Hi anybody can do tell me why the popwindow does not display? http://stackoverflow.com/questions/19925519/popupwindow-does-not-show-as-expected Nov 13 00:26:26 Hi folks. If I have view = inflater.inflate (..., how can I get all the buttons within view please? Nov 13 00:26:48 view.findViewById() Nov 13 00:27:40 StingRay_: Ok thanks, if I knew the IDs of all the buttons I could get references to them. But as it stands I don't know what's in the view and would like to enumerate all the buttons it has without me knowing what they are beforehand Nov 13 00:28:05 getAllChildren() and sift thought then Nov 13 00:28:11 cast to ViewGroup I would think Nov 13 00:28:25 then start testing/case types "instanceof" Nov 13 00:28:26 I think the casting is why I couldn't see getAllChildren Nov 13 00:28:32 hi, having an issue with a method not accepting my arguments, im trying to create a fragment Nov 13 00:29:02 hi, I need to create a fullscreen instance of a relative layout to pass in to a the display ad library. What is the context argument? Is it like a parent view? Nov 13 00:29:15 holy influx of questions Nov 13 00:29:20 transaction.add(R.id.my_Layout, frag, "hotfrag"); i get the following error he method add(int, Fragment, String) in the type FragmentTransaction is not applicable for the arguments (int, MyFragment, String) Nov 13 00:29:27 ive used an opengl library this whole time so i never had to mess with platform-level UI code.. Nov 13 00:30:08 (i have access to a frameLayout and i think i would add this relative layout as a sub view to it. Just not sure how to properly instantiate the relative layout) Nov 13 00:30:30 Lavitiz: MyFragment doesn't extend Fragment Nov 13 00:30:40 but it does :S Nov 13 00:30:41 possibly the right Fragment (did you import the wrong one?) Nov 13 00:31:14 public class MyFragment extends Fragment { Nov 13 00:31:29 import android.app.Fragment; Nov 13 00:31:31 gods of android dev, I am trying to understand how cookies are handled in httpGet, httpPut, and httpPost, is anyone good at that here? Nov 13 00:31:44 Lavitiz: are you using the support FragmentTransaction? Nov 13 00:31:55 yep Nov 13 00:32:08 Lavitiz: ... so don't do that Nov 13 00:32:15 you can't mix support and not support :) Nov 13 00:32:49 sqpat: Add your relative layout to your framelayout, get the relativelayout with findviewbyid(...) then pass it to the ad library? Nov 13 00:32:50 what the there is a difference? Nov 13 00:33:10 Lavitiz: er, yes. Nov 13 00:33:27 perhaps you should read up on it a bit Nov 13 00:33:32 change the import on MyFragment to import from the support library Nov 13 00:33:43 i thought u need fragtrans it part of the process of inflating the fragment? Nov 13 00:33:46 import android.support.v4.app.Fragment; Nov 13 00:34:02 Lavitiz: I don't know what you just tried to say there Nov 13 00:34:31 lol. Nov 13 00:34:32 i think im confused what is this support FragmentTransaction? Nov 13 00:34:45 https://www.google.com/search?q=android+support+library Nov 13 00:34:49 MyFragment frag = new MyFragment(); FragmentManager manager = getFragmentManager(); FragmentTransaction transaction = manager.beginTransaction(); transaction.add(R.id.my_Layout,frag,"hotfrag"); Nov 13 00:34:58 thanks desmin, ill go with that Nov 13 00:35:04 sqpat: np. Nov 13 00:35:24 evan, em i using support Fragtrans? Nov 13 00:35:38 I have no idea. Look at your imports. Nov 13 00:35:40 FragmentTransaction transaction = manager.beginTransaction(); ??? is this what you're reffering to? Nov 13 00:35:57 import android.app.FragmentTransaction;
Lavitiz: Either use all support, or not all support. Nov 13 00:36:25 how do i know im using support Nov 13 00:36:29 check ill pastebin the code Nov 13 00:36:38 ... Nov 13 00:36:47 I would expect you to know that if you are making an android app or whatever Nov 13 00:37:17 http://pastebin.com/VCwshBnR Nov 13 00:38:02 both my classes are there :S go look u guyzz Nov 13 00:38:07 Lavitiz: I would be more worried that you dont know what people are saying here, rather than the transaction problem Nov 13 00:38:15 Lavitiz: How about you go look? Nov 13 00:38:19 oh im worried Nov 13 00:39:35 wat. Nov 13 00:48:50 okay no, im not using support FragTransaction. Nov 13 00:48:59 StingRay_: Thanks, your help has progressed me quite quickly. Following on the next part, your suggestion of using instanceof doesn't seem to like comparing View instanceof Button, reporting "Incompatible conditional operand types View and Button" and I'm stuck again :( Nov 13 00:49:09 my error went away? but now im gettin api error, is there way to ugprade my api ? Nov 13 00:49:34 lovethang_: well you would work backwards in the hierachy of view class Nov 13 00:49:42 lucky that button is at the top Nov 13 00:50:01 pastebin your code Nov 13 00:50:45 if(myView instanceOf Button) Nov 13 00:51:33 http://pastebin.com/jECq1d2X Nov 13 00:52:02 Lavitiz: Perhaps revisit the android dev first app tutorial if you do not know 'how to upgrade your api' Nov 13 00:52:16 kk thanks desmin Nov 13 00:53:10 lovethang_: maybe me, but I see nothing wrong there Nov 13 00:53:53 It just reports "Incompatible conditional operand types View and Button" Nov 13 00:54:00 Refuses to compile Nov 13 00:56:33 what about if you just do View v = new View(context);if(v instanceof View)log.d("huh","this works"); Nov 13 00:57:34 StingRay_: That works fine Nov 13 00:57:46 lol Nov 13 00:58:25 If I change that line to if(v instanceof Button), then I get the same error Nov 13 00:58:57 ffs I found what's wrong Nov 13 00:59:17 I changed it to Button v = new Button(this); if(v instanceof Button)... and then realised Button hadn't been imported ¬_¬ Nov 13 01:00:00 The original code works fine now Nov 13 01:00:21 ugh, what ide are you using ? Nov 13 01:00:27 Eclipse Nov 13 01:00:37 should have told you moons ago that it was not imported Nov 13 01:00:41 I quite like it. Just surprised it missed this one Nov 13 01:00:41 odd Nov 13 01:00:58 I think I might need to clean my project and restart it Nov 13 01:01:08 or join the as bandwagon Nov 13 01:01:16 Nah thanks, I like proper IDEs Nov 13 01:01:31 "proper IDEs" Nov 13 01:01:33 Define? Nov 13 01:01:47 I came to Java from C Nov 13 01:01:56 ....right? Nov 13 01:01:58 lol, how is as not a proper ide? Nov 13 01:02:02 ^ Nov 13 01:02:23 Well I'd like to see anyone create a C project in AS Nov 13 01:02:32 ....its not made for that purpose. Nov 13 01:02:35 TBH I wouldn't like to see that at all Nov 13 01:02:36 lol? android studio Nov 13 01:02:38 not c studio Nov 13 01:02:42 I'd like to see you create a Java project in Dreamweaver. Nov 13 01:02:42 Exactly Nov 13 01:02:45 Not proper Nov 13 01:02:48 intellij has a separate product for C++ ide Nov 13 01:02:51 It's a mickey mouse IDE Nov 13 01:02:54 you literally make zero sense Nov 13 01:02:56 I'd like to see you create a C++ program in IDLE Nov 13 01:03:04 Yeah, you really are talking crap. Nov 13 01:03:09 AS is made for Android development. Nov 13 01:03:12 A good IDE is pretty language agnostic Nov 13 01:03:16 Visual C++ for C++ projects. Nov 13 01:03:19 No Nov 13 01:03:21 Yes Nov 13 01:03:23 Its specialised to a purpose. Nov 13 01:03:27 Good development Nov 13 01:03:29 It doesn't make it any less "proper" Nov 13 01:03:32 Doesn't mean specialised to a language Nov 13 01:03:39 Thats bollocks. Nov 13 01:03:43 In your humble opinion Nov 13 01:03:54 If an IDE does a job really well, where another does a lot of jobs OK. I am going to use the best IDE for the task I have. Nov 13 01:03:58 That is good development. Nov 13 01:04:13 Otherwise I'd do everything in notepad. Nov 13 01:04:16 lol. You can't discount android studio, an ide for making android apps just because it doesnt let you program in C Nov 13 01:04:20 But that is equally as bollocks. Nov 13 01:04:22 use intellij then Nov 13 01:04:27 your argument is inane Nov 13 01:04:32 I'm not discounting it. I just never counted it to start with Nov 13 01:04:37 okay, my api level is 18... dk why im getting this error @desmin88 Nov 13 01:04:45 It's hardly what I would call a good IDE if it's so limited Nov 13 01:04:51 How? Nov 13 01:05:01 You are really talking such crap, its hurting my head hahaha Nov 13 01:05:09 Well you already said when trolling above, it only does 1 thing Nov 13 01:05:10 A good IDE helps the developer do the task they are doing well. Nov 13 01:05:18 AS helps all developers develop Android applications really well. Nov 13 01:05:22 Regardless of what language it is? Nov 13 01:05:27 Therefore, as an IDE, it has successfully done its job. Nov 13 01:05:33 Of course regardless of language. Nov 13 01:05:36 is he being serious? Nov 13 01:05:37 If I am an Android developer Nov 13 01:05:44 You can write Android apps in more than Java you know Nov 13 01:05:56 I wish I could write one in python :( Nov 13 01:05:58 Why do I give a flying monkeys whether or not I can develop in C in it if Im never going to use C. Nov 13 01:06:02 Anyway, boring troll is boring Nov 13 01:06:02 Same with any other language. Nov 13 01:06:15 If Im never going to use a language, why do I care if an IDE can handle it? Nov 13 01:06:23 * lovethang_ yawns Nov 13 01:06:25 I just want to be able to do the job I am doing now as best I can. Nov 13 01:06:39 "I don't like my peanut butter cause it can't be jelly" Nov 13 01:06:45 ^ Nov 13 01:07:24 Pretty soon you can develop Android apps using pure Qt and mash up some C++ Nov 13 01:07:30 I doubt AS will support that either Nov 13 01:07:46 Im sure it does support other languages anyway... Nov 13 01:07:55 Otherwise it would be no good for the NDK, which is done using C++ Nov 13 01:08:26 Gradle doesn't fully support NDK automation Nov 13 01:08:31 grmm.. in intellij, in the project/module window, what does the 'export' checkbox do? Nov 13 01:09:35 What you are saying is the equivalent of "I wouldn't call Pavarotti a good music artist because he couldn't rap". Nov 13 01:09:42 Nobody cares - that isn't what he is for. Nov 13 01:09:43 Anyway Nov 13 01:09:50 Im gonna let this one drop... hahaha Nov 13 01:09:56 I swear you are trolling and I've bitten hard... Nov 13 01:10:04 osxorgate, If this check box is selected, a library is included in the compilation classpath of the dependent modules, as well as the classpath of the module which it is attached to. Nov 13 01:10:08 If this option in not selected, a library is only included in the compilation classpath of a module which it is attached to. A library is always included in the runtime classpath regardless of the state of the Export check box. Nov 13 01:10:18 read the help :p Nov 13 01:10:21 Anthaas: That's a pretty poor analogy. It would be more like me saying your CD player is crap because it only plays Pavarotti. Nov 13 01:10:30 If it did, then yes it would be crap Nov 13 01:10:32 No it wouldn't. Nov 13 01:10:44 osxorgate, I don't think it's ever useful for android projects Nov 13 01:10:50 It would only be not crap if you were a Pavarotti fanboy or Pavarotti Nov 13 01:10:51 It would be the equivalent of "Your CD player is crap because it only plays CDs" Nov 13 01:10:57 Which isnt crap Nov 13 01:11:01 because it is what a CD player is for Nov 13 01:11:09 zharf well im getting errors during dexing because things are included twice Nov 13 01:11:21 You've just proved my point Nov 13 01:11:24 Most perfectly Nov 13 01:11:26 What you are saying is the equivalent of "Your CD player is crap because it doesn't play casettes, vinyls, etc." Nov 13 01:11:38 But CD players arent for vinyl or casette, they are for CDs Nov 13 01:11:46 osxorgate, don't include them twice... Nov 13 01:11:48 Well I think closer to comparing an iPod shuttle to an iPod touch Nov 13 01:11:49 Just as Android Studio is for Android development. Nov 13 01:11:58 The shuttle does what it says on the tin. Still crap compared to Touch Nov 13 01:12:22 I think that's "shuffle" sorry. I'm not a fanboy. Nov 13 01:12:23 zharf, it's because a module needs them and a dependent module as well Nov 13 01:12:24 the iphone is twice as fast when it comes to input lag... Nov 13 01:12:27 god it bugs me Nov 13 01:12:56 but right now it's because 1 module uses admob lib and another uses google play lib, and googleplay lib also seems to include ad lib Nov 13 01:12:56 I press the screen and watch my app it takes a noticable amount of time to register Nov 13 01:14:47 Can I somehow set vertical scrollbar X coordinate for HorizontalScrollView? Nov 13 01:15:55 High guys. I have a class that has a draw method that takes a canvas. To ensure compatibility with editable text, I have an inner TextView that gets drawn in the method. But, calling innerTextView.draw(canvas) isn't giving me results Nov 13 01:16:25 hi* Nov 13 01:21:14 i reckon i should just use google play lib instead of admob Nov 13 01:21:18 i guess i missed the memo Nov 13 01:22:50 hi guys Nov 13 01:23:07 has been awhile...does anyone know how to setup up androi dev . environment? Nov 13 01:23:16 any direction? Nov 13 01:23:25 step 1 -> download eclipse Nov 13 01:23:29 ok Nov 13 01:23:38 any doc tell step by step? Nov 13 01:23:44 Or just install Android Studio, and have no more steps Nov 13 01:23:47 what version though? Nov 13 01:24:01 where can i get android studio? Nov 13 01:24:03 I need a graphic artist for my game... Nov 13 01:24:25 http://developer.android.com/sdk/installing/studio.html Nov 13 01:24:39 ok thanks Nov 13 01:24:42 is that all i needed? Nov 13 01:24:50 If I instantiate a TextView, how can I force it to layout? Nov 13 01:24:50 i remember i use eclipse and has to do so many thing Nov 13 01:24:52 phong_: http://developer.android.com/training/index.html Nov 13 01:24:57 phong_: top to bottom Nov 13 01:25:16 TextView.draw: The view must have already done a full layout before this function is called. Nov 13 01:26:11 phong_: Assuming your computer already recognizes your phone, that is all you'll need to get started Nov 13 01:26:53 ok Nov 13 01:26:54 thanks Nov 13 01:27:15 phong_: if you're using Samsumg phones, you may run into problems on windows. They can be finicky Nov 13 01:27:26 i'm using ubuntu Nov 13 01:27:31 oh Nov 13 01:27:31 :) Nov 13 01:27:34 carry on :) Nov 13 01:27:38 saucy Nov 13 01:28:01 I have a preference question Nov 13 01:28:05 so I have preferences Nov 13 01:28:19 do I use registerOnSharedPreferenceChangeListener to restart a service when those preferences change? Nov 13 01:29:41 explodes, why samsung has problem? we can always test in emulator? Nov 13 01:32:14 hello? Nov 13 01:32:36 explodes, can't start android Nov 13 01:32:36 No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation. Nov 13 01:32:58 explodes, help brother Nov 13 01:33:35 phong_: this is irc, people help when they can, if they can, and you're much better off addressing the channel at large, than single users Nov 13 01:33:46 ok Nov 13 01:33:51 As for that problem, do you have any jdk installed? Nov 13 01:34:23 If so, have you set up an environment variable named JAVA_HOME pointing to the JDK? Nov 13 01:34:32 don't know Nov 13 01:34:36 how can i know that? Nov 13 01:35:13 https://gist.github.com/pfn/7442087 Nov 13 01:35:14 hot Nov 13 01:35:17 Thorbear, i'm still a noob...trying to follow the installation from the given page.....i'm sure i'm missing somethings Nov 13 01:37:15 Is it possible to implement this effect for popupwindow : http://imgbin.org/images/15655.png And I have the background image: http://imgbin.org/images/15656.png Nov 13 01:37:51 Thorbear, let me download java and install Nov 13 01:38:03 phong_: What the best way for installing the JDK is on ubuntu, I don't know, but the package manager might be of some use. For the environment variable: http://stackoverflow.com/questions/6477415/how-to-set-java-home-in-ubuntu Nov 13 01:38:12 Is it safe to call moncleanup() (profiling) on a separate thread? (it's slow) Nov 13 01:39:59 is there a default truetype font on android systems I can use with freetype? Nov 13 01:44:26 so im back how was our discussion of proper ides Nov 13 01:44:51 eclipse is a gigantic beast that consumes huge amounts of ram Nov 13 01:44:58 just use the command line it is 10 times faster Nov 13 01:45:16 as. Nov 13 01:45:24 I think i'll just package roboto in my apk Nov 13 01:45:48 or some other free font.. I only need ascii for now Nov 13 01:49:03 Thorbear, it works now Nov 13 01:49:42 Thorbear, any simple project tutorial Nov 13 01:50:08 I believe evanc linked one earlier Nov 13 01:50:50 sigh... java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable everytime i try Nov 13 01:51:22 how do i properly add the google play lib to my project? Nov 13 01:52:18 with what ? Nov 13 01:52:44 intellij Nov 13 01:52:52 v 13 even Nov 13 01:54:27 if it's the same as 12.x add it as a library and import the module Nov 13 01:55:22 Is it possible to get the coorindate when I click on the activity? Nov 13 01:55:34 can vb.net include android sdk? Nov 13 01:55:42 or android has to be c language? Nov 13 01:55:57 bankai_: well i tried that, and i have a module for the lib but for some reason the R class is not also put in the app Nov 13 01:56:50 have you added it as a dep ? Nov 13 01:57:30 just use gradle to add it? Nov 13 01:58:32 just like the support luibs Nov 13 01:59:21 is gradle default in 13?... i really should learn it Nov 13 01:59:42 yes it's a dep, it compiles fine just when i run it seems to be incomplete.. stackoverflow has a lot of questions regarding this but nothing seems to work Nov 13 01:59:49 no gradle in 13 afaik Nov 13 01:59:52 oh woops Nov 13 01:59:58 your using intellij my bad Nov 13 02:00:35 so you imported the module and also added the lib, then made both deps ? Nov 13 02:01:07 yes Nov 13 02:05:59 rage levels rising Nov 13 02:08:26 lol osxorgate Nov 13 02:08:37 why is this ineffectual?: this.innerTextView.draw(canvas); Nov 13 02:09:01 it's really frustrating cause i have 0 clue why it's not working Nov 13 02:09:28 Let me see, are you using Eclipse? Nov 13 02:09:28 explodes: why not let the textview do the drawing itself Nov 13 02:09:36 no i use intellij 13 eap Nov 13 02:09:41 Because I'm not using traditional views. Nov 13 02:09:46 osxorgate: make the switch to android studio. one of us. one of us. Nov 13 02:10:04 ^ Nov 13 02:10:05 last time i tried that i was not very impressed Nov 13 02:10:09 I use eclipse tho Nov 13 02:10:15 and it was buggy Nov 13 02:10:19 ^ Nov 13 02:10:25 they're updating it constantly now Nov 13 02:10:33 when did you last try it Nov 13 02:10:41 Why can I not draw fucking this thing Nov 13 02:10:46 'updating it constantly' - 'more buggy' hehe Nov 13 02:12:54 ok explodes is there a book about learning it? Nov 13 02:13:04 it seems like the option is C# Nov 13 02:13:26 there is no vb language compiling it Nov 13 02:13:35 what are you talking about Nov 13 02:13:46 so i have to learn C#, so i must ask if there is book about learning android dev Nov 13 02:15:40 phong_: what Nov 13 02:15:43 learning what? Nov 13 02:15:47 any good book? Nov 13 02:15:52 for what Nov 13 02:15:55 i think he's just trolling Nov 13 02:15:57 i'm not good at C Nov 13 02:15:59 GOOD BOOK: Harry Potter 1 Nov 13 02:16:07 osxorgate: can you show me a screenie of your 'modules' and 'libraries' views in IJ Nov 13 02:16:25 or tell me what's in them and the order Nov 13 02:17:24 in a sec Nov 13 02:17:31 got other problems now >.< Nov 13 02:17:54 uh oh lol Nov 13 02:19:42 java: javacTask: source release 1.7 requires target release 1.7 Nov 13 02:19:45 now what Nov 13 02:25:18 Android Packager: [Smokeout] java.util.zip.ZipException: duplicate entry: res/drawable-xxhdpi/ic_plusone_tall_off_client.png Nov 13 02:26:34 Did an update with API 19 or the latest SDK manager or some shit make apps auto-restart on crash when in debug mode? Nov 13 02:33:25 explodes, quick question..... i have 2 devices connected and list in 'adb devices', how to use adb install command to a device? Nov 13 02:33:33 how to install to specific device? Nov 13 02:34:19 phong_: adb -s install Nov 13 02:34:25 ok thanks Nov 13 02:35:03 it looks like ANDROID_SERIAL env var will work too Nov 13 02:35:09 adb help is your friend :) Nov 13 02:35:14 JesusFreke, i wish it has the quick way to fill up the serial Nov 13 02:35:19 i have to manually copy and paste :) Nov 13 02:35:37 adb devices should list the serial Nov 13 02:35:41 i know Nov 13 02:35:45 is there a quick way? Nov 13 02:36:01 to associate a variable of my serial number? Nov 13 02:36:11 this way i dont have to keep on copy and paste Nov 13 02:36:17 you could probably write a quick alias like select-adb 1 Nov 13 02:36:23 how to do it? Nov 13 02:36:25 or use the up arrow :S Nov 13 02:36:35 which runs adb devices, parses the serial and sets the ANDROID_SERIAL env var Nov 13 02:36:43 I'm not a bash programmer, sorry :) Nov 13 02:36:46 oh Nov 13 02:37:03 oh well. i do it manually then :) Nov 13 02:37:04 no biggy Nov 13 02:37:40 another question, can android app connect to MS sql server? Nov 13 02:37:58 why couldnt it Nov 13 02:38:02 it's best not to write an app that connects to a DB like that Nov 13 02:38:11 desmin88, i dont know man, i'm just asking. :) Nov 13 02:38:38 bankai_, why? so if i have ms sql...what then? Nov 13 02:38:44 bankai_, hmm Nov 13 02:38:45 WS Nov 13 02:38:47 phong_ check this out for your adb issue Nov 13 02:38:49 http://dtmilano.blogspot.ca/2012/03/selecting-adb-device.html Nov 13 02:38:50 what is it? Nov 13 02:39:02 web services ... Nov 13 02:39:03 Web service? Nov 13 02:39:04 ok Nov 13 02:40:25 that script will prompt you with a choice when you issue an adb command and have more than one device connected Nov 13 02:41:16 is there a way to tell when all child views of a ViewGroup has been added/created? Nov 13 02:42:10 bankai_, any good tutorial for that? Nov 13 02:42:15 i know how to make ws in asp.net Nov 13 02:42:26 but how to use it in android coding Nov 13 02:44:42 google for 'google spring rest template' and you should find some nice tutorials Nov 13 02:45:00 dunno why i typed google twice there, but anyway ... Nov 13 02:45:09 lol. Nov 13 02:50:08 bankai_, so most apps out there use web service to interact with sql server? Nov 13 02:50:21 i've seen people use java to get data too Nov 13 02:50:28 not sure which is the correct one. Nov 13 02:50:37 use java to get the data ! Nov 13 02:50:43 you want to be spoon fed Nov 13 02:50:53 * g00s smacks phong_ with a large trout Nov 13 02:51:02 g00s, sup brother. Nov 13 02:51:03 phong_: you don't want to directly access databases from your app that contains the db user/password Nov 13 02:51:15 i see Nov 13 02:51:23 i got the point now.. Nov 13 02:51:30 shmooz, that is clear :) thanks Nov 13 02:51:47 people can reverse engineer and decrypt the user/pass if they get the apk Nov 13 02:52:04 hmm ...understandable ..cool man Nov 13 02:52:10 make sense to me now :) Nov 13 02:53:04 shmooz, so if use web service, does it return as a list of strings as result? Nov 13 02:53:20 never done it...maybe it will also return field name and the value? Nov 13 02:53:20 I guess Nov 13 02:53:32 you can make it do whatever you want Nov 13 02:53:38 you can make it return what you want Nov 13 02:54:00 man, i wish there is good book about it out there so i can read about it Nov 13 02:54:12 i'm still not sure how to do it ..no where to begin :) Nov 13 02:54:18 google Nov 13 02:54:55 desmin88, is this related ? http://stackoverflow.com/questions/11988517/how-to-access-webservice-with-httpclient-through-android-application Nov 13 02:55:00 i did google Nov 13 02:55:07 probably Nov 13 02:56:05 alright cool man Nov 13 02:56:09 let me google for a book too Nov 13 02:56:10 br Nov 13 02:58:22 bankai_: well here we go http://imgur.com/a/u6oTn **** ENDING LOGGING AT Wed Nov 13 02:59:58 2013