**** BEGIN LOGGING AT Wed Apr 17 02:59:59 2013 Apr 17 03:12:01 sweet just wasted an entire day trying to get os x to work on VirtualBox, all so i can see a damn iphone simulator, and still not working Apr 17 03:12:18 * Gaz` will be happy when iOS dies :) Apr 17 03:13:16 Gaz`: i didn't think that was possible with the recent versions of OS X Apr 17 03:14:15 dunno i just spent 20 hrs reading how possible it is Apr 17 03:14:21 but it always goes black when the os starts Apr 17 03:15:14 clients expect me to magically be able to see an iphone app Apr 17 03:15:23 in mid air in front of my face like google glasses Apr 17 03:20:06 uh oh, i think i installed xubuntu on my mbp instead of the thumb drive :| Apr 17 04:08:24 How do I "ghost" the on-screen software buttons in my application? Apr 17 04:26:37 fatum 'ghost' = ? Apr 17 04:32:57 xorgate: http://i.imgur.com/Shqtiav.png Apr 17 04:33:27 why care? Apr 17 04:35:22 http://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LOW_PROFILE Apr 17 04:35:43 it's a little bit distracting for games Apr 17 04:36:17 kevinb: thanks! Apr 17 04:49:22 anyone here devs with sencha? Apr 17 04:49:37 <[deXter]> Nah, we use the real deal Apr 17 04:49:54 k Apr 17 04:49:58 <[deXter]> HTML5 apps suck, to put it bluntly Apr 17 04:50:23 how do I update galaxy s2 international gt-i9100 with jelly bean? Apr 17 04:50:34 <[deXter]> #android-root Apr 17 04:50:50 ok Apr 17 05:05:04 Any idea to get the resources outside the scope of Activity? Apr 17 05:07:44 you actually get it form the context, not the activity Apr 17 06:10:16 hello all Apr 17 06:37:21 good morning, sir Apr 17 06:38:30 I need someone here who understands the xml of EditText "android:inputType" very well. my question is about the date type. how can i make it go with and validate the input according to my selected date format while ? Apr 17 07:05:19 is it possible to have multiple image in horzontial wich can be scroll and the center of the scroll view child item are likely to be scale large then normal? Apr 17 07:38:46 anyone use bluestacks? Apr 17 07:38:56 trying to remembe rhow to kill the secret emulator that runs, cant find its process Apr 17 07:38:59 so i cant install to my phone Apr 17 07:41:03 with adb? Apr 17 07:41:08 try the -d flag Apr 17 07:42:27 ah got it Apr 17 07:42:30 hd-quit.exe Apr 17 07:42:33 menace that app Apr 17 08:10:21 CrazyWoods: like a carousel? Apr 17 08:42:26 hello, I want to handle back button for dynamic fragments in viewpager Apr 17 08:42:37 how Apr 17 08:43:16 anybody here?? Apr 17 08:52:32 hello Apr 17 08:52:45 does android sdk comes with some charts package ? Apr 17 08:53:12 nope Apr 17 08:53:16 i need to have a lines chart Apr 17 08:54:54 i googled and nothing good came up. agraphchart, android chart and graphview.. nahh Apr 17 08:55:28 ufk_: what was wrong with them? Apr 17 08:56:45 graphview... for some reason only accepts floats and some of the data that i provide it shows as a flat line instead of showing the actual data. it drove me nutz Apr 17 08:57:28 agraphcart.. when i try to add it to a relative layout or even just try to add relativelayout style to it my application segfault Apr 17 08:57:46 *segfault*? Apr 17 08:57:50 ahahah Apr 17 08:57:59 sorry Apr 17 08:58:20 throws exception. sorry Apr 17 08:58:58 just out of curiosity, why doesn't the android SDK come with a chart view? hmm Apr 17 08:59:11 good... if it's a segfault, and you're not using native code, it most likely means a dalvik bug Apr 17 08:59:44 ahmmm... dalvik bug? Apr 17 08:59:54 ufk_: do you mean achartengine when you write agraphchart? Apr 17 09:00:26 yeap achartengine Apr 17 09:01:01 the thing is.. i loved graphview the most Apr 17 09:01:23 i was going to use graphview because i need dynamic graphs Apr 17 09:01:32 but it drove me nutz the most! Apr 17 09:02:39 some data it shows.. some it doesn't! Apr 17 09:02:47 it shows as flat bar! Apr 17 09:02:54 i donno whY! :( i really don't! Apr 17 09:03:35 Leeds, can you explain dalvik bug for me please ? Apr 17 09:03:45 ufk_: no Apr 17 09:04:07 ufk_: when you say it only accepts floats, what do you mean? as far as I can tell it uses doubles. Apr 17 09:04:55 ok doubles.. i mean numbers that are not ints :) Apr 17 09:06:07 ufk_: it is a lot easier if you actually type what you mean :p Apr 17 09:06:22 yeah sorry for that Apr 17 09:07:02 i just forgot the word in english for numbers that have points.. Apr 17 09:07:07 like something dot something.. Apr 17 09:09:02 ufk_: it's just that there are multiple types in java that provide that ;) Apr 17 09:09:12 yeap Apr 17 09:12:35 Hi all, how can I achieve something like this in my layout: http://i.imgur.com/4y3z2N7.png Apr 17 09:23:48 Isn't that just bad practice to add buttons just above "hardware" buttons? Apr 17 09:26:57 The buttom bar would essentially do the same. Apr 17 09:27:05 bottom* Apr 17 09:28:00 Hi - how would you guys handle supporting an old device... There is a gingerbread device *without* the play store, and an app that requires the play services library for maps functionality [as the older versions are deprecated] Apr 17 09:36:55 has anyone made an imagebutton with drawables that are on the external storage? Apr 17 09:37:14 since the states need to be declared in xml Apr 17 10:11:07 I am trying to implement a thread which attempts to connect to a BluetoothDevice. When calling mmSocket.connect() however i get a ConnectionException. What could be the issue? I have a theory that my UUID is bullocks but I have no idea which UUID to provide it with. Thoughts ? http://pastebin.com/z3s1BtLP Apr 17 10:22:18 anyone had a scrollview flash black when u use a textedit on it? Apr 17 10:23:50 hey Leeds, sorted ur visa shit then? Apr 17 10:33:27 anybody familiar with rapns in rails for GCM or is there a better alternative? Apr 17 10:39:13 Gaz`: only happens when you scroll ? Apr 17 10:39:25 well either way is there not a cache hint color for scrolls ? Apr 17 10:39:25 not even when i scroll Apr 17 10:39:33 ah yes im scrollign something on top iof it Apr 17 10:39:41 yeh i tried #00000000 Apr 17 10:39:46 doesnt seem to work Apr 17 10:39:59 well transparency prob wont Apr 17 10:40:09 isn't the default mode for android 565 ? Apr 17 10:40:12 had a weird experience earlier, client was showing me app on his phone and it sjust doing some mad shit, stuff thats impossible showing wrong title on diff screens etc.. Apr 17 10:40:13 for the app I mean Apr 17 10:40:22 on listviews that usually works Apr 17 10:40:53 ill try ffffff Apr 17 10:41:00 you could probably rule out a draw/rendering issue by changing the color mode Apr 17 10:42:18 I am trying to implement a thread which attempts to connect to a BluetoothDevice. When calling mmSocket.connect() however i get a ConnectionException. What could be the issue? I have a theory that my UUID is bullocks but I have no idea which UUID to provide it with. Thoughts ? http://pastebin.com/z3s1BtLP Apr 17 10:42:44 lite_: doesnt it tell you in the exception ? Apr 17 10:43:14 and maybe the UUID is the mac address of the BT adapter ? Apr 17 10:48:18 getBluetoothService called with no BluetoothManagerCallback Apr 17 10:48:30 04-17 12:48:54.225: W/System.err(18988): java.io.IOException: read failed, socket might closed or timeout, read ret: -1 Apr 17 10:49:12 Gaz`: yeah, visa all sorted for the next couple of years... was hoping to get 3 years, which would get me to permanent residence, but they gave me 2, so need to do it again in 2015 Apr 17 10:50:03 nice Apr 17 10:50:11 yeh everyone i knowis gettingtheir permenant ones here Apr 17 10:50:15 lowered from 7 yrs to 5 Apr 17 10:50:30 glad u sorted it tho Apr 17 10:52:09 still 7 here... I've *been* here almost 8, but not always fully resident Apr 17 10:55:06 yeh same here Apr 17 10:55:16 8 yrs in sept Apr 17 10:55:57 jeez i need a holiday, been coding android daily for like a yr Apr 17 10:55:58 lol Apr 17 10:56:48 this black scrollview thing is well annoying Apr 17 10:57:08 weird thing is its only when i programatically detect the "done" key on the keyboad Apr 17 10:59:48 holiday... going to Bali in a few weeks... then got a (partly work) trip to UK and probably Spain at the end of May Apr 17 10:59:56 nice Apr 17 11:00:00 went to angeles recently Apr 17 11:00:04 in philipines, lol... Apr 17 11:00:17 yeah, I've heard about that... Apr 17 11:00:33 yeh, not as bad as its made out, nicer than manila Apr 17 11:00:50 mostly just old german sex tourists ..... Apr 17 11:01:06 never been to phils at all... went to Malaysia, Kota Kinabula a few weeks ago Apr 17 11:01:14 nice, yeh been there 7 times Apr 17 11:01:31 Sabbah :) Apr 17 11:01:34 right Apr 17 11:01:58 only reason i go to these places i the price, presumably u got cheap deal on airasia Apr 17 11:02:09 thought it was a bit so-so - but got badly sunburned snorkeling, so that's not a bad thing - yeah, airasia package for KK Apr 17 11:02:23 1000nt return to Angeles Apr 17 11:02:24 lol Apr 17 11:02:45 not going AA to to Bali, got a cheap flight from a local HK airline Apr 17 11:03:15 nice, only thing about AA is no drinking on the plane, we had to bring duty free in on the way back heh Apr 17 11:04:36 eh, I'm a nice civilised traveler - no more than a couple of beers at a time for me - I'm not a drunken layabout like you Apr 17 11:05:01 much more fun being a drunken layabout Apr 17 11:05:44 been there, done that Apr 17 11:06:07 :) Apr 17 11:06:20 anyway im doing 65 hrs a week right now :-{{ Apr 17 11:08:53 65 hrs a week of drinking is pretty heavy, man... Apr 17 11:09:07 HEHE Apr 17 11:09:19 trying to earn so i can take time off to complete my game ;) Apr 17 11:10:02 wth. javax.microedition.io.StreamConnection; Apr 17 11:10:02 cannot be resolved Apr 17 11:10:16 thats j2me Apr 17 11:10:19 not android Apr 17 11:10:20 ? Apr 17 11:11:31 Gaz`: took you long enough to learn the difference :P Apr 17 11:12:25 youre right and now i couldnt go back to j2me Apr 17 11:12:52 :-x android is definitely more pwoerful and less fragmented and withotu all the lame security issues, not to mewntion the lack of decent gui and the need to use low level canvas painting for everything Apr 17 11:12:52 is there a j2me to go back to? Apr 17 11:13:11 actually some of the big nfc players are using it, just got offered some really well paid j2me jobs Apr 17 11:13:25 but i dont want to i want to improve at android not an old legacy skill Apr 17 11:13:39 i put my 10 yrs in with j2me :) Apr 17 11:15:10 i hear if you code android for 30 yrs you begin to understand how to style ABS Apr 17 11:15:26 Anyone bother checking if there's something wrong with this asynctask doing a httppost request? http://pastebin.com/6e08GMJa Apr 17 11:15:46 It's working, but I'm not sure it's set up in a "good way" :P Apr 17 11:16:08 looks ok on first glance Apr 17 11:20:44 is there any way to get an exact unique build number Apr 17 11:20:56 as opposed to me manually knocking up a text string i want a build num Apr 17 11:42:38 anyone used fb sdk to login into an app? Apr 17 11:42:41 used to be buggy Apr 17 11:43:00 I have a list thats being populated with the matches from a search, but to a maximum of 24 hits. Any suggestions for how I should let the user know 24 is max and that there could be more? This is the GUI: http://bildr.no/image/1438878.jpeg Apr 17 11:45:43 good afternoon Apr 17 11:51:15 so i'm working on a location tracking app, which localizes device position and sends its position to server. Before doing that however, it geocodes it's lat and lng using Geocoder into human readable form. The problem is it suddenly stops working, throwing NullPointerException at declaring instance of new Geocoder(). My stack trace: http://pastebin.com/k8DcgqZJ Apr 17 11:51:48 is anyone here familiar with this? Apr 17 11:52:37 documentation says that the constructor throws NullPointer when Locale is null Apr 17 11:53:24 in my case it uses default locale Apr 17 11:54:48 good evening/morning everyone. I was just wondering why one of my TextView.setText() calls inside oncreateOptionsMenu() Activity Handler was called when the activity started? shudnt it be called when i try to open the menu by hitting menu button on my emulated device? Apr 17 12:00:31 I am trying to implement a thread which attempts to connect to a BluetoothDevice. When calling mmSocket.connect() however i get a ConnectionException. What could be the issue? I have a theory that my UUID is bullocks but I have no idea which UUID to provide it with. Thoughts ? http://pastebin.com/z3s1BtLP - 04-17 12:48:54.225: W/System.err(18988): java.io.IOException: read failed, socket might closed or timeout, read ret: -1 being thrown Apr 17 12:02:51 lite_: do you have proper user permissions in Manifest? Apr 17 12:03:31 yawnie, BLUETOOTH and BLUETOOTH_ADMIN Apr 17 12:03:35 that should do it iirc Apr 17 12:04:12 The problem is probably here : device.createRfcommSocketToServiceRecord(UUID.randomUUID()); Apr 17 12:04:24 as I have no clue which UUID I am supposed to provide Apr 17 12:04:53 I want to let user choose contast's phone number from his/her Contacts (using the Contacts app). how can I do that? Apr 17 12:06:49 this seems to be what I want http://developer.android.com/training/basics/intents/result.html Apr 17 12:09:34 lite_: try this: private static final UUID MY_UUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB"); Apr 17 12:10:04 then pass it to that crazy named method Apr 17 12:11:18 is that argument even obligatory? Apr 17 12:11:24 it should use this UUID by default Apr 17 12:22:30 Hello Apr 17 12:26:35 I have a custom control with an array of strings (less 100 strings). At a given time, only 7 of these strings is visible. They appear and dissappear animating their position. Two approaches: a) Use 7 TextView controls b) use a TextView for each string. Option B is easier. Would option B use a lot of extra memory and CPU overhead (while only 7 of the 100 TextViews is actually visible) ? Apr 17 12:30:29 So my Service changes from Connecring to Listening. Does this mean that things are going according to plan ? Apr 17 12:30:34 Connecting* Apr 17 12:36:26 it depends on whether you want it to listen or connect ^^ Apr 17 12:38:10 Hi Apr 17 12:38:21 what is a background service that an be stopped easily? Apr 17 12:38:55 At the moment i have GUI -> intentservice -> runnable Apr 17 12:39:21 define stopped easily Apr 17 12:40:31 The closest thing to it is a music player, and i need to stop it in the middle of execution, how do i do it? Apr 17 12:42:39 I'm thinking of using the gui to fire intents into an intentservice which will control a thread, that seems to be what i need Apr 17 12:43:41 do0ob, you could have the service put out a notification that stops it when clicked Apr 17 12:46:45 The notification should just bring the user back to the GUI Apr 17 12:51:23 do0ob, if you have a GUI, sure Apr 17 12:56:15 guys, i'm working on a location tracking app, which every couple of minutes localizes device position, geocodes it's coordinates using Geocoder into human readable form and sends its position to server. . The problem is it suddenly stops working, throwing NullPointerException at the Geocoder instace declaration. My stack trace: http://pastebin.com/k8DcgqZJ . Anyone experienced anything lke this? Apr 17 12:57:22 catch it and restart the service? Apr 17 12:57:24 yawnie: something is null.. Apr 17 12:58:30 uh... i hope you dont mean: while (geocoder == null) geocoder = new Geocoder(context) ? Apr 17 12:59:16 yawnie: no, I mean that you need to find out what is null and then figure out why so you can fix the problem or handle that case if it is supposed to be null Apr 17 12:59:23 the documentation says that the constructor throws NullPointer when Locale is null, which in my case is default Apr 17 12:59:50 Animating the position of several strings in a View or ViewGroup. What is faster, moving TextViews of redrawing strings (Canvas.DrawString)? Apr 17 13:02:21 yawnie: but as you can see from your stack trace the exception is thrown in GeocoderParams Apr 17 13:02:36 yawnie: and it throws if context is null Apr 17 13:02:37 appel1: which means? Apr 17 13:03:46 yawnie: you have to use a reference to a context instead of null Apr 17 13:04:34 how can getApplicationContext() suddenly become null in the middle of a loop? Apr 17 13:09:41 hmm i have a radio group that works fine, but one of them wont respond to click!? Apr 17 13:09:42 s Apr 17 13:13:24 impossible Apr 17 13:13:25 wtf Apr 17 13:20:11 first and last dont work, wtttf.. Apr 17 13:21:58 yawnie: I don't even know. Apr 17 13:22:11 yawnie: I WOULD suggest that you send the raw lat/lon to your server, and let your server handle the geocoding. Apr 17 13:23:55 lov: thanks, but been there, done that. Google blocks me after 2500 geocodings from the server. That's the reason i geocode on the device Apr 17 13:24:01 Anyone got any idea how this could happen? Apr 17 13:26:01 christ its happened again, the co-coder actually wrote a silent method to disable them.... DOH. Apr 17 13:26:10 how do ppl get around that madness, im not used to working with ppl Apr 17 13:28:05 hello Apr 17 13:29:31 yawnie: erm, have you considered WHY you're getting blocked? Apr 17 13:29:34 if i've created a custom SurfaceView, can i get a reference to it similarly to how i would with findViewById? Apr 17 13:29:40 also, have you considered using a geocoding service that isn't google? Apr 17 13:29:58 Gaz`, heh Apr 17 13:29:59 Gaz`: generally by having people skills and/or doing code reviews Apr 17 13:30:31 lov: youre getting blocked by default after reaching 2500 geocodes Apr 17 13:30:50 when you call setEnabled(false) on something it should grey out right ? Apr 17 13:31:01 yawnie: yes, and I'm asking you to think on why the decision was made to block randos at 2500 geocodes. Apr 17 13:31:58 see also things like http://geoservices.tamu.edu/Services/Geocode/ Apr 17 13:32:50 I have a list thats being populated with the matches from a search, but to a maximum of 24 hits. Any suggestions for how I should let the user know 24 is max and that there could be more? This is the GUI: http://bildr.no/image/1438878.jpeg Apr 17 13:33:39 Quacked: have a list of 25 elements, with element 25 being "More hits available" Apr 17 13:39:19 Thats a good tip, thanks Apr 17 13:40:29 Sorry for OT but everyone likes making fun of Internet Explorer: http://i.imgur.com/dmVCBZe.jpg Apr 17 13:47:36 Could someone assist me with figuring out how to close an AIDL-based Service? I have an Activity A, that starts an AIDL-based Service, S. S calls into A, via AIDL. Since Exceptions can't be sent over AIDL, when an Exception occurs, I want to catch it and close the Service, without the application terminating. How can I do that? Apr 17 13:49:02 when you say "close the service" what do you mean? Apr 17 13:49:32 also, iirc, while you can't throw exceptions over AIDL it will propagate a RemoteException (without relevant info) Apr 17 13:49:38 disconnect, and as close as possible to force-killing Apr 17 13:50:02 maslen2: you'll need to have everyone unbind from the service and call stopService. Apr 17 13:50:12 How you tell everyone to do that is up to you. You could use a broadcast intent. Apr 17 13:50:17 or, you could use a callback. Apr 17 13:50:21 so it looks like the android linter thingie won't warn you if you're using an API not available in your min api level. is there a way to enable this? Apr 17 13:50:32 lov: I can't let it propagate here, since it's making the AIDL call into the top-level Activity. If it raises an uncaught exception, the application will crash Apr 17 13:50:40 funkbox: yes it will, this is what @TargetApi is for Apr 17 13:50:53 lov: so i just set @TargetApi to whatever the min api level is ? Apr 17 13:51:01 funkbox: no Apr 17 13:51:07 funkbox: read the documentation for TargetApi Apr 17 13:51:16 Hey guys what's the easiest way to parse JSON data and make a table out of them? I'd like a new row to be created when there's new JSON data available too? Apr 17 13:51:21 ok, will checker out, thanks Apr 17 13:51:49 the short version is that if you have a class that uses APIs at a higher level than your minSdk, and you know that your code paths will never let that code be called by an API that is too low, you can use @TargetApi to tell the linter "This is an API higher than the minimum, but that's ok" Apr 17 13:52:03 lov: The issue I've been having is that calling unbindService is raising its own exception: "Java.lang.IllegalArgumentException: Service not registered: TLD.PACKAGE_NAME.CustomServiceConnection@41210578" Apr 17 13:52:06 otherwise, the linter should throw an error. Apr 17 13:52:35 maslen2: i don't know what to tell you. Keep track of whether your service is bound or what. Apr 17 13:52:39 lov: the thing is that i don't see an error for it. Apr 17 13:53:26 funkbox: are you actually running the linter? Apr 17 13:53:40 lov: I was under the impression that the only way I'm able to make the calls to and from the Service in the first place is because it was bound. Is my understanding incorrect? Apr 17 13:53:48 window -> preferences -> android -> Lint Error Checking Apr 17 13:53:49 lov: running it through intellj, that could be the cause Apr 17 13:53:56 aha. Apr 17 13:54:06 I have no idea whether IntelliJ will automatically use the linter. Apr 17 13:54:15 I BELIEVE you can always run it at the command line. Apr 17 13:54:15 it does run "android lint" Apr 17 13:54:20 yeah i'll try the cmd line Apr 17 13:54:31 hi all, i'm pretty new with android. Currently learing it on school. Is here someone who can help me starting up with making a custom component? Apr 17 13:54:44 you can always make a simple test case project that has a minSdk level set to 3, and then call an API set by level 11 or something, and see what happens. Apr 17 13:54:50 hello there Apr 17 13:55:05 FrancescoV: there are probably many people, but it helps if you ask specific questions not "can anyone help?" Apr 17 13:55:36 lov: Time for some more poking then I guess :( Thanks for trying Apr 17 13:55:39 i would like to make a re-usable layout for showing openingshours Apr 17 13:55:40 does any body know how to use filter intent for matching android.intent.action.VIEW with android:pathPattern without using the ugly .*..*..*..*..*.eml syntax? Apr 17 13:56:38 hey guys. I hope you can help out with an issue I have with maven and my android project. I'm currently trying to mavenise my app project so that other team members can easily create a successful build. My app project depends on ActionBarSherlock and SlidingMenu. I already successfully build these both library projects with maven. Apr 17 13:56:50 the pom.xml inside my app project looks like this: http://paste.kde.org/726530/ Apr 17 13:57:12 but when i try to execute "mvn install" in my app project folder the following error log appears: http://paste.kde.org/726518/ Apr 17 13:57:39 FrancescoV: ok, sounds like fun. Apr 17 13:57:48 So i need a class that uses a List> as data, but each tutorial i check, they don't use any dynamic data. I have no idea how to make it without using the custom class in xml layout Apr 17 13:58:09 oh i'm sry that was the wrong error log paste -.- grr Apr 17 13:58:10 FrancescoV: Create your own Adapter implementation Apr 17 13:58:26 FrancescoV: http://developer.android.com/reference/android/widget/Adapter.html Apr 17 13:59:05 FrancescoV: since you're making a list of lists, you MIGHT want to use an http://developer.android.com/reference/android/widget/ExpandableListView.html Apr 17 13:59:10 i know how to make a custom baseadapter for a listview, but is it easy to make it with a normal linearlayout? Apr 17 13:59:21 in which case you should subclass ExpandableListAdapter Apr 17 13:59:48 FrancescoV: it depends entirely on what you're trying to do. "Easy" is subjective. Apr 17 13:59:58 Are you just going to add a few textviews? Sure, it's easy. Apr 17 14:00:37 http://www.canon.co.nz/~/media/MyTemplates/previews/design5/openinghours2.ashx Apr 17 14:01:00 the reason why i would like to make it custom, is that i can re-use it very easy in other applications in the future Apr 17 14:01:45 so here's the pom.xml i'm using in my main app project: http://paste.kde.org/726536/ Apr 17 14:01:53 Hey guys what's the easiest way to parse JSON data and make a table out of them? I'd like a new row to be created when there's new JSON data available too? Apr 17 14:01:57 Did i declare the dependencies the right way ? Apr 17 14:02:46 The error log does seem to indicate that the ActionBarSherlock apklib isn't found. I've compiled SlidingMenu with the same dependency successfully though Apr 17 14:03:02 So I don't think that the dependency can't be resolved :< Apr 17 14:04:07 is the nexus 7 an xxhdpi screen? Because I've got a very big image which should fit the screen, but putting it in the drawable-xxhdpi folder won't load... Apr 17 14:04:21 is there a way to check which drawable size is being loaded? Apr 17 14:04:34 elegos: i think it's xhdpi Apr 17 14:04:47 MrMaffen: like Galaxy Nexus? Apr 17 14:04:47 elegos: xxhdpi is for the 1080p and up displays afaik Apr 17 14:04:51 yep Apr 17 14:05:04 but they have different screen resolutions... Apr 17 14:05:22 elegos: the nexus 7 does have a 720p display, right Oo ? Apr 17 14:05:29 lov, any idea whats the best way to create this? (performace & re-usable) Apr 17 14:05:49 How do i create a javascript event that I can listen for in a web view, that i can initiate from java code? (using phonegap with some native) Apr 17 14:05:49 anyone? Apr 17 14:05:54 MrMaffen: http://pbrd.co/XGmaXS Apr 17 14:06:09 coco89: you should write your own simple parser. use JSONObject s Apr 17 14:06:47 coco89: I like to use Gson, I find it easier than the native JSON implementation Apr 17 14:07:04 lov: any idea whats the best way to create this? (performace & re-usable) Apr 17 14:07:59 FrancescoV: aha Apr 17 14:08:10 FrancescoV: Ahm, good question. Apr 17 14:08:23 kifst: just google the javascript interface stuff. there is a very good tutorial on that subject on the internet Apr 17 14:08:25 The big question is how much do you care about using the default device styling/themeing? Apr 17 14:08:30 MrMaffen, I have the code that parses JSON and an inner class called read which handles it and this new Read().execute("registered") reads the value in the registered key. Can i use this to get multiple values? How would I create a table out of these that updates for new JSON data? Apr 17 14:08:34 kifst: javascript interface android should do the trick Apr 17 14:08:44 I'd honestly recommend that you just make your own Adapter implementation to handle this. Apr 17 14:08:55 it'll take you like 50 LoC and it will be reasonably future-proof Apr 17 14:09:00 Is there a way to tell which services are bound? Apr 17 14:09:05 elegos: you're mistaking resolution with density i guess Apr 17 14:09:27 elegos: http://developer.android.com/guide/practices/screens_support.html Apr 17 14:09:32 Have your own adapter, and have your own layout xml file for the content. Apr 17 14:09:33 lovl I think it's not good if I just create a class that extends Linearlayout and creating all TextViews inside it and make an instance off that class and add it to the layout Apr 17 14:11:16 oké, sounds good, but on which view would you set the adapter? listview,? Apr 17 14:11:49 MrMaffen: would this allow creating an event in javascript ie. something for document.addEventListener(...) ? --As i've visited a few of those links and those seemed to be about allowing calling a java function from the javascript ?? Apr 17 14:12:03 elegos: of course. you can put and get multiple values from a JSONObject Apr 17 14:12:54 kifst: yep that's exactly what it enables you to do. you can expose java methods through this javascript interface, which you can then call from your javascript Apr 17 14:13:15 :( Apr 17 14:13:37 coco89: oh im sry. the above answer was meant for you Apr 17 14:13:45 coco89: of course. you can put and get multiple values from a JSONObject Apr 17 14:14:03 MrMaffen: what i am looking for is slightly different; being able to run javascript code initiated from within the java code (ie, the other direction) Apr 17 14:14:35 MrMaffen, ah okay, thanks :) Apr 17 14:15:50 kifst: just create a WebView, call loadDataWithBaseURL(...) to push your scripts in there, and then you can call your javascript functions with a simple call to loadUrl(...) Apr 17 14:15:59 kifst: ofc it works both ways Apr 17 14:16:03 FrancescoV: right, a ListView. Apr 17 14:16:28 lov: tnx :) Apr 17 14:16:36 coco89: sure :) Apr 17 14:17:19 MrMaffen: thanks.. i knew it would work both ways, just wasn't sure how. Will look into loadDataWithBaseURL. Apr 17 14:17:34 does any body know how to use filter intent for matching android.intent.action.VIEW with android:pathPattern without using the ugly .*..*..*..*..*.eml syntax? Apr 17 14:17:45 kifst: you basically load a html file in there with you javascript scripts in