**** BEGIN LOGGING AT Mon Jul 01 02:59:58 2013 Jul 01 03:02:41 the main thing is im going to use this phone for dev but also its my primary phone Jul 01 03:04:13 get the $30 plan at the bottom Jul 01 03:05:11 160 minutes would last me about 1 day lol Jul 01 03:05:29 so although it would work for data i'd get killed on the minute fees Jul 01 03:05:38 (i do use it to call people) Jul 01 03:05:42 the other one Jul 01 03:05:47 1500 mins Jul 01 03:06:37 ahh i see it now Jul 01 03:30:10 Can anyone give me some hints on using PreferenceManager inside of a class that is not an activity? Jul 01 03:30:20 i'm reading the doc but been stuck for a while... Jul 01 03:42:47 hey all Jul 01 03:43:10 just wondering if someone can point me in the right direction here...im trying to change/add a superclass in android studio Jul 01 03:43:30 eclipse used to have a wizard popup, but now all i can do is add a new blank class Jul 01 04:15:43 ff Jul 01 06:15:40 How could I get the events listed on http://journeychurchsc.org/index.cfm?sp=events in a listview in an android app Jul 01 06:17:39 copy/paste Jul 01 06:18:35 in a way that will be updated Jul 01 06:18:56 do you have acecss to the backend of that site? Jul 01 06:19:08 no Jul 01 06:19:09 if so, create a different kind of feed (json) from that data and use that Jul 01 06:19:26 is there any other way? Jul 01 06:19:33 otherwise you could use something like YQL to get that data in a way that doesn't require parsing the html in the app Jul 01 06:21:09 is that commonly used? Jul 01 06:21:38 scraping data from a site is probably more common than it should be Jul 01 06:21:57 it's not nice - if the site changes in any way it can break the app Jul 01 06:22:42 YQL can slightly alleviate that... because you can use xpath to get at elements more easily (though I suppose you can do that in-app) and munge the data if it changes to what the app might expect Jul 01 06:22:48 but it's still not nice Jul 01 06:26:13 I'm trying to implement a SupportMapFragment inside a fragment, however it appears to load wrong. Jul 01 06:26:42 First of it tried to recreate the fragment for parent fragment 0x0, I suppose this is because the fragment is inflated before my fragment is done loading. Jul 01 06:27:35 Next, I solved this by destroying it onDestroy from my fragment, now however it fails to unload when my app is closed, probably because parent 0x0 tries to unload it even though I've already unloaded it. Jul 01 06:28:18 Also, evert reference I retrieve for it is set to null for some reason. So, I wonder. Does anybody know about a "correct way" to implement a fragment in a fragment? Jul 01 06:47:06 I solved it by just manually adding the SupportMapFragment in onCreateView, it seems inflating a fragment inside a fragment is, at best, a bit dodgy. Jul 01 07:19:07 Hi Jul 01 07:19:51 Why does android.view.Surface.screenshot(int, int) give me 0x0 bitmap? Jul 01 07:20:17 I tried different screenshots sizes, none of them worked Jul 01 07:20:49 System UI and NFC use it, and it doesn't appear to request READ_FRAME_BUFFER permission Jul 01 07:25:22 @jonet, do you use getChildFragmentManager() for creating fragment transaction for your nested fragment? (not the usual fragment manager) Jul 01 07:25:37 do you use support libraries? Jul 01 07:25:56 Yeah, on both. But the inflation fails regardless. Jul 01 07:26:15 Or rather, the inflation doesn't fail. But it doesn't set the parent properly. Jul 01 07:26:42 However, a wierd thing is that I tried the same thing on another fragment and that works flawless. Jul 01 07:27:19 lost connection, reconnected Jul 01 07:35:54 Hello, Anybody know how to disable auto restart app when app has been terminated caused by like segfault ? Jul 01 07:36:19 am, app certanly shouldn't autorestart. Jul 01 07:36:35 oh. really?, hmm. Jul 01 07:37:24 So, anything on my screenshot question? Jul 01 07:37:25 my app is using JNI. and when it terminated by segfault from JNI, stacked activity (previous activity) shown. Jul 01 07:37:50 jooncheol, that's because the library is likely loaded in your activity class Jul 01 07:38:06 static {System.loadLibrary("name");} Jul 01 07:38:11 Is it in your activity? Jul 01 07:38:58 Hmm, I'm using it in the service. Jul 01 07:39:26 If the activity is using loadLibrary, it should be restarted after terminated ? Jul 01 07:40:08 The service should crash in your case Jul 01 07:40:35 On my screenshot question, here's my screenshot code http://pastebin.com/788QJimQ Jul 01 07:40:40 Log.d("TakeIntentService", Integer.toString(bitmap.getWidth())); Jul 01 07:40:42 I get 0 here Jul 01 07:40:55 I tried getPixel, got an error for x being >= width Jul 01 07:41:41 jooncheol, are you by any chance telling your service it has to restart on failure? ;) Jul 01 07:42:02 SiPlus, undocumented/unsupported apis are really out of the scope of support Jul 01 07:42:04 android.view.Surface.screenshot is static(int, int) Jul 01 07:42:13 SiPlus, go read android source code to see why it's giving you 0x0 Jul 01 07:42:16 probably permissions Jul 01 07:42:30 pfn, I read nativeScreenshot (invoked by screenshot) C++ code Jul 01 07:42:36 There's nothing about permissions Jul 01 07:42:51 Even though other screenshot functions need system-only READ_FRAME_BUFFER permission Jul 01 07:42:58 That looked strange to me Jul 01 07:43:22 And instead of getting a permissions error, I got an empty bitmap Jul 01 07:43:40 I tried to move it to getMainLooper thread Jul 01 07:43:44 Still doesn't work Jul 01 07:44:03 then read the native code to see why it's returning 0x0 Jul 01 07:44:14 understand the conditions in which it would return 0x0 and rectify it Jul 01 07:45:21 also, you realize getting granted certain permissions gives your app user unix permissions which might not necessarily be visible from code Jul 01 07:45:26 e.g. access to devices in /dev Jul 01 07:54:49 damn, probably something related to remote()->transact(BnSurfaceComposer::CAPTURE_SCREEN, data, &reply); in ISurfaceComposer::captureScreen Jul 01 07:58:25 Hullo. Jul 01 07:59:24 Hi Jul 01 08:00:01 I am very new to Android developing. But I seek for something that will allow me to change an element's property (f.e. TextView's text) basing on its id. Like JS: document.getElementById().innerHTML, stuff like that, could anyone help me in any way? Jul 01 08:01:08 Use findViewById Jul 01 08:01:42 communist-cookie, ((TextView)(findViewById(R.id.yourTextView)).setText("..."); Jul 01 08:02:36 Like in JS, it's good to cache the IDs in variables when the view is loaded so you can access them quickly Jul 01 08:03:28 TextView tv = (TextView) findViewById(R.id.tv); tv.setText('blah') ? Jul 01 08:03:53 like that, SiPlus? Jul 01 08:04:57 communist-cookie, yes Jul 01 08:05:17 But if you want to use it anywhere else than onCreate, cache them in a class member Jul 01 08:05:37 If you need to access it only once per activity instance, don't cache it at all Jul 01 08:06:34 is single -> ' <- this thing not a suitable thing for strings in Java? Jul 01 08:07:25 communist-cookie, it's for single Unicode characters Jul 01 08:07:34 like in C, C++ and C# Jul 01 08:07:49 '0' becomes (char)(48), the ASCII code of 0 Jul 01 08:08:14 it's like Jul 01 08:08:22 "c".charCodeAt(0) Jul 01 08:08:33 oh, it JS it was way simpler Jul 01 08:08:39 communist-cookie, no Jul 01 08:08:50 "c" -> string, 'c' -> single character Jul 01 08:08:57 ok :) Jul 01 08:09:00 thank you for help :) Jul 01 08:09:11 Sicp, Mavrik : oop, yes, it was loaded by Activity. So, If the System.loadLibrary called by class, it will be restarted after it terminated? Is it default behavior in Android/Dalvik? Jul 01 08:09:31 for example, finding a character in a string (there is an equivalent of indexOf in Java, however, so don't use it): Jul 01 08:10:02 for (i = 0; i < string.length(); ++i) {if (string.charAt(i) == 'A') {return i;}} Jul 01 08:10:08 this will find the first A in a string Jul 01 08:10:36 or string.length() if not found Jul 01 08:11:26 ok :) Jul 01 08:11:28 but Jul 01 08:11:37 in Java, it's not exactly the same as in other languages Jul 01 08:11:56 in Java and C#, it's Unicode character Jul 01 08:12:26 in C++, 'A' is an ASCII character of type `char` and L'A' is an Unicode character of type `wchar_t` Jul 01 08:12:27 if(string) will be false if string is empty? Jul 01 08:12:40 in C, 'A' is an `int` Jul 01 08:12:45 communist-cookie, no Jul 01 08:12:49 oh. Jul 01 08:12:53 you can't write if(string) Jul 01 08:12:59 if works with boolean, string is a String Jul 01 08:13:18 oh. Jul 01 08:13:21 I suck. Jul 01 08:13:28 if (string.isEmpty()) Jul 01 08:13:36 if (!string.isEmpty()), to be correct Jul 01 08:13:52 or if (string.length() != 0) Jul 01 08:14:01 but the first is faster because of no need to load 0 Jul 01 08:14:41 okay :) Jul 01 08:15:07 do you possibly know wat was keyboard combination for importing all the unimported stuff? Jul 01 08:15:20 ctrl+shift+o i remembered but it is not Jul 01 08:18:14 communist-cookie, Eclipse will automatically import things as you write Jul 01 08:18:37 if it doesn't import a thing, hover over its name and press "Import ..." Jul 01 08:18:48 in the tooltip Jul 01 08:19:17 idk how it's done in Android Studio Jul 01 08:20:15 does Toast have to be imported? Jul 01 08:25:13 communist-cookie, it's android.widget.Toast, so yes Jul 01 08:25:25 or you can use android.widget.Toast directly, but your code will be a mess Jul 01 08:40:28 the simplest thing, changing the color of the acitivy's titlebar… how do i do this? like this? http://stackoverflow.com/questions/2251714/set-title-background-color its rather complex Jul 01 08:41:00 would I have to create a new view for this? Jul 01 08:46:13 ...who does that Jul 01 08:47:22 and why do i get an error when defining color.xml Jul 01 08:47:23 http://paste2.org/BhLFJ9f9 Jul 01 08:47:23 Are you sure you want to style the Titlebar and not the Actionbar? Jul 01 08:47:49 i thought the titlebar was the action bar before api 10? Jul 01 08:48:24 The Titlebar was the Titlebar, the Actionbar is the Actionbar. Jul 01 08:48:39 They are in roughly the same area, but are different concepts. Jul 01 08:49:22 ok ty Jul 01 08:49:28 It will be (or at least should be) very hard to find any app still using the Titlebar. Jul 01 08:49:47 If you want to support API <11, it's recommended to use ActionBarSherlock. Jul 01 08:50:03 ok ty for that Jul 01 08:50:06 But really, supporting anything <15 can be a pain in the ass and is usually not recommended for beginners. Jul 01 08:50:18 @colors, it tells you, you're missing the namespace. Jul 01 08:50:22 rved: you need to define the namespace Jul 01 08:50:40 xmlns:android="http://schemas.android.com/apk/res/android" Jul 01 08:51:24 exactly Jul 01 08:51:33 The example shows you where to put it: https://developer.android.com/guide/topics/ui/layout/linear.html#Example Jul 01 08:53:10 about the color part, i still dont get it Jul 01 08:53:25 rved: what don't you get Jul 01 08:53:25 ? Jul 01 08:53:26 what do i need to change and why Jul 01 08:53:36 you need to add the xml namespace Jul 01 08:53:54 if you are not aware of what an xml namespace is, please refer to the xml specs Jul 01 08:54:29 yes i know :) but i still get the error Jul 01 08:54:43 Did you add the namespace? Jul 01 08:55:20 rved: put the file in the values folder please Jul 01 08:55:43 just saw that ... Jul 01 08:56:12 http://paste2.org/vD1P5Wmx Jul 01 08:56:15 like this in values? Jul 01 08:56:46 rved: put your colors.xml file into the values/ directory Jul 01 08:57:09 yes, the colors.xml is without error, but in styles.xml: @color/title_background Jul 01 08:57:20 can't find resource Jul 01 08:57:41 have you placed the colors.xml into your values/ directory Jul 01 08:57:41 ? Jul 01 08:57:48 solved it Jul 01 08:57:50 typo Jul 01 08:57:54 thx guys Jul 01 08:58:05 np Jul 01 08:58:48 but the action bar isn't using the new color yet Jul 01 09:00:08 http://paste2.org/Y0CVeC94 Jul 01 09:00:40 Can I detect wether phone encryption is enabled or not from my app? Jul 01 09:24:40 ah 2 months on unity now back to android, this is weird :) Jul 01 09:31:11 rved: try http://jgilfelt.github.io/android-actionbarstylegenerator/ Jul 01 09:31:33 im using a relative layout; so there how can i space like button 1 from burron 2 which is below it for 20dp? Jul 01 09:31:35 siyb, thnk you already looking into it, reading the Action bar Sherlock now Jul 01 09:31:43 is this a good method? Jul 01 09:31:49 using sherlock? Jul 01 09:32:00 rved: if you want to be backwards compatible Jul 01 09:32:13 yes it should be available from 8 to 16 Jul 01 09:32:14 17 Jul 01 09:32:22 then you will need abs Jul 01 09:32:51 it this the same a linking a normal library like LVL? Jul 01 09:36:11 so i just import it, check if it's a library, and link it to another project? Jul 01 09:37:32 when i link the abs to my project it says: Jar mismatch! Fix your dependencies Jul 01 09:37:35 any idea's? Jul 01 09:37:41 Found 2 versions of android-support-v4.jar in the dependency list, Jul 01 09:37:47 but not all the versions are identical (check is based on SHA-1 only at this time). Jul 01 09:41:17 rved: you have 2 versions of android-support-v4.jar with different hashes Jul 01 09:41:29 rved: abs provides one and you app might provide one Jul 01 09:41:31 should i rename or delete? Jul 01 09:41:45 just use the most recent in both projects Jul 01 09:41:56 they just have to be the same Jul 01 09:43:01 how do i use the most recent, like in my project i use api 17.. should i delete the ABS one? Jul 01 09:43:15 abs is using api 15/ 14 Jul 01 09:43:30 this error is related to the support library version you are using Jul 01 09:43:52 just copy the one of your original project into abs' libs folder Jul 01 09:43:56 that should suffice Jul 01 09:45:27 hmm, small icon on my notifications doesn't show up Jul 01 09:45:34 anyone has any ideas why that could happen? Jul 01 09:45:45 i renamed it siyb Jul 01 09:46:06 Marvrik, your using the small icon for the large icon Jul 01 09:47:22 Mavrik http://paste2.org/XYjsWWp3 Jul 01 09:47:43 i believe that if you don't specify the SmallIcon, it becomes the large icon Jul 01 09:47:56 hmm Jul 01 09:47:58 so i you define the large icon as a bitmap the small icon will work Jul 01 09:48:51 ah, yeah, that's exactly it Jul 01 09:48:53 thanks :) Jul 01 09:49:33 http://developer.android.com/reference/android/app/Notification.Builder.html Jul 01 09:49:57 The platform template for the expanded view will draw this icon in the left, unless a large icon has also been specified, in which case the small icon will be moved to the right-hand side. Jul 01 09:50:20 was struggling with this a 2 weeks ago Jul 01 09:50:29 now I'm struggling with the action bar :) Jul 01 09:51:33 hey can i can i change the buttons background when pressed bu user to something other than its current background? (i have like a gray drawable for normal button and green one for when pressed) Jul 01 10:15:29 states drawable Jul 01 10:15:55 http://www.mkyong.com/android/android-imagebutton-selector-example/ Jul 01 10:27:12 Im using ActionBarSherlock (for the first time) with a project, i renamed Android-support-v4 in abs to avoid conflicts.. when i run the project i get a Dex Loader error http://paste2.org/AWNf8E94 Jul 01 10:27:14 any ideas? Jul 01 10:28:19 you have to get rid of one version Jul 01 10:28:46 or those two libs have to be exactly same Jul 01 10:30:33 Yeah, the name doesn't matter. Just have _one_ of those. Jul 01 10:30:42 It's the inside that counts ;) Jul 01 10:31:46 kakazza, when i delete the one from the abs, i get a lot of red crosses Jul 01 10:33:48 kakazza, i duplicated my lib into abs Jul 01 10:33:51 and now it works Jul 01 10:34:07 btw, do you know how to change the title text color of the app name in the actionbar? Jul 01 10:42:45 Hmm, I don't know why activity is restarted when app has died due to JNI's segfault. Is there any way to prevent restart activity in that situation ? Jul 01 10:50:19 rved: http://pastebin.com/L5KK37zH Jul 01 10:50:32 ty! :D Jul 01 10:52:33 rved: let me know if it works.. I found that code this morning on stackoverflow.. it makes sense.. so It should work.. but I will test it this evening when I'm back home Jul 01 10:57:43 so what is this ActionBarSherlock everybody uses .... should I put it in my app? Jul 01 11:01:13 primski: is an ActionBar which works even in Android 2.3 devices Jul 01 11:02:13 so I should use it if i plan to support older devices or can everything be achieved with provided support library? or does it just provide convinience of use? Jul 01 11:02:57 primski: no the support library doesn't provide any class like ActionBar. Jul 01 11:03:06 primski: same for the Holo theme Jul 01 11:03:30 hi to all, i have a problem to store phone and note to contacts. i use this code http://pastebin.com/455StEte works fine for phone but not for note. anyone can help? Jul 01 11:03:53 ok thanks ... i'll try it out ... Jul 01 11:05:17 GNUton: http://paste2.org/56nY79GF it doesn't work yet. Im using Sherlock and the theme generator Jul 01 11:05:38 created line 30 myself Jul 01 11:05:42 from your paste Jul 01 11:05:50 but the title is still black Jul 01 11:05:55 while i specified #FFFFFF Jul 01 11:06:01 in @color/actionBarText Jul 01 11:07:51 rved: I'm not sure it works with Sherlock Jul 01 11:07:59 :O Jul 01 11:08:03 u tried Jul 01 11:08:07 #ffffffff Jul 01 11:08:19 abs styling is a complete pain in the arse imho Jul 01 11:09:58 Gaz`: unfortunately there are a lot of other annoying things too on Android... :/ Jul 01 11:10:50 yep Jul 01 11:11:01 sort of becomes much easier over time tho Jul 01 11:11:10 i remember raging about android liek 2 yrs ago Jul 01 11:11:20 now its not bad, altho i do find theres memory leaks Jul 01 11:11:25 Can I detect wether phone encryption is enabled or not from my app? Jul 01 11:11:30 but could be something im doing wrong Jul 01 11:14:33 btw, if i have two R.java's in my project, and use in my main activity: setContentView(R.layout.activity_main); Jul 01 11:14:36 i get an error Jul 01 11:14:51 should i import R? Jul 01 11:14:58 in my activity? Jul 01 11:15:29 Android.R …com.me.package.R … or com.actionbarsherlock.R Jul 01 11:15:40 biggest barrier to android is being a good java coder i think Jul 01 11:15:48 yes rved Jul 01 11:15:58 first Jul 01 11:17:07 Gaz`: Java is pretty easy... it's just taht the android framework is not the best app framework I used so far.. there are better ones out there Jul 01 11:17:15 Gaz`: Qt for instance Jul 01 11:17:24 i dont think jav is easy tho Jul 01 11:17:27 not for many years Jul 01 11:17:37 i have a problem to store phone and note to contacts. i use this code http://pastebin.com/455StEte works fine for phone but not for note. anyone can help? Jul 01 11:18:30 Gaz when i import any R class the app crashes onCreate Jul 01 11:18:38 but there is almost nothing inside the app Jul 01 11:18:40 really weired Jul 01 11:18:55 check logcat Jul 01 11:19:00 gives very useful info Jul 01 11:19:15 Gaz`: I find Java way easiyer than C and C++.. No memory leaks.. sync thread is not a nightmare.. the only thing that makes Java.. not nice is that you have to write lots of lines of code before achieving anything usefull.. Jul 01 11:20:07 true, i was thinking from the point of view of a non coder trying to learn android, my mate wants to do it but i told him he wont be ready to write anything good for many years and he was dissapoiinted Jul 01 11:20:25 java.lang.ClassNotFoundException Jul 01 11:20:31 mostly because i believe it will take at least 3 yrs to learn java before u can even look at android, and much longer probably depending on passion Jul 01 11:20:44 paste the code rv Jul 01 11:20:45 rved Jul 01 11:20:46 xan_IT: I'm wondering what happens if the system is not able to find an app which can handle notes.. Jul 01 11:21:22 Gaz`: he can still use HTML5 Jul 01 11:21:30 yeh thats what hes learning Jul 01 11:21:34 html5/js Jul 01 11:21:40 Gaz`: ;D Jul 01 11:21:52 but he's always lookign toward a lang like java, even tho i told him JS is a "real" language Jul 01 11:22:35 Gaz, without import of R it looks like this Jul 01 11:22:36 http://paste2.org/Oe9xXXdt Jul 01 11:22:45 it's just the default Eclipse create new project code Jul 01 11:22:47 GNUton the sistem open contacts with list of contact, when i select one i see that contact with phone added but not note Jul 01 11:23:00 Gaz: but i imported sherlock as library too Jul 01 11:24:00 alll imports of R make the app Jul 01 11:24:02 crash Jul 01 11:24:05 import com.actionbarsherlock.R; Jul 01 11:24:14 import com.rved.myapp.R; Jul 01 11:24:21 and Android.R Jul 01 11:24:30 xan_IT: my fault. I didn't read your code completely.. and I didn't see that the NOTE you are talking about is justa field of the contact.. Jul 01 11:27:09 xan_IT: so I dunno.. check logcat for something interesting.. you may have passed wrong type.. or something like that.. Jul 01 11:31:59 Dear guys, I need to add a view to my RelativeLayout programmatically. Where do I specify the LayoutParams? In the containing view? In the view I want to add? How? Jul 01 11:32:08 Gaz: Oops solved, it renamed my package at some stage... Jul 01 11:37:53 is it possible to extend android studio? Jul 01 11:43:23 Hello. When I tried to use "env->GetArrayLength" in C++ I got message like "jni.h:1605: note: candidates are: jsize JNIEnv_::GetArrayLength(_jarray*)". How to fix it? Jul 01 11:47:36 anyone? Jul 01 11:49:25 not sure you need to prompt or push "anyone" for answers Jul 01 11:49:41 asking your question is enough, if someone knows, they will comment or answer Jul 01 11:53:34 how do i change my action bar title color when I'm using Sherlock? i've tried this: http://stackoverflow.com/questions/10466796/action-bar-sherlock-4-title-text-colour-where-am-i-going-wrong but it didn't work Jul 01 11:53:37 still stays black Jul 01 11:53:52 specified as #FFFFFFFF Jul 01 12:21:58 hi to all, i have a problem to store phone and note to contacts. i use this code http://pastebin.com/455StEte works fine for phone but not for note. anyone can help? Jul 01 12:23:30 xan_IT: are manuf. not open to do their own format and system for things like contact db/fields and messages ? Jul 01 12:24:06 anyways, may help if you said what was wrong :) Jul 01 12:25:48 StingRay_ why is wrong? Jul 01 12:26:06 dunno, you have not said what the problem is Jul 01 12:27:19 with this code i can add phone but not note. i recieve no error. seams that extra note doesent read at all Jul 01 12:28:44 wouldnt it be good if as you typed a variable eclipse could realise and auto complete, or give u a list to select from Jul 01 12:29:23 rved soz man was coding, which line crashes Jul 01 12:30:00 Gaz i solved it, i forgot to rename the package properlly Jul 01 12:30:03 i think u might need getMenuInflater().inflate(R.layout.main, menu); Jul 01 12:30:07 ah ok nice one Jul 01 12:30:09 this caused the error Jul 01 12:30:12 ty Jul 01 12:30:19 np Jul 01 12:30:31 but i do have problems with the color of the title in the action bar Jul 01 12:30:31 StingRay_ https://github.com/android/platform_packages_apps_contacts/blob/master/src/com/android/contacts/activities/ConfirmAddDetailActivity.java at row 582 seams that read note extra Jul 01 12:30:43 i tried this http://stackoverflow.com/questions/10466796/action-bar-sherlock-4-title-text-colour-where-am-i-going-wrong Jul 01 12:30:54 ive toyed with that for DAYS Jul 01 12:31:04 what colour is it and what colour do u need Jul 01 12:31:15 also cant u supply your own xml layout for the top bit Jul 01 12:31:20 think u can Jul 01 12:31:33 im not using an actionbar ever again for next apps, they suck so bad Jul 01 12:31:37 much easier to write your own Jul 01 12:32:00 +1 Jul 01 12:32:03 +1000 Jul 01 12:32:05 :) Jul 01 12:32:18 :) Jul 01 12:32:30 I can have lovely icon/action transition anims on mine Jul 01 12:32:33 per item too Jul 01 12:32:37 with chain rules Jul 01 12:32:39 :) Jul 01 12:32:48 I want to setup a simple application in which an android device pushes its current time to a browser via bluetooth, when someone presses a button. I'm not too familiar with BT or android dev. [...] Jul 01 12:32:52 and somehow it still makes it simpler for me Jul 01 12:32:53 sounds cool StingRay_ Jul 01 12:32:54 :) Jul 01 12:32:57 StingRay_ can you help me? Jul 01 12:33:08 StingRay_: not without reading all of your code Jul 01 12:33:25 I suspect your aiming at a uri that when resolved doesnt have that field Jul 01 12:33:26 Is it possible to do this using bluetooth RFCOMM -- avoiding the whole pairing/discovery process by hardcoding parameters? Jul 01 12:33:39 @xan_IT Jul 01 12:33:49 snappy if i recall obex was best way to avoid handshaking, Jul 01 12:33:55 but that was j2me days Jul 01 12:34:12 * Gaz` glances down at his bluetooth coding books from 9 years ago Jul 01 12:34:51 StingRay_ http://pastebin.com/455StEte this is all code, which code you need? Jul 01 12:35:03 no I mean I cant be arsed Jul 01 12:35:06 sorry Jul 01 12:35:16 dont have time to spare Jul 01 12:35:35 hmm, well, what should i do, go with sherlock action bar or create my own? it I'm still kinda new with action bar Jul 01 12:35:49 rved: depends on requirements Jul 01 12:35:57 does it do all you want Jul 01 12:36:03 allow you to do what you want ? Jul 01 12:36:11 if so then use it Jul 01 12:36:24 if not, look at alternatives Jul 01 12:36:27 well, I want to use the action bar, but i want the text color to be white, instead of black Jul 01 12:36:34 StingRay_ can you tell me if the error are in this line of code or in other lines? Jul 01 12:36:48 if that isn't possible, then ActonBar is bad and need an alternative Jul 01 12:36:59 xan_IT: no, eclipse/AS and/or logcat will do that Jul 01 12:37:19 rved: that is possible i think :) Jul 01 12:38:19 haha, well, i;ve tried using http://paste2.org/2xspk8OP Jul 01 12:38:31 See line 45 Jul 01 12:38:42 ActionBar.MyApptheme.TitleTextStyle Jul 01 12:39:09 and #FFFFFF and tried like #FFFFFFFF Jul 01 12:39:22 but still the title stays black :( Jul 01 12:39:42 I still have my webview login form problem. I put it more detailed into a post and would appreciate any advice in that regard: http://stackoverflow.com/q/17382189/2534874 Jul 01 12:40:17 my nexus 4 still hasnt shipped Jul 01 12:40:19 :( Jul 01 12:40:27 google is the devil Jul 01 12:41:42 you got white or black one? Jul 01 12:42:01 white Jul 01 12:42:27 i have mine from the second batch they shipped in november or so, still very happy with it :) Jul 01 12:42:32 cracker ass phone wont ship though Jul 01 12:42:49 did yo go for 8 or 16 gigs Jul 01 12:43:14 i was gonna buy the s4, but i cant justify theprice with the uncertainty around updates ot these devices Jul 01 12:43:23 16 Jul 01 12:43:30 could have bought 8 though Jul 01 12:43:42 s4 with stick google though mikedg ? Jul 01 12:43:47 stock* Jul 01 12:43:48 yeah Jul 01 12:43:56 i ordered it then canceled it and bought the nexus 4 Jul 01 12:43:59 why would it not get updates Jul 01 12:44:05 never used more than 8 but also i would feel more restricted then Jul 01 12:44:55 StingRay_ http://pastebin.com/ywb9DG8K this is the complete log after call that intent Jul 01 12:45:49 might not get updates quickly Jul 01 12:46:00 ! how can i get info from an app from a nandroid backup, and that app was originally 'installed on sd card'? Jul 01 12:46:04 still relying on agreements for drivers that google has no control over Jul 01 12:46:17 true Jul 01 12:46:29 screwsss: not sure your in the right place Jul 01 12:51:41 [22:51] screwsss: it doesn't help that you're asking in the wrong channel Jul 01 12:51:46 quote:"#android" Jul 01 12:51:47 lol Jul 01 12:51:55 talk about passing the buck Jul 01 12:52:41 there is no buck Jul 01 12:52:51 there is a doe Jul 01 13:02:32 I want to use VideoView, anyone has some good tutorial? Since, I can't figure out how to do it myslef Jul 01 13:03:07 Should I paste my code somewhere? Jul 01 13:05:55 hey guys! Anybody knows to work with newesr twitter api? The question is what am I posting to get REST api json file, for example this one https://api.twitter.com/1.1/statuses/mentions_timeline.json? Jul 01 13:12:10 make sure you have an authorization code Jul 01 13:12:20 in the users twitter profile settings Jul 01 13:12:26 else nothing works Jul 01 13:15:57 <[A3G1S]> is it possible to run ffmpeg command util from java ndk ? Jul 01 13:16:07 <[A3G1S]> can any1 guide me with this Jul 01 13:16:08 <[A3G1S]> ? Jul 01 13:24:54 Could someone tell me how to make a text in the action bar color white using Sherlock? Jul 01 13:25:02 tried lots of things, including http://stackoverflow.com/questions/10352022/how-to-set-title-color-in-actionbarsherlock Jul 01 13:25:26 but it stays black :s Jul 01 13:25:26 don't understand why Jul 01 13:25:36 well they are the accepted answers Jul 01 13:25:55 maybe you have screwed your styles hierarchy up or something ? Jul 01 13:26:54 don't believe so Jul 01 13:27:19 maybe you not believing so is the problem ? Jul 01 13:27:21 :) Jul 01 13:27:41 I dont like or agree with android style system… so can really help ya neways :( Jul 01 13:27:55 dont like or agree = dont use Jul 01 13:28:04 please view http://paste2.org/JXgZH66g Jul 01 13:29:41 actionBarText is defined as #FFFFFF but also tried #FFFFFFFF Jul 01 13:32:10 StringRay_ this is correct right? Jul 01 13:32:24 look at my last 2 sentences/lines Jul 01 13:32:25 http://phandroid.s3.amazonaws.com/wp-content/uploads/2010/03/galaxy-s-550x505.jpg Guys, how do I define the background-color for the square under the launcher-icon? Jul 01 13:33:08 that doesn't help me Jul 01 13:33:12 Thats just the launcher icon communist-cookie Jul 01 13:33:27 rved: indeed Jul 01 13:33:43 rved: but was more about me than you Jul 01 13:33:59 i like android, so i want to use it Jul 01 13:34:00 ;) Jul 01 13:34:01 ... Jul 01 13:34:08 I like android Jul 01 13:34:09 StingRay_: you need to use yo words better, you don cunfused people Jul 01 13:34:12 but i don't know how to get this freaking title to change color Jul 01 13:34:37 Dark-Side: how could that have been clearer ? Jul 01 13:34:54 I dont use/like/agree with X, so I cant help you Jul 01 13:34:59 believe in the android that believes in you Jul 01 13:35:05 That last bit i think :P Jul 01 13:35:31 Dark-Side: it is not. Look at 'Timer'. It has a square added underneath automatically. Jul 01 13:35:50 communist-cookie: then that is out of your control Jul 01 13:36:08 communist-cookie: thats a framework ui addition I think Jul 01 13:36:12 with touch-wiz Jul 01 13:36:25 oh :( Jul 01 13:36:41 or just an image Jul 01 13:36:48 anyone with any experience with widgets? the number 72 is floating around the internet as the minimum dp for 1x1 cell widgets. but the design page says its 40dp :/ Jul 01 13:37:34 I'm pretty sure those are just the icons though, the messaging and contacts still have a transparent background on them Jul 01 13:38:07 Its hard to see with such a bad picture really Jul 01 13:38:47 probably Jul 01 13:38:55 takes like 30 seconds in Photoshop Jul 01 13:39:43 well, about 50-55 seconds to make it look nice, with slight shadows and/or inset highlights Jul 01 13:45:19 StingRay_ http://pastebin.com/455StEte this code works on note 2 (4.1) but not on galaxy nexus (4.2). on 4.2 doesent catch note, only phone. you know way? Jul 01 13:45:22 why? Jul 01 13:45:47 maybe the field dont exist ?? Jul 01 13:46:16 NOTE doesent exist? is possible? manually in contacts i can add a note Jul 01 13:46:33 maybe it's different name Jul 01 13:47:24 have you looked at the contract? Jul 01 13:48:03 inside code of contacts ? or where? Jul 01 13:48:29 on the dev site Jul 01 13:50:06 they don't use the normal contacts app on the note do they? Mayhaps Samsung have messed it up Jul 01 13:53:24 Dark-Side http://developer.android.com/reference/android/provider/ContactsContract.Intents.Insert.html#NOTES seams no mentions Jul 01 13:54:53 i meant the samsung site, as they've made their own changes to the contacts app Jul 01 13:55:05 wasn't sure if they publish what they've done or not Jul 01 13:55:09 probably not Jul 01 14:07:27 Dark-Side, you have some time to try this lines of code? Jul 01 14:08:09 I've only got a galaxy nexus Jul 01 14:09:52 what is the best way to deal with positiong elements inside super specific places? Jul 01 14:10:03 like, an image background with a special part for text etc Jul 01 14:10:14 9patch Jul 01 14:10:15 * balls2thewall hates designs like that Jul 01 14:10:29 you define the bit where the content goes Jul 01 14:10:35 balls2thewall: padding Jul 01 14:10:36 its unstretchable Jul 01 14:10:41 padding Jul 01 14:10:43 Dark-Side on your galaxy nexus works? Jul 01 14:10:45 * balls2thewall shudders Jul 01 14:10:49 Xerion: yes Jul 01 14:11:04 balls2thewall: relativeLayout Jul 01 14:11:09 frameLayout Jul 01 14:11:11 balls2thewall: then don't put the stretch bits on the 9patch just the content area Jul 01 14:11:12 margins Jul 01 14:12:15 :/ this doesnt work well with different screen sizes etc Jul 01 14:12:22 especially for widgets Jul 01 14:12:35 kick your designer in the face Jul 01 14:12:58 i would never design something like this for myself ;_; Jul 01 14:13:18 good because kicking yourself in the face is hard Jul 01 14:29:25 Is there a quick way to get the menu of an activity or should I save the one I get in onCreateOptionsMenu? Jul 01 14:30:30 I feel bad for asking this all the time but I am kind of stuck. Can websites block POST login requests from webview? Jul 01 14:32:03 Flaiker: isn't that dependent on the server not the browser? Jul 01 14:32:38 i can login normally but not with webview.PostUrl Jul 01 14:32:44 i just get redirected to the mainsite Jul 01 14:32:56 my script works fine though on other login forms Jul 01 14:33:15 that have a dedicated login.php and not index.php?mod=user&action=login Jul 01 14:33:28 maybe the site doesn't like the useragent Jul 01 14:34:10 so what can i do about that? Jul 01 14:34:34 change the useragent your webview supplies to be the same as the broswer? Jul 01 15:05:02 where can I get the recent call list? Used to be at android.providers.CallLog.Calls but is gone now in ICS... Jul 01 15:06:37 man, I wish the s4 had soft buttons like the nexus phones Jul 01 15:06:53 I hate that the s4 has a menu button, I like my actionbar buttons Jul 01 15:07:36 How would I send sensitive information (to be precise a access_token) from one activity to another in my application Jul 01 15:07:44 pfn me 2 Jul 01 15:07:46 its idiotic Jul 01 15:08:11 I like how htc has the back and home button, but I hate that the htc one's battery isn't removable :( Jul 01 15:09:33 where can I get the recent call list? Used to be at android.providers.CallLog.Calls but is gone now in ICS... Jul 01 15:10:45 and no multitask button Jul 01 15:10:45 wtf Jul 01 15:10:59 if i wanted an iphone, id buy an iphone 5 Jul 01 15:11:06 mikedg, yeah, I don't like that, but at least it's accessible on long press Jul 01 15:11:16 longpress is slow Jul 01 15:11:21 which is completely non-intuitive for most users Jul 01 15:11:49 I bought a nexus 4 as soon as google unveiled the s4 google edition Jul 01 15:11:53 Disappoint. Jul 01 15:12:18 is the S4 Google = Nexus 5? Jul 01 15:12:41 it's why disappointed? Jul 01 15:12:52 s/it's// Jul 01 15:12:57 ReGiStRaS, no Jul 01 15:13:08 I'm disappointed they just put aosp on a s4 instead of making a proper device ;d Jul 01 15:13:42 ReGiStRaS: you can query contacts by id and order by last contacted, also, there is a URI for that called STRREQUENT Jul 01 15:16:03 Can somebody explain this pattern of instantiating fragments with a static "newInstance" method when using them in a ViewPager? Is this necessary? Why is it so common? Jul 01 15:17:51 afaik it's because fragment needs a constructor without arguments Jul 01 15:17:54 Because creating a bundle and adding arguments to it everywhere you need the fragment is dumb Jul 01 15:18:29 hi guys, i'm an italian student of computer science... Jul 01 15:18:35 -.- Jul 01 15:18:48 i need help for some question connected to galaxy s4 and htc one Jul 01 15:18:55 anyone that have this device? Jul 01 15:19:01 (sorry for my english :) ) Jul 01 15:23:12 problem is explained here: http://forum.xda-developers.com/showthread.php?p=43084707#post43084707 Jul 01 15:25:12 ?????????????ù Jul 01 15:25:22 I uploaded my alpha test APK on Friday. I added my gmail account to the list of testers. I can't still find the app using google play store. Anyone has any experience on that here? When can I expect the alpha version to be available on the play store for my users? Jul 01 15:25:51 blib: is it a vaild store listing ? Jul 01 15:25:54 with nothing missing ? Jul 01 15:26:07 cause that would stop it showing Jul 01 15:27:52 guys anyone that have s4 or one? Jul 01 15:28:10 ExEcUtIvE: calm down Jul 01 15:28:24 not sure anyone needs prompting every 5 lines of chat Jul 01 15:29:15 StingRay_: I uploaded it - and it said the APK was fine Jul 01 15:29:22 didn't give me any other errors Jul 01 15:29:25 Lemme relogin and look Jul 01 15:29:33 blib: irrelevant and not what I suggested Jul 01 15:29:56 hello Jul 01 15:30:16 StingRay_: Are Apha tests supposed to be valid store listings? Jul 01 15:30:23 yes Jul 01 15:30:29 or how will testers get it ? Jul 01 15:30:34 since it's from play Jul 01 15:30:45 dont have to be final production store listings Jul 01 15:30:48 In the store listing page, I don't see any red marks Jul 01 15:30:51 but it has to be valid Jul 01 15:31:05 marketing info , pic, screens etc Jul 01 15:31:12 On the right side it says "Published" Jul 01 15:31:35 on the store listing page Jul 01 15:32:06 I did do pic screens and marketing info Jul 01 15:33:08 When I say save and publish on the "Store Listing" page, I get: Your application has been published. It can take several hours until it is available throughout Google Play. Jul 01 15:33:17 I got the same thing on Friday Jul 01 15:45:49 StingRay_: Is there anyone I can contact to see if there is a problem? Jul 01 15:46:46 doubt it Jul 01 15:47:38 google is a…faceless, emotionless….well… entity. (present company excluded) Jul 01 15:47:42 Dark-Side: i added wv.getSettings().setUserAgentString("Chrome"); but that did not change anything Jul 01 15:48:24 Flaiker: why are you still doing it in webview ? cause you just use a http object ? Jul 01 15:48:31 whatever it is Jul 01 15:49:45 I doubts chromes user agent is "Chrome" Jul 01 15:50:17 i found webview first. And since I am trying to log in into a cookie or session based system I didnt want to mess with sending cookies back to the page etc. so I thought webview might do that on its own. Also I can see whats happening directly Jul 01 15:50:50 you think httpPost would work better? Jul 01 15:51:21 is there an adb shell comman to print out device details? Jul 01 15:52:05 adb shell cat /system/build.prop | grep "product" - got it Jul 01 15:52:31 SimonVT: "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.2 Safari/537.36" does not change anything either Jul 01 15:53:40 w Jul 01 15:53:57 sry i got disconnected Jul 01 15:55:14 Sorry if this is a repeat … not sure if my last message came through. I'm trying to use Android Studio flavors so that each flavor uses a different resources directory and builds to a different package name. Basically, I want to re-skin this app and use a different package name. I've got the flavors / manifest / etc set up properly, but I still have to import R from somewhere, and that's going to change dependin Jul 01 15:55:14 the flavor because the package name is changing per flavor …. so how do I access R from source code when the package name is changing per flavor? Jul 01 15:56:44 Set packageName in your flavor Jul 01 15:57:22 Or packageNameSuffix Jul 01 15:57:30 SimonVT: I'm doing that, but the issue is that my source needs to be package-name agnostic. So if I 'import com.flavorA.app.R' in my source and then switch to flavorB, that import is now incorrect. Jul 01 15:58:34 I assume you have some default configuration which R you just reference Jul 01 15:58:49 And gradle handles changing package name at compile time Jul 01 15:59:38 Yeah, that's what I thought might happen too but it's not working. Jul 01 16:09:48 I've always been curious - what can you do with tegra? Jul 01 16:10:01 I've heard it's a graphics chip - can you do computations on it? Jul 01 16:15:26 liquidmetal: https://en.wikipedia.org/wiki/Tegra ? Jul 01 16:17:33 guys anyone that have s4 or one? Jul 01 16:19:57 liquidmetal: look up renderscript Jul 01 16:20:28 http://developer.android.com/guide/topics/renderscript/compute.html Jul 01 16:23:06 In which xml should you type your action bar buttons? Jul 01 16:23:23 in res/menu/ ? Jul 01 16:25:39 liquidmetal: I'd slap a Tegra 5/6 on a small board with 64gb of DDR3 and call it a node.. crank up 1,073,741,842 nodes and you'll have a respectable computer.. :) Jul 01 16:31:33 SimonVT (or anyone else): are you aware of a way I could have my R package be the same across flavors so my imports could be stable? Or alternatively have AndroidStudio change the R imports in my source files when I change flavors? I'm clearly missing something but I don't understand what :) Jul 01 16:32:40 ExEcUtIvE, don't PM me Jul 01 16:33:16 use the mainchat Jul 01 16:33:40 he's spamming everyone in the chan Jul 01 16:34:09 * Bleeptech hands liquidmetal the Mallet of Clue Delivery Jul 01 16:34:28 and, his username is equally annoying Jul 01 16:35:21 Pushnell: Yeah, Thank the programmers for auto-complete.. LOL.. Jul 01 16:36:19 Are there apps out there that require a tegra chip? Jul 01 16:37:28 Not a clue.. I actually thought th Tegras were cuda chips.. Jul 01 16:37:32 liquidmetal: nvidia added some tegra specific stuff to their graphics chip/software Jul 01 16:37:47 some games feature tegra-only additions like water effects on the screen Jul 01 16:38:21 nvidia would completely do that Jul 01 16:38:37 dead trigger use it Jul 01 16:38:44 there is a comparison video on the nvidia website Jul 01 16:38:55 bells and whistles basically Jul 01 16:39:42 rops, can it be used to do computations? I've read it can decode/encode video Jul 01 16:39:43 Pushnell, use --custom-package whatever package-for-r argument you can choose Jul 01 16:39:44 liquidmetal: From what I see it's about like the GL/DX differences in 2000/2001 Jul 01 16:40:24 liquidmetal: not sure about tegra, but android has renderscript that can be used to do operations on the GPU Jul 01 16:40:28 Bleeptech, what were those? Jul 01 16:40:35 I was way too young back then to understand the difference Jul 01 16:40:41 is there a way to logout from youtube without logging out from google checkout? :| Jul 01 16:40:55 you may be thinking of ARMs NEON Jul 01 16:41:19 GL/Open-GL vs DirectX.. Differnet feature sets.. I was a GL junkie. :) Jul 01 16:41:28 pfn: this is under Android Studio / Groovy ... Jul 01 16:41:48 http://en.wikipedia.org/wiki/ARM_architecture#Advanced_SIMD_.28NEON.29 Jul 01 16:42:20 Pushnell, yeah, there's flags for it, I don't know them, but there are Jul 01 16:42:32 Pushnell, there's a packageForR option for the gradle scripts Jul 01 16:42:36 pfn: ok, I'll grep around teh groovy source and see what I can find. Thanks. Jul 01 16:42:48 pfn: oooh …. ok, nice. exactly what I was looking for. Jul 01 16:42:54 * Bleeptech paid way too much for a 3DFX Voodoo-5 fresh of the assembly line.. Jul 01 16:43:42 liquidmetal: most (all) android phones have hardware video decoders/encoders Jul 01 16:43:42 rofl, what do you do when you Jul 01 16:43:46 wait this might be the wrong chan Jul 01 16:44:01 But damn could that thing make Half-Life look pretty. :) Jul 01 16:44:23 morning Jul 01 16:44:25 rops, hmm - I was wondering if these chips can be programmed to do other stuff - like some image processing/photoshopy stuff Jul 01 16:44:58 I'm having trouble with context... I'm getting sharedpreferences from one of my classes which needs a context. If i launch the app now, the context is null Jul 01 16:45:29 Is there anything special i should be doing? or maybe i shouldn't be getting the preferences outside of the activity? Jul 01 16:46:20 liquidmetal: you want renderscript for that: http://developer.android.com/guide/topics/renderscript/compute.html Jul 01 16:47:04 yup - I'm checking that out Jul 01 16:47:06 http://www.youtube.com/watch?v=uzBw6AWCBpU Jul 01 16:47:09 liquidmetal: I've got a Samsung Galaxy tab 10.1 right here and it's a Tegra 250 / T20 chip based unit. Jul 01 16:47:54 ... Jul 01 16:48:43 liquidmetal: Needs more ram.. Lots more ram.. and a higher memory bandwidth. Jul 01 16:49:42 It's OK for a new/media slate, but it'd drive me nuts waiting for any complex computations. Jul 01 16:52:18 Bleeptech, hmm - I'm thinking of doing some intensive image processing on that chip Jul 01 16:52:18 I want 24fps results - am I expecting too much? Jul 01 16:52:42 Probably. Jul 01 16:52:46 pfn: I see that class property in the groovy source but I can't figure out how to pass in an override in my build script (or even command line) …. sorry to ask for hand-holding here. Jul 01 16:53:30 :'( Jul 01 16:53:47 liquidmetal: It streams OK, Does avi/mp3/mp4 OK ram/bandwidth is the bottleneck. Jul 01 16:54:09 Pushnell, I don't know what it is in gradle either, I don't use it, I only know about it because I wrote my own build plugin Jul 01 16:54:20 Pushnell, probably should look at the gradle/android plugin user guide Jul 01 16:55:07 Bleeptech, I'm curious - would using C++ improve performance? Jul 01 16:55:10 pfn: you mean http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Product-flavors or something else? Jul 01 16:56:09 liquidmetal: Best thing to do is look at the specs of the unit you're looking at running this on and working to fit the specs. Jul 01 16:56:27 "I want to run this on all phones in the world" Jul 01 16:56:30 :D Jul 01 16:57:31 liquidmetal: Best way to push performance is to go straight to ASM. Jul 01 16:57:49 Bleeptech, C++ is my limit Jul 01 16:58:10 Or in this case the base java bytecode. Jul 01 16:58:15 Pushnell, I don't see that there's a custom package option for buildflavors... Jul 01 16:58:18 that's annoying Jul 01 16:58:19 * pfn shrugs Jul 01 16:59:15 Hi, Jul 01 16:59:33 My Android Simulator is running very slowly, Jul 01 16:59:36 pfn: yeah, I tried adding 'aaptOptions { packageForR 'com.mybase.package' }' to my outer android{} section but that's not working either. Still poking at it. Jul 01 16:59:43 the response time is too much, Jul 01 16:59:51 does any body can help me plz Jul 01 16:59:54 Is this the right place to ask Jedi-X/XP/Master related questions? Jul 01 17:01:42 setuid: I have never heard of those, so doubt it Jul 01 17:01:51 hello. what is the easiest way to test a built .apk-file? for example, how can I create a virtual device? Jul 01 17:01:57 when running android avd, I can create a device, but when trying to run it, it crashes. Jul 01 17:02:00 pfn: just curious, what did you write your own build plugin for? Jul 01 17:02:00 with "HeadlessException" Jul 01 17:02:07 Pushnell, sbt plugin Jul 01 17:02:39 schoppenhauer: Sounds like it's not connecting to the avd Jul 01 17:02:58 Pushnell, processResources.conventionMapping.packageForR = { Jul 01 17:02:58 variantConfiguration.originalPackageName Jul 01 17:02:58 } Jul 01 17:03:10 set originalPackageName, my guess Jul 01 17:03:29 schoppenhauer: go to the Window Menu, Jul 01 17:03:40 and there is an option to create a new AVD device, Jul 01 17:03:55 Baseer: and then? Jul 01 17:04:03 Bleeptech: what can I do about it? Jul 01 17:04:38 Click on Android Virtual Device Manager, Jul 01 17:04:42 Click add, Jul 01 17:04:44 Anyone got a sec to help with my context issues? Jul 01 17:05:05 pfn: even if I get no further, thanks for your help on tihs Jul 01 17:05:08 I'm hitting a dead end on google :-\ Jul 01 17:05:12 Baseer: I did all this. The problem is when trying to run it. Jul 01 17:05:49 flipture: no1 will answer you until you ask Jul 01 17:05:51 :) Jul 01 17:06:32 i've asked 3 times and got no answer :( Jul 01 17:06:39 didn't want to pester so i left it alone :) Jul 01 17:06:51 basically i'm trying to access sharedpreferences from outside of an activity Jul 01 17:07:01 i'm in a class that is called by another class that is called by an activity Jul 01 17:07:03 * Bleeptech has little to no clue about context. Jul 01 17:07:03 I do not even get any useful error message. it just crashes Jul 01 17:07:19 i was trying to pass the ocntext along which sort of worked but now its crashing becuase context is null Jul 01 17:07:57 i'm trying to discover if its possible (or right) to try to access the sharedpreferences from a class, and not an activity Jul 01 17:08:02 well find where your passing it null ?? Jul 01 17:08:06 who has a good "getSupportActionBar" example of sherlock? Jul 01 17:08:07 job done Jul 01 17:08:14 or if i should find some other way to get the prefs along Jul 01 17:08:29 StingRay_: well, its not passed null, its not created by the time i launch the app and it needs the context Jul 01 17:08:34 if that makes sense Jul 01 17:08:36 is there a way to make adv error output more verbose? Jul 01 17:08:48 flipture: so pass it a context Jul 01 17:08:51 if i remove the prefs call, let the app come up, then uncommend, and recompile, it works Jul 01 17:09:02 that is not null Jul 01 17:09:15 i think that the context hasn't been created by that point Jul 01 17:09:37 let me trace it back to the beginning where i'm first getting the context and see where that is Jul 01 17:09:42 i think that may be my issue Jul 01 17:09:43 but Jul 01 17:09:51 schoppenhauer: If you're on a linux machine you can try running it from a console. Jul 01 17:10:00 just want to make sure it sould be OK to pass the context in and call sharedpreferences from a non activity class Jul 01 17:10:03 Bleeptech: i *am* running it from a console Jul 01 17:10:09 Bleeptech: and it sais "HeadlessException" Jul 01 17:10:22 flipture: nothing to do with activity Jul 01 17:10:31 context is all you need Jul 01 17:10:56 hm well, I try to run it with the "emulator" directly, not out of avd Jul 01 17:11:11 at least a window opens now Jul 01 17:11:20 Have you guys been pushed in to the new google wallet merchant thing? Or still with checkout? Jul 01 17:11:51 StingRay_: ok. just making sure Jul 01 17:12:19 schoppenhauer: Sounds like a configuration error.. Jul 01 17:12:35 StingRay_: I'm getting the context origonall from my main activity oncreate as 'this', then passing that to another class, then passing that to the final class... i'll log at the on create and see what we have... Jul 01 17:13:20 hm. is it normal that a window with a somehow "glossy" android-banner opens inside a process that takes 95% cpu and does nothing visible else for minutes? Jul 01 17:13:50 schoppenhauer: On a slow machine? Yes Jul 01 17:14:19 Bleeptech: is 1.60GHz 2core slow? Jul 01 17:14:41 Hello Jul 01 17:14:47 Bleeptech: I mean for this purpose Jul 01 17:14:55 schoppenhauer: Oh yeah.. Bummer.. Wait for it dude.. LOL.. Jul 01 17:15:06 m( Jul 01 17:15:43 brunnen, I have enough time, so I can just wait. Jul 01 17:15:58 schoppenhauer: If you watch, you'll see the android banner slowly shift/scan as the emu loads.. Jul 01 17:16:26 Bleeptech: I see a "gloss" repeatedly going from the left to the right side Jul 01 17:17:17 * Bleeptech can sympathize.. The backup machine is a 32bit/2ghz dual core and it's slow as mud.. Jul 01 17:18:05 schoppenhauer: If you're doing this for a job invest in a 6-8 core machine. Jul 01 17:18:16 Hello all Jul 01 17:18:27 I am new here, and a new android developer Jul 01 17:18:41 Bleeptech: no, I am doing this for ... trying to patch some software to make it more usable for me. Jul 01 17:20:07 schoppenhauer: Hehehe.. I know how it goes.. Got the 8-core FX I'm running now for this and rendering. Jul 01 17:20:59 hui ... the android logo disappeared. Jul 01 17:21:41 get a cheap chinese device,the emulator is painfully slow Jul 01 17:21:46 schoppenhauer: Makes a big difference going from 2-core 32bit @ 2ghz to 8-core 64bit @ 3.6ghz. :) Jul 01 17:23:00 schoppenhauer: Specially when that includes a jump from 2 gig to 16 gig in the ram department. Jul 01 17:24:20 StingRay_: yeah i think i was forgetting to assign context in the constructor to a pub variable in my last class Jul 01 17:24:34 StingRay_: i think i removed that becuase serialization was failing :-\ seems to work now tho Jul 01 17:24:37 (knock on wood) Jul 01 17:24:37 Bleeptech: I have 64 bit, and 8 gig ram. Jul 01 17:24:45 Bleeptech: but well, it started now. Jul 01 17:24:59 StingRay_: i just wanted to make sure i wasn't doing something that was bad practice before i went down the road of troubleshooting... Jul 01 17:25:47 StingRay_: yeah now my context is not null but it crashes becuase of serialization. Its it generally right to just make context variables transient? Jul 01 17:25:49 hm. how can I copy an .apk-file into this vm now? and install it? Jul 01 17:26:17 schoppenhauer: adb install Jul 01 17:26:41 schoppenhauer: or read up on 'adb push' Jul 01 17:27:21 evanc, Bleeptech: ah, didn't know I can use adb with it. Jul 01 17:27:33 flipture: so you been asking for ages for something you just needed to look at ? Jul 01 17:27:37 oh deer Jul 01 17:28:16 StingRay_: D'Oh? Jul 01 17:28:25 StingRay_: no, i can troubleshoot the context issue, just been asking if its "OK" to do what i was doing... Jul 01 17:28:53 and not ages, just a few hours :) Jul 01 17:29:09 flipture: http://developer.android.com/reference/android/content/Context.html Jul 01 17:29:14 tis just a class Jul 01 17:29:15 flipture: Do it and see what breaks? Jul 01 17:30:30 yeah, i've been hacking at it for a few days tring a few different ways, just seeing so many differing opinoins on how yous houdl do sharedpreferences on google Jul 01 17:30:44 some say they had to use a class of its own to call it Jul 01 17:30:47 some say use a fragment Jul 01 17:30:48 etc... Jul 01 17:31:21 Dont' need anyone to do my work or research for me, more i wanted opinoins from reputable people... Jul 01 17:33:49 don't do it, and get rich so you can pay somebody else to do it for you. Jul 01 17:34:59 that wouldn't be any fun :) Jul 01 17:35:26 who has expiernce with sherlock action bar? Jul 01 17:35:49 i don't understand how i should use the Sherlock acitivty Jul 01 17:35:54 instead of the normal activity Jul 01 17:36:09 rved: just as normal Jul 01 17:36:16 i just want simple icon in the actionbar Jul 01 17:36:31 should i create a fragment, or put everything in a normal activit Jul 01 17:36:31 y Jul 01 17:36:38 or use SherlockActiivty Jul 01 17:36:45 i don't get it Jul 01 17:37:03 look at the samples Jul 01 17:37:11 please i already did Jul 01 17:37:20 but there just classes Jul 01 17:37:23 do they use sherlockActivity ? Jul 01 17:37:28 when using abs ? Jul 01 17:37:30 they are not part of a MainActiivty Jul 01 17:37:42 and what type is that mainActivity ? Jul 01 17:37:57 just a normal default created fresh eclipse project Jul 01 17:38:12 how do you implement a sherlock class? Jul 01 17:38:17 extends Jul 01 17:38:35 cause i can't use "getSupportActionBar" directly in my MainAcitivty Jul 01 17:38:50 is it a sherlock one ? Jul 01 17:38:55 no Jul 01 17:39:00 then thats why Jul 01 17:39:01 :) Jul 01 17:39:05 look at the samples Jul 01 17:39:38 http://actionbarsherlock.com/samples.html Jul 01 17:39:59 also http://jgilfelt.github.io/android-actionbarstylegenerator/ Jul 01 17:41:05 hi.. I installed eclipse on fedora19, installed the adt plugin and set the path to the android sdk. I also created an AVD. When I create any android application project, it does not run in any emulator. Instead the external tools configuration window opens up. How do setup the the android environment from here onwards? Jul 01 17:42:16 meet: IIRC you need to tell it the path to the sdk Jul 01 17:42:33 Sometimes the simplest problems have the most complex solutions Jul 01 17:42:51 Bleeptech: you missed "set the path to the android sdk" Jul 01 17:43:30 StingRay_ http://paste2.org/emHNzs98 whats wrong with this code Jul 01 17:43:41 Bleeptech: i did that. Jul 01 17:43:53 rved: What is the issue you're having? Jul 01 17:43:58 http://paste2.org/mv3Y22xP Jul 01 17:43:59 StingRay_: Still had to tell eclipse where to find some of the other bits Jul 01 17:44:00 red cross Jul 01 17:44:14 the examples aren't that good for me Jul 01 17:45:51 rved: Change the line import android.view.Menu; Jul 01 17:46:07 capella http://www.tomshardware.com/reviews/chrome-27-firefox-21-opera-next,3534-12.html \o/ Jul 01 17:46:14 rved: It should be import com.actionbarsherlock.view.Menu; Jul 01 17:46:47 \o/ Jul 01 17:47:08 You're overriding onCreateOptionsMenu(android.view.Menu menu) when you really want to override onCreateOptionsMenu(com.actionbarsherlock.view.Menu menu) Jul 01 17:47:10 It' so much fun, every 6 weeks :D Jul 01 17:47:21 whats every 6 weeks? Jul 01 17:48:21 capella: Do they untie your sleeves so you can scratch? :) Jul 01 17:48:25 Brian|CB thank you, how do i inflate the 'normal' menu? Jul 01 17:48:27 Firefox release a new version of course ! Jul 01 17:48:40 You don't Jul 01 17:48:45 just inflate teh sherlock menu Jul 01 17:48:49 and that is the mneu that you will see Jul 01 17:48:58 because the activity SherlockActivity has it's own definitions for menu inflation Jul 01 17:49:12 lol firefox Jul 01 17:49:14 #chrome4life Jul 01 17:49:28 so where does safari come in ? Jul 01 17:49:30 :) Jul 01 17:49:56 wut is safari Jul 01 17:49:58 Brian|CB, you mis understood me. I was using ..extend Activity.. there I had a normal menu (on the right, 3 squares in vertical position) that menu is now gone.. how do i get that back? Jul 01 17:50:05 :) Jul 01 17:50:34 Brian|CB, but i also want to keep the Sherlock ActionBar Jul 01 17:50:40 You shouldn't be using a normal activity Jul 01 17:50:42 do i need to create another activity? Jul 01 17:50:44 you should be using a sherlock activity Jul 01 17:50:44 O.o Jul 01 17:51:49 * StingRay_ thinks rved should take a few steps back Jul 01 17:52:13 Please StingRay only comment productive messages Jul 01 17:52:16 need to understand the toys more, before you can get the most fun out of playing with them Jul 01 17:52:34 rved: that was a productive message for you Jul 01 17:52:38 Lol Jul 01 17:52:43 StingRay_: We all learn someday :P Jul 01 17:52:51 I mean , I'm convinced I'm, the worst developer ever Jul 01 17:52:54 yet alL I get at work is praise Jul 01 17:52:55 so I mean Jul 01 17:53:03 trash devs can be good devs in the right context Jul 01 17:53:12 It's all about the getContext() Jul 01 17:53:15 Brian|CB look https://www.dropbox.com/s/qeohnkxnx94kjl5/Schermafbeelding%202013-07-01%20om%2019.51.jpg Jul 01 17:53:25 this is my goal Jul 01 17:53:40 a normal menu and 2 action buttons Jul 01 17:53:51 without sherlock i had the menu Jul 01 17:53:58 using sherlock i only get the + Jul 01 17:54:14 rved: Show me your menu xml? Jul 01 17:54:34 oh Jul 01 17:54:34 wait Jul 01 17:54:35 its ecause Jul 01 17:54:39 you added the + button programmatically Jul 01 17:54:43 but didn't include your menu xml Jul 01 17:54:45 in your ABS menu Jul 01 17:54:46 >.> Jul 01 17:55:41 http://paste2.org/hLAsnabk Jul 01 17:56:12 when i de-comment "getMenuInflater().inflate(R.menu.main, menu)" i get errors Jul 01 17:56:17 so i commuted it Jul 01 17:56:44 rved: Change it to getSupportMenuInflater() Jul 01 17:56:48 remember you're using a support library Jul 01 17:57:03 getSupportMenuInflater().inflate(R.menu.main, menu); Jul 01 17:58:08 Great that worked :) Jul 01 17:58:21 Yeah, these are the small things you need to learn Jul 01 17:58:21 i didn't expect i had to change it into getSupportMenuInflater Jul 01 17:58:24 About what support is Jul 01 17:58:37 You'll have to change most things that interact with ABS to getSupportX Jul 01 17:58:39 instead of getX Jul 01 17:58:51 because ActionBarSherlock is an extension of the Support libraries for Android Jul 01 17:58:57 ok ty Jul 01 17:59:06 its a shame people are still using that Jul 01 17:59:11 agree Jul 01 17:59:38 minSdkVersion="14" Jul 01 17:59:40 minSdk = 15 ! Jul 01 17:59:42 lol Jul 01 17:59:45 minSdk=17 Jul 01 17:59:48 comeon guys Jul 01 17:59:49 we can do this Jul 01 17:59:51 #YOLO Jul 01 18:00:37 sdk 14 isn't even in the device dashboard Jul 01 18:00:49 i think it was a beta for 15 :D Jul 01 18:01:03 http://developer.android.com/about/dashboards/index.html Jul 01 18:02:03 but something had to be out for the holidays, ready or not so 14 was born ahead of time Jul 01 18:02:07 I mean Jul 01 18:02:09 so i implemented httpget. Works fine on google.com but on the actual website i want to use it on i get internal server error i/o exception o0 Jul 01 18:02:16 my app im doing righ tnow is just for our CEO to use as a demo at presentations Jul 01 18:02:29 so im literally just nailing down support for everything o n N7/N10 Jul 01 18:02:35 and then I'll worry about release stuff for others Jul 01 18:11:45 why do i get an ioexception internal server error, but only on my website using httpget? I can reach it easily from my browser Jul 01 18:12:39 it throws the error after only a few seconds too so its not like it meets the timeout Jul 01 18:13:21 Flaiker: So you're receiving the error using HTTP Get requests from android but not browser? Jul 01 18:13:32 do you have the internet permissions added in your manifest? Jul 01 18:13:43 yes Jul 01 18:13:51 and if i change the link it works fine Jul 01 18:14:11 but not browser? Jul 01 18:14:14 i dont understand Jul 01 18:14:33 mind pastebinning your Android's HTTP code? Jul 01 18:14:35 if i open the website in chrome its fine i mean Jul 01 18:14:38 sure Jul 01 18:14:41 I'll take a look Jul 01 18:14:44 thanks Jul 01 18:15:43 http://pastebin.com/V54DDium Jul 01 18:16:00 test() starts it btw Jul 01 18:18:11 Flaiker: So when you run that code describe to me what happens Jul 01 18:19:06 the app starts, login screen pops up, i click guest to get it away, then i press the button and the console says 07-01 20:13:36.655: E/problem(13878): IOException:java.io.IOException: Internal Server Error Jul 01 18:19:39 if i change the url to any other website the source gets displayed in the textview Jul 01 18:22:51 Brian|CB on the action bar buttons, is it possible to make the left & right space smaller? Jul 01 18:23:07 brb Jul 01 18:23:40 at the moment the buttons space (on the left and the right of the buttons) is quit big Jul 01 18:24:12 in web design terms you would set a negative margin to make this space smaller Jul 01 18:27:18 Hi Jul 01 18:27:27 What are the official names for Volume- and Power keys? Jul 01 18:29:54 Volume and power Jul 01 18:30:24 SimonVT, specifically for "lower volume" Jul 01 18:30:45 Wtf does "official names" mean Jul 01 18:31:05 The names used most often in the OS Jul 01 18:31:18 However, I've never found any example of their usage Jul 01 18:31:36 And what is preferred sequence for them? Volume+Power of Power+Volume? Jul 01 18:31:38 rved: http://stackoverflow.com/questions/10759282/actionbarsherlock-how-to-set-the-padding-of-each-actionbars-icon Jul 01 18:31:45 I need to instruct the user to take a screenshot Jul 01 18:32:05 tried to make padding negative Jul 01 18:32:12 but this diddnt bring the buttons closer together Jul 01 18:32:13 So volume down and power Jul 01 18:32:25 I would just say "Take a screenshot by pressing Volume down and Power simultaneously." Jul 01 18:32:29 in web design this is possible, like: margin-left:-10px Jul 01 18:32:35 is this possible in android? Jul 01 18:33:16 http://developer.android.com/tools/help/emulator.html "Power button F7 " "Audio volume down button KEYPAD_MINUS, Ctrl-F6" Jul 01 18:33:31 mkit, yes, that's the best way Jul 01 18:33:41 But what order should I prefer? Jul 01 18:33:45 Volume first or Power first? Jul 01 18:33:54 Power + Volume Down is alphabetical Jul 01 18:34:12 Power, as volume down first could trigger the actual volume to change Jul 01 18:34:25 But I would make sure to say simultaneously Jul 01 18:34:43 mkit, yes, simultaneously, but in which order should I place the key names? Jul 01 18:34:52 The order of names, not the order of pressing Jul 01 18:35:03 It's an UX question, not technical Jul 01 18:35:35 Ah, alright. I'd probably say volume down just becuase it sounds better Jul 01 18:36:14 mkit, well, yes, Volume Down sounds "lighter" than Power Jul 01 18:36:32 because its effects appear smaller to me Jul 01 18:36:47 Oh Jul 01 18:36:55 I think I should use left-to-right order on Nexus devices Jul 01 18:37:02 re Jul 01 18:37:10 Windows uses Shift, Ctrl, Alt ordering Jul 01 18:37:32 Shift is top, Ctrl is lower-left, and Alt is lower-right Jul 01 18:38:06 Volume is in the left, Power is in the right Jul 01 18:38:09 Brian|CB: did you find anything suspicious? Jul 01 18:38:12 So Volume Down + Power Jul 01 18:38:27 Flaiker: Can't run the code right now, at work lol Jul 01 18:38:31 only can look for obvious flaws Jul 01 18:38:31 SiPlus, Sounds like the best idea to me Jul 01 18:38:34 nothing struck me immediately Jul 01 18:38:40 might take anothe rlook at it when I have time Jul 01 18:38:41 ok, thanks Jul 01 18:38:58 could also be my firewall or something lol Jul 01 18:39:46 Flaiker: Try testing the URL in your android's web browser? Jul 01 18:40:12 works fine Jul 01 18:40:52 You need to figure out why the server is erroring.. internally.. Jul 01 18:41:12 maybe it rejects the userclient'? Jul 01 18:41:32 "You don\'t have any screenshots.\nMake some by pressing the Volume Down and Power buttons simultaneously in a game." Jul 01 18:41:35 sounds good to me Jul 01 18:41:51 SiPlus, I would say Take rather than Make Jul 01 18:41:57 mkit, oh, yes Jul 01 18:42:03 It's an old string I've just modified Jul 01 18:42:09 I used Make a long time ago Jul 01 18:42:11 Now I use Take Jul 01 18:42:20 SiPlus, Ah, alright. Jul 01 18:48:29 wasnt useragent Jul 01 18:52:50 i was just told they dont offer 2 day shipping at the play store Jul 01 18:54:55 fucking fuck faces Jul 01 18:56:02 anyone here using luaj successfully on android ? so far it seems to be working ok; wonder if anyone else had any experiences + or - Jul 01 18:56:35 <_zoom_> hello, Jul 01 18:56:56 <_zoom_> is there anyway to get sip api work on emulator Jul 01 18:56:56 <_zoom_> ? Jul 01 18:58:53 can you change the action bar sherlock title text font-size? Jul 01 18:59:02 i tried the examples on internet Jul 01 19:00:07 http://paste2.org/xaetINBy Jul 01 19:00:12 but this doesn't make it smaller Jul 01 19:10:39 //paste2.org/xaetINByhttp://paste2.org/xaetINBy Jul 01 19:10:46 Oops, sorry Jul 01 19:25:18 How do I make screenshot on an emulator? Jul 01 19:25:30 I get "couldn't capture screenshot: the storage may be in use" Jul 01 19:25:41 I need to take a screenshot **in** the OS Jul 01 19:25:49 not just of the OS Jul 01 19:26:28 SiPlus: you mean in your app? Jul 01 19:26:39 Napalm|afk, no, in the emulator itself Jul 01 19:26:44 With Power+Vol- Jul 01 19:26:49 I press - and F7 Jul 01 19:26:54 use ddms Jul 01 19:26:56 phonegap+jquery+ajax+post = after my app starts fresh, then the post does not happen at the beginning. Any ideas how to fix this? Jul 01 19:26:59 And I get "couldn't capture screenshot" Jul 01 19:27:09 Napalm, no, I need to take it directly in the emulator Jul 01 19:27:19 To know where are the pics saved Jul 01 19:27:30 i see Jul 01 19:27:31 I'm strange things on my Transformer Jul 01 19:27:36 I'm having strange * Jul 01 19:27:39 wait a sec Jul 01 19:27:46 The screenshots are saved to /sdcard/Screenshots Jul 01 19:27:59 But there are some screenshots from March in /sdcard/Pictures/Screenshots Jul 01 19:28:16 And System UI source code shows that screenshots go to /sdcard/Pictures/Screenshots Jul 01 19:30:03 Hi all! :) Jul 01 19:30:46 Has anyone here done any Ouya programming? Jul 01 19:31:42 I think ouya is a bit of a fad Jul 01 19:33:26 That and the other Android consoles? Jul 01 19:33:44 android console is a fair idea Jul 01 19:33:58 but putting a mobile/phone hardware in a box is not Jul 01 19:38:09 I see your point. Jul 01 19:38:14 Though doesn't it also keep costs down? Jul 01 19:38:27 SiPlus: http://paste2.org/yG0F3wPz is what the framework does Jul 01 19:38:35 Da_Rhyno: obviously Jul 01 19:38:46 Napalm, yes, that's what I saw in the code Jul 01 19:38:48 but that just makes it both cheap and not capable Jul 01 19:38:56 It's strange that Transformer saves to /sdcard/Screenshots Jul 01 19:39:10 Yeah... Jul 01 19:39:16 instead of /sdcard/Pictures/Screenshots (however, I saw a few screenshots there) Jul 01 19:39:27 what version of android? Jul 01 19:39:29 I always thought Tegra was a decent chipset though. Jul 01 19:39:41 Da_Rhyno: for a mobile chipset sure Jul 01 19:39:44 Napalm, it was in March, and the clocks used the wide font, so 4.1, I think Jul 01 19:40:04 Both 4.1 and 4.2 sources have screenshots saved to pictures Jul 01 19:40:05 StingRay_ - I guess you expect more from a game console, though? ^_^ Jul 01 19:40:13 Well, I'll listen to MediaStore instead Jul 01 19:40:18 one that couples to HD TV yes Jul 01 19:40:34 I have a phone/tablet to play those kinda games on Jul 01 19:40:49 as it stands there are tablets and phones with more grunt that ouya Jul 01 19:41:06 SiPlus: http://paste2.org/y5x81IM6 Jul 01 19:42:00 Napalm, there's nothing about paths there Jul 01 19:42:06 Is power per pixel all that important? I'd have thought you could make a game worth playing on fairly primitive hardware. Jul 01 19:42:10 That's Nintendo's thing, right? Jul 01 19:42:29 SiPlus: indeed, but at least you can create a screenshot.. what are you trying to do exactly? Jul 01 19:42:42 Napalm, to get the created screenshot Jul 01 19:43:00 as a bitmap Jul 01 19:43:04 when it's created Jul 01 19:44:27 SiPlus: why not use the MediaStore? Jul 01 19:44:36 Napalm, I'm going to Jul 01 19:45:31 tut tut, found a bug in the screenshot code Jul 01 19:46:16 screenshot is added to the mediastore before the file is created and if the external sdcard is not mounted then file is not created and mediastore is left with invalid file reference Jul 01 19:46:22 So if I want functionality in my app, must I always package whatever arbitrary data into an intent and feed it into a new activity, even for miniscule operations, or can I have an app that only consists of two or three activities and handles all of the functionality internally to each activity? Jul 01 19:47:37 Gumboot - That was my take on it, too. Jul 01 19:48:17 SiPlus: why not observe the MediaStore and when an item is added after a screenshot is taken that contains "screenshot" in the path, use that image. Jul 01 19:48:33 Napalm, that's exactly what I'm doing now Jul 01 19:48:43 Trying to understand how cursor stuff works Jul 01 19:51:56 Anybody? Jul 01 19:53:06 suyase, do whatever is right for your usecase Jul 01 19:53:14 Can't find a resource on _when_ starting a new activity is a good decision, _how_ to do it seems very obvious and there is tons of info on it, but figuring out when to do it is more complex Jul 01 19:53:27 Activity is a view. Jul 01 19:53:35 you switch is as you would switch a web page. Jul 01 19:53:38 suyase: the reason why you parcel/bundle data and hand it to an activity is so that if it gets destroyed.. say because the user gets a phone call and the phone activity starts.. it can then be returned to without loosing its context. Jul 01 19:55:02 mavrik: Sure, which seems reasonable - I had assumed all of the tutorials were starting activities for completely inane things (like sending a message would start a new activity displaying the message) and as an experienced programmer it struck me that either A: Activities have to be started for every atomic operation, or B: these tutorials are really kinda poorly designed, and I wasn't sure which Jul 01 19:55:10 mavrik: thanks for clearing that up for me Jul 01 19:57:05 ooo looks like i got xe7 Jul 01 19:57:23 xe7? Jul 01 19:57:24 suyase, tutorials are well designed mostly Jul 01 19:57:37 suyase, and yes, starting a new activity to send an SMS message makes perfect sense ;) Jul 01 19:58:12 Napalm: the new update for glass Jul 01 19:58:18 its installing now Jul 01 19:58:18 ooo Jul 01 19:58:27 maybe more stability Jul 01 19:58:34 web browserrrr Jul 01 19:58:46 interesting Jul 01 19:58:50 mavrik: Does sending a message (Like an SMS, where you have an EditText and a Button for sending, and a listview showing the message history) really open a new view? Jul 01 19:59:04 yes Jul 01 19:59:10 because you're invoking the system SMS app Jul 01 19:59:35 which has it's own internal logic and it's a separate unit Jul 01 19:59:48 pretty much all animated screen transitions you see in the OS start new activities Jul 01 20:00:03 Mavrik: Right, if our app uses the system SMS app, but what if we're just using the system SMS app directly (as a user) - it doesn't create new activities for every message sent Jul 01 20:00:04 right? Jul 01 20:00:28 Mavrik: Like sending an SMS isn't a screen transition generally Jul 01 20:00:36 Mavrik: It's all on the same screen Jul 01 20:00:48 Hey guys, I am using a view from an external jar in my xml layout file, but I keep getting the error about inflating Jul 01 20:00:54 binary xml and stuff Jul 01 20:01:36 suyase, yep, but e.g. moving from list of conversations to a single SMS thread in Messages app starts new activity Jul 01 20:03:34 Mavrik: Understood - ok, thanks for clearing that up Jul 01 20:04:02 suyase, mhm, starting up a simple activity takes about 100-150ms which si well below perceptible "UX speed" of 300ms Jul 01 20:04:26 so having separate activities clearly separates our app from UX perspective (isolated units) and also makes your code easy to maintain :) Jul 01 20:05:40 UX… ugh Jul 01 20:05:41 Mavrik: Yea that makes perfect sense to me from a 'settings'/'activity1'/'activity2' perspective Jul 01 20:06:05 Mavrik: what was blowing my mind is that a separate activity would be started just to display a message that was input to a text box on the screen Jul 01 20:06:19 yeah that's kinda pointless Jul 01 20:06:24 after all, we also have dialogs ;) Jul 01 20:06:29 Yea Jul 01 20:06:37 and functionality is just whatever I want using java right? Jul 01 20:07:07 hi all Jul 01 20:07:21 I mean, if I write a desktop application that performs ethernet operations, I can do the exact same thing on android, or are there some limitations and security measures in place to prevent access to certain things? Jul 01 20:07:25 maybe not the right place to ask, but I'm having problems reading an RSS feed Jul 01 20:07:27 Like can I bind a socket on android? Jul 01 20:07:45 suyase, there are some limitations… you don't have all of Java standard library available Jul 01 20:07:53 you'll have to ask for permissions for some things Jul 01 20:08:01 Mavrik: Is there a list somewhere of unavailable stuff? Jul 01 20:08:05 tried it on my own with XmlPullParser, then tried an rss library for Android Jul 01 20:08:09 and some things (like filesystem access, /dev stuff, etc) just might not be available :) Jul 01 20:08:19 suyase, hmm… no idea honestly Jul 01 20:08:27 even tried just writing the contents to a file on the sdcard to see if its getting the feed properly Jul 01 20:08:45 suyase, but yes, you can bind a socket… just remember to look up on how mobile devices do power saving Jul 01 20:08:52 in all cases the thing stops mysteriosly about 45kB in Jul 01 20:08:52 so you're not gonna have surprises there :) Jul 01 20:09:32 Mavrik: Ah Jul 01 20:09:38 So, my ContentObserver onChange is called when I make a screenshot Jul 01 20:09:52 But how do I get the inserted row ID when I get onChange? Jul 01 20:10:01 Mavrik: Yea I'm worried about battery a bit - I wonder if you can access /dev/tcp... Jul 01 20:10:13 suyase, rule of thumb, there's no /dev on Android ;) Jul 01 20:10:28 don't think of it as a Linux. Jul 01 20:10:36 aw poo but linux is my home Jul 01 20:11:49 I decided to learn to dev on android because it was linux based (I was willing to descend into Java hell for this) and now I find that it is not like my homeland Jul 01 20:12:39 suyase: sounds like ubuntu phone is more your cup of tea Jul 01 20:12:43 Android is basically very much not linux. Jul 01 20:12:54 suyase: Also - #jollamobile Jul 01 20:13:08 Yea, a 'buntu phone that runs python would be pretty sick. Jul 01 20:13:14 Well - if you want to develop text only console apps - you can do that. Jul 01 20:13:16 SpeedEvil: What's jollamobile? Jul 01 20:13:52 suyase: It's a spin-off of some of the people that developed the nokia n900 phone running maemo. Which was the most 'desktop linux like' phone. Jul 01 20:14:04 oh, cool Jul 01 20:14:06 It also supports running android apps. Hardware this year. Jul 01 20:14:10 Which method is called when I go in to landscape mode? Jul 01 20:14:41 tomeo: loads Jul 01 20:15:20 onPause(), onStop(), ….. lots …… onResume() etc Jul 01 20:16:53 declare em all, set a Log.d("foo", "foo"); then watch logcat and play with it? Jul 01 20:16:56 Hm Jul 01 20:17:06 Can I create virtual network interface cards on android? Jul 01 20:17:44 suyase: try it Jul 01 20:17:52 I would expect it maybe poss Jul 01 20:17:56 How about you tell us what you want to do and we tell you how to. Jul 01 20:18:05 This sounds a lot like a XY problem. Jul 01 20:18:12 kakazza: I want to create a virtual network interface card on android Jul 01 20:18:28 I doubt that's all you're trying to do. Jul 01 20:18:47 Unless your Apps goal is "Create a virtual networks interface cards, then terminate" Jul 01 20:19:05 kakazza: That sounds like a decent goal 1 Jul 01 20:19:25 0/10, wouldn't install. :p Jul 01 20:20:03 kakazza: Well, I wouldn't read a 6th grader's works of literature either Jul 01 20:20:10 hi guys anyone know how use OpenCL on Galaxy S4 or HTC One? Jul 01 20:21:14 ExEcUtIvE: there isn't broad support for OpenCL on android. Check out RenderScript as a replacement. Jul 01 20:21:59 thanks StingRay_ Jul 01 20:22:56 i think the s4 and some exynos support opencl now, maybe they should deprecate rs Jul 01 20:23:26 mdwright but i must use OpenCL...i know that there isn't broad support... Jul 01 20:24:22 g00s yes, s4, snapdragon 600 (galaxy s4 and htc one) support it.. Jul 01 20:24:37 suyase: But to answer your question, you probably can't. At least to my knowledge. Jul 01 20:24:38 there are library for openCL in the system Jul 01 20:24:41 g00s: RenderScript and OpenCL have very different requirements they're trying to fulfill Jul 01 20:24:51 kakazza: Hmmmm Jul 01 20:24:57 It will prove helpful to not think of Android as Linuz unless you root. Jul 01 20:25:13 mdwright i thought they achieved mostly the same thing; but rs was invented because opencl was not widespread and google wanted something portable Jul 01 20:25:18 kakazza: Well you can create virtual network interface cards on every OS Jul 01 20:26:03 Rule of thumb: If you usually need sudo for an operation, you can't do it on a normal Android install. Jul 01 20:26:07 kakazza: Oh, actually yea it's in the docs I found it Jul 01 20:26:24 Link? Jul 01 20:26:40 g00s: Essentially RenderScript sacrifices configurability for portability, which is much much more important for an OS like Android that runs across a *wide* variety of hardware Jul 01 20:27:01 Tim Murray has a pretty good explanation on SO: http://stackoverflow.com/questions/14385843/why-did-google-choose-renderscript-instead-of-opencl/14389506#14389506 Jul 01 20:27:36 if i've the library in system, i can't use OpenCL? Jul 01 20:30:54 ExEcUtIvE: do you know what openCL is ?? and how it works ? Jul 01 20:31:47 mdwright yeah, saw that … thought this was more insightful http://codedivine.org/2013/02/01/renderscript-from-the-perspective-of-an-openclcudac-amp-programmer/ Jul 01 20:34:39 g00s: four of the five complaints are basically exactly what I said: trade-offs of peak performance for portability Jul 01 20:35:09 StingRay_ yes, on pc.. Jul 01 20:35:20 right, but what you said was what i said originall "opencl was not widespread and google wanted something portable Jul 01 20:35:55 anyhow Jul 01 20:36:02 it had nothing to do with widespread -- Google still had to get people to write renderscript drivers Jul 01 20:36:13 they could have asked for OpenCL drivers instead Jul 01 20:36:30 ExEcUtIvE: Have you grabbed the Adreno SDK? Jul 01 20:37:33 mdwright yes, i've download it.. Jul 01 20:39:06 ExEcUtIvE: and you're using it to compile? it has the necessary build scripts and even a few tutorials if you look around. Jul 01 20:44:56 OpenCL could come with interesting security implications. Jul 01 21:05:38 Hello, do I have to save the message received by the gcmbroadcastreceiver when the app is not running to display it? Jul 01 21:11:31 can someone that uses android studio lend a quick hand? Jul 01 21:11:36 how do i change superclasses? Jul 01 21:14:13 billybigrigger: super classes that Android provides? The short answer is you can't. Jul 01 21:14:26 OH? Jul 01 21:14:30 shit, sorry Jul 01 21:14:48 can anyone tell how to enable logcat output on ztc force ? Jul 01 21:15:02 adb logcat ? Jul 01 21:15:09 am able to upload apps over usb but adb logcat doesn't do anything Jul 01 21:17:22 it gives you no output ? Jul 01 21:20:35 Do I have to declare different layouts if I want my text to be the same size on different resolutions? Jul 01 21:20:54 tomeo: no Jul 01 21:21:15 StingRay_: I tried using DimensionMetrics but that didn't work the way I expected it to Jul 01 21:21:26 DimensionMetrics ? Jul 01 21:21:31 sorry, DisplayMetrics Jul 01 21:21:40 still dont follow Jul 01 21:21:45 bankai_: nothing Jul 01 21:21:52 you mean setting px size based of display metrics ? Jul 01 21:21:53 well that's fucking weird Jul 01 21:22:03 adb shell cat /dev/log/main nothing Jul 01 21:22:08 StingRay_: yes Jul 01 21:22:32 well what is your equasion ? Jul 01 21:23:33 as in what calc are you doing ? Jul 01 21:23:42 calc/math etc Jul 01 21:24:06 StingRay_: this.paint.setTextSize((float) (displayMetrics.ydpi * 0.15)); Jul 01 21:24:25 tomeo: any reason why you don't use pt within xml? Jul 01 21:24:51 kbs: I'm not using xml-files to define the view Jul 01 21:25:33 and as far as I could tell from google I couldn't load styles from xml-files from code Jul 01 21:26:26 I'm pretty sure the problem is me misunderstanding something fundamental, but I can't figure out what Jul 01 21:36:48 bankai_: *983*564738# :-) Jul 01 21:37:08 yeah? is it defaulty turned off in your ROM ? Jul 01 21:37:19 apparently Jul 01 22:02:46 tomeo: sorry, away for a bit. What actually happens, with your calculations? What you pasted seems ok, at least as far as I can see. Jul 01 22:05:40 tomeo: (BTW, I believe that not all devices actually provide accurate values for DisplayMetrics. Android size handling is, um, interesting across devices.) Perhaps your issue comes from there. You might print out the provided ydpi, and compare with the actual device hardware spec. Jul 01 22:07:45 lol, motorola http://www.beneaththewaves.net/Projects/Motorola_Is_Listening.html Jul 01 22:08:44 kbs: well, I logged the value of displayMetrics.density and apparently its 1.5. Isn't it supposed to be 120,160 or 240? Jul 01 22:09:24 tomeo: no -- don't log that. There's a long and complicated way in which densitiy is set. Just log ydpi, and compare with your device. If you see anything "off", it's probably coming from that. Jul 01 22:09:54 kbs: so multiplying by ydpi is supposed to work? Jul 01 22:10:13 tomeo: yep, as far as I can see -- *if* ydpi is being set correctly by the device, which is not universally true. Jul 01 22:10:39 tomeo: and if it's not being set correctly, using pt in xml should (as far as I can see) also result in a similar problem Jul 01 22:12:21 kbs: Im using a Google Nexus 7 and a Samsung Galaxy S2 to test with Jul 01 22:12:51 the log value is written to log cat when running form the Samsung, but not from the Nexus. Thats pretty strange to me Jul 01 22:13:25 tomeo: hm. Well -- when you have logcat (and the ydpi) logged from both devices, be interesting to see what it gives. Jul 01 22:14:16 kbs: well I have to get to bed so I can get up for work. But thanks for your help :) Jul 01 22:14:26 tomeo: :-) good luck. Jul 01 22:15:10 I'm running ./gradlew assemble and I get an error: "Execution failed for task ':packageDebug'. > Failed to read key AndroidDebugKey from store "android": Keystore was tampered with, or password was incorrect." Any idea where this "android" store is..? Jul 01 22:16:18 aleb: maybe try with --info or --debug Jul 01 22:16:24 Maybe this one? android { signingConfigs { debug { storeFile file('debug.keystore') - but then where do I specify the password? Jul 01 22:16:33 It should log the commands, and hopefully show the actual location Jul 01 22:18:49 So it seems that the motorola snooping is tied to the use of motoblur? Jul 01 22:20:30 aleb: the debug keystore is supposed to be made a specific way (with specific passwords and keystore names) Jul 01 22:20:46 aleb: http://developer.android.com/tools/publishing/app-signing.html#debugmode Jul 01 22:21:00 is it possible to have a view in an action bar extend past the bounds of the action bar? Jul 01 22:23:16 evanc, I assume my debug.keystore is fine .. I've been using it for two years with ant. keytool -list -keystore debug.keystore does list an androiddebugkey. Jul 01 22:23:57 for example, I want to have this generic black view extend below my action bar. http://cl.ly/image/2r2o1o0j2P3c Jul 01 22:24:30 aleb did you try deleting it? i thought they expire after 1 year Jul 01 22:25:31 "gradle assemble" sais "Executing task ':packageDebug' due to: .... Input file /.../keystore has been added. Input file /.../debug.keystore has been removed." I wonder why does it say it has been removed. I'll try deleting it.. Jul 01 23:13:01 does anyone know if it's possible to display a view on top of the action bar? Jul 01 23:13:03 but not inside of it? Jul 01 23:13:18 doubt it Jul 01 23:13:36 I'm trying to do something like this: http://cl.ly/image/1g1K0r2b3i3W Jul 01 23:13:47 where the big button in the middle is taller than the action bar itself Jul 01 23:14:00 that doesnt mean it's a different view Jul 01 23:14:11 but if it's inside the action bar, won't it get clipped? Jul 01 23:14:20 your missing the point Jul 01 23:14:21 because the button view is taller than the action bar view? Jul 01 23:14:36 the view height may fit that in Jul 01 23:14:45 and also have the bg there too Jul 01 23:15:02 dont know if thats whats going on, or if thats possible Jul 01 23:15:14 but just saying, that can be done with 1 view, no overlap Jul 01 23:15:30 ideally it would be a subview of the actionbar Jul 01 23:15:40 but I can't figure out how to have a child view that is taller than the actionbar Jul 01 23:15:54 your still missing the point Jul 01 23:16:03 sorry Jul 01 23:16:04 how about looking at making the action bar BIGGER Jul 01 23:16:16 but won't it bump the main content view down/ Jul 01 23:16:17 but the background of the actionbar smaller Jul 01 23:16:46 then wouldn't there be a gap between the action bar background and the main content view? Jul 01 23:16:53 I want that button to overlap into the main content view Jul 01 23:17:02 hello- I am trying to build a layout in an android app which behaves like this: http://htmlpaste.com/6b6f4b4e65fac7724f20a68bf1d0e28adce3735f Jul 01 23:17:23 it doesn't matter what the elements are, they will be arbitrarily long, but the same height Jul 01 23:17:36 but I dont know how to lay things out like text Jul 01 23:17:43 can LinearLayout do that ? Jul 01 23:17:55 ForestJohnson: cant even view your paste Jul 01 23:17:58 so dunno Jul 01 23:18:00 :) Jul 01 23:18:25 im talking about text wrapping Jul 01 23:18:44 the paste is a bunch of over and over in a webpage Jul 01 23:18:54 wrapped as inline text Jul 01 23:19:20 when they hit the edge of the page they make a new line or "row" Jul 01 23:19:38 so you mean the default of a textView Jul 01 23:19:58 yeah... but can I put something else inside a text view than text ? Jul 01 23:20:04 like, other views ? Jul 01 23:20:36 tony_c: you could draw the same widget twice, once inside the action bar, and once outside the action bar Jul 01 23:20:55 silly hack but it could theoretically work :\ Jul 01 23:21:00 yeah Jul 01 23:21:04 that seems pretty hacky Jul 01 23:21:21 or do what I said, make the actionbar fit all of that Jul 01 23:21:40 There isn't a default viewlayout for that, but google for android FlowLayout; romainguy wrote something about that a few years back that might do the trick. Jul 01 23:21:40 I really don't know how actionbar works Jul 01 23:21:44 but again, wouldn't work well with scrolling content Jul 01 23:21:54 thanks kbs!! Jul 01 23:25:08 FWIW, i've personally found the regularity of gridview to be a visually better way to see content (not a big fan of the "justified+random width+slightly different height" style in google image search.) So, that's another possibility for handling varying device widths -- albeit assuming you like equi-sized views Jul 01 23:25:58 And it also handles memory nicely -- so it's a good+simple fit for showing a lot of content in that format. Jul 01 23:41:57 the problem is I need varying and dynamic view sizes Jul 01 23:42:29 have you used ViewLayout before? How would I go about making it drag-and-drop-able? the same as any other view? Jul 01 23:43:23 I don't know what ViewLayout is (and haven't done anything with drag/drop either) sorry... Jul 01 23:43:39 ok, thanks anyway. it looks like what I need :) Jul 01 23:44:07 I have to lay out some user defined text and input fields like a paragraph Jul 01 23:46:38 ah -- so, something like http://worrydream.com/Tangle/ ? Jul 01 23:47:36 im helping make this http://scratch.mit.edu/projects/10101042/#editor Jul 01 23:47:40 in android Jul 01 23:47:43 its called Catroid Jul 01 23:53:12 ForestJohnson: looks pretty complicated and fun; hope you make good forward progress :-) Jul 02 00:02:49 hi all Jul 02 00:03:03 any tutorial for connect to mysql database? Jul 02 00:04:05 jak2000: I would expect there to be loads Jul 02 00:04:20 like maybe even 3 digits of results Jul 02 00:04:39 StingRay_ wich words you recommend googling? Jul 02 00:05:00 android connect mysql Jul 02 00:05:05 ? Jul 02 00:05:07 :) Jul 02 00:05:16 maybe Jul 02 00:05:18 jak2000 you want to expose your db as a web service Jul 02 00:05:32 so , you're not going to connect to it directly Jul 02 00:05:45 hopefully 'android mysql' return 0 results :D Jul 02 00:06:04 yes Jul 02 00:06:10 g00s then wich is the way? Jul 02 00:06:31 "android connect mysq php" Jul 02 00:06:48 the question becomes, how to connect to your own web service Jul 02 00:06:59 so you'll have to design the service, etc Jul 02 00:07:09 mmm ok, need create a webservice right? Jul 02 00:07:20 yeah Jul 02 00:07:26 with php can i create a webservice? Jul 02 00:07:41 dunno about php, honestly. maybe Jul 02 00:07:41 i am reading now: http://guruparan.blog.com/2012/11/27/connect-android-and-mysql-via-php-webservice-part-1/ Jul 02 00:08:26 jak2000: continue reading Jul 02 00:08:31 answer is within Jul 02 00:08:38 but past the 1st 2 lines ;) Jul 02 00:08:56 oh actually no, in the url and title Jul 02 00:09:33 g00s: http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/8339-connect-android-mysql-database-tutorial.html :) Jul 02 00:15:20 when i start eclipse i get a message saying adt v 21 is out of date and i need 22.something but when i check for updates via update manager it says none available Jul 02 00:15:50 anyone know anything about that? Jul 02 00:15:58 jak2000: that's a super terrible idea, don't do that. Jul 02 00:16:11 It'll work but it's a GIANT security hole. Jul 02 00:16:49 anyone connecting to that webservice could trivially delete all your data. Jul 02 00:17:16 speakingcode: I've had a similar thing happen to me - did you download the ADT bundle? Jul 02 00:18:19 (well, at least if you use their PHP code) Jul 02 00:18:33 I'm waiting for the brave new connected data world where everything is a jabber client rather than a REST service client. Jul 02 00:19:36 it looks like he's done something clever with his database config to make it so you can't just delete everything, but you couldn't change any of the data either. Jul 02 00:19:55 yeah adt bundle Jul 02 00:21:42 speakingcode: unfortunately, I solved it by re-downloading the new ADT bundle. Jul 02 00:22:10 I'm guessing it's a bug in the IDE software somewhere, but I couldn't get it to update. Jul 02 00:26:17 RyanM, i understand, then what is the way? Jul 02 00:30:29 jak2000: make a service that only allows the specific things you want and takes them as parameters to your script so that it's not running whatever query some random person sends it Jul 02 00:36:49 RyanM ok, you know a tutorial? or any link for learn thanks Jul 02 00:53:40 Can someone explain to me this error please java.lang.IllegalArgumentException: class tn.bh.services.Service has neither @WebService nor @WebServiceProvider annotation Jul 02 00:56:01 your using some kind of webservice library ? Jul 02 00:56:07 that expects annotations Jul 02 00:57:15 javax.jws.*; Jul 02 00:59:30 well it expects one of those annotations at a guess Jul 02 00:59:32 :) Jul 02 00:59:35 just like it says Jul 02 00:59:52 http://docs.oracle.com/javase/6/docs/api/javax/xml/ws/WebServiceProvider.html Jul 02 01:00:08 the second one is missing but i don't know where do i place it Jul 02 01:00:33 thanks for links to the docs, but not really interested in learning that right at this moment :) Jul 02 01:00:54 okay :o :/ Jul 02 01:01:30 I actually may want to quite shortly Jul 02 01:01:40 but not today I dont think :) Jul 02 01:01:45 okay have a nice day Jul 02 01:14:57 * pfn tries out idea finally Jul 02 01:39:30 pfn what do you think ? Jul 02 01:39:38 about idea? Jul 02 01:39:49 it's alright, not completely straightforward, but seems reasonable Jul 02 01:40:07 yeah. i i'm sure i'm missing lots of stuff Jul 02 01:40:15 i still have eclipse habits Jul 02 01:41:25 Exception in thread "main" com.sun.xml.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: java.lang.NullPointerException Please see the server log to find more detail regarding exact cause of the failure. Jul 02 01:41:25 at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193) Jul 02 01:41:26 at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:125) Jul 02 01:41:26 at com.sun.xml.ws.client.sei.StubHandler.readResponse(StubHandler.java:253) Jul 02 01:41:26 at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:181) Jul 02 01:41:30 at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:258) Jul 02 01:41:32 at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:117) Jul 02 01:41:34 at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:91) Jul 02 01:41:36 at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:154) Jul 02 01:41:38 at com.sun.proxy.$Proxy36.consulterListeCpt(Unknown Source) Jul 02 01:41:40 at tn.bh.services.client.Client.main(Client.java:11) Jul 02 01:41:42 can someone help me please :) Jul 02 01:41:56 stop using SOAP? Jul 02 01:42:15 stop pasting in irc Jul 02 01:42:36 lol Jul 02 01:42:41 both good advice Jul 02 01:43:10 soap is pretty cool if you can ever get two different implementations to work together Jul 02 01:43:15 and you have a lot of bandwidth :) Jul 02 01:44:11 I didn't understand :) Jul 02 01:44:27 where can I find the server log file please? Jul 02 01:45:11 how should we know Jul 02 01:45:17 c:\program files\ Jul 02 01:45:31 and for that matter, sounds like you want to ask ##java for help Jul 02 01:45:33 okay sorry then :) Jul 02 01:45:49 get banned :/ xD Jul 02 01:46:20 (5 min ban, use it to read the topic) Jul 02 01:48:35 what version of java does android use? Jul 02 01:49:28 http://bit.ly/18rY09Y Jul 02 01:49:59 hahahaha Jul 02 01:50:05 and then you came straight here to paste and bother us Jul 02 01:51:23 so from stackoverflow it seems some varient of java 6. Jul 02 01:53:44 hey guys, was wondering if anyone knows how to use the UML view on Android Studio. It says control alt shift U, but that didn't open up any editor for me… any suggestions? Jul 02 01:57:49 uml view, why bother... Jul 02 01:58:10 the uml view for android would show Bundle is the center of the universe Jul 02 01:58:37 haha… just curious what they've been trying to cook up Jul 02 01:58:40 g00s: More like Context Jul 02 02:02:50 ideavim is so slow... Jul 02 02:02:55 takes forever to go back into command mode Jul 02 02:03:21 idea's regular editor is much more stuttery than vim Jul 02 02:03:32 then again, vim is probably the fastest anyhow Jul 02 02:04:35 * g00s wonders why macvim hasn't been updated in a while Jul 02 02:10:29 why does it need to be Jul 02 02:11:31 it doesn't. but its a few hundred patches behind. wonder if winkler moved on Jul 02 02:11:38 huh, how the hell do I change the tool window numbers Jul 02 02:24:30 came and asked this question last night and was told to look at onSaveInstanceState but still having issues. I have static fragments that I show / hide. When I tap the up button to exit the app then relaunch tapping the icon all the fragments that were alloc are now completely empty, no UI elements ….. thoughts? suggestions ? Jul 02 02:27:43 maybe when the app goes to the background all the fragments are removed and since I only add them if null they don't add back? Jul 02 02:27:49 guessing that might be it Jul 02 02:32:19 kinda quite in here tonight ... Jul 02 02:34:37 hello :) **** ENDING LOGGING AT Tue Jul 02 02:59:58 2013