**** BEGIN LOGGING AT Thu Jul 24 03:00:02 2014 Jul 24 03:01:21 hi guys! If I am targeting 4.8 inches display with 720 x 1280 pixels resolution. To display image which fully covers display width, I need to have image with minimum 720 pixels width? Jul 24 03:04:40 hm, this is interesting http://phandroid.com/2014/07/23/google-buys-drawelements-for-undisclosed-amount/ Jul 24 03:04:56 i've never used that product; not sure i totally understand it Jul 24 03:05:11 does it analyze your code to see what may be incompatible ? Jul 24 03:05:19 (across many devices) ? Jul 24 03:25:39 what language are most android apps written in? Jul 24 03:26:08 Anyone know of a util that returns contact info given id? Jul 24 03:28:51 jeaton: Java Jul 24 03:28:51 capella oops, wrote someting ambiguous in the crash reporter :| Jul 24 03:29:22 ? Jul 24 03:29:35 said i was moving tabs, when i was moving bookmarks Jul 24 03:29:41 derp Jul 24 03:30:31 Heh - I wouldnt sweat it ... I don't think individual reports get a lot of scrutiny until the stacktrace patterns emerge Jul 24 03:32:31 capella i'm making FF crash enough to make me furious, but i'm still trying to figure out the exact pattern ... keeps happening reording bookmarks in the bookmark manager Jul 24 03:32:46 because, its a slow painful death - beachball for about 2 minutes, crash Jul 24 03:33:11 * g00s despondent Jul 24 03:33:41 chrome still doesn't seem to have bookmark tags Jul 24 03:33:42 ouch ... ah, desktop & *Nix? Jul 24 03:33:46 destop, mac Jul 24 03:33:58 oh right, forgot you like the Mac Jul 24 03:34:19 and my mac likes me, so its all good Jul 24 03:34:55 that's probably the most positive thing you've ever said in this channel, g00s Jul 24 03:35:03 i never owned a more reliable and hassle free peace of HW in my life, except for my C64 :) Jul 24 03:35:13 holy crap, you did it again! Jul 24 03:35:19 heh Jul 24 03:35:30 i'm so glad i log everything, i'm going to need this later Jul 24 03:38:24 ok, i have to bitch about something. i've had logitech mice since ... i can't remember. each one, seems to last half a decade. but this last one is such a piece of shit, the primary mouse button is already breaking after 1 year ! Jul 24 03:40:18 i have one of those mac mouses (the one before they got all silly with touch things) and i've limped that for about four years. fantastic thing when it's not gunked up Jul 24 03:41:26 mac mouses hurt my hand, they seem to flat Jul 24 03:41:31 *too Jul 24 03:41:46 maybe i should see what they have these days Jul 24 03:42:26 http://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Apple_Mighty_Mouse_Wireless_in_perspective.jpg/1280px-Apple_Mighty_Mouse_Wireless_in_perspective.jpg this one Jul 24 03:42:50 hmm Jul 24 03:43:25 does cursor.close(); return false or something? Jul 24 03:43:29 code stops executing after it. Jul 24 03:43:51 never touched java, is it anything like c++ Jul 24 03:43:58 size, that is Jul 24 03:44:03 jeaton all programming languages have similarities Jul 24 03:44:12 syntax differences Jul 24 03:44:42 i mean the size, ive been learning c++ for several years and still don't know everything Jul 24 03:44:55 you'll never learn it 100%, it goes with everything Jul 24 03:45:02 its not that bad actually Jul 24 03:45:06 been doing it for 4 months Jul 24 03:45:46 ill have to find myself a good book, anyway, thanks Jul 24 03:46:14 jeaton get a java 6 or 7 book Jul 24 03:46:27 ditch java, go for scala Jul 24 03:48:03 If i was to suggest you a language, I would say learn Perl Jul 24 03:48:50 ok Jul 24 03:49:51 perl to do android ?? Jul 24 03:50:06 yes, why not? Jul 24 03:50:12 That's what I am doing right now. Jul 24 03:50:37 detachYo credibility: destroyed Jul 24 03:50:39 does it have a android widgets lib ?\ Jul 24 03:51:00 haha g00s Jul 24 03:51:25 g00s, I obviously am not, cuz that's straight stupid. Jul 24 03:51:36 bah Jul 24 03:51:44 humbug! Jul 24 03:52:40 but I did hear that you can develop android in Perl, is that true? Jul 24 03:52:43 Has anyone tried it? Jul 24 03:53:26 detachYo try it and let us know how it worked out Jul 24 03:53:55 No thanks. Jul 24 03:53:56 :) Jul 24 03:54:00 I'll stick to Java. Jul 24 03:57:41 I still use perl -pi -e command to replace say a domain name in every folder on a web account that's changing it's domain name Jul 24 03:57:54 most useful Jul 24 04:22:28 I think this cloud is stuff will be a passing fad Jul 24 04:22:44 I think this cloud stuff will be a passing fad Jul 24 04:24:11 hmm Jul 24 04:24:38 all these guys want vendor lock-in; cloud is a great way to do it Jul 24 04:24:55 cloud = sticky Jul 24 04:26:36 first they'll take all your data and then sell it back to you as well as everyone else Jul 24 04:27:12 actually, google is selling a device (Nest) and then giving that data to power companies Jul 24 04:28:03 usually we expect our data to be sold when given free things ;) Jul 24 04:28:56 and then they'll get bought out by a bigger whale and change terms of service Jul 24 04:29:11 if not just disappear Jul 24 04:31:20 capella the error i get (just for your amusement) is : unresponsive script chrome://browser/content/places/treeView.js:147 Jul 24 04:32:16 shmooz there needs to be regulations about how data is saved and managed Jul 24 04:32:45 i guess if you want, you should be able to say 'i allow X, Y , Z to have A , B , C" about me Jul 24 04:32:48 there won't be until a few disasters happen Jul 24 04:32:55 and i charge $10 year for that info :) Jul 24 04:33:29 Jaron Lanier wrote about this in 'who owns the future' Jul 24 04:33:32 mmmm ... that particular module hasn't been changed in 4 months Jul 24 04:34:14 page-specific issue? Jul 24 04:34:45 capella not that i can tell Jul 24 04:34:50 maybe i should try Safari Jul 24 04:35:04 capella: you develop chrome too ? Jul 24 04:35:52 mostly these days I work with the mobile Android FF, but I sometimes have to patch bits of chrome upstream creating issues Jul 24 04:36:12 FF is still a mess Jul 24 04:36:20 its getting worse Jul 24 04:36:31 contributors open encouraged Jul 24 04:36:45 i don't think the project can be helped Jul 24 04:36:53 unless they got rid of their leadership Jul 24 04:37:01 mmmm ... 2.5 years of my life down the drain Jul 24 04:37:31 you should write your own super fast lightweight browser Jul 24 04:37:40 * capella tosses a rope over the rafter Jul 24 04:37:50 capella write it in Rust ! Jul 24 04:37:57 they all get too heavy and hog everything version after version Jul 24 04:38:04 I played with Servo for a couple weeks last month Jul 24 04:38:15 each major version has almost 0 improvements from user perspective Jul 24 04:38:23 lots of dev changes Jul 24 04:38:25 Servo for Android exists, but mostly as a stub Jul 24 04:38:37 I'm pretty happy with chrome performance Jul 24 04:38:49 ff single threaded model ftl Jul 24 04:38:54 * capella unties the rope Jul 24 04:39:04 my machine can't run chrome with the same tabs open as FF Jul 24 04:39:15 maybe if i had 16G Jul 24 04:39:22 iir ... Mac has always been a bit "special" Jul 24 04:39:24 on windows ? Jul 24 04:39:38 i only have 4G Jul 24 04:39:42 chrome runs thread/process per tab Jul 24 04:39:45 need to feed AS :) Jul 24 04:40:01 ff is single process for everything, and single thread for the entire ui Jul 24 04:40:12 I don't recall if tabs have individual threads Jul 24 04:40:29 Mobile is different in terms of Threading ... I'm researching the framework now Jul 24 04:40:31 I remember when FF came out it was supposed to be lightweight faster alternative to Netscape Jul 24 04:40:52 do they still make the Netscape browser ? Jul 24 04:41:05 but yeah, developing for Firefox drove me nuts Jul 24 04:41:10 Mosaic ftw! Jul 24 04:41:20 * pfn wrote the browser for authentic8.com Jul 24 04:42:40 opera was fast and light too and it got bloated as well Jul 24 04:44:00 i like xul and the extensibility of Firefox, but the implementation sucks Jul 24 04:44:10 capella i noticed electrolysis is enabled in nightly Jul 24 04:44:19 it always takes seconds to respond to my keystrokes Jul 24 04:45:02 Yah, I lost track of e10s, but I know it's getting closer - or bits of it Jul 24 04:45:17 what i would like is each window to be its own process; all the tabs in there Jul 24 04:45:25 and plugins their own sandbox Jul 24 04:45:36 each tab can't be a process, thats crazy too Jul 24 04:45:49 "plugins" ? Add-ons? I think they are sandboxed Jul 24 04:46:01 Any body getting error in Android Studio, Cannot resolve style Widget.AppCompat ? Jul 24 04:46:10 I think the latest version is buggy Jul 24 04:46:18 https://developer.mozilla.org/en-US/docs/Xray_vision Jul 24 04:46:44 extensions? in Firefox? sandboxed? nope Jul 24 04:47:40 right, but plugins is a vague term to me - extensions are chrom priviledge Jul 24 04:47:44 capella, xray sounds like for chrome to reach into content or vice versa Jul 24 04:47:53 i think FF guys should stop what they are doing and get e10 done Jul 24 04:48:08 yeah, typical mozilla terminology is plugin = nsapi Jul 24 04:48:28 plugins extensions addons modules, all the same crap Jul 24 04:48:36 and yeah, nsapi is sandboxed Jul 24 04:48:38 not quite Jul 24 04:48:44 also, https://developer.mozilla.org/en-US/docs/Components.utils.Sandbox Jul 24 04:49:05 (for the interested off-topic) Jul 24 04:49:24 yeah, I've made use of that in my browser Jul 24 04:50:11 anyone know if Chome supports labels ? i went here https://support.google.com/bookmarks/answer/171089?hl=en Jul 24 04:50:16 but i'm not seeing this in my UI Jul 24 04:50:57 meh the hell with it. lynx ! Jul 24 04:52:18 Hi Jul 24 04:52:56 I want to display lit items and its subitems. But my screen is blank.Here is my code http://pastebin.com/Th4nr2sd Jul 24 04:53:23 shmooz like this http://www.buzzfeed.com/mattlynley/the-rise-of-sleep-tracking-technology Jul 24 04:53:24 g00s: have you tried w3m ? Jul 24 04:53:46 i think this needs to connect to some service over wifi Jul 24 04:53:48 here is the layout file http://pastebin.com/Z3aW97kc Jul 24 04:53:49 Niru: I'd suggest you not use a list view Jul 24 04:54:03 shmooz no Jul 24 04:54:23 I prefer it to lynx on CLI Jul 24 04:55:05 >frack< I hate Chrome vs. Chrome discussions :) Jul 24 04:55:16 it's color, and can display images in shell windows Jul 24 04:55:16 lynx or elinks? Jul 24 04:55:28 lasserix_: why? Jul 24 04:55:31 niru: delete line 28 since line 27 is the same one Jul 24 04:56:00 Why'd Google have to call it Chrome? only way to make things more confusing would be to call it "Browser" Jul 24 04:56:34 niru: you're stuck with the listactivity, sometimes it is just as easy to set up a listview on your own and not get stuck with the listactivity Jul 24 04:58:12 just as easy (even eadier in my opinion) use normal activity Jul 24 04:58:13 Hi everyone. Can anyone tell what is the Intent to show dialog to open file like this screenshot? http://imgur.com/umOp9kb Jul 24 04:59:17 lasserix_: so you mean I should better have a normal activity and then use those arrayadapter Jul 24 04:59:38 something like this http://pastebin.com/EJJKrKKB Jul 24 04:59:42 yeah Jul 24 04:59:48 also the reason why you dont see anything Jul 24 04:59:53 is you didn't set an adapter on your listview Jul 24 05:00:17 so how does the data connect to the listview? (an adapter is a connector between your data and the UI views representing that data, in this case the listview) Jul 24 05:00:53 you have to declare an adapter and set the listview on it either way Jul 24 05:08:50 lumia 530 announced :) Jul 24 05:09:35 $114 Jul 24 05:10:38 same SoC as the Moto E (Qualcomm Snapdragon 200) Jul 24 05:12:51 anyone uses Xaomi? Jul 24 05:13:04 they announced a new phone too Jul 24 05:13:23 Mi 4? Jul 24 05:13:53 yea Jul 24 05:14:45 http://phandroid.com/2014/07/22/xiaomi-mi-4-official/ Jul 24 05:16:24 lasserix_: this is my layout file http://pastebin.com/LV4bDffe and the code http://pastebin.com/fKAWa37A Jul 24 05:16:47 its working for the main list items. Now how to add the subitems? Jul 24 05:17:58 lasserix_: In layout I need to have one more textview with layout_alignmentParentTop etc? Jul 24 05:30:59 ? Jul 24 05:32:02 sure but remember to change the linearlayout into the relativelayout if you are going to use relative placements Jul 24 05:32:07 (layout_below etc etc) Jul 24 05:34:08 lasserix_: yes Jul 24 05:34:27 lasserix_: but then again I need to come to expandablelistview concept? Jul 24 05:34:35 or not required? Jul 24 05:34:38 capella the dreaded "Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. " Jul 24 05:35:17 niru worry about that later Jul 24 05:35:26 get the list working totally Jul 24 05:35:27 first Jul 24 05:35:33 ok.. Jul 24 05:37:29 niru worry about that later Jul 24 05:37:32 get the list working totally Jul 24 05:37:44 first, then if you need the expandable part, do it after. Jul 24 05:37:49 lasserix_: yes I got you... Jul 24 05:37:51 like i said the expandable part is really just a ui gimmick Jul 24 05:37:56 oh sorry i get netsplit Jul 24 05:38:09 lasserix_: yes I observed Jul 24 05:49:20 I'm using intellij and gradle to build my app. and in my gradle I have one dependency on a local project "compile project(':libs:mycoollib')" . But every once in a while I get "Could not expand ZIP" .... mycoollib.aar. Usually I just delete my mycoollib/build and rerun and everything works, but this is annoying. Jul 24 06:07:39 does anybody know any good open source library (can be use in close source) to stream live video to some server Jul 24 06:19:14 hello Jul 24 06:19:46 is there a way to simulate connecting/disconnecting a screen via hdmi? Jul 24 06:36:16 Anyone have a good recommendation for a pdf reader library ? Jul 24 07:16:39 I have imageview and if I touch it (click it) it should switch between image1 and image2 Jul 24 07:17:44 so I want to ask for current image src name and set another. How can I check current image src name? Jul 24 07:18:43 use ImageView.setTag() to store image name Jul 24 07:19:08 possibly Jul 24 07:20:33 or you can use xml selectors Jul 24 07:22:23 haha wtf, Android Studio deliberately filters out 'java' modules Jul 24 07:22:43 gradle works fine nonetheless Jul 24 07:23:12 that being said, I'm still grateful to Google for putting this out Jul 24 07:29:25 How to make phonecalls from our application without sending an intent to an external dialer? Jul 24 07:30:35 napster: are you writing a system app? Jul 24 07:32:12 Leeds Well no. this is a b2b app. What I'm trying to do is to get call summary when a user makes a call from my application. When I use a dialer intent, in some cases, my telephony manager code returns the last call from the history, even if the user aborts the call from the dialer app. Jul 24 07:32:33 basically fetching the last call made from the phone, no necessarily related to my app. Jul 24 07:33:23 Similarty for SMS, fetching from the SMS outbox returns the user's personal message at times when the user aborts the message from the SMS app. Jul 24 07:33:46 erm... Jul 24 07:33:52 So instead of making use of default system apps, I'm trying to implement these features on my own. Jul 24 07:34:05 Send SMS and make phone calls from the app itself. Jul 24 07:34:50 yeah, you can't Jul 24 07:35:19 Ok, it is not possible to implement the features of a dialer app on my own? Jul 24 07:35:25 or an SMS app Jul 24 07:35:44 SMS app, maybe... dialer, no Jul 24 07:35:49 I see Jul 24 07:36:17 I see some custom dialer apps though Jul 24 08:03:49 So the current project i'm working on, there is an executable we start from a remote service. This executable is written in c/c++, and runs fine. Jul 24 08:04:16 Except the utility of this would benefit from being able to access the database files in the app Jul 24 08:04:19 (This is an api/sdk) Jul 24 08:04:40 So a coworker built a sqlite-connector, that lives in the sqlite table, that needs the file path of the sqlite database. Jul 24 08:05:26 Which we can get, quite easily. However, my suspcion is that it is going to fail to work--that is talking to android generated sqlite databases from a low-level process (where the exe runs) from c Jul 24 08:06:05 *oops the sqlite connector is inside the exe Jul 24 08:07:01 From what I read Diane Hackborn said, talking to a db will work fine WITHIN an app, because you can guarentee that the sqlite3 linked library your c++ code uses can talk to your own database Jul 24 08:07:18 However, due to fragmentation, I feel like this is going to fail. Anyone have expirence with something like this? Jul 24 08:14:31 gahh why cant you just accept my api key google, why ._. Jul 24 08:15:29 lasserix_: I'd be surprised if there were /too/ much variance? After all, you can copy a premade sqlite file to use on any android device. Surely as long as it's all sqlite...? Jul 24 08:16:28 The app I'm working on at the moment provides its own custom-compiled sqlite library for reasons that still elude me. Jul 24 08:18:53 so preparing the db and the imported drivers native code use i believe are very different Jul 24 08:19:07 well if it works, that'll be good Jul 24 08:19:14 I'm I adding the fragment wrong to the backstack? http://pastebin.com/fjryEF3t because when I check for the entries they are always zero? Jul 24 08:19:27 Am I* Jul 24 08:19:30 but i am not convinced it is, and I've tried to inform my boss, but he disregards most things i say about android ;p Jul 24 08:20:00 "Worrying about garbage collection? You must be mistaken!" Jul 24 08:20:21 anyways brb Jul 24 08:43:42 i can't for the life of me figure out what is going on with my debug keys and blasdfj so confusing Jul 24 08:50:47 iffa: ??? Jul 24 09:00:46 myke: im getting too confused about debug keys and the sha1's needed for google api keys and things Jul 24 09:16:51 what the hell is the problem here, i dont get it Jul 24 09:17:16 my apk is signed with the right keys, i got the sha1 for the google api key from that, but google doesnt like my api key Jul 24 09:17:17 :( Jul 24 09:17:46 hey guy, I have a java class that generates sqlite db and I import it into the app via assets -- how do I wrap it into a gradle task? Jul 24 09:18:32 I have array with values like 1, 4, 6, 8 and I have views with ids like v1, v2, v3, .... v9. While I'm looping throung my array with numbers, how can I access corresponding views? Jul 24 09:33:42 hey guys. the afilechooser (webkit file picker workaround for kitkat, https://github.com/iPaulPro/aFileChooser) does not open a file on external SD Jul 24 09:33:59 how would you deal with this? Jul 24 09:51:48 getting error in line 10, why? Jul 24 09:53:00 heh - mentally scans the code and reads line 10 Jul 24 09:53:53 sorry: http://pastebin.com/9VA87Cvw Jul 24 09:54:05 capella: weirdly, while the rest of the code is in Java, line 10 is pure ruby Jul 24 09:54:23 I saw that ! Jul 24 09:55:03 how line 10 should be then ? Jul 24 09:55:24 EugenA: don't use == for string comparison in Java, for a start Jul 24 09:56:08 whats the error? Jul 24 09:56:43 ok Jul 24 09:58:26 but what about line 10? Jul 24 09:58:58 EugenA: what's the error you get on line 10 Jul 24 09:59:21 ok.. emulator booting to test it again.. Jul 24 10:00:36 I'd guess out of bounds exception. It's weird you define empty with only one value and then try to increase the index to access it. Jul 24 10:00:52 we shall see Jul 24 10:00:56 :) Jul 24 10:03:51 thats uh Jul 24 10:03:56 very interesting code there Jul 24 10:08:56 google: y u no accept my api key ffs Jul 24 10:15:28 would be so nice if someone could help me with my issue accessing my file system just on 4.2... http://stackoverflow.com/questions/24930964/cordova-file-plugin-plugin-java-io-filenotfoundexception-permission-is-set Jul 24 10:16:23 i'd like to have empty array and then fill it with elements Jul 24 10:16:53 I don't know how many elements will I have Jul 24 10:18:14 EugenA: ArrayList is your friend Jul 24 10:19:14 my irc client keeps freezing Jul 24 10:20:38 but yes, ArrayList can contain as many or as little items as you want Jul 24 10:22:56 more importantly arraylist can grow dynamically its size isnt fixed Jul 24 10:23:24 yes Jul 24 10:24:17 can ayone help me with my google api issues? :D Jul 24 10:24:52 did you check the package is right? Jul 24 10:25:00 yes Jul 24 10:25:15 ive checked everything 50 times in the last 4 or 5 hours and googled endlessly Jul 24 10:25:48 I guess you don't get any error in the logcat, do you? Jul 24 10:26:19 400, "domain": "usageLimits", "reason": "keyInvalid" Jul 24 10:27:42 how sure are you that your key is valid? Jul 24 10:27:56 i dont see how it could be invalid Jul 24 10:28:05 ive confirmed the sha1 used in there like 50 times Jul 24 10:28:12 and my apk is signed with that key Jul 24 10:28:45 have you tried to re-generate a new one? The message seems to indicate that they has hit the limit and therefore has been invalidated Jul 24 10:28:53 ^ Jul 24 10:29:02 i have Jul 24 10:29:13 i dont know why it tells me that, ive never gotten this thing to even work Jul 24 10:29:17 i shuldnt have hit any limits Jul 24 10:29:27 what's the key for? I mean, what service is it for? Jul 24 10:30:35 im trying to use the custom search API (even though its crazy limited if you dont pay) Jul 24 10:33:35 I've never used it to bear with me. This is not android specific? It's just a web api? Jul 24 10:33:52 s/to/so/ Jul 24 10:34:38 they have a REST api for it so I'm using Retrofit Jul 24 10:35:31 and you created a client ID from the console by selecting "Installed application" -> "Android" ? Jul 24 10:35:38 yes Jul 24 10:35:44 hmmm I don't think that's right Jul 24 10:35:52 that's for android apis Jul 24 10:35:58 that one doesn't seem to be one Jul 24 10:36:26 is RandomAccessFile the class I would want to use to create a random junk file for uploading as an internet speed test? Jul 24 10:37:16 iffa: did you follow this to create the api key? https://developers.google.com/custom-search/json-api/v1/introduction#identify_your_application_to_google_with_api_key Jul 24 10:38:10 is that the correct way of doing it? let me check Jul 24 10:38:51 well... if the docs say so... Jul 24 10:39:50 well Jul 24 10:40:18 they haven't updated their docs apparently Jul 24 10:41:14 they're telling you to go somewhere that doesn't exist anymore Jul 24 10:41:26 this annoys me so much with the docs Jul 24 10:41:27 why? the link takes me to register one of my projects to use the custom search api Jul 24 10:41:33 it takes me here: https://console.developers.google.com/flows/enableapi?apiid=customsearch Jul 24 10:41:54 right, the url Jul 24 10:42:00 do you have any application in the Google Cloud Console? Jul 24 10:42:00 was talking about the directions below Jul 24 10:43:00 but yeah, ive created the api key there Jul 24 10:43:38 but I still think it should be an android api key. The package has nothing to do if it's going through http Jul 24 10:44:03 but I'm just guessing, sorry. I haven't used that API at all. Jul 24 10:44:07 i've made an android api key in there Jul 24 10:44:28 the server/browser options dont really apply for an android app Jul 24 10:44:48 well, the api you're accessing knows nothing about android if it's through normal http Jul 24 10:45:01 yeah :/ Jul 24 10:45:43 google hasnt made a library for custom search Jul 24 10:45:43 try the "installed application" "Other" instead of android Jul 24 10:46:04 and if not try service. I mean you don't lose anything else than time trying those other options Jul 24 10:46:43 an android key relies on getting some information about the app from the android itself (that's probably the reason it asks you to provide the package name) Jul 24 10:46:53 yeah Jul 24 10:47:02 this is really confugsing Jul 24 10:48:21 using Retrofit to request the search prbablly doesnt tell google im on android (and if it does, not the package etc)? :/ Jul 24 10:48:26 how do i do thiis Jul 24 10:49:02 so it doesn't work either creating other api key types? Jul 24 10:49:58 server key allows only specific ips, browser key allows rquests from specific web sites Jul 24 10:50:56 what about the one I mentioned? application but other Jul 24 10:51:10 thats the client id stuff Jul 24 10:51:39 ? Jul 24 10:52:33 when I click create new client I click "Application type" and then below I can select "Other". With those I don't need to provide any other information... Jul 24 10:53:21 true, but custom search api does not use the client id stuff Jul 24 10:53:27 i cant find where in the docs it said that Jul 24 10:53:37 it only wants the api key Jul 24 10:55:12 I see. Ok, sorry I couldn't help more Jul 24 10:55:21 at least you tried :D thats all that counts Jul 24 10:58:27 trying to access a file to upload... getting a non-app-crashing error: open failed: ENOENT (No such file or directory) regarding my randomaccess file. Im using the context wrapper to select my directory Jul 24 10:59:44 http://pastebin.com/5X3PGnE5 Jul 24 11:00:04 the file is in my app directory as well... Jul 24 11:00:07 any input is appreciated Jul 24 11:01:11 Jesperhead: http://stackoverflow.com/questions/3597704/java-io-filenotfoundexception-when-using-randomaccessfile-to-create-file is this of any help? Jul 24 11:01:37 iffa: *shrug* lets find out Jul 24 11:02:59 Jesperhead: just curious, what are you trying to do? :D Jul 24 11:03:30 2 main parts. step one, generate a file of 5mb in size of junk data called uploadTest.jpg Jul 24 11:03:36 step2, upload the file Jul 24 11:03:42 using http post Jul 24 11:04:03 since I can see the file in my app directory, i believe step1 is completing correctly Jul 24 11:09:13 Jesperhead: what sort of app are you making Jul 24 11:10:56 I'm going to make a question on Stackoverflow about my issue Jul 24 11:11:51 well Jul 24 11:11:54 scrap that idea Jul 24 11:11:56 cant login Jul 24 11:11:58 what attribute do I have to set in a selector to be used so different drawables are shown based on whether the user has clicked on them once Jul 24 11:12:01 a switch basically Jul 24 11:12:14 is this state_checked? Jul 24 11:12:31 iffa: http://pastebin.com/ccw3z9E1 heres my whole asynctask Jul 24 11:14:00 wow i think i just caught it Jul 24 11:14:06 :D? Jul 24 11:14:06 why am i using inputstreams for an upload test Jul 24 11:14:14 haha Jul 24 11:15:41 is there a way to simulate connecting/disconnecting a screen via hdmi? Jul 24 11:18:33 thana: simulate how? like actually have the screen visible or just some tricks to make the software think its connected? Jul 24 11:19:52 iffa: i'd need a virtual device that act like some set top box or something which can have a screen connected via hdmi Jul 24 11:20:30 hmm Jul 24 11:20:40 i dont know if it's possible, but if it is, it'll be really hard to pull off Jul 24 11:24:09 I want to get random element from arrayList: int idx = r.nextInt(empty.size()); Jul 24 11:25:00 but I'm getting nullpointerexception Jul 24 11:25:15 have you made sure none of the variable are null? Jul 24 11:25:51 and to get a random index number for your arraylist, you can do something like this: int index = new Random().nextInt(list.size()); Jul 24 11:26:35 goo Jul 24 11:26:46 hmm? Jul 24 11:26:49 my list has 7 elements (checked with debugger) Jul 24 11:26:52 sorry wrong window :D Jul 24 11:27:05 r is Random Jul 24 11:27:12 right Jul 24 11:27:32 what line does the NPE trigger on Jul 24 11:27:40 (whats the content of the line) Jul 24 11:27:49 Hello. Jul 24 11:27:58 hi. Jul 24 11:28:20 I'm trying to use the open source code for Waze 2.* Jul 24 11:28:21 https://wiki.waze.com/wiki/Building_waze_for_Android Jul 24 11:28:56 yes? Jul 24 11:29:29 Part of the instruction is tto set environment variables for DROID_LIB Jul 24 11:29:59 I have no idea where the Androif Libraries directory is Jul 24 11:30:06 *Android Jul 24 11:34:50 Hi. Jul 24 11:40:08 jush: Ive been tihnking about this situation I'm in Jul 24 11:40:40 I guess one way to do this is to make my app send a query to my web server that will send it off to google and send me back the data Jul 24 11:40:44 so complicated Jul 24 11:41:12 then I can use the "browser api" Jul 24 11:41:15 key Jul 24 11:44:46 I'm using "((" + Events.DTSTART + " >= ?) OR (" + Events.DTEND + " >= ?))" to get all the events that were not started or were not finished. However, it doesn't catch repeating events that the first event was ended. what can I do? Jul 24 11:46:01 :( Jul 24 11:46:24 codeninjar: I tried to figure out your issue but I'm probably as confused as you Jul 24 11:48:13 here is the config file: https://github.com/mkoloberdin/waze/blob/565a29ca4ffb468e63f426cb245de096de43f8c9/build_android.sh Jul 24 11:50:19 Refer to android/Makefile.in.android Jul 24 11:50:21 this not any help? Jul 24 11:50:36 I honestyl don't know what to do there Jul 24 11:52:17 the project was poorly documented. Jul 24 11:52:22 Thanks for you help. Jul 24 11:54:48 hello Jul 24 11:54:54 Can someone help me? Jul 24 11:55:03 google have messed up with their bundle Jul 24 11:55:14 as seen on http://stackoverflow.com/questions/24437564/update-eclipse-with-android-development-tools-v-23 Jul 24 11:55:17 how can I fix this? Jul 24 12:03:14 Hi.. I'm building my first app. This allows neighbourhood watchers to submit alerts during their patrol. This process needs to go through a few steps (type of alert, street).  My employer wants a new screen for each step. Should I use an activity for each step, or a fragment? Thanks. Jul 24 12:04:07 syndarion: A custom dialog with lots of next-buttons and stuff? Jul 24 12:04:59 something like that Jul 24 12:06:42 You know the Play store has the permissions pop-up and it has a next button and stuff? something like that could work Jul 24 12:06:44 you should also make it voice activated Jul 24 12:09:57 hi! I need to parse String that is 586761 characters long. It seems that characters are cut... What Java type should I use to operate with String that long? Sorry for newbie question... Jul 24 12:10:28 osmij_: Are you sure the string is cut because of some java.lang.String restrictions? Jul 24 12:10:52 Or might there be other reasons for that? (Of course there are) Jul 24 12:11:14 flan3002, not exactly sure to be fair. How can I write to log something that large? Jul 24 12:11:26 osmij_: Don't. Write it to a file. Jul 24 12:12:35 flan3002, on it, thx! Jul 24 12:12:54 Can you do that or do you need help for writing the file? Jul 24 12:22:56 grrr anybody familiar with httppost uploads in android? Theres a lot of ST posts about it, but I must be doing something wrong. The upload doesnt seem to complete Jul 24 12:27:09 I have two images. Both are in drawable and drawable-xhdi. When I run my test program I see that xhdi images are used. I then removed one of the images from xhdi and now no image is rendered : surely it *should* fall back to the drawable version? Or is that not the case because the second image is still in xhdi and it expects, therefore, both to be there? Jul 24 12:27:31 goddammit Jul 24 12:27:36 i need to post to stackoverflow Jul 24 12:27:39 rg1 Jul 24 12:27:43 but the signup wont work Jul 24 12:27:54 iffa: Then sign in with anything else... Jul 24 12:28:02 (Google... etc.) Jul 24 12:28:07 * rgr: both images should be displayed with the most suitable available asset Jul 24 12:28:09 they dont work Jul 24 12:28:09 :P Jul 24 12:28:20 or well, worked sort of Jul 24 12:28:29 i signed up with google, and now the email is in use Jul 24 12:28:33 yes they should. but now only one is showing : the other is not defaulting back to drawable. Jul 24 12:28:34 so i assume it made the account but i cant login Jul 24 12:29:57 rgr: what happens on an mdpi device? Jul 24 12:36:33 rgr: did you clean your project after removing the drawable? Jul 24 12:37:28 http://stackoverflow.com/questions/24933875/using-retrofit-for-googles-custom-search-via-googles-rest-api can anyone help? Jul 24 12:38:07 Can anyone recommend a good pdf-viewer library ? Jul 24 12:41:00 What do you want... A reader or a library? Jul 24 12:41:08 library Jul 24 12:41:26 to use in an app Jul 24 12:41:27 "pdf-viewer library"... Jul 24 12:41:28 flan3002: depends on which channel you read his question in Jul 24 12:42:27 Yeah, which is why I tried to trigger him to tell us what he really wants, not what he thinks he needs. Jul 24 12:42:33 Leeds: yeah , in the other one ...I am trying to see what people like in a pdf viewer, generally Jul 24 12:44:06 in this channel, I am purely interested in different libraries that you might have used in an app Jul 24 12:44:54 like mupdf Jul 24 12:49:52 Anyone know why gradle cannot find my android-sdk local maven local repo unless I specify: Jul 24 12:49:55 maven { url "$System.env.ANDROID_HOME/extras/android/m2repository" Jul 24 12:49:58 } Jul 24 12:50:03 I don't see other projects doing this. Jul 24 12:55:05 flan3002, you were right, String was not cut. I was getting different responces from web and the responce I got did not contain what I was looking for. Thanks a lot! Jul 24 12:55:53 How large can a String get, though? Jul 24 12:56:42 as much as memory allows Jul 24 12:56:55 org.apache.http.conn.EofSensorInputStream on httppost :( Jul 24 12:57:02 trying to upload a jpg Jul 24 12:59:01 <_3mpty> Jesperhead: use ion lib or something, it's easier for start Jul 24 12:59:33 osmij_: Validate all your assumptions. Or don't act as if they are. :) Jul 24 13:01:09 osmij_: Currently, a String is represented internally via a char[], which means that the maximum size of a String is the maximum size of a char[], which is currently Integer.MAX_VALUE. Jul 24 13:01:35 http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8-b132/java/lang/String.java/ Jul 24 13:12:57 JakeWharton: do you have the code formatter you use posted anywhere? If not could you :P. Jul 24 13:13:05 Hi is there an intent filter to listen to when the cell is changed? Jul 24 13:14:26 http://pastebin.com/GWeLbLbU httppost upload fails. I get this from the server: V/resEntity﹕ org.apache.http.conn.EofSensorInputStream@44d06580 Jul 24 13:14:42 how i can add menu in FragmentActivity? Jul 24 13:15:37 Definite it in xml, inflate the xml in onCreateOptionsMenu() Jul 24 13:16:09 i have this, but is not showed.. Jul 24 13:16:59 http://pastebin.com/2i41SjeP Jul 24 13:18:17 Do you call setHasOptionsMenu(true)? Jul 24 13:18:29 You only need to set that in a fragment Jul 24 13:18:37 k sry Jul 24 13:19:39 ok Jul 24 13:19:42 thanks Jul 24 13:20:16 What's in the xml file, what are you expecting to appear? Jul 24 13:20:57 menu Jul 24 13:21:30 i will put it in fragment Jul 24 13:22:01 hello! I have a searchView and i want to trigger the search activity on third typed letter in the searchfield Jul 24 13:22:56 i have implemented the onquerytextlistener and in onQueryTextChange i can find the number of typed letters Jul 24 13:23:46 how do yall think I should handle tab navigation for a detail screen when it is in master detail? should the tabs just go across both the list and the detail screen I guess? anyone know any apps that do this? Jul 24 13:24:44 So the tabs are the same navigation tabs that are in the master view? Jul 24 13:24:50 Top-level navigation stuff? Jul 24 13:26:32 Does anyone know why the Android system puts the country besides a textbox I have on a view automatically? Jul 24 13:27:02 I have a textbox which shows "Canada - Manitoba" and the system language French or English United States and the system puts "Canada - Canada - Manitoba" Jul 24 13:27:27 whereas for English United Kingdom system language it lets my string alone i.e. "Canda - Manitoba" Jul 24 13:27:35 err, "Canada - Manitoba" Jul 24 13:27:43 Is this known behaviour? Jul 24 13:27:49 across Android versions? Jul 24 13:27:55 where can I read more about it ? Jul 24 13:28:22 * flan3002 blinks. Jul 24 13:28:25 i.e. the system translates my strings after I translate them... Jul 24 13:28:30 Are you sure it's not your fault? Jul 24 13:28:36 yes, I'm sure Jul 24 13:28:52 my string is 'Canada - Manitoba' and the system adds another 'Canada - ' Jul 24 13:29:01 I've verified this extensively Jul 24 13:29:04 Show us the code... Jul 24 13:29:35 The system doables the country for French, English United States, German, Dutch, Spanish languages Jul 24 13:29:47 Android 4+ Jul 24 13:30:31 Which languages are you providing strings for? Jul 24 13:30:45 the same thing happens for 'China - Beijing' , 'United States - Wyoming' , that is , the system adds 'China - China - Beijing' to my string and 'United States - United States - Wyoming' Jul 24 13:31:16 Estel: many different ISO 3 codes, english, french, germany, spanish ,etc. Jul 24 13:31:17 And what happens if you mispell United States? Jul 24 13:31:28 Estel: let me try that Jul 24 13:31:38 so they're in values-fr, values-de etc. folders? Jul 24 13:31:54 no, I read them from native code Jul 24 13:31:58 Estel: Exactly my though... Jul 24 13:32:03 Estel: Exactly my thought... * Jul 24 13:32:32 or let me check ,as I'm not the main developer of this project Jul 24 13:33:39 It seems pretty simple, but can I actually use ssh over my USB connection to my phone, instead of adb? Jul 24 13:34:15 Hello... Jul 24 13:34:22 JesusFreke::: Jul 24 13:34:48 flan3002: you can, you need to install an ssh server on the phone Jul 24 13:34:48 flan3002, no... Jul 24 13:35:12 https://mkaito.github.io/2012/managing-your-android-phone-over-ssh-with-rsync.html Jul 24 13:35:22 CodePulsar: Well, sshd is installed. :/ Jul 24 13:35:35 can anyone help me on this? Jul 24 13:35:36 then you can ssh Jul 24 13:35:55 but you can't do most adb things Jul 24 13:36:27 Yeah, I actually just want rsync or unison to work, but ssh'd be great. Jul 24 13:36:34 Anybody help me whit a code on activity result???? Jul 24 13:36:46 LioMessi: no Jul 24 13:36:51 resu01: uhh Jul 24 13:37:10 resu01: can't you get the length of the string passed into it? Jul 24 13:37:19 yes i can take it Jul 24 13:37:33 Shut op morocco Jul 24 13:37:46 the problem i s how can i trigger the protected void onNewIntent(Intent intent) {} Jul 24 13:38:37 resu01: the search activity is just your own activity, right? Jul 24 13:38:45 yes Jul 24 13:38:45 pfn: Sorry, but how exactly do I address the phone then? :/ Jul 24 13:38:45 So just start it as a normal activity Jul 24 13:39:05 it makes a lot of other things Jul 24 13:39:09 flan3002,? Jul 24 13:39:12 resu01: what does? Jul 24 13:39:14 pfn: And, for that matter, do you know which interface the device is using for adb? Jul 24 13:39:22 connection to a server Jul 24 13:39:33 but one moment Jul 24 13:39:37 i will check this Jul 24 13:39:54 flan3002, it shows up in lsusb Jul 24 13:40:03 in the intent i will not use the Intent.ACTION_SEARCH? Jul 24 13:40:24 I forget what it's called Jul 24 13:40:33 You probably don't have to, it depends if you're consuming that action explicitly in the activity. Jul 24 13:41:25 pfn: So I shall use something like usbnet? Jul 24 13:42:14 s/shall/have to/ Jul 24 13:42:22 why over usb? Jul 24 13:42:29 adb forward Jul 24 13:42:35 use that Jul 24 13:43:19 pfn: Last time I tried that, it cut my internet connection, cause I'm tethering over that same cable. :) Jul 24 13:46:40 Estel: Thanks it works! I also added intent.setAction(Intent.ACTION_SEARCH); Jul 24 13:47:17 does this call reacreates the activity or the android:launchMode="singleTop" prevents it? Jul 24 13:48:49 singleTop would probably prevent htat Jul 24 13:49:30 pfn: I obviously don't know enough about that (I never do), but does the phone actually have a local ip address here? Jul 24 13:56:43 hi Jul 24 13:56:54 i have this menu http://pastebin.com/HQhc8uGe , why onli the 2 first are showe? Jul 24 13:57:12 Hello Jul 24 13:57:14 ? Jul 24 13:57:32 flan3002, on wifi yes, over usb tethering, dunno Jul 24 13:57:45 Yeah... :/ Jul 24 13:58:48 LioMessi: Hi, what do you need help with? Jul 24 13:59:09 (and is it ok with you to get help from a Ronaldo fan? ;)) Jul 24 14:00:15 ronaldo is a shit person Jul 24 14:00:23 only think in money Jul 24 14:00:57 t0th_-: do you have an actionbar? Jul 24 14:01:05 yes Jul 24 14:01:06 Are the rest in the overflow menu? Jul 24 14:01:55 yes, Estel Jul 24 14:02:15 meital::: Ok one moment Jul 24 14:02:20 the problem is not the showas ? Jul 24 14:02:31 I love ronaldo Jul 24 14:02:36 Well, on some devices there's only room for two? Jul 24 14:03:10 Especially if they have no item Jul 24 14:03:47 A device with a horizonal dp of 360 will show two icons and the overflow menu Jul 24 14:04:04 Ok, this is my code Jul 24 14:04:05 Http://pastebin.com/d5PS2rGs Jul 24 14:04:14 De string not sent Jul 24 14:04:26 This onActivityResult Jul 24 14:04:29 But no work Jul 24 14:05:02 Estel: how i can put the option in a submenu? Jul 24 14:05:14 submenu? Jul 24 14:05:29 hide items.. and click to show Jul 24 14:05:37 is never? Jul 24 14:06:08 LioMessi: it's too long to read...which string wasn't sent from where to where? Jul 24 14:06:34 Set item visibility on onPrepareOptionsMenu() and redraw the entire action bar with supportInvalidateOptionsMenu() Jul 24 14:06:54 meital::: String emosio = ":)"; Jul 24 14:07:15 To case REQUEST_CODE_EMOTICON: Jul 24 14:08:28 Its very strange Jul 24 14:08:48 * LioMessi 138 views Jul 24 14:09:36 shouldn't you tell it which intent to call to? Jul 24 14:10:19 also, what about calling startActivity()? Jul 24 14:10:21 How? Jul 24 14:10:46 http://developer.android.com/training/basics/firstapp/starting-activity.html Jul 24 14:10:48 read this Jul 24 14:10:53 Intent intent1 = new Intent(this, EmoticonActivity.class); Jul 24 14:10:53 StartActivityForResult(intent1, REQUEST_CODE_SMILES); Jul 24 14:11:09 yes something like this Jul 24 14:11:32 but it's in the wrong place I think Jul 24 14:11:37 That was in my code Jul 24 14:12:29 Intent.putExtra(Extra.EMOTICON, data.getStringExtra(Extra.EMOTICON)); Jul 24 14:12:30 ? Jul 24 14:12:57 as far as I know, onActivityResult is called after StartActivityForResult, so if you call it inside of onActivityResult then it won't work Jul 24 14:13:05 and this is what you are doing at your code Jul 24 14:13:15 it doesn't actually enter onActivityResult at all Jul 24 14:14:16 LioMessi: did you see http://stackoverflow.com/questions/2497205/how-to-return-a-result-startactivityforresult-from-a-tabhost-activity ? Jul 24 14:14:49 Ok i see now Jul 24 14:16:03 hey all...is there an easy way to change the android:onClick for a view from within an Activity? Jul 24 14:16:16 i want to change which function gets called Jul 24 14:17:15 it looks like i have to call setOnClickListener and construct a View.OnClickListener Jul 24 14:17:24 just wondering if there's a simpler way Jul 24 14:17:31 Euler: no, that's the standard way Jul 24 14:17:38 k, thx Jul 24 14:17:50 I think most people would avoid using android:onClick in the first place Jul 24 14:18:21 ^ this. Jul 24 14:18:29 don't use it, forget it exists. Jul 24 14:18:35 Case REQUEST_CODE_EMOTICON: Jul 24 14:18:35 Intent intent1 = new Intent(this, EmoticonActivity.class); Jul 24 14:18:35 Intent1.putExtra(Extra.EMOTICON, data.getStringExtra(Extra.EMOTICON)); Jul 24 14:18:35 StartActivityForResult(intent1, REQUEST_CODE_SMILES); Jul 24 14:18:35 Break; Jul 24 14:19:39 LioMessi: try to avoid pasting in here please? ^^ Jul 24 14:19:46 I saw that, I'm pretty sure that it's not in the right place in the code.... Jul 24 14:20:06 try debugging it, does it enter onActivityResult at all? Jul 24 14:23:55 Ok Jul 24 14:24:00 I fix the code for all Jul 24 14:24:01 Http://pastebin.com/aS7EDduH Jul 24 14:24:17 I need to find the error here Jul 24 14:25:41 still it doesn't make sense... Jul 24 14:25:51 what exactly are you trying to do? Jul 24 14:26:23 where do you call smil1? Jul 24 14:26:43 Sent this String emosio = ":)"; Jul 24 14:27:00 Android:onClick="smil1" is a bytton Jul 24 14:27:03 Button Jul 24 14:27:35 send a string from activity 2 to activity 1? Jul 24 14:27:43 Yes Jul 24 14:28:09 Is there a way to record my screen and keep that kind of synchronized with a traceview? Jul 24 14:28:14 why are you using onActivityResult and not startActivity? Jul 24 14:29:15 why do you start again activity 2 from activity 1? Jul 24 14:29:22 Because it must run "onActivityResult" if everything else works Jul 24 14:30:33 Intent intent1 = new Intent(this, EmoticonActivity.class); Jul 24 14:30:49 StartActivityForResult(intent1, REQUEST_CODE_SMILES); Jul 24 14:30:58 Emoticonact its a 2 activity Jul 24 14:31:12 the flow should be: press on a button that calls smil1 which starts activity 1 and has the emosio string (you don't need the setResult). Now in Activity 1 you can get the value of EMOTICON and do whatever you want with it. No need to start any activity from Activity 1 Jul 24 14:31:12 Case REQUEST_CODE_SMILES: Jul 24 14:31:12 Final String emoloco = data.getExtras().getString(Extra.EMOTICON); Jul 24 14:31:34 I read the code, just don't understand the flow Jul 24 14:31:41 read what I just wrote about the flow Jul 24 14:32:13 Then you tell me it's the other way around? Jul 24 14:32:45 currently it's like an infinite loop Jul 24 14:32:58 but it never actually starts Jul 24 14:33:47 Hey guys. I have an HTC Desire phone, and i wanna upgrade the OS. so far i've found 2 upgrades: Cyanogenmod(Gingerbread) and ICSForHTCDecire(v. 4). Has anyone tried any of these? Which one is better etc? *cross posted on #android* Jul 24 14:34:41 meital::: I not use on activity result in activity 1? to get the result in Activity 2? Jul 24 14:35:08 http://pastebin.com/TJTCvNC5 Jul 24 14:35:12 try something like this Jul 24 14:35:24 Activity 2 -> emoticon -> activity 1 Jul 24 14:35:26 Ok Jul 24 14:36:15 gune: I know that Cyanogenmod is good, never heard of ICSForHTCDecire... Jul 24 14:36:42 meital: I thought so too, they had their own website and seem to have an entire community behind it so im leaning towards that one. Jul 24 14:37:40 meital: Cyanogen mod it is! lol, thank for the input mate Jul 24 14:37:41 gune: there is also an irc channel: #cyanogenmod Jul 24 14:37:50 Ooh didnt know that, awesome ill check it out Jul 24 14:39:49 meital::: No work Jul 24 14:40:19 I need setText on a input editText Jul 24 14:40:19 EditText input = (EditText) findViewById(R.id.input); Jul 24 14:40:19 Input.setText(emoto); Jul 24 14:41:37 Emosio?? emoloco? Jul 24 14:41:39 I think that you should first start with something simple like this tutorial, to understand the usage of Intent Jul 24 14:41:40 http://developer.android.com/training/basics/firstapp/starting-activity.html Jul 24 14:41:56 Ok wrong code Jul 24 14:43:10 the problem is that you need to know if you write emosio or emoloco string in the text? Jul 24 14:43:45 No Jul 24 14:43:58 again, I don't fully understand what are you trying to do exactly, so it's hard to help Jul 24 14:44:03 The problem is, the string emosio no set in a edittext Jul 24 14:44:32 I need put a emoticon in a edittext, read the code Jul 24 14:44:38 Http://pastebin.com/aS7EDduH Jul 24 14:44:44 Input.setText(emoto); Jul 24 14:46:45 When i click the emoticon button, the emoticon sent to edittext in a firstactivity Jul 24 14:46:47 what about something like this? http://pastebin.com/5SrW3xeX Jul 24 14:47:21 Ok one moment Jul 24 14:48:15 I'm getting a OutOf Memory Error and the installer is crashing when my app-release is trying to be installed Jul 24 14:48:25 the apk is 3mb and I do not use large images or so Jul 24 14:48:36 so the app is not installable :) Jul 24 14:48:39 but wait, it sand change onActivityResult to onCreate Jul 24 14:48:40 Does the intent filter android.net.conn.CONNECTIVITY_CHANGE fire up a receiver when I e.g. change from lte to 3g or an handover occures? Jul 24 14:48:42 does anybody know this? Jul 24 14:50:01 here: http://pastebin.com/QGpbzPTh Jul 24 14:50:53 remove lines 11-14 Jul 24 14:51:48 meital::: Jul 24 14:51:49 Does not work, not because you start activity 1 activity 2, activity 1 is a background process, activity 1 is always active, you need not log Jul 24 14:52:28 ah? Jul 24 14:52:49 Hey, i have a problem... I have done cusom layout for a list view and all items get clicked if i touch one of them. Say wich code is needed to debug Jul 24 14:53:11 Is a chat Jul 24 14:53:24 The activity 1 es a chat process Jul 24 14:53:38 Always active Jul 24 14:54:00 so again, I really don't understand what are you trying to do Jul 24 14:54:01 I need call to a second activity, to sent text Jul 24 14:54:12 Ok Jul 24 14:54:31 Activity 1 = msn , activity 2 = emoticon Jul 24 14:54:34 please go over the tutorial, I think that it'll help you Jul 24 14:54:41 Activity 2 sent smile to activity 1 Jul 24 14:55:18 You call an activity already initiated Jul 24 14:55:29 Intent intent = new Intent(this, Activity1.class); Jul 24 14:59:08 How to I get a SQLite Integer field as int? TypeCasting (Integer) doesn't work but .toString() gives the correct value ... There is no method like toInteger :/ any hints? Jul 24 14:59:58 I've got an issue where my fragment that is contributing action bar items works correctly on the Nexus 7, but for some reason doesn't show the action bar items on a Galaxy Tab. Has anyone run into this before, or something similar? Jul 24 15:00:25 I am reading the whole table (Text, Integer, Integer) and putting it in List> where String is column name and Object is the value Jul 24 15:01:52 Do i have to use Integer.parseInt()? Is this the best way? Jul 24 15:03:49 Well that works but looks a bit stupid Jul 24 15:04:44 astroduck that is how I would do it yes Jul 24 15:06:14 astroduck what is your Object in the Map? Jul 24 15:09:26 Man, this is so bizarre. I have set 'hasOptionsMenu(true)' and overridden onCreateOptionsMenu in my fragment. It properly contributes to the action bar with all of my test devices. Apparently though, on a Galaxy Tab 7.7, it is not contributing options. Jul 24 15:11:05 mattblang: Object has an integer value like 100, typecasting to (Integer) fails and to (int) doesn't work (I didn't expect it to work anyway) Jul 24 15:11:36 astroduck why is it not an Integer already is what I am curious about Jul 24 15:13:33 mattblang: I am passing the whole data in my table in a single List object so I used a List> as the table has a Text column and 2 Integer columns so I thought Object is the only way to put all data in a single List object Jul 24 15:14:37 does adb allow wildcard characters? specifically I would like to do "adb pull /sdcard/*.trace /tmp", but I get the message "/sdcard/*.trace" does not exist Jul 24 15:14:43 i have a activity with fragment, how inside the fragment i can use the Activity methods? Jul 24 15:15:30 Because I kindof created a few hundred trace files Jul 24 15:16:29 Syzygy: I've hit that barrier too. :/ Jul 24 15:17:33 astroduck but couldn't your Object be a POJO with a String and two int values, then you just get from it when you need it? I am not understanding how that Object represents two ints and a String Jul 24 15:19:04 mattblang: what OS version is that tab? Jul 24 15:20:03 Estel 4.0.4. I think it may be a difference in when it is called in the lifecycle. I was doing an isVisible() check for some reason, I can't remember why Jul 24 15:20:33 Estel it probably isn't visible when it is called on 4.0.4, but on my Nexus devices it is probably called after viewCreated or something Jul 24 15:20:35 Estel just a guess Jul 24 15:21:43 Have you inspected the menu object in onPrepare? Jul 24 15:21:54 Also, on the Tab, can you see /no/ menu items? Jul 24 15:22:48 Estel can't do that unfortunately. this was reported to us by our QA team that has a Galaxy Tab, and I am on a virtualized system so I can't do emulator. Only the activity menu's items are there, not the fragments. Jul 24 15:23:14 It's not that they're in the overflow menu which is hidden behind the physical menu button on the tab? Jul 24 15:23:15 Estel I am realy thinking it might be this isVisible() check that I am doing in the fragment's onCreateOptionsMenu. I can't remember why I was doing that Jul 24 15:23:40 flan3002, it's nice to know that nearly everyone runs into the same issues I have. Jul 24 15:24:05 Doesn't make it any better. Use ssh and rsync! :) Jul 24 15:24:07 though I'm probably thinking of the wrong tab Jul 24 15:24:37 Or scp... Jul 24 15:25:15 Ah, so there is a fix :D Jul 24 15:25:38 Well, I haven't yet managed to do that, but theoretically: Yes! :D Jul 24 15:26:04 Estel there is an overflow menu with triple dots actually. I thought the Galaxy Tab 7 had a physical button as well Jul 24 15:26:08 sshd is using bash, which uses unimplemented syscalls, which is bad. Really bad. Jul 24 15:26:37 Estel guess we were wrong http://tctechcrunch2011.files.wordpress.com/2011/09/galaxy-tab-77.jpg Jul 24 15:27:22 Estel another bizarre thing, the fragment contributes to the options menu when it is in landscape in a master-detail Jul 24 15:27:29 Estel only in portrait does it not contribute options, lol Jul 24 15:27:45 Do you have something in menu-w300 or something? :P Jul 24 15:28:03 flan3002, I could write a batch file do execute the command... only problem is that i put a time signature into my thingy so I can't even do that. Jul 24 15:28:15 Estel haha, checked that. only have a menu folder, no menu-qualified Jul 24 15:28:41 so all my files are called -trace-