00:00.00 | npelly | no |
00:00.09 | yxz97 | hey! |
00:00.44 | yxz97 | Which good book about android, recomends me ? |
00:00.50 | yxz97 | recomendation |
00:01.00 | yxz97 | Advise me ? |
00:02.08 | yxz97 | npelly, humm ??? |
00:02.45 | herriojr | heat: so if they plan on not supporting it, then I need to find another way of doing it since it will probably be completely removed |
00:03.11 | yxz97 | sad of me :S |
00:05.02 | herriojr | yxz97: I'd just use the android documentation |
00:06.41 | yxz97 | herriojr, yea, probably its the better way.. |
00:07.03 | yxz97 | but sometimes is good follow a "Good Book" to get a more general overview about the technology. |
00:07.12 | yxz97 | herriojr, the bug picture |
00:07.16 | yxz97 | herriojr, the big picture |
00:07.29 | herriojr | I've found that most books don't give a *big* picture or really give you anything useful |
00:07.39 | herriojr | at least that's how it is for me |
00:08.21 | yxz97 | where are you from ? |
00:09.05 | herriojr | I'd go to plusminus's site to learn stuff |
00:09.38 | herriojr | http://www.anddev.org/ |
00:09.51 | herriojr | well, I don't know if it is really his site, but he posts a lot of tutorials there |
00:10.45 | herriojr | and it will save you money ;) |
00:10.51 | yxz97 | herriojr, http://www.plusmin.us/ |
00:10.58 | yxz97 | is like mnusic, ??? what ? |
00:11.35 | herriojr | go to the link I gave you |
00:11.42 | herriojr | not the one you searched for ;) |
00:11.47 | yxz97 | yea I'm in Thank you heat |
00:11.49 | yxz97 | yea I'm in Thank you herriojr |
00:11.53 | yxz97 | sorry heat |
00:12.37 | chouman82 | hey heat do u know why the onItemSelectListener is taken out for Spinner? |
00:14.48 | romainguy_ | chouman82: I told you, because it doesn't make sense with the new spinner |
00:15.19 | romainguy_ | instead you should use setOnItemClickListener() |
00:15.41 | romainguy_ | the OnItemSelectedListener would fire only if the user moves the highlight around while the choice popup is up |
00:19.38 | *** join/#android fpotter (n=fpotter@74.93.1.129) |
00:22.27 | fpotter | Hey - it's true that you can use Java 6 features in your android code base, right? Will the dalvik translator take care of it? |
00:23.41 | romainguy_ | fpotter: what features are you talking about? |
00:23.51 | romainguy_ | you can only use the APIs that are bundled with the SDK |
00:24.09 | romainguy_ | the only language change brought by Java 6 was the ability to put @Override on interface methods |
00:25.05 | chouman82 | |
00:25.05 | chouman82 | A spinner does not support item click events. |
00:25.26 | chouman82 | http://code.google.com/android/reference/android/widget/Spinner.html |
00:27.05 | romainguy_ | er sorry about that :)) |
00:30.03 | fpotter | romainguy_: thx for the info. i actually wasn't sure what the language differences were from 5 to 6. |
00:30.56 | romainguy_ | fpotter: we develop Android using Java 5 btw |
00:31.04 | romainguy_ | I mean |
00:31.12 | romainguy_ | javac 1.5 from the standard Java SE 5 distribution |
00:31.43 | fpotter | romainguy_: i'm on a mac, and apple only released Java 6 for 64-bit macs which mine is not, so I've been having a hell of time getting this thing called 'soylatte' (an openjdk build for mac os x) up and running so i could use java 6. but you're telling me there's no need, which is great. thx. |
00:32.16 | romainguy_ | many of us work with Java SE 5 on Tiger |
00:32.23 | romainguy_ | so we can't use Java 6 either |
00:37.15 | *** join/#android plusminus_ (i=4421a620@gateway/web/ajax/mibbit.com/x-5de4c9f8258fffa0) |
00:38.12 | *** join/#android cbeust_ (n=cbeust@72.14.224.1) |
00:38.13 | umdk1d3 | oh awesome yay! full psd included in the photostream sample ^.^ |
00:38.21 | umdk1d3 | oh wait, im on linux :/ doh |
00:38.58 | romainguy_ | can't Gimp open it? |
00:39.45 | romainguy_ | umdk1d3: my application ShutterSpeed even comes with the full Illustrator file for the icon & logo :p |
00:41.04 | umdk1d3 | gimp tries but fails :( |
00:41.22 | romainguy_ | :(( |
00:41.40 | umdk1d3 | somethnig about the layers |
00:41.47 | romainguy_ | let me try to export it again |
00:41.48 | umdk1d3 | but i found the model layer in there |
00:42.03 | umdk1d3 | its like all the layers are the right shapes, but they are pure white |
00:42.42 | romainguy_ | weird, I did save the file in compatibility mode |
00:43.06 | umdk1d3 | http://umdk1d3.mine.nu/dump/layers.png <-- thats what gimp is giving me :/ |
00:43.23 | umdk1d3 | checks gimp version |
00:44.05 | umdk1d3 | using gimp 2.4.2 right now, which is the newest in the gentoo portage |
00:44.17 | umdk1d3 | *newest stable |
00:44.35 | umdk1d3 | its not too big of a deal, because there is that model layer in there |
00:44.40 | umdk1d3 | exactly what i was looking for |
00:44.51 | umdk1d3 | i can do logo stuff in inkscape now =D |
00:49.09 | plusminus_ | inkscape roxx! |
00:49.20 | romainguy_ | umdk1d3: why do you want to open the psd file? |
00:49.32 | romainguy_ | it doesn't contain much :)) |
00:52.46 | plusminus_ | I can crush the emulator by sending an sms with that inverted "!" in it (probably all such special chars) |
00:53.17 | plusminus_ | (through my app) |
00:53.23 | plusminus_ | I'll test this further... |
00:56.33 | *** join/#android tethridge (n=tale@cpe-075-177-151-223.nc.res.rr.com) |
00:56.41 | plusminus_ | yes, also crashes the eulator doing that in the Messaging-APplication |
01:00.57 | plusminus_ | http://code.google.com/p/android/issues/detail?id=856 |
01:06.38 | *** join/#android yakischloba (n=jake@c-24-17-53-6.hsd1.mn.comcast.net) |
01:14.48 | *** join/#android plusminus_ (i=4421a620@gateway/web/ajax/mibbit.com/x-9630bae5573ec4d3) |
01:17.56 | *** join/#android romainguy (n=gfx@69.36.227.131) |
01:28.04 | *** join/#android crib (n=chris@port-212-202-176-248.dynamic.qsc.de) |
01:34.01 | *** join/#android umdk1d4 (n=umdk1d3@adsl-dynamic-64-79-45-41.bridgeband.net) |
01:35.27 | *** part/#android Dougie187 (n=doug@68.35.245.156) |
01:59.44 | *** join/#android umdk1d3 (n=umdk1d3@adsl-dynamic-64-79-45-41.bridgeband.net) |
02:10.42 | gdsx | umdk1d3: btw, gimp 2.4.2 is pretty old |
02:10.49 | gdsx | (current is 2.4.7) |
02:13.46 | umdk1d3 | like i said, 2.4.2 is current stable in portage |
02:18.30 | *** join/#android romainguy (n=gfx@adsl-75-52-252-122.dsl.pltn13.sbcglobal.net) |
02:19.41 | gdsx | umdk1d3: you could build something yourself... |
02:19.47 | *** join/#android pandora-- (n=pandora@cpe-76-170-18-42.socal.res.rr.com) |
02:37.43 | *** join/#android matt_c (n=mcroydon@137.147.45.66.cm.sunflower.com) |
02:44.15 | *** join/#android crib (n=chris@port-212-202-176-248.dynamic.qsc.de) |
02:50.37 | plusminus_ | hey guys, do you also think the SMS sent via "mSMSManager.sendTextMessage(...)" should be automatically stored to the outbox ? |
02:51.49 | sztanpet | nope, but an option for it would be cool |
02:52.11 | plusminus_ | or that |
02:52.35 | *** join/#android Razec (n=razec@189.56.183.198) |
02:52.41 | *** join/#android muthu (n=sara@59.92.89.234) |
03:21.26 | *** join/#android crib (n=chris@port-212-202-176-248.dynamic.qsc.de) |
03:28.04 | pandora-- | hm? |
03:30.58 | *** join/#android o3u (n=slim@modemcable050.151-58-74.mc.videotron.ca) |
03:37.53 | *** join/#android meoblast001 (n=meoblast@dynamic-acs-24-239-93-241.zoominternet.net) |
03:58.00 | *** join/#android squeakypants (n=squeakyp@75.146.255.198) |
03:59.54 | squeakypants | hey |
04:08.37 | plusminus_ | I'm getting a VerifyError (caused by: "This error is thrown when the VM notices that an attempt is made to load a class which does not pass the class verification phase.") |
04:09.01 | muthu | plusminus_: which class? |
04:09.21 | plusminus_ | a custom class, which accesses Preferences |
04:09.27 | plusminus_ | (static methods only) |
04:11.06 | plusminus_ | maybe a lib has to be included ..? |
04:11.18 | muthu | uses-library ?? |
04:12.33 | plusminus_ | just though so, because it seems to happen with Preferences-Stuff... |
04:17.02 | squeakypants | how can i use arrays.xml for an integer array |
04:18.10 | squeakypants | it asks me to use CharSequence |
04:21.01 | plusminus_ | muthu: Guess what it was because I missed the "uses-library....Maps" whyever it failed within the my Preferences-Accessor-Class ... we'll never know. |
04:21.13 | muthu | haha |
04:21.27 | muthu | any weird errors, i point to uses-library ;) |
04:21.37 | plusminus_ | ;) |
04:23.30 | plusminus_ | the focus-behaviour also changed, Im getting FocusReceiver/FocusLost Cycles o_O |
05:37.54 | *** part/#android pandora-- (n=pandora@cpe-76-170-18-42.socal.res.rr.com) |
05:39.54 | *** join/#android muthu (n=sara@59.92.89.234) |
05:42.02 | *** join/#android Propri (n=chatzill@81-67-253-18.rev.numericable.fr) |
06:07.52 | *** join/#android moccuo (n=mike@modemcable127.116-59-74.mc.videotron.ca) |
06:19.52 | *** join/#android muthu1 (n=sara@59.92.89.234) |
06:21.22 | *** join/#android Dralspire (n=dralspir@56-196.126-70.tampabay.res.rr.com) |
06:23.48 | *** join/#android winfield (n=winfield@124.90.194.248) |
06:26.14 | *** join/#android davidw (n=davidw@213.47.186.146) |
06:33.15 | *** join/#android romainguy_ (n=gfx@72.14.224.1) |
06:55.22 | *** join/#android The_PHP_Jedi (n=ThePHPJe@unaffiliated/thephpjedi/x-000002) |
06:56.44 | *** join/#android winfield1 (n=winfield@124.90.195.77) |
07:01.04 | *** join/#android EQU (n=EQU@77-252-115-250.ip.netia.com.pl) |
07:01.18 | EQU | hello, i have aquestion |
07:01.35 | romainguy__ | go ahead |
07:02.18 | EQU | it's possible to up-link mp3 to phone call ? |
07:02.30 | EQU | for example i'am talking with friend usin phone dialer |
07:02.31 | romainguy__ | in the emulator? |
07:02.40 | EQU | romainguy_: yes ? |
07:02.47 | EQU | romainguy_: o real device ? |
07:02.51 | romainguy__ | what? |
07:02.55 | romainguy__ | what are you trying to do |
07:02.55 | romainguy__ | ? |
07:03.13 | EQU | i'am talkin with friend using phone |
07:03.36 | EQU | during a call i want him hear a mp3 song |
07:04.00 | EQU | it's possible to connect media player with phone call ? |
07:04.17 | romainguy__ | ah, I have no idea |
07:06.03 | EQU | romainguy_: anbody could know that ? |
07:06.26 | romainguy__ | you should send your question to the newsgroup |
07:09.43 | *** join/#android Mo (n=martinot@87.79.35.60) |
07:14.29 | *** join/#android umdk1d4 (n=umdk1d3@adsl-dynamic-64-79-45-41.bridgeband.net) |
07:33.59 | *** join/#android zoolooc (n=lucian@nrbg-4dbfa834.pool.einsundeins.de) |
07:34.47 | *** join/#android winfield (n=winfield@124.90.195.77) |
07:38.20 | *** join/#android cutmasta (n=cutmasta@62.225.134.181) |
07:47.55 | *** join/#android Mathiasdm (n=Mathias@78-22-6-189.access.telenet.be) |
07:56.49 | *** join/#android umdk1d3 (n=umdk1d3@adsl-dynamic-64-79-45-41.bridgeband.net) |
08:17.56 | *** join/#android eton (n=eton@ppp-58-8-5-162.revip2.asianet.co.th) |
08:21.59 | *** join/#android eton_ (n=eton@ppp-58-8-5-162.revip2.asianet.co.th) |
08:24.03 | *** join/#android EQU (n=EQU@77-252-115-250.ip.netia.com.pl) |
08:49.16 | *** join/#android umdk1d4 (n=umdk1d3@adsl-dynamic-64-79-45-41.bridgeband.net) |
08:50.58 | *** join/#android anno^da_ (n=anno^da@p5B07CF92.dip.t-dialin.net) |
09:02.51 | *** join/#android kennyz (n=kennyz@uralnet.org) |
09:03.53 | *** join/#android mluser-work (n=mluser-w@208.178.12.226) |
09:07.27 | *** join/#android romainguy (n=gfx@adsl-75-52-252-122.dsl.pltn13.sbcglobal.net) |
09:13.32 | *** join/#android ChanServ (ChanServ@services.) |
09:13.32 | *** join/#android romainguy (n=gfx@adsl-75-52-252-122.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM] |
09:13.32 | *** join/#android kennyz (n=kennyz@uralnet.org) [NETSPLIT VICTIM] |
09:13.32 | *** join/#android anno^da_ (n=anno^da@p5B07CF92.dip.t-dialin.net) [NETSPLIT VICTIM] |
09:13.32 | *** join/#android umdk1d4 (n=umdk1d3@adsl-dynamic-64-79-45-41.bridgeband.net) [NETSPLIT VICTIM] |
09:13.32 | *** join/#android EQU (n=EQU@77-252-115-250.ip.netia.com.pl) [NETSPLIT VICTIM] |
09:13.32 | *** join/#android Mo (n=martinot@87.79.35.60) [NETSPLIT VICTIM] |
09:13.32 | *** join/#android davidw (n=davidw@apache/committer/davidw) [NETSPLIT VICTIM] |
09:13.32 | *** join/#android crib (n=chris@port-212-202-176-248.dynamic.qsc.de) [NETSPLIT VICTIM] |
09:13.32 | *** join/#android zmedico (n=zmedico@gentoo/developer/zmedico) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android tomgibara (i=Miranda@gibara.demon.co.uk) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android DJTachyon (n=DJTachyo@ool-43517dec.dyn.optonline.net) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android Yeggs-away (n=mind@cpc1-rdng14-0-0-cust946.winn.cable.ntl.com) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android f00f- (i=f00f@2001:4830:21b0:0:1:0:0:3) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android merck_ (n=merck@122-116-117-188.HINET-IP.hinet.net) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android jerkface03 (n=jerkface@S0106000d3a2c0806.vc.shawcable.net) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android sztanpet (n=sztanpet@142.58ec54.tvnetwork.hu) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android dmoffett (n=dmoffett@71.33.240.149) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android meshuga (i=meshuga@c-67-183-112-152.hsd1.wa.comcast.net) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android jasta (n=jasta@75-165-30-37.tukw.qwest.net) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android jasonchen (n=jasonche@nat/google/x-f838305a8bb94ad6) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android npelly (n=npelly@nat/google/x-51b101267ecf9001) [NETSPLIT VICTIM] |
09:13.33 | *** join/#android SUSaiyan (n=SUSaiyan@cc955743-a.zwoll1.ov.home.nl) [NETSPLIT VICTIM] |
09:13.33 | *** mode/#android [+oo ChanServ jasonchen] by irc.freenode.net |
09:14.23 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) [NETSPLIT VICTIM] |
09:14.41 | *** join/#android cutmasta (n=cutmasta@62.225.134.181) [NETSPLIT VICTIM] |
09:14.54 | *** join/#android pinowsky (n=dpino@cm217166.red91-117.mundo-r.com) [NETSPLIT VICTIM] |
09:15.48 | *** join/#android krau (n=cktakaha@200.184.118.132) |
09:17.20 | *** join/#android umdk1d3 (n=umdk1d3@adsl-dynamic-64-79-45-41.bridgeband.net) |
09:17.52 | *** join/#android moccuo_ (n=mike@modemcable127.116-59-74.mc.videotron.ca) |
09:19.29 | *** join/#android heat (i=dima@66.160.171.42) |
09:28.05 | *** join/#android umdk1d4_ (n=umdk1d3@adsl-dynamic-64-79-45-41.bridgeband.net) |
09:41.19 | *** join/#android milos_ (n=milos@92.36.177.37) |
10:11.03 | *** join/#android eton (n=eton@ppp-58-8-5-162.revip2.asianet.co.th) |
10:19.04 | *** join/#android mohbana (n=mohbana@87-194-191-26.bethere.co.uk) |
10:19.34 | mohbana | what's bigger, the iphone or the htc? |
10:20.56 | anno^da_ | iphone is longer |
10:21.15 | anno^da_ | the htc is thicker because of the slider keyboard |
10:46.46 | *** join/#android Dougie187 (n=doug@68.35.245.156) |
10:48.00 | *** join/#android milos_ (n=milos@92.36.172.164) |
10:55.47 | mohbana | anno^da_: know of any side-by-side comparisons? |
10:56.54 | anno^da_ | There is no official one |
10:57.03 | anno^da_ | there are just some leaked pics |
10:57.10 | anno^da_ | Have you seen them ? |
10:57.29 | anno^da_ | (they are not official and no one knows if they are valid) |
10:58.00 | anno^da_ | http://www.engadget.com/photos/htcs-android-driven-dream-revealed-in-glorious-spy-photos/1008305/ |
10:58.16 | anno^da_ | on androidguys.com you can find the specs with the size |
10:58.21 | anno^da_ | but everything is not official! |
10:58.42 | anno^da_ | The size seems to be valid since we know that from the FCC documents |
11:00.17 | mohbana | any idea what's going to be released after that? |
11:00.42 | anno^da_ | Well there will be a device from Samsung and perhaps Motorola |
11:00.50 | anno^da_ | but we dont know anything about them |
11:01.15 | anno^da_ | but I wouldnt count on them in 2008 |
11:02.30 | tomgibara | I'm pretty sure that I've tripped over a serious bug concerning lock contention between the event dispatch thread and surfaces |
11:03.06 | tomgibara | anyone here heard of something similar? |
11:16.16 | umdk1d4_ | hmm is there an easy way to add icons to a mapactivity (as easy as the maps javascript interface) |
11:16.36 | umdk1d4_ | like to point out location search results |
11:19.08 | *** part/#android Dougie187 (n=doug@68.35.245.156) |
11:32.11 | umdk1d4_ | yay i just made a 9patch ^.^ |
12:07.03 | *** join/#android Dougie187 (n=doug@wg-d232024.dsl.fsu.edu) |
12:18.36 | *** join/#android blueriver_ (n=Wizard_o@ikhok04.elte.hu) |
12:25.48 | *** join/#android kourier (n=Sy@81-86-215-134.dsl.pipex.com) |
12:26.14 | *** join/#android blueriver_1 (n=Wizard_o@ikhok04.elte.hu) |
12:33.56 | *** join/#android tethridge (n=tale@cpe-075-177-151-223.nc.res.rr.com) |
12:35.10 | *** join/#android milos_ (n=milos@92.36.131.237) |
12:49.39 | *** join/#android winfield (n=winfield@124.90.197.183) |
12:50.11 | *** join/#android winfield (n=winfield@124.90.197.183) |
12:50.20 | *** join/#android winfield (n=winfield@124.90.197.183) |
12:51.01 | tomgibara | I just tested out the new cuil search engine by searching for my own name. |
12:51.24 | tomgibara | The second result is Android Scan, how galling! |
13:00.42 | umdk1d4_ | hmm |
13:00.51 | umdk1d4_ | how do i programatically move the activity out of touch mode? |
13:01.44 | umdk1d4_ | tries KEYCODE_UNKNOWN |
13:02.32 | EQU | umdk1d4_: override onToucheMode method |
13:04.36 | umdk1d4_ | sadly its a new activity that im launching with an intent |
13:04.42 | *** join/#android yakischloba (n=jake@c-24-17-53-6.hsd1.wa.comcast.net) |
13:04.43 | umdk1d4_ | it seems to inherit the touch mode from the last activity |
13:05.02 | tomgibara | umdk1d4_: Why would you want to do that? |
13:05.17 | umdk1d4_ | im opening a new activity and would like a specific list item to be selected |
13:05.24 | umdk1d4_ | it moves to that point in the list with setSelected() |
13:05.32 | umdk1d4_ | but because its in touch mode, it doesnt highlight |
13:08.59 | umdk1d4_ | and onTouchEvent isnt fired for new activities |
13:09.19 | tomgibara | umdk1d4_: I don't have anything to suggest |
13:09.34 | umdk1d4_ | hmm i wonder |
13:09.45 | umdk1d4_ | docs/migrating/m5-0.9/changes-overview.html: <li>ListView is now focusable in touch mode by default |
13:10.58 | EQU | umdk1d4_: ListView is useless. I'am using LinearLayout with vertical gravity |
13:12.07 | umdk1d4_ | *orientation |
13:12.08 | EQU | umdk1d4_: getFocus(), requestFocus() as getSelected(), setSelection() :) |
13:12.10 | umdk1d4_ | why is it useless? |
13:12.16 | umdk1d4_ | tries focus |
13:12.22 | tomgibara | EQU: That is just daft, ListView is the most powerful widget in the toolkit |
13:13.12 | tomgibara | It's one of the most powerful UI widgets I can remember using |
13:13.32 | umdk1d4_ | agree, listview is amazing if you know how to use it correctly |
13:14.00 | EQU | tomgibara: i know, it has powerfull features. But, i have still problems with it. Problems like umdk1d4_'s issue |
13:15.02 | EQU | tomgibara: for example, it doesn't hava "auto slection change". When top item is selected and i press down button |
13:15.06 | tomgibara | EQU: But for everything that it does, calling it useless for what is at most an awkward corner case is wrong |
13:15.27 | EQU | *up bottom, it should select last item :) |
13:15.46 | umdk1d4_ | well in my case its not listviews fault, its just that its in touch mode somehow |
13:15.55 | umdk1d4_ | at least i think thats the issue |
13:16.24 | EQU | umdk1d4_: do you use your own Adapter ? |
13:17.19 | tomgibara | EQU: One component can't do everything (though ListView gives it a pretty good go). |
13:17.41 | EQU | tomgibara: ok |
13:18.35 | umdk1d4_ | EQU: yep ive got all sorts of fun adapters going on ^.^ |
13:19.49 | EQU | tomgibara: i switched to "fake ListView" because of aniamation also. |
13:19.50 | *** join/#android cheng (n=cheng@141.76.49.20) |
13:20.15 | EQU | tomgibara: when list view's adapter render rows with 2,3 drawable |
13:20.29 | EQU | tomgibara: aniamtion works slow :/ or emulator works slow |
13:21.39 | tomgibara | EQU: Did you ask for any advice on the developer group? |
13:23.02 | EQU | tomgibara: now, i talked about this on this channel |
13:23.22 | tomgibara | Did romainguy have any advice? |
13:25.36 | EQU | tomgibara: he said, that ListView it's for small count of adapter items |
13:26.11 | EQU | tomgibara: and real device works faster than emulator |
13:27.19 | tomgibara | I won't disagree with anything romain says about ListView |
13:27.44 | tomgibara | But that first comment seems odd, ListView is clearly designed to handle very large lists |
13:28.14 | *** join/#android Mathiasdm (n=Mathias@78-22-6-189.access.telenet.be) |
13:28.28 | tomgibara | See API demo Views/Lists/14 |
13:29.34 | EQU | tomgibara: I see. |
13:29.59 | EQU | tomgibara: android market activity i maded by basic widgets ? |
13:30.49 | tomgibara | I anticipate that most of the Android applications, from Google or otherwise, will predominantly use the standard widgets |
13:31.09 | tomgibara | (where the hell did they get the names of all those cheeses?) |
13:32.00 | EQU | tomgibara: maybe they have a french guy on board :) |
13:32.56 | tomgibara | Well, I believe romain is french, but there are plenty of other cheese eating nations |
13:33.41 | EQU | in my country, we have only two kinds od chees.. white and yellow :) |
13:34.07 | tomgibara | that country being? |
13:34.49 | EQU | Poland :P |
13:36.57 | EQU | tomgibara: we have many kinds of vodka :] |
13:38.11 | tomgibara | :) |
13:38.49 | EQU | tomgibara: have you ever drinked our best-export product ? |
13:39.49 | tomgibara | I've drunk vodka, more than I ought to on some occasions, but not as far as I'm aware the polish variety |
13:42.18 | umdk1d4_ | there continue coming out with new widgets too |
13:42.52 | tomgibara | umdk1d4_: I doubt if there will be any new widgets between 0.9 and 1.0 |
13:43.17 | umdk1d4_ | true, i think theyve reached feature-complete and are just fixing bugs at this point |
13:44.21 | tomgibara | Well, I think I found a pretty significant bug today, I'm going to run it past someone at Google on this channel before I post it |
13:45.09 | umdk1d4_ | watches all the little people race to be at work at 8am :) |
13:45.43 | *** join/#android muthu (n=sara@59.92.84.229) |
13:54.22 | Dougie187 | I hope the touch diamond can run android |
13:54.41 | Dougie187 | since the touch appears to have decent support. |
13:57.34 | gambler | EQU, yes but you have Marius Pudzianowski ... |
13:57.50 | gambler | If Marius wants another type of cheese he will will it into existence |
13:59.17 | *** join/#android mohbana (n=mohbana@87-194-191-26.bethere.co.uk) |
14:09.37 | *** join/#android vbabiy (n=vbabiy@rrcs-24-97-148-190.nys.biz.rr.com) |
14:12.18 | *** part/#android Dougie187 (n=doug@wg-d232024.dsl.fsu.edu) |
14:12.45 | *** join/#android Dougie187 (n=doug@wg-d232024.dsl.fsu.edu) |
14:39.36 | *** part/#android mohbana (n=mohbana@87-194-191-26.bethere.co.uk) |
14:42.15 | *** join/#android yakischloba (n=jake@209.160.56.254) |
14:45.45 | *** join/#android cbeust (n=cbeust@64-142-66-175.dsl.static.sonic.net) |
14:47.38 | *** join/#android cbeust (n=cbeust@64-142-66-175.dsl.static.sonic.net) |
14:48.35 | *** join/#android cbeust_ (n=cbeust@72.14.224.1) |
15:01.47 | *** join/#android moccuo (n=mike@modemcable127.116-59-74.mc.videotron.ca) |
15:02.53 | umdk1d4_ | hmm /me tries figuring out the "right way" of doing http requests with a timeout |
15:04.21 | *** part/#android Dougie187 (n=doug@wg-d232024.dsl.fsu.edu) |
15:04.57 | *** join/#android Dougie187 (n=doug@144.174.57.3) |
15:18.06 | *** part/#android zoolooc (n=lucian@nrbg-4dbfa834.pool.einsundeins.de) |
15:21.47 | umdk1d4_ | hmm how to delete files created by openFileOutput() |
15:22.34 | umdk1d4_ | yay deleteFile() |
15:23.56 | *** join/#android ArteK_ (i=root@artekw.cerbero.pl) |
15:26.43 | *** join/#android moccuo (n=mike@modemcable127.116-59-74.mc.videotron.ca) |
15:29.28 | *** part/#android Dougie187 (n=doug@144.174.57.3) |
15:33.26 | *** join/#android muthu (n=sara@59.92.7.207) |
16:07.55 | *** join/#android pandora-- (n=pandora-@66.238.50.126.ptr.us.xo.net) |
16:10.39 | *** join/#android muthu (n=sara@59.92.94.163) |
16:10.40 | *** join/#android zenob (n=chatzill@akademik.nat.student.pw.edu.pl) |
16:11.09 | *** join/#android zenob_ (n=zenob@akademik.nat.student.pw.edu.pl) |
16:14.15 | *** join/#android zenob_ (n=zenob@akademik.nat.student.pw.edu.pl) |
16:16.45 | *** join/#android zenob_ (n=zenob@akademik.nat.student.pw.edu.pl) |
16:20.45 | *** join/#android k1ng_ (n=k1ng@nat2.aero.und.edu) |
16:23.51 | *** join/#android anno^da_ (n=anno^da@p5B07CF92.dip.t-dialin.net) |
16:24.52 | k1ng_ | anybody is running android on a titan? |
16:36.10 | *** part/#android kourier (n=Sy@81-86-215-134.dsl.pipex.com) |
16:36.15 | *** join/#android muthu (n=sara@59.92.2.102) |
16:43.22 | *** join/#android AttractiveApe (n=phil@office.gossamer-threads.com) |
16:43.42 | *** join/#android eton_ (n=eton@ppp-58-8-8-243.revip2.asianet.co.th) |
16:53.33 | umdk1d4_ | hmm /me wonders the best way to save a file to sdcard |
16:53.51 | zhobbs | /sdcard |
16:54.25 | umdk1d4_ | right, but is there an api? |
16:54.34 | zhobbs | just open it like any file in java |
16:55.39 | zhobbs | but no api to get the path to the sdcard or anything...guess it's just safe to assume /sdcard |
16:57.53 | *** join/#android infobot (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
16:57.53 | *** topic/#android is You don't have to use it, but we thought it might be useful: http://android-developers.blogspot.com/2008/08/android-market-user-driven-content.html |
17:00.45 | *** join/#android muthu (n=sara@59.92.71.247) |
17:02.24 | *** join/#android bricode (n=bricode@190.10.109.40) |
17:04.05 | *** join/#android moccuo (n=mike@modemcable127.116-59-74.mc.videotron.ca) |
17:08.13 | *** join/#android cbeust (n=cbeust@72.14.224.1) |
17:15.01 | anno^da_ | umdk1d4_: there is a method in the context that gets you the path to the sdcard |
17:16.05 | anno^da_ | But I'm searching it again :9 |
17:16.11 | *** join/#android catzilla (n=catzilla@unaffiliated/catzilla) |
17:17.45 | anno^da_ | umdk1d4_: http://code.google.com/android/reference/android/os/Environment.html |
17:17.47 | anno^da_ | there it is |
17:17.55 | anno^da_ | getExternalStorageState() |
17:18.07 | anno^da_ | <PROTECTED> |
17:18.09 | anno^da_ | :9 |
17:22.24 | zhobbs | anno^da_: nice, missed that one |
17:22.37 | anno^da_ | no problem :) |
17:24.43 | *** join/#android catzilla1 (n=catzilla@pool-72-68-106-182.nwrknj.east.verizon.net) |
17:28.44 | umdk1d4_ | anno^da_: AWESOME i knew it was somewhere ^.^ |
17:29.02 | anno^da_ | :-) |
17:31.35 | *** join/#android Dougie187 (n=doug@wg-d232024.dsl.fsu.edu) |
17:47.16 | *** join/#android Omar (n=oskanaan@auh-as33567.alshamil.net.ae) |
18:06.52 | Proteus | I'm interested in writing applications for both Android the iPhone platform but the difference in language (objc vs java) and in interface code is discouraging. Are there any tools for easing the transition in one direction or the other? |
18:07.24 | *** join/#android pgrace (n=pgrace@fmservices.dmz.v6.fierymoon.com) |
18:13.24 | *** join/#android herriojr (n=Miranda@65.173.101.2) |
18:22.14 | davidw | Proteus, not yet |
18:23.03 | zhobbs | would be interesting to see a breakdown like this for android: http://www.catonmat.net/blog/code-reuse-in-google-chrome-browser/ |
18:23.53 | romainguy | in this list, note that Skia is the SGL used in Android |
18:25.04 | km- | sanmehat: you around? |
18:26.27 | *** join/#android cybereagle (n=cybereag@unaffiliated/cybereagle) |
18:26.58 | *** join/#android fadden (n=fadden@209-204-141-120.dsl.static.sonic.net) |
18:30.03 | SanMehat | km-: yeah but i'm sick. |
18:30.40 | km- | sanmehat: sucks. |
18:30.55 | *** join/#android Omar (n=oskanaan@auh-as33567.alshamil.net.ae) |
18:31.23 | Omar | when will the first android phone be available? |
18:31.44 | gdsx | Omar: just slightly after the dawn of time |
18:31.57 | romainguy_ | Omar: Q4 2008 |
18:32.30 | Dougie187 | lol romainguy_ you are so nice. |
18:32.38 | Dougie187 | Don't you get frustrated by anyone? |
18:32.38 | umdk1d4_ | lol |
18:32.41 | romainguy_ | :) |
18:32.50 | umdk1d4_ | i wonder if there will be an android epoch ;) |
18:33.07 | Omar | i guess many people asked this question before :D |
18:33.13 | Dougie187 | oh yeah. |
18:33.13 | gdsx | umdk1d4_: the android epoch is the release of Robocop |
18:33.32 | Dougie187 | romainguy_ how often do you get angry? |
18:33.38 | anno^da_ | :-) |
18:33.52 | romainguy_ | Dougie187: why are you asking this? |
18:33.56 | Dougie187 | just curious. |
18:34.14 | Dougie187 | because I don't think ive ever seen you act aggressively in here. |
18:34.22 | Omar | i think its good to have a direct answer isnt that what this channel is for? |
18:34.22 | romainguy_ | because I have no reason to |
18:34.25 | zhobbs | romainguy_ is just in a good mood cause jasta is out of town |
18:34.30 | romainguy_ | lol |
18:34.41 | umdk1d4_ | LOL @ jasta |
18:34.44 | romainguy_ | yeah maybe people will be able to ask any question they want without being yelled at by jasta :p |
18:34.52 | zhobbs | hehe |
18:35.05 | Dougie187 | i doubt it though. |
18:35.13 | Dougie187 | he probably has a pager. |
18:35.20 | km- | boo. I thought if I hit the camera button that the emulator would show me lumburgh |
18:35.26 | Dougie187 | that sends him "Time to rip someone on irc" |
18:35.34 | zhobbs | km-: if you save the image and then view it |
18:35.45 | km- | zhobbs: ahh. |
18:36.08 | km- | HAHAHA that's funny. |
18:36.13 | km- | google++ |
18:36.24 | km- | any of you guys fiddle with the wifi apis yet |
18:36.30 | tomgibara | romainguy_: Sorry, but I have another question to bug you with |
18:36.34 | km- | I'm wondering if there's a way to toggle infrastructure vs. ad hoc mode |
18:36.35 | romainguy_ | shoot |
18:36.57 | tomgibara | This might be serious bug in android, or it could be a mistake on my part... |
18:37.00 | km- | You know, I really hope the LHC doesnt vaporize the planet before I get my HTC Dream. |
18:37.59 | Dougie187 | well if they do, do you think you would care anymore? |
18:38.07 | tomgibara | The scenario is this: I have an activity displaying a surface and a thread that does nothing but update it while the surface is available and the activity is not paused |
18:38.43 | tomgibara | The thread attempts to throttle itself so that it does no more than one update every (1000/15) milliseconds |
18:39.15 | km- | Dougie: point. |
18:39.33 | tomgibara | The only other thing in this testcase is that I've extended the SurfaceView so that I can capture touch events on the surface |
18:40.14 | tomgibara | Firstly does this sound like a sensible scenario? Or am I doing something here that is unplanned for in the framework? |
18:40.28 | *** join/#android anno^da- (n=anno^da@p5B07CF92.dip.t-dialin.net) |
18:40.29 | romainguy_ | that sounds good so far |
18:42.06 | tomgibara | Okay, here's the slighly scrappy test case I've produced: http://pastebin.com/m289690d6 |
18:42.17 | romainguy_ | what's the problem> |
18:42.18 | romainguy_ | ? |
18:43.10 | tomgibara | In this test case I do two things: I make sure that I do a lot of work on the canvas provided by the SurfaceHolder, and I synchronize state updates with touch events |
18:44.30 | romainguy_ | and what is the issue? |
18:44.51 | tomgibara | The problem is that this appears, on many occasions to totally lock-up the event dispatch thread |
18:45.08 | tomgibara | A dialog appears which says that the application is not responding |
18:45.40 | romainguy_ | when does it happen? |
18:46.01 | tomgibara | If I put lots of bogus work into the worker thread inside the synchronized block, but not using the canvas, the problem goes away |
18:46.21 | tomgibara | About 5-10 seconds after touching the screen |
18:47.02 | tomgibara | It's as if working the canvas heavily prevents the event dispatch thread from operating correctly |
18:47.30 | romainguy_ | it should definitely not |
18:47.56 | tomgibara | It's not an entirely reproducible bug in its current state |
18:49.26 | romainguy_ | this is definitely how we do this in our samples |
18:49.41 | romainguy_ | except you should have a try/finally around lockCanvas to make sure you always unlock it |
18:49.43 | tomgibara | One more feature, which makes me think this looks like a horrible thread issue, is that you can see the screen being updated even when the system claims the app is being unresponsive |
18:50.07 | tomgibara | I probably do in my actual app |
18:52.03 | tomgibara | That the surface view is constantly updating demonstrates that the synchronized block is being entered/exited which means that there is no reason that the event handling code can't acquire it |
18:52.16 | romainguy_ | you could try to do all your synchronize on the holder instead of your own lock |
18:53.30 | *** part/#android Omar (n=oskanaan@auh-as33567.alshamil.net.ae) |
18:55.17 | tomgibara | Well I think it's more serious than that because I don't think the dispatchTouchEvent isn't even getting called |
18:58.53 | *** join/#android cheng (n=cheng@xGagB214.WH1.TU-Dresden.De) |
19:01.40 | tomgibara | Okay, it's calling the method and failing to acquire the lock - even though the screen is updating frequently meaning that the synchronized block is being exited plenty of times |
19:02.03 | tomgibara | Eventually the lock is obtained, but not until after the ANR has been triggered |
19:02.17 | tomgibara | Synchronizing on the holder makes no difference |
19:03.12 | tomgibara | I'm not saying it is one, but it looks like a fairness issue in the VM |
19:06.57 | *** join/#android k1ng_ (n=k1ng@nat2.aero.und.edu) |
19:07.08 | tomgibara | One more piece of information, in this testcase, the problem seems to affect the first touch, or the problem doesn't occur (in contrast, in my app, I've seen the problem 'start' after the first touch) |
19:10.34 | herriojr | does anyone know if dynamically loading classes from dex files is still supported? |
19:10.38 | herriojr | of did they remove that? |
19:14.08 | fadden | herriojr: what specifically are you trying to do? |
19:15.42 | herriojr | create an interface where I can load .dex files that I create, so I can add new functionality to my application post-release without having to redownload the application |
19:16.31 | herriojr | also, I'm having difficulty finding where applications save files when you save a file |
19:19.23 | fadden | You will likely run into permission problems -- /data/dalvik-cache is no longer world-writable. |
19:20.19 | fadden | (can't have apps rewriting other apps) |
19:21.41 | herriojr | so if I open up a file stream for write to the file something.jpg, it will save to /data/dalvik-cache? |
19:21.52 | herriojr | oh, you're talking about the .dex file |
19:21.54 | herriojr | ok |
19:22.25 | fadden | Right. |
19:22.38 | herriojr | that sucks |
19:22.45 | herriojr | they really are starting to lock everything down |
19:23.08 | herriojr | *sigh* |
19:23.13 | romainguy | no we're not |
19:25.18 | herriojr | romainguy: are external jar libraries still going to be accessible after release, such as java.awt.jar? |
19:25.46 | romainguy | if they are accessible in 0.9 they should be in 1.0 |
19:25.53 | romainguy | but I'm no expert on this feature |
19:26.00 | romainguy | fadden: do you know about this? |
19:26.36 | herriojr | I talked to fadden about it yesterday, and he said they are probably going to drop it since it is unsupported |
19:26.44 | fadden | Some stuff got moved out of core.jar and into android.awt.jar since it wasn't used much. |
19:27.08 | fadden | I don't think that's expected to go away. |
19:27.20 | herriojr | ok, maybe it wasn't you I talked to :) |
19:32.55 | herriojr | so, are we going to be able to install .jar libraries on the client? the only location I seem to find them are /system/framework and they only have rw permission for root |
19:33.03 | herriojr | my assumption is that applications won't be installed as root |
19:36.19 | herriojr | one of the big issues on other phones is keeping software up to date (BREW, J2ME, etc), so if we can't keep code separate from the apk, is there going to be a mechanism to update applications on the phone without having to redownload the applications? |
19:37.04 | *** join/#android sayers (n=sayers@c-76-20-182-119.hsd1.mi.comcast.net) |
19:37.54 | zhobbs | herriojr: updates will be done through the Marketplace |
19:38.07 | zhobbs | via downloading/installing new apk |
19:38.29 | herriojr | will the marketplace autoinform users of updates or will the application have to do that? |
19:39.02 | zhobbs | don't know...I'd think the Marketplace would have a screen to show what apps are out of date, but those details haven't been released |
19:39.15 | herriojr | ok |
19:39.19 | *** join/#android squeakypants (n=squeakyp@75.146.255.198) |
19:39.29 | Proteus | is there any copy protection for apps sold through the marketplace? |
19:39.56 | zhobbs | don't know, initial marketplace won't support non-free apps |
19:40.10 | zhobbs | free as in beer of course |
19:40.19 | herriojr | also, I can't seem to find whether I can determine the carrier via API calls or even the hardware version, will that be possible in the future? |
19:40.32 | herriojr | free if you don't do the billing through the application itself |
19:40.47 | zhobbs | just curious, why do you want to know the carrier? |
19:41.40 | herriojr | my application is carrier-branded, and if we can determine the carrier, we can have a single build for all carriers and load the branding over-the-air |
19:42.24 | zhobbs | gotcha |
19:43.07 | herriojr | also, I want to detect device versions, since in my experience, the same device has different problems depending on the version |
19:43.33 | herriojr | so in the app store being able to specify your application for a certain carrier/device/device version would help out a lot |
19:43.46 | anno^da- | hates branding *help* |
19:44.21 | herriojr | what do you hate about branding? :) |
19:45.00 | anno^da- | Well what do you mean about carrier branding perhaps you mean sth different :) |
19:45.10 | herriojr | sth? |
19:45.11 | zhobbs | I can't imagine that many people *like* branding |
19:45.39 | herriojr | are you talking from a developer perspective or user-perspective? |
19:45.55 | herriojr | ok, I have to run off to lunch, I'll continue the conversation a little later :) |
19:46.09 | anno^da- | something = sth :) |
19:46.21 | anno^da- | from a user perspective |
19:46.45 | anno^da- | and from a developer perspective I'm looking at it from the user perspective |
19:46.53 | anno^da- | since they have to buy my app |
19:46.56 | anno^da- | or use my app |
19:47.05 | zhobbs | anno^da-: what are you working on? |
19:49.23 | *** join/#android krau (n=cktakaha@200.184.118.132) |
19:49.45 | anno^da- | Oh at the moment I'm just working on a open source app for creating content (video, photo, audio, text) and uploading it into blog systems like Tumblr, Blogr. And using social media sites like Flickr, Youtube, Vimeo etc to store the content. |
19:50.08 | zhobbs | nice |
19:50.16 | zhobbs | you working on it by yourself? |
19:50.19 | anno^da- | and informing about new posts through Friendfinder, Twitter etc |
19:51.24 | tomgibara | romainguy: This thread bug - if it's not known, I presume I should find the time to file it. |
19:51.25 | anno^da- | At the moment I am since it was my first real application in java. At the moment it is working pretty fine. I will setup a google code page later on. Just have to clean up my app. |
19:51.31 | tomgibara | I just can't see why no-one else would have run into it |
19:51.45 | tomgibara | But I can't see anything wrong either. |
19:53.08 | anno^da- | zhobbs: But it is a lot of fun for me. Uploading the whole stuff to Tumblr, storing at Vimeo and Flickr and informing about the posts at Twitter, Technorati works at the moment. |
19:53.56 | zhobbs | very cool |
19:54.05 | zhobbs | did you see Romain's Photostream app? |
19:54.25 | anno^da- | Yeah I saw it right after he uploaded it to the SVN |
19:55.44 | zhobbs | I love open source, I hope we see some open source projects really get going after launch |
19:56.08 | anno^da- | Oh well I prefer open source :-) |
19:56.28 | anno^da- | But I can understand that people have to earn money from their apps. |
19:56.43 | zhobbs | yep |
19:57.13 | zhobbs | the app I work on won't be open source :( |
19:57.49 | anno^da- | I thought about that as well but this app should be open source since I am not that experienced with Java and I wont take money for a first try. But for a first try I like it. :-) |
19:59.26 | anno^da- | And I'm so excited getting real hardware in order to test it on the street. |
19:59.33 | zhobbs | yeah, me too |
20:02.46 | anno^da- | But I will upload an APK next week with some test accounts |
20:03.15 | anno^da- | At the moment I just had to remove Video recording |
20:23.00 | *** part/#android Dougie187 (n=doug@wg-d232024.dsl.fsu.edu) |
20:26.49 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) |
20:32.47 | *** join/#android krau_ (n=cktakaha@200.184.118.132) |
20:35.58 | *** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net) |
20:40.18 | zhobbs | ahhh...almost done with my custom tab framework...supports multiple activities per tab and animations |
20:51.14 | *** join/#android tale_ (n=tale@207.235.54.1) |
21:00.01 | *** join/#android Harry__ (n=Harry@216-64-141-98.static.twtelecom.net) |
21:12.33 | herriojr | anno^da: even if you aren't experienced, if you product is good, there's no reason not to make money for your work |
21:12.45 | herriojr | I'm not saying don't do open source |
21:13.28 | *** join/#android meoblast001 (n=meoblast@dynamic-acs-24-239-93-241.zoominternet.net) |
21:14.16 | herriojr | anyways, from earlier, branding in any of my applications isn't pervasive |
21:14.23 | herriojr | it just lets you know who did the app, etc. |
21:17.39 | herriojr | on the open source thing, I was just trying to say: don't do open source just because you think you're not experienced enough to sell your work, you can let the work speak for itself |
21:21.03 | *** join/#android Proteus_ (n=Proteus@97-119-85-75.omah.qwest.net) |
21:37.21 | Proteus_ | since the appstore will initially only support non-commercial apps and I want more people to buy android phones so I can sell commercial apps later, I finally thought of an open source project that might be useful but I'm really not sure how google will feel about it. I'm thinking about building an android web interface to Wikileaks which would not only let you read and annotate already released documents but, say, take pictures of docume |
21:37.21 | Proteus_ | nts and store them in an AES256 encrypted box until you were ready to upload them/ocr them/ whatever. |
21:37.59 | herriojr | heh, that's cool |
21:38.05 | Proteus_ | thanks |
21:38.12 | herriojr | it will become a spy phone :) |
21:38.30 | Proteus_ | I know - and that rocks |
21:39.23 | herriojr | also, with relation to open source only being the first ones, what's to stop you from building billing, etc. into your application? |
21:39.42 | herriojr | it may not be the best user experience, but it will work |
21:40.25 | Proteus_ | like, a pay pal interface and some sort of key that gets sent back? hrmm |
21:41.18 | herriojr | yeah, you can become the paypal for google phones :) |
21:41.19 | Proteus_ | it would also let you run a benchmark to see if their phone model could support your app before they purchase it |
21:42.14 | herriojr | or somehow build an interface that allows applications to pull out one-click shopping information from your app |
21:42.37 | herriojr | but that might not be too secure :) |
21:43.08 | herriojr | you'd have to get your paypal service-type thing implemented really quickly |
21:43.21 | herriojr | before google builds out its store to support pay-for apps |
21:43.24 | *** join/#android rapidology (n=rapidolo@dsl081-139-235.chi1.dsl.speakeasy.net) |
21:43.38 | rapidology | android! |
21:43.41 | rapidology | :) |
21:43.51 | herriojr | the more applications that use your service before their store comes out, the more likely it will be adopted |
21:44.21 | herriojr | I don't know how to respond to that rapid :) |
21:45.11 | rapidology | hah, just showing some excitement |
21:45.52 | rapidology | have you developed apps for android already? |
21:46.29 | Proteus_ | unfortunately, I'm not making any money out of it and the appstore would be doing the same thing..... sort of. With my idea you could implement 'pay what you want' schemes and the benchmark tests - or perhaps even subscription services. |
21:47.10 | Proteus_ | all of which would just be implemented by the appstore if there was a demand, I expect |
21:47.20 | herriojr | ah, you mean like donations to the app developers? |
21:48.27 | Proteus_ | yeah. 'did you like my minigame? throw me some money! here's a pay pal link' |
21:48.44 | herriojr | you know, I tried doing that with shovelling snow as a kid |
21:48.50 | herriojr | didn't work out too well :) |
21:49.15 | herriojr | but I guess with a mass-audience it might actually work :) |
21:50.06 | Proteus_ | I only shovled snow with pre arranged contracts, I never tried just doing it and guilt tripping the residents. |
21:50.11 | herriojr | hey, does anyone know how I can decompile the dex files in /data/app/dalvik-cache |
21:50.29 | herriojr | I'm trying to see if my app stores any files it creates in the dex file in there |
21:50.53 | herriojr | yeah, people in my neighborhood were a bit stingy |
21:50.56 | fadden | DEX files are read-only once created. It's just code. |
21:51.15 | fadden | adb shell ls -R /data |
21:51.17 | herriojr | where are the files I create stored, such as .jpg, etc |
21:51.32 | fadden | Officially, you're supposed to let the system worry about where they actually end up. |
21:52.08 | herriojr | yes, I know :) |
21:52.17 | herriojr | curiosity killed the cat ;) |
21:53.00 | *** join/#android inZane- (i=nemo@dslb-084-058-037-136.pools.arcor-ip.net) |
21:53.03 | herriojr | if I save a dex file through a file write in my application, would I be able to execute the code in the dex file through my application? |
21:53.36 | herriojr | I'm trying to figure out if I can make the equivalent of a dll for my app, so I can add functionality later |
21:53.44 | fadden | I don't believe that sort of stuff is supported in 1.0. |
21:54.03 | herriojr | ok, so I'll have to write a scripting language and have a vm built into my app |
21:54.44 | herriojr | I just wanted to verify that's the case |
21:56.54 | herriojr | and my last question of the day: will I be able to detect which carrier the phone is on, and what firmware version is installed and what device? |
22:01.25 | squeakypants | hey |
22:01.51 | squeakypants | is there a way to use an array of ints in a spinner |
22:02.15 | squeakypants | if i put it in arrays.xml it gives me errors (it wants string-array) |
22:05.42 | herriojr | actually, I have one more question, did they remove the commandline option to open the sqlite database via commandline on the emulator, and if not, where is the command located? |
22:11.52 | Proteus_ | what's the best way to define/recognize new and more complex gestures? I _think_ I get how to retreive the shape of the input gesture with MotionEvent functions, but I'm not sure how to make a relatively accurate algorithm for identifying these gestures that will perform well within the restrictions of the platform. I know it can be done, the original palm pilot could do it - but what's the easiest way to do it now? |
22:16.46 | Proteus_ | herriojr, you're going to builld a vm for a scripting language on top of your app? that's impressive. |
22:17.54 | herriojr | well, there are some open source options available |
22:18.07 | herriojr | I was looking into kahlua |
22:18.07 | squeakypants | Proteus_: i saw someone got jython working on it :) |
22:18.54 | herriojr | kahlua is a java implementation of lua (at least a subset) |
22:19.14 | squeakypants | python's where it's at man :D |
22:19.41 | squeakypants | though to be fair i never really used lua |
22:20.03 | herriojr | lua is widely used in gaming |
22:20.15 | squeakypants | so is python :D |
22:20.18 | herriojr | for scripting |
22:20.19 | herriojr | heh |
22:20.31 | squeakypants | python just scares people because it's so different |
22:20.36 | Proteus_ | squeakypants, wow! I didn't know jython existed! if jython can be made to work then there's hope for my ocaml-dalkvic project |
22:20.43 | squeakypants | "whitespace sensitive? WTF???" |
22:20.57 | herriojr | what is whitespace sensitive? |
22:20.58 | squeakypants | Proteus_: ocaml-dalkvic? |
22:21.09 | Proteus_ | squeakypants, based on ocaml-java |
22:21.25 | Proteus_ | but made to work with android |
22:21.39 | squeakypants | herriojr: it uses whitespace (spaces) to detect blocks, not {} |
22:21.50 | herriojr | do you have a link for jython which is workable on android? |
22:22.05 | squeakypants | yeah but idk how well |
22:22.06 | herriojr | are you talking about python or lua, I don't have much experience with either :) |
22:22.11 | squeakypants | python ;) |
22:22.45 | squeakypants | http://code.google.com/p/jythonroid/ |
22:22.53 | squeakypants | proteus_: sorry, what's ocaml? |
22:23.24 | squeakypants | also, why is my emu taking so fucking long to load? it's been like 3 minutes and it's still in text mode |
22:24.04 | romainguy | squeakypants: it depends on your computer :(( |
22:24.18 | squeakypants | romainguy: yeah but it wasn't THIS long yesterday :-/ |
22:24.23 | romainguy | ah then I don't know :) |
22:25.03 | squeakypants | i don't think it's my code cause it hasn't run it yet... |
22:25.52 | herriojr | squeakypants: the reason I want to build a vm into my app is so that it can be dynamically updated |
22:26.08 | herriojr | and other people can write addons for it |
22:26.12 | herriojr | etc |
22:26.16 | squeakypants | herriojr: aha |
22:26.32 | squeakypants | yeah python is very capable of that, but i've never tried it |
22:26.46 | squeakypants | especially not with java (i've never used jython) |
22:27.01 | herriojr | I wonder if I can make calls to the vm from another java app |
22:27.21 | romainguy_ | with Jython you can invoke python code from Java |
22:27.25 | squeakypants | well it's not really a VM :P it's just an interpreter |
22:27.25 | romainguy_ | and the other way around too |
22:27.27 | herriojr | ok, cool |
22:27.34 | romainguy_ | I don't know if this works with Dalvik though |
22:27.44 | squeakypants | romainguy_: there's a android version http://code.google.com/p/jythonroid/ |
22:27.56 | herriojr | from what I see, it's packaged as an apk, which means probably not exactly what I want |
22:27.56 | squeakypants | right now it seems like just a quick port though |
22:28.45 | squeakypants | herriojr: i'm not too familiar with android (or java)'s structure but |
22:29.01 | squeakypants | herriojr: it says the package name is org.python.util |
22:29.19 | squeakypants | herriojr: so i assume once you have it installed, you should be able to access it from other apps? |
22:30.16 | squeakypants | hmm, i'll try -wipe-data |
22:30.24 | herriojr | yeah, but it won't be able to modify the screen layout of my app, etc. |
22:30.36 | squeakypants | herriojr: why not? |
22:30.53 | herriojr | apk's are sandboxed |
22:31.13 | squeakypants | oic |
22:31.19 | herriojr | what happens in one can't affect another |
22:31.23 | squeakypants | there must be a way to include them together though |
22:31.34 | herriojr | yeah, that's why I said I'd have to build it as a jar |
22:31.35 | squeakypants | not necessarily an apk (it's open source) |
22:31.40 | squeakypants | ah, gotcha |
22:31.48 | squeakypants | yay! wipe-data worked :D |
22:31.57 | herriojr | and I need to see if I use it as a jar that the license will be compatible |
22:32.10 | herriojr | with my project |
22:32.24 | squeakypants | says apache license |
22:32.28 | squeakypants | same as android |
22:32.30 | herriojr | it has some gnu components |
22:32.39 | squeakypants | you mean gpl'd? |
22:32.51 | herriojr | eah, that's what I meant |
22:33.00 | squeakypants | mmm, yeah that could be a problem |
22:33.16 | squeakypants | but if it's released under apache i don't think you'll have a problem |
22:33.35 | herriojr | can you re-license gpl? |
22:33.39 | Proteus_ | squeakypants, ocaml is a functional, multiparadigm language which elegantly stays close to the problem but can compile to native code which competes with C. It has support for modules and OO. The language is statically typed and well defined so most problems are caught at compile time yet good type inference makes static typing less of a hassle. The focus of the compiler/language design is to be able to write high-level functional code, i |
22:33.40 | Proteus_ | mperitive code, or whatever mix you want and still maintain high performance execution as native code, bytecode, or interpreted. It aslo features an advanced but fast garbage collector. Despite being a functional language, like say Haskell, ocaml is impure (allows side effects) and meant to be a practical language for getting things done, not just another fancy language for academics. |
22:34.29 | Proteus_ | the wikipedia is rather out of date, but I can link you to the pdf of an introductory book which lays out the main concepts of the language, if you like. |
22:34.38 | squeakypants | nah, i got the gist :) |
22:34.40 | squeakypants | seems neat |
22:34.42 | *** join/#android duey (n=Nick@ip202-27-218-69.satlan.co.nz) |
22:35.12 | squeakypants | umm, correct me if i'm wrong, but spinners are supposed to do something when you click on them, right? :P |
22:35.57 | herriojr | squeakypants: other people have had that issue |
22:36.05 | squeakypants | oh really? |
22:36.07 | squeakypants | greeeeat |
22:36.21 | squeakypants | maybe i should switch to a list view |
22:36.53 | squeakypants | how do you close an app? |
22:37.06 | herriojr | umm, let me see |
22:37.23 | *** join/#android dueynz (n=Nick@ip202-27-218-69.satlan.co.nz) |
22:37.42 | Proteus_ | Don't mean to be a bother, but I was hoping to get some feedback from the google people here on whether my wikileaks app I described above was going to be to controversial? |
22:38.06 | squeakypants | wikileaks? |
22:38.31 | herriojr | Proteus: I don't know whether they'd probably care |
22:38.55 | herriojr | it's not up to them whether you release an app or not |
22:38.58 | Proteus_ | wikileaks posts anonymous dumps of secret data from governments around the world |
22:39.22 | Proteus_ | yeah, but I'd understand them keeping it out of the appstore. |
22:40.11 | Proteus_ | or maybe I have this mixed up because I'm used to apple: will we be able to download and install apps from anywhere once android phones go live? |
22:40.20 | herriojr | I think most people wouldn't develop if they were to be choosey on who they include in the store |
22:41.00 | herriojr | I don't think they've released enough information about it |
22:41.13 | squeakypants | Proteus_: they said it wouldn't need approval, like youtube |
22:41.18 | squeakypants | but i assume they'll still moderate it |
22:41.23 | Proteus_ | that's completely awesome |
22:41.28 | herriojr | to exit the app, just call finish() in your activity |
22:41.40 | squeakypants | herriorjr: lol, i meant in the emu :P |
22:42.04 | herriojr | you want to delete or exit the app? |
22:42.09 | squeakypants | exit |
22:42.27 | herriojr | wouldn't it depend on whether you implemented the finish() call on your app or not? ;) |
22:42.40 | herriojr | and how you implemented it |
22:42.50 | herriojr | I don't think I understand what you're asking :) |
22:42.56 | squeakypants | i mean like |
22:43.09 | squeakypants | on the phone, is there a way to exit an app rather than just close it? |
22:43.29 | herriojr | hmm, I can't even get that to happen when I have it on a phone |
22:43.59 | squeakypants | ? |
22:44.10 | herriojr | oh, I put android on a htc vogue |
22:44.23 | herriojr | I don't think you can at the moment |
22:44.28 | romainguy_ | why do you want to do that? |
22:44.29 | herriojr | you could remove the application and then re-add it |
22:44.35 | romainguy_ | the system takes care of everything for you |
22:45.18 | squeakypants | hmm... now i'm just starting to think neither listviews nor spinners like integers :-/ |
22:45.42 | romainguy_ | ?? |
22:45.48 | romainguy_ | what do you mean by that? |
22:46.04 | squeakypants | well i have a spinner (and i tried the same with a listview) |
22:46.15 | squeakypants | with an ArrayAdapter<Integer> |
22:46.24 | squeakypants | it shows the first value but i can't click it |
22:46.33 | squeakypants | in the listView it didn't show any values, just blank rows |
22:46.51 | squeakypants | oh, heh, i just realized why the ListView didn't work :P |
22:50.46 | herriojr | jythonroid does contain gpl code, but it seems jython doesn't |
22:51.06 | herriojr | so *I think* by default jythonroid has to be gpl'd |
22:51.46 | squeakypants | clicking isn't working for the listview either... only scrolling (with the scroll wheel) |
22:51.57 | squeakypants | which is the equivilent of the arrows |
22:52.02 | squeakypants | hmm, it's like it's completely ignoring the mouse |
22:52.13 | romainguy_ | what do you mean by clicking is not working? |
22:52.18 | squeakypants | notification bar scrolls does work though |
22:52.28 | squeakypants | romainguy_: if i click on the listview (or spinner) it doesn't do anything |
22:52.43 | herriojr | are any events thrown when that happens? |
22:52.53 | squeakypants | how would i find out? debug? |
22:53.21 | herriojr | honestly, I don't know, I haven't been writing too much android code....mostly just trying to get it on the htc tilt and htc vogue |
22:53.44 | romainguy_ | squeakypants: have you registered a click listener? |
22:53.48 | squeakypants | if the rumors about the t-mobile g1 are true i'm gonna try getting one :P |
22:53.52 | squeakypants | romainguy_: eh? |
22:54.10 | romainguy_ | what are you expecting the listview to do? |
22:54.24 | squeakypants | scroll and/or select each item |
22:54.37 | romainguy_ | when you click on an item I mean |
22:54.45 | squeakypants | nothing |
22:54.54 | romainguy_ | then why do you say it's not working? |
22:54.59 | squeakypants | but when i click an item on the list, it should be highlighted |
22:55.14 | squeakypants | and when i touch and move the list, it should move |
22:55.17 | squeakypants | no? |
22:55.21 | romainguy_ | yes |
22:55.32 | squeakypants | right, it's not doing either |
22:55.38 | squeakypants | nor does clicking a spinner do anything |
22:55.52 | romainguy_ | then there's something wrong with your code *or* with your emulator :) |
22:56.09 | squeakypants | heh |
22:56.22 | squeakypants | i just did a wipe-data so there shouldn't be a problem with the emu |
22:57.10 | romainguy_ | can you click on buttons or list in other apps? |
22:57.14 | squeakypants | yup |
22:57.21 | squeakypants | http://dpaste.com/76245/ |
22:57.49 | squeakypants | (lol i'm just trying to make a simple dice roller app) |
22:57.58 | romainguy_ | what's the layout? |
22:58.04 | *** join/#android catzilla (n=catzilla@unaffiliated/catzilla) |
22:58.22 | squeakypants | a relativelayout for the entire thing |
22:58.33 | romainguy_ | can you show it to me? |
22:58.34 | squeakypants | relativelayout inside that with 2 listviews and a textview |
22:58.43 | squeakypants | guh i guess :P it's not very advanced code |
22:59.03 | squeakypants | http://dpaste.com/76246/ |
22:59.26 | squeakypants | just to be clear, can i do <ListView /> instead of <ListView></ListView>? |
22:59.31 | romainguy_ | yes |
22:59.32 | romainguy_ | it's just XML |
22:59.35 | squeakypants | k |
22:59.39 | squeakypants | changes it to look prettier |
22:59.53 | romainguy_ | ok I know what's going on |
23:00.00 | romainguy_ | remove the last listview |
23:00.02 | romainguy_ | the one at the bottom |
23:00.18 | squeakypants | AHA |
23:00.21 | squeakypants | thank you :) |
23:00.24 | squeakypants | i get it exactly hahaha |
23:00.30 | romainguy_ | you made this listview cover the entire screen |
23:00.33 | squeakypants | right |
23:00.36 | romainguy_ | but it's empty so it doesn't draw |
23:00.38 | squeakypants | yeah i forgot about that :P |
23:00.41 | romainguy_ | but it captures the motion events |
23:00.50 | squeakypants | how do i make it fill up the rest of the screen? |
23:00.50 | romainguy_ | told you, your fault :p |
23:00.53 | squeakypants | hehehe |
23:01.18 | *** join/#android mickrobk (n=mickrobk@c-67-173-250-134.hsd1.co.comcast.net) |
23:01.46 | squeakypants | is there a way i can make it fill the rest of the screen? |
23:02.07 | romainguy_ | with linearlayout it would be easier |
23:02.30 | squeakypants | and use gravity to make the first one go to the top? |
23:02.43 | romainguy_ | no |
23:02.54 | romainguy_ | use a vertical linear layout |
23:03.11 | romainguy_ | keep your relative layout (even though your usage of fixed width/height makes me want to cry blood :) |
23:03.16 | romainguy_ | and then put your 3rd list view |
23:03.24 | romainguy_ | and give it a height of 0dip and a weight of 1.0 |
23:03.34 | squeakypants | 0dip? |
23:04.13 | squeakypants | and how can i make it percentage-based? |
23:04.21 | squeakypants | can i just use like 30% as a value? |
23:04.27 | romainguy_ | no |
23:04.44 | romainguy_ | you would have to give a height of 0dip to your relative layout |
23:04.48 | romainguy_ | and a weight of 2.0 |
23:05.01 | squeakypants | what's dip? and what's weight? |
23:05.41 | romainguy_ | dip = device independent pixel |
23:05.51 | squeakypants | lol just found http://code.google.com/android/devel/ui/xml.html |
23:05.52 | romainguy_ | weight = amount of remaining space you want to allocate to the widget |
23:12.00 | squeakypants | ugh oh |
23:12.03 | squeakypants | it crashes on launch :P |
23:21.17 | squeakypants | thanks for the help, btw romainguy_ |
23:21.46 | romainguy_ | no pb |
23:47.09 | *** join/#android duey (n=Nick@ip202-27-218-69.satlan.co.nz) |
23:53.23 | herriojr | is there a way to inflate xml that, say I pull off the wire, to an interface? Basically, I just want ot be able to specify a xml file or stream to use instead of having to specify a resource ID |