**** BEGIN LOGGING AT Mon Aug 10 02:59:57 2009 Aug 10 03:49:19 Can anyone help me with loading a xml document from say here getResources().getXml(R.xml.myxmldoc) into a DocumentBuilder. Im trying to extend a base adapter for a ListActivity that allows the user naviagte though the xml. the xml I loading has a tree I need the users to navigate though. Aug 10 03:51:21 So Im extending a base adapter that I want to hold the DOM and update the list View as the user selects the xml parent nodes with that parents xml children. Aug 10 04:03:29 In otherwords does anyone know how to get a compile time xml resouce ( or embedded xml resource file) into a DocumentBuilder. I know getResources().getXml returns an xmlpullparser but I cant seem to get any of those into a DocumentBuilder and I cant see anyway to open the resource as a file. Aug 10 05:01:07 anybody out there Aug 10 05:01:28 no. Aug 10 05:01:38 just ask, someone will answer sooner or later, or possibly never Aug 10 05:25:46 who's bored and wants something to do? Aug 10 05:27:04 not me Aug 10 05:27:16 aight Aug 10 05:27:25 did u make the lyrics on the widget yet? Aug 10 05:27:25 lol Aug 10 05:27:37 heh, nope Aug 10 05:27:44 pshh Aug 10 05:27:45 maybe one day Aug 10 05:27:49 gotcha. Aug 10 05:27:58 for ad-free users only Aug 10 05:28:16 well u haven't even started making it yet haha Aug 10 05:28:51 it's on our list Aug 10 05:29:10 word Aug 10 05:29:16 the nature of software though....it's really easy to make lists of stuff to do, takes forever to do them Aug 10 05:31:03 true, true. Aug 10 06:09:48 Does anybody in here know about data networks? Aug 10 06:10:01 I'm worried that my service is being blocked or manipulated by the telcos Aug 10 07:07:38 anybody selling on android market ? how much does google take in fees etc. ?? Aug 10 07:14:26 Hi, I am trying to compile skia on ARM platform and I get this error. Aug 10 07:14:26 /tmp/cctHQaX1.s: Assembler messages: Aug 10 07:14:26 /tmp/cctHQaX1.s:167: Error: selected processor does not support `smulbb r3,r2,r3' Aug 10 07:14:26 Can someone help me resolve this error please? Aug 10 07:46:58 is it possible to detect whether the app is running on an emulator or on a real device Aug 10 08:13:42 which approach is best for a developing a full screen view eg for a game ? deriving from View or SurfaceView ? Aug 10 08:14:08 it depends on what you want to achieve Aug 10 08:14:13 for performance you'll want SurfaceView Aug 10 08:57:28 ive seen it before, i just can't remember what it is.. i essentially want a list view with headers. Aug 10 08:57:31 what do you call that ? Aug 10 08:59:18 http://developer.android.com/reference/android/widget/ListView.html <-- isee an option to apepar "at the top of the list" Aug 10 08:59:21 which isnt what i want Aug 10 09:02:57 hmm jsharkey blogs about it http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/ Aug 10 09:03:13 * wmealing ponders why this didnt hit upstream Aug 10 09:12:13 Hi all Aug 10 09:27:33 * wmealing throws things Aug 10 09:27:58 hi all Aug 10 09:32:23 wmealing: eclipse problems? Aug 10 09:37:32 hi all Aug 10 09:37:45 you already said that Aug 10 09:38:09 ok i got disconnected ;) Aug 10 09:38:15 :) Aug 10 09:38:15 and i'm noob on IRC Aug 10 09:38:17 soory Aug 10 09:38:24 np, just messing with you Aug 10 09:39:50 is channel dedicated to guys who develop contribute android or android apps developper or both ? Aug 10 09:40:13 mostly for android app developers Aug 10 09:40:24 ok thanks Aug 10 09:40:56 it's more funny than posting on google groups Aug 10 09:41:17 more interactive anyway i'm a kind of private google evengelist here in france Aug 10 09:41:29 cool Aug 10 09:42:22 is it ok we can submit to the android market Aug 10 09:42:28 the aps for ADC2 ? Aug 10 09:42:31 no Aug 10 09:42:45 I think you aren't eligable for ADC2 if your app is on the Market Aug 10 09:42:48 i suspect there will be a form to apply especially for ADC2 later in the month ? Aug 10 09:43:11 sorry for my frenglish Aug 10 09:43:12 must not have previously been publicly available through the Android Market prior to August 1, 2009. Aug 10 09:43:24 what i can read on http://code.google.com/intl/fr/android/adc/adc2_terms.html Aug 10 09:43:57 i'm completly lost with the procedure to follow if you confirm we can't submit for now :( Aug 10 09:44:19 ahh Aug 10 09:44:29 sorry, haven't been following it that closely, don't know all the details Aug 10 09:44:40 no pb zhobbs Aug 10 09:45:13 i would like to have a kind of virtual joystick wigdet instead of having direction button Aug 10 09:45:15 s Aug 10 09:45:23 do you know if that exists Aug 10 09:45:46 or have to implement one ? Aug 10 09:45:51 ;) Aug 10 09:46:22 never seen one Aug 10 09:46:52 ok thought that ;) Aug 10 10:01:31 i'm wondering why my eclipse debug mode is really slow debugging my android app while in running mode it is pretty fast Aug 10 10:01:51 i'v a 4 core PC Aug 10 10:02:13 so the plan B for me it is to use logcat and android util Log function Aug 10 10:02:19 but not easy Aug 10 10:02:34 i don't know if it exist and option to tune or somthing Aug 10 10:45:24 vous avez lu ce test du hero Aug 10 10:45:26 http://www.google.fr/reader/view/#stream/feed%2Fhttp%3A%2F%2Fwww.journaldugeek.com%2Fatom.php Aug 10 10:45:38 c'est bon pour Android en france ça... Aug 10 10:49:03 After translating a view with an animation wich has android:fillAfter="true", why the "onclick" action isnt avaible anymore, we have to click on the position the view were before the animation... any solution ? Aug 10 10:49:28 sorry I post in bad channel Aug 10 11:04:49 it seems like some of the content in my textview get's clipped by the windows system (eg. not drawn) before it decides to draw in two lines Aug 10 11:05:12 eg the last one or two letters in each line does not get drawn Aug 10 11:05:28 any advise for this ?? Aug 10 11:17:55 ok got the solution, thx. Aug 10 13:37:30 im creating a custom dialpad component based on TableLayout.. when i use this component and switch to the Layout view in eclipse i get a huge stacktrace originating from a nullpointer exception. http://pastebin.com/d10cad272 is my component class Aug 10 13:39:12 the app runs without problem... im just a bit worried about that exception in the "design" view Aug 10 13:41:09 c0dem4gnetic_: what if you clean/build your project, still the same issue? Aug 10 13:41:21 hm you say it runs fine on the device, but still stacktraces in the editor... Aug 10 13:41:44 yup, still the same issue Aug 10 13:41:44 also, the issue could be in your layout XML file Aug 10 13:50:02 nah, in at a complete loss here :) Aug 10 14:08:42 this best place to learn how to create 3d cubes http://www.anddev.org/viewforum.php?f=2 or anyone have other sugestions Aug 10 14:40:43 if i have a bunch of oversized images in a tablerow, how can i scale them to fit? .. was hoping for a percentage value or somesuch Aug 10 14:41:01 so if i have 4 images, their widths would be 25% and all would be well :) Aug 10 15:23:14 anybody awake? Aug 10 15:23:18 no Aug 10 15:25:28 o/ Aug 10 15:29:23 Do you guys know about data networks? Aug 10 15:29:27 I released a BitTorrent client Aug 10 15:29:34 and I think the traffic may be being fiddled with in some areas Aug 10 15:30:49 if the carriers don't poop immediately when you try and use bittorrent on your phone, I'll be surprised Aug 10 15:31:09 but yes, major telcos are known for performing "traffic shaping" with bittorrent Aug 10 15:31:27 comcast going so far as to inject spoofed RESET packets to kill your connections Aug 10 15:31:34 traffic is fiddled everywhere. Aug 10 15:32:01 * wmealing has quota on his phone so i wont BT on it Aug 10 15:36:29 I have unlimited dataplan Aug 10 15:36:33 and data transfer works fine here Aug 10 15:36:36 much better on wifi Aug 10 15:36:41 but somepeople are saying they're getting nothing Aug 10 15:41:38 the eff has a tool to test your connection for that kind of stuff Aug 10 15:44:16 I have a widget that just retrieves and shows some info at an interval.. I want that interval to be configurable, but I dont want a fullscreen activity just for that choice.. is there a way I can make an activity that looks like a Dialog (with predefined interval options) Aug 10 15:46:38 Rexxars you can make an activity look like a dialog Aug 10 15:46:56 I think in the manifest you define the theme for the activity to be be Dialog Aug 10 15:47:24 you are still launch a full blown activity but will look like its not :-) Aug 10 15:52:16 gauntface: thanks a lot :) Aug 10 15:54:55 no problem :-) Aug 10 15:55:06 I try and help where I can Aug 10 15:57:14 I don't understand why someone would BT on their phone anyway :-P Aug 10 15:57:45 quickest way to kill your a) battery b) sd card c) phone performance Aug 10 16:02:50 cliftstah although a BT client to control your comp at home would be good Aug 10 16:03:09 hi everyone Aug 10 16:03:39 do the current android phones equipped with a PowerVR GPU (e.g. Tmobile G1) support the PVRTC texture compression? Aug 10 16:08:50 hi guys, anyone knows any good & proven methods to make hackers' life *very* hard? Aug 10 16:10:19 pskink: yeah, turn off the computer/device. Aug 10 16:10:26 pskink, put as much logic in native code as possible and don't build with debugging symbols? Aug 10 16:11:49 are the API samples not available in the 1.5 emulator image? Aug 10 16:12:12 Rexxars, they're with the SDK--just import into eclipse and run it Aug 10 16:14:39 KNY: ah, thanks :) Aug 10 16:22:36 With the api's, if they come in C or C++, what would be the best way to implement them in an Android app? using the native SDK or can I wrap them with Java interface and use them in the standard SDK? Aug 10 16:23:11 does anyone here know if android on the G1 supports PVRTC texture compression (PowerVR TC, e.g. like on the iphone) Aug 10 16:23:22 gauntface, unless it's documented on d.android.com you don't use it. Aug 10 16:24:17 KNY you mean don't use the api? I think I'm getting confused with something then, I meant like making use of say a flickr api Aug 10 16:24:56 gauntface, flickr definitely has other APIs you can use :) but if you're using a C/C++ API then yeah, just write a JNI wrapper around it Aug 10 16:25:08 Rapp: no idea, sorry Aug 10 16:26:28 okies kool, I have no idea about JNI's but I dont need to do anything atm just wondered - Im sure the need will crop up soon Aug 10 16:33:40 anyways byee all Aug 10 16:37:33 Hi all: if my app runs on Android 1.1, it could partecipate to ADC2? Eligibility Section says that apps must run on Android 1.5 but android 1.1 app also run on 1.5. Aug 10 16:38:01 salentinux, unless you're using private APIs or something, it should work. Just build it against the 1.5 SDK Aug 10 16:39:16 ok tnks Aug 10 16:43:23 is it possible to have an application always running? Aug 10 16:43:27 without being a widget? Aug 10 16:43:38 birgerb, you mean like a service? Aug 10 16:44:10 if i have a custom component MySuperComponent should I not be able to define its layout in layout/mysupercomponent.xml? Aug 10 16:44:58 KNY: i don't know, what i specifically want to do is trigger actions on system events (ie. battery level, network coverage etc) Aug 10 16:45:20 http://d.android.com -- read about services Aug 10 16:45:38 cool, thanks Aug 10 16:52:45 Which is the best method to make a trial version of an app/game? Aug 10 16:53:41 cripple the trial version somehow Aug 10 16:53:46 cap the number of levels, or something Aug 10 16:55:30 salentinux, take a look at robo defense. I think the developer used one of the more successful methods Aug 10 16:56:08 robo defense? where is it? Is downloadable from the market? Aug 10 16:56:11 If you're super concerned about piracy, work in some sort of licensing scheme. Aug 10 16:56:15 salentinux: yes Aug 10 16:56:24 Yes, it's int he market, both a trial and full version Aug 10 16:56:32 I think the trial version is called "free" Aug 10 16:56:45 as opposed to demo or trial Aug 10 16:57:00 hehe, it would be so trivial to crack these apps given JF's dex decompiler. Aug 10 16:57:21 seriously, forget about piracy Aug 10 16:57:47 at the price apps get out, people who use pirated versions would never buy the application anyway Aug 10 16:57:54 yes, it's not a problem you can solve :) Aug 10 16:58:49 considering I had people make the 3mn download->refund dance for 0.99c apps, there is seriously no point in worrying Aug 10 16:59:24 neither is there really a point in making a demo version, considering most people take advantage of the VERY lax market conditions permitting refunds for the first 24 hours Aug 10 16:59:54 it's wasted time and work Aug 10 17:01:10 plus, mobile developers make their money from critical mass, and piracy is not likely to be that significant on the whole Aug 10 17:02:11 well im not sure that i agree Aug 10 17:02:28 some games can take a little while to see just how absurdly addictive they are Aug 10 17:02:30 sammyF: I have to disagree as well Aug 10 17:02:38 *shrug* I *can* get any app I want without paying. Yet, I still pay for apps I appreciate. Aug 10 17:02:40 I'll pick up the demo of something to see if it's worth my time/money Aug 10 17:02:47 so 1 or 2 plays just isnt enough. if the game is like that, a demo version might be beneficial to the developer. Aug 10 17:02:49 of course, for $2 apps, I may just buy it if someone says "hay this is good" Aug 10 17:03:04 Abduction i think is a good example. theres lots of gameplay in the demo version that you play for several days until you realize that you dont want to stop playing it :) Aug 10 17:03:08 hay this is good Aug 10 17:03:17 buy, and multiply, my son Aug 10 17:03:20 ;p Aug 10 17:03:29 Though I prefer to donate to developers who make apps I appreciate, free Aug 10 17:05:41 If you make a full-featured demo, then people don't feel they're getting something more when they pay for it. So they look to get it for free Aug 10 17:06:02 If you make an overly crippled demo.. they may get frustrated or just look to get the full version free Aug 10 17:06:13 Striking a balance seems best Aug 10 17:06:56 Anyone got portuguese locale on his emulator or ADP1? Aug 10 17:07:25 I'm thinking to split my game in two version, the trial one that will be free with 2 or 3 levels and the full with 50 or more. Aug 10 17:07:44 thanks all Aug 10 17:08:33 Last question: How to submit an app to the ADC2? Aug 10 17:11:11 languish: striking a balance sounds good in theory, but sadly mileage between users variy greatly Aug 10 17:13:03 languish: besides, people will happily pay 10$ for a game for windows, but recoil in horror at the thought of paying 99c for a similar game for their phone. basically, people are a problem Aug 10 17:13:42 sammyF: did you try admob? Aug 10 17:14:10 ezome: no. that's what you used for zilch? Aug 10 17:14:19 yep Aug 10 17:14:36 ezome, how much do they pay? Aug 10 17:14:47 sammyF, it's not that people are a problem. It's what you choose to develop that should appeal to the paying market Aug 10 17:14:49 depens on the type of ad Aug 10 17:15:27 ezome: applied at handango, and got the conditions today (you only get the conditions if they are okay with selling your applications). Not sure it's worth it Aug 10 17:15:28 for example: all phones 0.01, android only 0.03 US only 0.10 Aug 10 17:15:28 sammyF: usually because $0.99 cell phone games are godawful j2me ports, until lately Aug 10 17:15:50 also, salentinux, I'd make it 10 levels free, 50 levels full Aug 10 17:16:01 you want give more than a sampler, you want to get people hooked :) Aug 10 17:16:24 if you're particularly devious, you'll display level 11, but provide the "oh no! your trial has run out!" dialog overtop Aug 10 17:16:30 sammyF, knowing that some functions that don't exist in android (and you'd expect people would want them) you'd naturally develop them as an app and want to make money from it. However, if it's a function or feature people are used to getting for free on their desktop OS, then they won't see the value in paying for it Aug 10 17:16:32 languish: lol .. yeah, but I'm not much into coding fart applications :P Aug 10 17:16:36 people will go "asofhaop92rmra fine I'll buy it" Aug 10 17:18:15 It's not easy guessing what will sway people to pay, but there're some fine examples of what people won't pay for Aug 10 17:19:14 Logic doesn't always apply to creating desire :) Aug 10 17:21:57 The real hurdle you have comes from developers creating "good enough" apps with similar features to pay apps, as they improve their own skills, build a brand/name for themselves, or work on open source (which is not a bad thing :) Aug 10 17:23:39 I read on newsgroup that apps cannot be submitted to the ADC2 yet. When this could be done? Some rumors? Aug 10 17:28:14 salentinux, seeing as how submissions are due before August 31st, if you cannot proffer submissions now, you should be able to soon. Read through the adc2 site to see what you need to do to submit, and try anyway. Aug 10 17:29:14 salentinux: they should be able to. Aug 10 17:29:29 I think it was that you could not submit apps that were available on the market before aug 1 Aug 10 17:36:17 Is anyone else's eclipse taking up massive amounts of memory when developing android apps? like 2g virtual and 0.5 to 1.5 gig resident? Aug 10 17:39:33 eclipse is pretty hungry Aug 10 17:39:36 but that sounds a little high Aug 10 17:39:57 mine is taking up about 140MB Aug 10 17:40:05 <_Auron_> mine has taken up as much as 300MB Aug 10 17:42:47 sounds like emacs :-) Aug 10 17:43:28 <_Auron|G1_> SammyF: tried Stroids yet? I forgot if you have or not. Aug 10 17:44:07 _Auron|G1_: no, not yet :) Aug 10 17:44:26 you released it already? Aug 10 17:44:32 <_Auron|G1_> last monday morning Aug 10 17:46:15 stroids ftw Aug 10 17:46:45 installing :) Aug 10 17:46:59 <_Auron|G1_> cool Aug 10 17:51:04 _Auron|G1_: may I make a suggestion? Aug 10 17:52:03 _Auron|G1_: add touchscreen support for the menues, and handle the BACK key in the menues too Aug 10 17:52:18 _Auron|G1_: apart from that : it looks really cool :) Aug 10 17:52:24 <_Auron|G1_> 1.0.3 will have both later today or tomorrow Aug 10 17:52:42 <_Auron|G1_> already coded in the BACK support Aug 10 17:52:42 _Auron|G1_: :) Aug 10 17:53:00 _Auron|G1_: really just a minor gripe Aug 10 17:53:03 _Auron|G1_, do enemies still spawn on top of you? Aug 10 17:53:11 <_Auron|G1_> KNY: ? Aug 10 17:53:22 KNY: didn't have that right now Aug 10 17:53:38 <_Auron|G1_> sitting in a corner is cheap Aug 10 17:53:48 _Auron|G1_, it was in that email I sent you a while back. Go stay on the edge of the screen--eventually an asteroid will drift in on top of you Aug 10 17:53:51 heh Aug 10 17:54:08 I did have slight slowdowns, but considering the hw ... Aug 10 17:54:14 <_Auron|G1_> may need to adjust the asteroid spawning but that's kinda hard. Aug 10 17:54:45 also, the headphones (forget the actual name) spawn much too close sometimes--you can't kill them all before they start moving and kill you Aug 10 17:55:20 <_Auron|G1_> because the asteroids spawn offscreen and move inscreen, there's no guarantee that the player won't move to an edge after it spawns Aug 10 17:55:45 <_Auron|G1_> KNY: beat, and okay. I can adjust the distance a bit Aug 10 17:55:48 _Auron|G1_: I don't know how easy it would be to code, but you could add a KNY-mode : if the player stays for too long on the edge of the screen, the ~camera~ moves to center him again Aug 10 17:56:01 heh Aug 10 17:56:19 have a big flashing "KNY mode Engaged" appear too when you recenter :P Aug 10 17:56:45 <_Auron|G1_> SammyF I was thinking of doing a scrolling screen bit but decided not to Aug 10 17:57:41 <_Auron|G1_> though adding such a feature could be quite easy if I played my cards right Aug 10 17:58:09 <_Auron|G1_> if glViewport works the way I think it does Aug 10 17:58:43 <_Auron|G1_> actually psh, don't even need to do that. Aug 10 17:59:54 2PM and I didn't eat anything .. bbl Aug 10 18:06:06 lov, Auron: eclipse generally takes up 300-500 resident for me, but sometimes when I'm doing certain things (perhaps working with layouts) it climbs to over a gig resident. It almost always takes at least 1.5g virtual, but that could just be the way java works on OS X, I dunno Aug 10 18:07:19 o_o Aug 10 18:07:32 yeah, that sounds awful high Aug 10 18:09:17 emmby: 232RES/949VIRT here ...I think it works similarly in linux ;) Aug 10 18:09:37 i can't quite figure out what's causing the massive memory use in eclipse. need to do some more controlled experiments, but simply opening and closing the layout editor doesn't seem to do it by itself Aug 10 18:10:37 emmby: close your projects, then close eclipse. Aug 10 18:10:40 then open it again, see how much mem Aug 10 18:13:06 with no projects open it's about 140m res / 1.3g virt Aug 10 18:14:37 looks like it's somewhere around 325m res / 1.4g virt once i open my project Aug 10 18:16:00 hm, i wonder if the logcat view is holding onto all of its memory. i am generating a lot of logs Aug 10 18:22:13 emmby: that cannot possibly be the cause of a gig of memory Aug 10 18:22:27 eclipse is a noted memory hog Aug 10 18:22:32 doesn't seem to be after doing a little testing Aug 10 18:22:56 i don't mind it hogging memory, but i don't like my memory to keep climbing to nearly two gigs resident Aug 10 18:29:21 in what package is the android sms application? Aug 10 18:33:53 packages/apps/Mms Aug 10 18:34:08 ctate, thanks Aug 10 18:43:46 ctate: do you know anything about portuguese locale support in android? Aug 10 18:47:32 ezome: very little. i am pretty sure someone sells a Portugese-localized Android phone these days, but that's about it. Aug 10 18:48:54 i'm trying to test my portuguese translation but it seems to be missing on the r3 emulator... everything else is there... spanish, chinese, japanese... thats why i'm asking Aug 10 18:49:14 oh, in the SDK? that i have no idea. Aug 10 18:49:17 besides the android market alows to add portuguese descriptions Aug 10 18:49:47 do you know a way to add languages to the adp1? Aug 10 18:50:32 add them to the framework and rebuild the system. Aug 10 18:50:37 omg Aug 10 18:51:01 i don't think the OS yet supports adding translations on the fly Aug 10 18:51:15 Hey all, was wondering if someone had an idea why this is happening...whenever running my application on an emulator, or even trying to run the emulator by itself, I see in the logs that it is indeed running and working normally, but I see no emulator window. Any ideas? Aug 10 18:51:26 k i'll guess i'll wait for r4... thanks anyway Aug 10 18:51:56 Flashpass: what OS? Aug 10 18:52:02 herriojr: WinXP Aug 10 18:52:25 I haven't experienced anything like that in XP, so I don't know Aug 10 18:53:32 Hmm, could it be trying to run the emulator in a tab view rather than a separate window? And I am just not showing the tab? Aug 10 18:54:22 Flashpass: the emulator always runs in its own process, not in eclipse Aug 10 18:54:39 Flashpass: you could always start it via command-line and see if you get any issues Aug 10 18:57:22 i am having problems with this tutorial http://www.anddev.org/colored_3d_cube-t4.html it say that import android.graphics.OpenGLContext; cannot be resolved .. as i can see OpenGLContext dont seem to be there anymore, http://developer.android.com/reference/android/graphics/package-summary.html what can i use instead ? or is tehre beter tutorial ? Aug 10 18:58:32 how can i get access to the android framebuffer from a c++ program? Aug 10 18:59:48 w00t Aug 10 18:59:53 rooting my magic had another advantage Aug 10 18:59:57 youtube app :D Aug 10 19:00:04 for some reasons belgians didnt get that.. Aug 10 19:00:51 because youtube is only for the US, duh Aug 10 19:01:10 herriojr: thanks, running it via command line worked (btw, you are able to run the emulator in a tab view with some wrappers/plugins, i.e. the moto dev studio) Aug 10 19:01:16 well Aug 10 19:01:25 explain me how it ended up on an european rom :p Aug 10 19:01:33 only thing changed was that it got rooted Aug 10 19:01:59 its even translated in dutch Aug 10 19:02:02 I have a TabWidget, one of the tab has 5 buttons. However, the 5 buttons are loaded one at a time (each time clicks the tab, one button appears). Could anyone point me to the right direction? Aug 10 19:02:06 dont think they speak that in the us right? :p Aug 10 19:06:21 there's at least one person from the Netherlands on the Android team Aug 10 19:06:59 Flashpass: are you talking about the Android emulator or J2ME emulators when running in tab view? Aug 10 19:07:16 herriojr, yes Aug 10 19:07:35 herriojr, Android emulator Aug 10 19:07:51 zinx: it would be awesome if the localized versions were dutube.com, voustube.com, etc. Aug 10 19:07:56 skyred: hmm, I didn't know motorola had out a developer plugin for android Aug 10 19:08:29 herriojr, never mind Aug 10 19:09:25 skyred: you're right, I just never saw it before Aug 10 19:18:21 im trying to run the MMS application in Eclipse so I make a new project with existing sources. This works, except eclipse complains about missing files like this: Class com.android.mms.ui.AddAttachmentActivity does not exist Aug 10 19:18:35 a find on the complete checked-out source gives me nothing Aug 10 19:18:59 am I mixing up versions here? Aug 10 19:19:10 sounds like maybe you are Aug 10 19:20:01 what is a good way to edit the MMS application then? When i just check out the git repo and import it, that is what i get Aug 10 19:20:28 which git repo? Aug 10 19:21:00 git://android.git.kernel.org/platform/packages/apps/Mms.git Aug 10 19:21:13 sorry, which branch? Aug 10 19:21:53 latest i guess. how do i check out a stable branch? Aug 10 19:22:38 i dunno; i don't work with the OSS repository :( Aug 10 19:22:56 I guess there is no API to write an sms entry into database? So I need to do that on my own? Aug 10 19:22:58 and the guy who does the most there is at lunch right now Aug 10 19:23:19 Phlogi_: you're writing your own SMS app? Aug 10 19:23:24 herriojr: Ah ha, the dev studio added command option to my build configuration '-no-window' Aug 10 19:23:39 ctate: not really, I have an existing small tool that allows to send sms with a custom gateway (over http) Aug 10 19:23:48 and now it would be cool to have those sms added to the sent ones... Aug 10 19:23:53 I mean to the conversation Aug 10 19:24:19 the better way would be to make the mms app using my gateway... but I didn't see any way without hacking the app... I don't want thta Aug 10 19:24:25 mhm Aug 10 19:25:39 wow that sqlite manager for firefox rocks :D Aug 10 19:27:49 hmm I would need to find the correct thread for this... based on the mobile phone number I'm sending to Aug 10 19:28:53 looks like that is stored in canonical_addresses Aug 10 19:29:04 so it would be possible to craete a hack :) Aug 10 19:44:07 xavd ? Aug 10 19:44:54 yes? Aug 10 19:45:15 i wonder if i can make a feature request Aug 10 19:45:21 http://s3.amazonaws.com/scrnshots.com/screenshots/187658/screenshotpng Aug 10 19:45:34 yes? Aug 10 19:45:40 it would be nice if we can set the title for the emulator Aug 10 19:46:02 window title? Aug 10 19:46:17 if you look at the screenshot, i set title for my console but i can't do that for emulator or i don't know how to do that Aug 10 19:46:19 yeh Aug 10 19:46:37 ah yeah Aug 10 19:46:48 hmm so the emulator title is made up of the AVD name + the port Aug 10 19:47:03 if it requires a bit of coding and if u don't have time Aug 10 19:47:07 clearly that should be in the beginning of the name so that it's visible in the bar at the bottom Aug 10 19:47:13 how about port+ AVD name Aug 10 19:47:27 yeah that's probably the best. Aug 10 19:47:28 so we can differentiate them easily Aug 10 19:47:39 easy to change (easier than making it customizable) Aug 10 19:47:45 thx for listening :) Aug 10 19:47:47 np Aug 10 19:55:49 hi, when using eclipse's 'Export Unsigned Application Package' - how the plugin builds .apk in terms of debug settings? does it run eclipse internal java compiler without debug settings or just uses my bin folder and classes already compiled? Aug 10 19:56:45 is WakeLock.acquire() thread safe? Aug 10 19:57:49 with reference to WakeLock.setReferenceCounted(true) Aug 10 20:07:30 what permission does my app need to be able to read/write from the mms sms app db? /data/data/com.android.providers.telephony/databases/ Aug 10 20:11:29 Phlogi_: it should tell you in the error that was thrown, and you can also find it at http://developer.android.com/reference/android/Manifest.permission.html Aug 10 20:12:23 herriojr: ah ok... thats a way to find it out, but it should be possible? Aug 10 20:13:07 Phlogi_: depends on how literal I take your question...you can't directly write to the DB but instead you have to go through the ContentProvider Aug 10 20:13:34 technically that isn't "the mms sms app db," it's the telephony ContentProvider's db Aug 10 20:13:49 access to it is via the ContentProvider Aug 10 20:14:42 herriojr: wake locks are refcounted by default, and yes acquire() is threadsafe Aug 10 20:14:43 ctate: so I did a lot of testing of Services this weekend to see what exactly I experience in different situations Aug 10 20:15:01 yeah? Aug 10 20:15:54 ctate: yeah, so I should have to bug you anymore about it :) Aug 10 20:16:12 should there be a "not" in there somewhere? ;) Aug 10 20:16:32 I hope so :) Aug 10 20:21:26 herriojr: yes looking at content provider Aug 10 20:22:39 anyone have any experiance with 3d, i have sucessfully displayed a multicolored cube on my device but i need apply diferent bitmap to each side ? Aug 10 20:23:18 I can0't find anytthing from mms stuff though Aug 10 20:23:32 i can't any tutorials on that =( Aug 10 20:24:22 fanno: it is OpenGL, look at OpenGL tutorials (probably nehe.gamedev.net) Aug 10 20:25:08 Phlogi_: what exactly are you trying to accomplish? Send and/or receive Sms? Aug 10 20:25:21 herriojr: insert sms Aug 10 20:25:31 and read the latest 5 conversations or so Aug 10 20:25:43 I mean get the numbers/names from them Aug 10 20:27:45 Phlogi_: so you're trying to fake receiving an Sms? Aug 10 20:28:01 how can i get access to the android framebuffer from a c++ program? Aug 10 20:28:03 herriojr: kind of yes... I want to add a sent sms Aug 10 20:28:31 Phlogi_: do you know how to read ContentProvider code? Aug 10 20:29:32 herriojr: don't think so... you mean because its not documented? Aug 10 20:30:07 yeah, and it looks like it may not allow you to insert, but I'd have to look further into it, and I don't have the time for it at the moment Aug 10 20:31:20 anyways, if you want to try and read through it, the code is at http://android.git.kernel.org/?p=platform/packages/providers/TelephonyProvider.git;a=tree Aug 10 20:31:23 herriojr: can you link me the file... I'll try to understand it... Aug 10 20:31:28 ah there I go Aug 10 20:31:46 herriojr: what if I just write directly into the db? I know its a bad idea... but would that be possible? Aug 10 20:31:57 nope Aug 10 20:32:31 you always have to go through a ContentProvider interface to access a DB provided by another application unless you can get your application signed by the other application and share the user id Aug 10 20:32:50 so, no, you can't directly access the database Aug 10 20:33:56 or my app needs root access Aug 10 20:34:49 no, you have to go through the content provider. Aug 10 20:34:57 even if you have root access Aug 10 20:35:16 the whole point of a contentprovider is to coordinate multiple clients accessing the underlying data Aug 10 20:35:35 if you try to circumvent that, you'll just cause data integrity problems Aug 10 20:36:01 I can call startActivity for MyDialog if I call it from my Launcher Main Activity but it crashes with Null Pointer Exception if I call it from other activity. e.g. "Launcher Activity"->"Engine Activity"->"MyDialog" http://pastebin.com/m650b37b7 I wonder if it has something to do with the android:launchMode . I have assigned Engine Activity: SingleTask and MyDialog:SingleTop but it still crahses. Aug 10 20:36:24 ctate: hmm ok... so I can forget that for now :)... but I should be able to get the latest 5 conversations Aug 10 20:40:05 hmm anyone knows how to do that? Aug 10 20:45:20 anyone? Aug 10 20:50:05 hmm my layout must be in main.xml right' That file has just a basic stuff in it now... Aug 10 20:50:15 why does the layout still look ok though Aug 10 20:50:48 well, it can be named anything .xml Aug 10 20:51:09 you just pass the right thing to setContentView() Aug 10 20:59:21 has anyone been hacking on a standard android application? im trying to edit the mms application but im having trouble setting up a working environment Aug 10 21:00:57 ctate: found it down in the file... so many empty lines were in there :D Aug 10 21:02:55 Hmm, actually, whoever was talking about make: execvp: /bin/bash: Argument list too long Aug 10 21:03:01 I'm getting the same problem trying to build cupcake Aug 10 21:03:26 in a linear horizontal layout I want a button near a text field... I use another linear layout there, just horizontal, right? Aug 10 21:04:21 Phlogi_: if your layout starts getting complex, use a RelativeLayout Aug 10 21:04:41 herriojr: its not... its so simple.. but somehow it gets messed up **** ENDING LOGGING AT Mon Aug 10 21:05:15 2009 **** BEGIN LOGGING AT Mon Aug 10 23:46:19 2009 Aug 10 23:47:21 Phlogi: yes. Aug 10 23:47:29 spinners use adapters, and adapters are flexible. Aug 10 23:47:53 jasta: ah I need to do this on the adapter of course.. Aug 10 23:47:59 think carefully about the design and im sure youll see how to do it Aug 10 23:48:29 jasta, looks like your script is working, but when i want to install the program it still asks if i really want to overwrite the system app Aug 10 23:48:36 am i overlooking something? Aug 10 23:49:26 jasta: looks like I pass my two arrays as a list or I should work with a list from the beginning... and then use that list for the adapter Aug 10 23:53:14 Phlogi: or, you could just extend BaseAdapter and implement whatever data structure you want Aug 10 23:53:18 is there a way to detach a running app from the debugger without closing is? Aug 10 23:53:27 for instance, you could have a int[] array and String[] array with aligned indices. Aug 10 23:53:45 your adapter getItem would yield a value from the String array, getItemId from the int array Aug 10 23:53:53 or rather youd probably want getItemId to return a long, but you get the idea. Aug 10 23:54:08 yes definately Aug 10 23:54:10 also note that a CursorAdapter (for example SimpleCursorAdapter) would do something very similar for you Aug 10 23:54:15 if you happened to be using a cursor Aug 10 23:54:38 ezome: yes, if debugging with eclipse just right click the process and say detach Aug 10 23:55:27 erikwt: then you didnt do something right. Aug 10 23:55:32 erikwt: did you modify the script like i told you to? Aug 10 23:55:34 jasta: where? on the devices tab at ddms? Aug 10 23:55:48 ezome: no, in eclipse if eclipse is your debugger Aug 10 23:56:01 its in the debugger itself where this detachment would occur Aug 10 23:56:12 jasta: thanks again, I'm going to bed :) later Aug 10 23:56:13 jasta: i meant the ddms plugin of eclipse Aug 10 23:56:20 ddms is not a debugger, it is facilitating a debugger to connect to android. Aug 10 23:56:23 eclipse is the debugger Aug 10 23:56:28 so go to eclipse's debug perspective and detach Aug 10 23:57:07 jasta: awesome thanks alot :) Aug 10 23:58:05 jasta, sorry i copied the wrong apk, thanks for the great script! Aug 11 01:09:34 sigh, rebooting my workstation to move it :) Aug 11 01:09:37 later all Aug 11 01:09:56 cya Aug 11 01:38:39 are there many differences between the sun 1.5 jre and the android jre? Aug 11 01:38:55 im asking cus i want to port some libraries Aug 11 01:58:51 How do I disable screen rotation for my app? Aug 11 02:01:45 doh, nm... finally turned something up on google :-p Aug 11 02:02:01 savid, android:orientation="vertical" Aug 11 02:02:07 in your layout Aug 11 02:03:18 Queue29, thanks :) Aug 11 02:59:36 hey guys Aug 11 02:59:41 can i use AWT with android apps? **** ENDING LOGGING AT Tue Aug 11 02:59:57 2009