**** BEGIN LOGGING AT Sun Aug 26 03:00:00 2012 Aug 26 03:07:23 ugh why cant google play aggregate credit card charges Aug 26 03:07:30 i have like 20 $0.99 charges on my statement Aug 26 03:15:45 actually, I'd guess they can't Aug 26 03:23:48 does anyone have any idea why my app makes two icons? (for different activities?!) Aug 26 03:24:55 because you have two launchable activities in your app? Aug 26 03:26:03 Leeds, hmm, eclipse might have just added it to the manifest. will check, thanks Aug 26 03:26:18 unlikely, unless you told it to... Aug 26 03:27:25 it has its own wizards! I'm new to netbeans as well (imho, netbeans is way way better. wish there could be a plugin) Aug 26 03:27:57 I don't use either... Aug 26 03:28:19 so, no IDE? Aug 26 03:29:00 nope Aug 26 03:30:40 isn't it hard without an IDE? at least it colour codes it Aug 26 03:33:53 you don't need an IDE for syntax highlighting - any programmers' editor will do that Aug 26 03:35:40 yeah, but theres no harm in picking a good IDE, rather than a simple editor. Aug 26 03:36:12 a good editor isn't simple Aug 26 03:36:27 anyway, have you fixed your problem yet - the one you think Eclipse might have made for you? ;) Aug 26 03:38:19 yeah, it was eclipse's fault (auto generated the manifest and felt free to add the main intent bit)... thanks :) Aug 26 03:39:01 sinaa: it wouldn't generate multiple. Aug 26 03:39:17 fairly certain you copy and pasted something to cause this... Aug 26 03:40:45 jasta, I created a new activity and it does the layout and manifest as well. I'm sure I didn't copy paste the manifest bit. Aug 26 03:40:56 whatever Aug 26 03:41:11 good to know that using an IDE is working out for you :) Aug 26 03:42:04 lol ... its not easy to get used to! Aug 26 03:51:01 have to go. it was nice meeting everyone here today and thanks all for the help and the time. cheers Aug 26 04:34:22 how is android's performance with large byte arrays? Aug 26 04:45:54 jimi_hendrix, in what sense? Aug 26 04:45:57 a byte array is pretty basic Aug 26 04:46:01 how can I pass a class object to an intent? Aug 26 04:46:14 HorizonXP, what do you mean Aug 26 04:46:37 canadiancow: i'm calling startActivity Aug 26 04:47:01 i know I can putExtra strings and other simple data types Aug 26 04:47:13 any reason why i couldn't put a custom object? Aug 26 04:47:29 it has to be Parcelable (fast) or Serializable (slow) Aug 26 04:48:46 canadiancow: so I need to implement that interface Aug 26 04:48:48 k, let me try Aug 26 04:48:49 yes Aug 26 04:48:57 parcelable is typically faster Aug 26 04:49:04 but takes longer to implement Aug 26 04:49:15 and is only good for in-memory data passing Aug 26 04:49:28 serializable is slower, but allows you to persist objects to a file system Aug 26 04:49:34 or transfer them to another device or whatever Aug 26 04:52:49 canadiancow: parcelable it is Aug 26 04:52:54 but what do you mean longer to implement? Aug 26 04:53:05 serializable is "add implements Serializable" Aug 26 04:53:15 parcelable needs a couple methods and stuff Aug 26 04:54:04 canadiancow: that's.... not that difficult. lol. Aug 26 05:00:57 Gotta love those days where you spend all day implementing something only to realize at 1am the next morning that there was a stupidly simpler way. Aug 26 05:01:28 lol Aug 26 05:03:10 Oh well, at least I learned something new Aug 26 05:03:24 The More You Know(tm) Aug 26 05:03:34 EddieRingle: taht you should code at 1am more often? :P Aug 26 05:03:45 clearly :) Aug 26 05:04:50 I bet there's a bell curve for showing the relationship between fatigue and coding proficiency Aug 26 05:10:08 so apparently not all books on google play can be purchased in canada Aug 26 05:10:09 :\ Aug 26 05:10:25 and even if i make my device think its in the US, it wont let me use either my canadian credit card or my google play balance Aug 26 05:10:38 read: Google is jealous of Canada's bacon Aug 26 05:10:47 that must be it Aug 26 05:10:55 and my prepaid mastercard with a US address on it is out of funds, and not reloadable Aug 26 05:11:25 anyone wanna loan me a card? :) Aug 26 05:43:24 * napster invented that the list view will not be having fading edge shadow if the target SDK version is 16... x-( Aug 26 05:57:08 I am trying to add a library project, but keep getting errors. Aug 26 05:57:11 Error: Project folder '/home/sean/Code/CIQTest/BarcodeScannerLib' is not a valid directory. Aug 26 05:57:12 Error: No Android Manifest at: /home/sean/Code/CIQTest/BarcodeScannerLib Aug 26 05:57:35 The dir does have an Android manifest though. Is there something that I am missing? Aug 26 05:57:44 I am just following http://developer.android.com/tools/projects/projects-cmdline.html Aug 26 06:23:46 Sean-Der: What are you trying to do? Aug 26 06:26:09 ok, to add an item to a listview, i had to add it to the adapter, then call notifyDataSetChanged right? Aug 26 06:26:15 sorry Aug 26 06:26:19 add it to the source list Aug 26 06:26:26 then call adapter.notifyDatasetChanged Aug 26 06:27:10 Hi, is this code block ok for a login screen: http://www.pasteall.org/34713/java ? Aug 26 06:27:37 HorizonXP: yes Aug 26 06:28:58 gnu_d: it looks fine if you fire the even onLogin correctly Aug 26 06:29:26 napster: how do you mean correctly ? Aug 26 06:30:09 gnu_d: If its been fired when the user successfully logged in ;) Aug 26 06:31:22 napster: no I meant about the starting of the other intent, imagine there is validation and everything suitable for a login. Aug 26 06:31:28 Does someone have any resources on how to use 3rd party Oauth2 authentication Aug 26 06:31:51 The google summary here http://developer.android.com/training/id-auth/authenticate.html Aug 26 06:31:58 is so light on details it makes almost no sense whatsoever. Aug 26 06:32:10 The sample application for tasks is simialrly unhelpful, albeit for different reasons. Aug 26 06:32:24 Do I actually ahve to implement a custom authenticator? Aug 26 06:33:04 gnu_d: May be you can use noHistory flag instead of finish() Aug 26 06:34:27 anyone know what a requestCode of 197109 is? Aug 26 06:34:35 i mean 197108 Aug 26 06:35:23 napster: and what's the difference ? Aug 26 06:35:45 nevermind, i'm dumb/it's late Aug 26 06:36:28 gnu_d: http://developer.android.com/guide/topics/manifest/activity-element.html#nohist Aug 26 06:37:13 napster: but when I press the back button it works as it should, it leaves the app. Aug 26 06:37:32 napster: it doesn't remember any other intents Aug 26 06:38:25 gnu_d: Yeah your approach is commonly used, but this is in docs to achieve what you are trying to do. :) Aug 26 06:39:06 napster: so if I add this tag in the xml of my activity, the finish method will be unnecessary ? Aug 26 06:40:45 gnu_d: yes master Aug 26 06:40:55 :D Aug 26 06:40:59 :) Aug 26 06:41:23 napster: you easily get in slayed :D, kidding. Aug 26 06:42:20 * napster lives for ever Aug 26 06:42:40 :) Aug 26 06:43:48 Does someone have any resources on how to use 3rd party Oauth2 authentication Aug 26 06:46:16 man, so not understanding Activities and Intents Aug 26 06:46:42 I launch my Intent with startActivityForResult(intent, 500); Aug 26 06:47:02 then in that activity, i setResult(RESULT_OK, databackIntent); and then call finish(); Aug 26 06:47:19 so back in my main activity, i override onActivityResult Aug 26 06:47:30 and I'm trying to check the request and result codes Aug 26 06:47:33 neither are 500 Aug 26 06:47:39 I think it wants bundles. Aug 26 06:47:48 requestCode = 197108 and resultCode is -1 Aug 26 06:47:55 HorizonXP: RequestCode = 500, ResultCode = RESULT_OK Aug 26 06:48:08 napster: that's what it should be Aug 26 06:48:15 napster: but Log.d is saying it isn't. Aug 26 06:48:19 napster: and it's failing my checks. Aug 26 06:48:43 KirinDave: why would it want bundles? Aug 26 06:49:51 HorizonXP: Mind showing the child activity code? Aug 26 06:50:26 napster: sure, let me just remove some identifying info Aug 26 06:50:32 HorizonXP: Sorry was reading something else. Aug 26 06:51:44 napster, KirinDave: http://pastebin.com/4EgDVNAp Aug 26 06:52:08 napster: would it matter than the parent activity is a FragmentActivity? Aug 26 06:56:09 HorizonXP: And you press btnAdd and the child activity finishes? Aug 26 06:56:13 Which oauth scope should I use if I want to use the Google Oauth2 for authentication only. I don't want to freak out my users requesting access to stuff I don't need (and shouldn't need) Aug 26 06:56:21 napster: yes it does Aug 26 06:56:46 and my overridden onActivityResult in my parent activity executes Aug 26 06:59:49 napster: could it be cause I'm starting it from a fragment? Aug 26 07:00:05 HorizonXP: not sure Aug 26 07:02:05 napster: yup, needed to add a getActivity() in front of the startActivityForResult Aug 26 07:02:27 ok Aug 26 07:14:01 aaaarghhhhhhhhhhhhhhh Aug 26 07:14:30 When you look at your old apps, do you wonder why you did certain things certain ways as you learn more? Aug 26 07:25:12 I have some data accessible via ContentProvider item, is there something analogous to CursorAdapter for a single layout instead of a List? Aug 26 07:25:33 s/List/ListView/ Aug 26 07:57:30 what happen if i call multiple times StartService for an IntentService? Aug 26 08:00:03 sdada Aug 26 08:00:15 hi , someone here? Aug 26 08:00:17 :) Aug 26 08:00:44 Omar: nothing bad :) Aug 26 08:03:10 hi i am having very hard time debugging / reading stack trace, that logcat window is impossible to read properly, any better way to do this? Aug 26 08:05:12 I just did a fresh factory reset and flashed a new rom. Google Play hasn't bothered to resync all my old applications, is there a way to froce this action? Aug 26 08:05:19 Hi all, with the files in the gen folder, if you don't have them it causes errors. Is there any way they can be regenerated ? I have tried a clean and build all but it doesn't work. I eventually solved this by pasting a set in from a previous version Aug 26 08:05:50 sorry but i am a new java/android dev and not very used to eclipse but im finding it very hard to use, all exception messages appearing line by line Aug 26 08:05:52 its hard to read Aug 26 08:06:58 g00s: does IntentService handle the calls automatically? Aug 26 08:07:59 sure Aug 26 08:08:15 any tips Aug 26 08:09:29 i want to konw if someone have knowledge about the minimum system requirements to create android applications( RAM, processor and video card) ? Aug 26 08:09:39 sorry for my bad english Aug 26 08:10:06 thank in advance:) Aug 26 08:11:37 is there any way to print exceptions in console window in eclipse instead of logcat? Aug 26 08:24:17 Log.wtf haha Aug 26 08:27:23 what Aug 26 08:49:08 g00s: thanks, I thought I had to spend hours to make IntentService handle multiple calls :) Aug 26 08:57:39 rubin110. mine did that recently with my new roms Aug 26 09:05:54 hey all, i am trying to use rsync4android. but i am getting this error: http://i.imgur.com/jWvPi.png might anyone know what could be causing it? Aug 26 09:45:41 hi everyone Aug 26 09:45:52 can anyone tell me a good way to get my bearing if I haven't started moving yet? Aug 26 09:46:09 i know getBearing().. but if i just start it returns 0.0 Aug 26 09:46:15 0 . 0 Aug 26 09:46:32 tried to write a recursive method but got stackoverflow Aug 26 09:47:20 i know i can use orientation sensor to return the direction my pone is pointed in degrees east of north Aug 26 10:12:28 hi can someone respons me to this question Aug 26 10:12:42 i want to konw the minimum system requirements to create android applications( RAM, processor and video card) Aug 26 10:12:45 please Aug 26 10:12:52 sorry for my bad english Aug 26 10:12:58 thanks Aug 26 10:16:35 I want to buy a laptop and want to know which are the minimum requirements to create applications for Andriod(RAM processor and video card) Aug 26 10:17:57 for example this sistem is oky or not ? Laptop Acer AS5742G-384G32Mnkk i3-380M 320GB 4GB GF610M 1GB Aug 26 10:20:57 yea thats fine Aug 26 10:21:53 anything you buy new at a store now should be fine. Aug 26 10:24:05 spend 500 MB to run eclipse and another 500 MB to run android emulator, if you don't have a phone to test with. That's the memory requirement; arm emulation uses as much cpu as you can give it, but there are intel x86 images nowadays Aug 26 10:26:53 Thank you very much Aug 26 10:32:30 How can I handle back key on a ListFragment? Aug 26 11:29:29 hellooo? Aug 26 11:29:32 anyone here? Aug 26 11:30:00 635 people here Aug 26 11:37:53 in eclipse I made a new project using Tabs + Swipes. It's my first project from scratch (other than HelloWorld). I'm trying to drag a Time text field onto my graphical layout but it gives me the NO mouse cursor Aug 26 11:41:34 and what's this error? http://vvcap.net/db/JAA2aBNoJY4oAmSPhZ8U.htp Aug 26 11:42:06 The method onTabReselected(ActionBar.Tab, FragmentTransaction) of type MainActivity must override a superclass method Aug 26 11:43:37 saludos Aug 26 11:45:24 salud Aug 26 11:50:17 I'm having troubles adding anything to a canvas outside of onDraw(). I have a panel that draws some initial text onto a canvas inside of the onDraw method. That works fine. what doesn't work is somewhere outside of that (in the same class) there is an asyncTask that is supposed to drawText() and invalidate() but it is not updating. any suggestions? Aug 26 14:35:15 hello, if i set a breakpoint in onCreate() at setContentView(), right after the instruction is executed, the heap grows to 20MB, is it a normal behavior ? or am i using too much resources button icons ... ? Aug 26 14:42:32 listview.getChildAt(3) returns the 3rd visible row.. how can i get the 3rd row (even if it isnt visible)...? Aug 26 14:44:39 You want the view for the 3rd item in the list? Aug 26 14:44:46 If it's not on screen, there is no view Aug 26 14:45:25 Yea.. ok thanks i'll try another way then Aug 26 14:45:50 Just get the data for the item from your adapter Aug 26 14:48:06 I'm using android.R.layout.simple_list_item_multiple_choice , but lv.getItemAtPosition(i) returns a String and not the CheckedTextView that is in this layout Aug 26 14:48:24 Why do you need the view Aug 26 14:49:09 I need to check wether the CheckedTextView is checked.. Aug 26 14:49:30 I can have another List and store the checked ones but I thought this way would also work Aug 26 14:49:41 ListView.getCheckedItemPositions / Ids Aug 26 14:52:19 nice! Aug 26 14:53:08 whats SparseBooleanArray Aug 26 14:54:38 An array that maps intergers to booleans Aug 26 15:43:46 How can I make a listview streach the height of the views inside it? Aug 26 15:43:48 What I am trying to get is rounded corners at the to and bottom Aug 26 15:43:56 hi everyone Aug 26 15:44:37 *top Aug 26 15:45:17 raywan, is a 9-patch background image not suitable? Aug 26 15:45:57 saik0, it takes up more space than using a drawable with rounded corners Aug 26 15:46:06 *xml drawable Aug 26 15:47:37 which ads service is the "best"? I use admob now but I can read that some others are more efficient (tapJoy mobiclix?) Aug 26 15:48:21 raywan, i dont follow Aug 26 15:48:26 9patch Aug 26 15:56:55 raz86: tapjoy at least, is more action-based AFAIK - that is, it's asking users to do things like install apps or sign up for things, more than a simple click - so you get paid more if they do it Aug 26 16:03:54 thks leeds, clibix seems good but quite long to pay Aug 26 16:16:27 http://bel.fi/alankila/jbfonts.png Aug 26 16:16:35 did something happen that made font rendering absolute shit in jelly bean? Aug 26 16:18:11 observe: T-a distance, a should be much closer. i is too far from the preceding a. The stem widths are inconsistent, for instance "t" appears fatter than the other characters Aug 26 16:18:58 overall it looks really displeasing. Oddly, I'm pretty sure android used to render text better before. I never noticed this sort of thing, and it is the first thing that jumped to me now Aug 26 16:19:52 also I think the left-hand side of n is thinner than the right-hand-side. Not much, but this overall unevenness of text is really displeasing Aug 26 16:20:56 hey guys, so how do I build this native activity project from the commandline? Aug 26 16:21:19 I might go back to CM9 and never upgrade. Damnit, I'm almost sure Android used to render text better in the past Aug 26 16:21:28 Would be pretty easy to check Aug 26 16:22:52 the T-a distance is ridiculous. It looks like there's a full width space there Aug 26 16:29:58 what is the standard practice for calling external c programs on Android from inside a java main activity? is it just a 'Runtime foo = Runtime.getRuntime(); Process p = foo.exec("/path/to/helloworld");' ? Aug 26 16:30:44 julianoliver: No Aug 26 16:30:56 julianoliver: You use JNI to link a shared library Aug 26 16:31:06 ok Aug 26 16:31:17 i'll look into this. thank you. Aug 26 16:33:44 also there's this god damn mdnie thing which I hate about samsungs Aug 26 16:33:52 always ruining attempts of getting accurate display Aug 26 16:34:55 I think the "camera" mode gets rid of it, at least it doesn't look like text rendered by minecraft engine afterwards Aug 26 16:40:57 loke: what would i do if i need my application to run as root (for rooted devices)? Aug 26 16:47:52 julianoliver: what is it you need to do as root? Aug 26 16:49:40 loke: my application is built atop libpcap, for packet capture. Aug 26 16:49:56 I see Aug 26 16:50:32 Then you will have issues calling it directly from JNI Aug 26 16:51:02 right. would i have to spawn a root shell and execute my binary therein? Aug 26 16:51:03 you need to execute an external program, and you basically call su root -c command Aug 26 16:51:07 yeah Aug 26 16:51:12 ok Aug 26 16:51:16 that's my understanding. I neve rhad to do it myself Aug 26 16:51:18 hey guys, how do I build a project without ant? Aug 26 16:51:20 ok Aug 26 16:54:01 thanks loke. in this case i think i'll use Java for the UI, used to pass exec args to my binary and keep it simple. Aug 26 18:50:39 hey guys, how do I build a project without ant? Aug 26 18:51:11 you don't Aug 26 18:51:27 ESphynx, use eclipse Aug 26 18:52:34 no I don't have eclipse or ant :P Aug 26 18:52:49 I know how to do it with Eclipse ;P Aug 26 18:56:16 * alankila wonders if program apkbuilder is of any help Aug 26 18:56:24 check build.xml from /tools/ant to see what ant does Aug 26 18:56:50 Some people have used maven...but ant and Eclipse are your best bets Aug 26 18:57:00 looks like apkbuilder is deprecated. Supposed to use some java class now Aug 26 18:57:09 There is also the AIDE app Aug 26 18:58:18 I wish eclipse supported the native shite better Aug 26 18:58:26 would be great if it could do ndk-build each time I deploy Aug 26 18:58:43 that already would get pretty far Aug 26 19:00:03 yeah using some java classes sucks for me who want to stay away from Java as much as possible :P Aug 26 19:00:10 Yaa, all my ndk heavy stuff is ant-based Aug 26 19:00:17 problem is I don't even have ant Aug 26 19:00:32 and I'm not very keen on using it either, as it seems to just invoke aapt Aug 26 19:01:17 you guys know what a native activity needs? I mean your native code ends up a .so, but is there any particular Java class taht needs to be packed in? Aug 26 19:01:49 C:\android-sdk\tools -- all I got in there is a build.xml and notice.txt Aug 26 19:05:44 ESphynx, I believe the Native Activity sample does not pack in Java. I am definitely not 100% sure on that though. http://developer.android.com/tools/sdk/ndk/index.html#Samples Aug 26 19:14:57 Ologn: Yeah native-activity is what I'm trying to build right now :P Aug 26 19:15:09 I'd be happy even just producing an APK for now :P Aug 26 19:15:14 but ant did not install with the SDK? Aug 26 19:19:59 what does ant do anyways Aug 26 19:23:32 Well I had to manually download/install ant Aug 26 19:24:55 apparently it doesn't come with the sdk ? :P Aug 26 19:36:02 why do I get [INSTALL_PARSE_FAILED_NO_CERTIFICATES] :| Aug 26 19:37:23 I would like to create home screen show apps like animation. Can any one tell me some tutorial how to do that? Aug 26 19:37:44 As I have looked at android launcher code, but not able to get anything from it :( Aug 26 19:41:46 nice. got it :) Aug 26 19:52:33 ESphynx, you install an APK with either signed certificates, or as a debug apk Aug 26 19:54:09 yeah I figured out to do the signing Aug 26 19:54:27 and it looks like all I need is to figure out how use aapt to create the apk... Aug 26 19:54:29 anyone got a clue on that? Aug 26 19:54:40 i.e. to skip ant Aug 26 19:54:53 or how to get the aapt commandline that ant invokes Aug 26 19:55:16 (indeed no java code went in the apk, just that shared library) Aug 26 19:55:25 well thanks for the help guys, gotta run but I'll check later ) Aug 26 19:56:49 So I have a dialog, it executes, gets a number from the user, they hit okay. Now I use the number to set the array size. However, the program kept going past the alert, not waiting? How do I make the application wait for the dialog? Aug 26 19:57:15 seems to be a basic of the alert dialogs Aug 26 20:28:23 Why do I get : error: No resource identifier found for attribute 'versionCod Aug 26 20:32:51 oh well look at that I just packged my own sdk with aapt =) awesome Aug 26 21:29:07 hey all, i am getting in logcat: Warning: failed creating /data/.ssh: Permission denied Aug 26 21:29:11 any idea why? Aug 26 21:30:06 for some reason you tried creating .ssh config directory in /data which is locked from such modifications by apps? Aug 26 21:30:39 How do i compile AOSP app inside eclipse. For example im trying to compile MSM inside eclipse but get tons of errors. Aug 26 21:31:49 optimusM: load the entire source in eclipse, not just for the app http://wiki.cyanogenmod.com/wiki/Loading_source_in_eclipse Aug 26 21:32:09 ABS doesn't provide ICS style tabs correct? Aug 26 21:32:30 It provides ICS style action bar tabs Aug 26 21:35:51 SimonVT: I was just looking at the Tab Navigation sample, and it uses the native tabhost. Aug 26 21:35:52 Sorry i'm back Aug 26 21:36:14 So how can i compile AOSP app inside eclipse without getting errors? Aug 26 21:38:00 And tabhost is not action bar tabs Aug 26 21:39:28 aye Aug 26 21:39:35 Where are inapp- earnings shown? Aug 26 21:39:51 At the same list where the app sales are shown? Aug 26 21:44:24 optimusM: load the entire source in eclipse, not just for the app http://wiki.cyanogenmod.com/wiki/Loading_source_in_eclipse Aug 26 21:46:11 Can you resend that link please Aug 26 21:46:36 p http://wiki.cyanogenmod.com/wiki/Loading_source_in_eclipse Aug 26 21:47:13 Does anyone have a up to date chart on what percentages every category takes up in the market world? Like what percent of all apps are games, or books, or entertainment, etc Aug 26 21:52:38 hey all, i can now get an strace of the error, might anyone know why rsync hangs here?: http://nopaste.dk/p14018 Aug 26 21:59:51 Can you provide us with your LogCat? Aug 26 22:32:28 Hey, in your opinion, what is the best solution to tunnel http communication through ssh? Aug 26 22:32:37 1- using another app via intents Aug 26 22:32:49 2- doing the coding all in my app Aug 26 22:55:18 mobile ad network guy here? Aug 26 22:55:53 Which network? Aug 26 22:56:17 highlight me when you get that message^ Aug 26 23:33:20 bah. gcc must suck with ARM. Tried vectorizing a program using the __attribute_((vector_size(16))) to make a vec4. Worked fine, but performance on ARM plummeted to half of what it used to be Aug 26 23:33:38 sort of bizarre given that the previous code was pretty much doing the same thing but only everything explicitly coded component by component Aug 26 23:34:05 so instead of a + b, I had a.x + b.x, a.y + by, a.z + b.z, a.w + b.w Aug 26 23:34:56 also the component-by-component code slows down by half merely if I tell gcc to use neon for that. *shakes head* Aug 26 23:36:34 there's probably a significant speedup waiting in the wings if gcc gets bettern arm capability. Aug 26 23:47:11 Anyone have experience with in-app purchases? Aug 26 23:48:21 code1, more than i'd like to admit :P Aug 26 23:48:44 canadiancow: ha, yeah tell me about it! Aug 26 23:49:34 Have you done any refund handling? Aug 26 23:49:40 no Aug 26 23:49:47 only in app stuff ive done is through my company Aug 26 23:49:50 and im just a dev there Aug 26 23:49:52 i dont deal with customers :) Aug 26 23:50:09 technically speaking, i dont think we have much implemented Aug 26 23:50:16 I mean in-code. Aug 26 23:50:25 nah it's never even come up Aug 26 23:51:04 Are you using managed or unmanaged products? Aug 26 23:51:05 like honestly the cost of implementing/testing/maintaining refund handling probably outweighs jsut eating the cost and letting users get stuff free Aug 26 23:51:10 unmanaged Aug 26 23:51:14 we manage everything on our own servers Aug 26 23:51:36 So you're saying I can get free stuff in zynga apps? Aug 26 23:52:10 well you'd have to convince customer service to issue a refund Aug 26 23:52:16 and i have no evidence we've ever done that Aug 26 23:52:20 (but none that we haven't, either) Aug 26 23:52:24 meh Aug 26 23:52:46 canadiancow: that's so true re: time v cost. The amount of time I've spent on in-app billing vs the few cents I'm likely to make, I probably shouldn't even have bothered to start with! Aug 26 23:52:48 but if they edit the number of coins in your account or whatever, then the client will reflect that Aug 26 23:52:56 code1 :) Aug 26 23:53:04 i was thinking about putting it into an app of mine as a "donation" Aug 26 23:53:06 its free, no ads Aug 26 23:53:12 but if you want to send $1 or $5 or something, sure Aug 26 23:53:19 but then i dont care if you "cheat" or anything Aug 26 23:53:24 and i dont have to take action in the app after Aug 26 23:53:27 so it would be fairly trivial Aug 26 23:54:58 yeah not sure how many people actually donate these days though. Aug 26 23:55:47 ive had people emial me asking for my paypal address to send $5 Aug 26 23:56:09 but i figure when i want to actually make money, i will make more than $5 here and tehre Aug 26 23:56:24 ads on the website for one of my apps pull in about $5/day, which is already kinda nice for something i do for fun Aug 26 23:57:00 nice. what's the app / site? Aug 26 23:58:28 http://www.coveragemapper.com/ Aug 26 23:58:47 http://www.coveragemapper.com/maps.php and pick yoru carrier for a quick look Aug 27 00:03:23 Cool idea. Aug 27 00:08:07 No coverage for Mongolia though! :p Aug 27 00:13:32 download it then :P Aug 27 00:13:41 although it can take a coupel days for the first data for a new carrier to show up Aug 27 00:15:03 also it'd take me a few days to get to Mongolia. ;) Aug 27 00:35:54 i just finished the 'get started' section of the android training on website Aug 27 00:36:00 any recommendations on next steps/ Aug 27 00:36:22 i am already familiarish with java and have a lot of php and python experience Aug 27 00:40:32 I am dynamically creating fields in my app. How do I say in android for an item to fill parent? a textview bound to a linearlayout, add the tv to the ll. make textview fill parent? Aug 27 00:49:41 How can I style the shareaction Aug 27 00:49:53 I am using the actionbarsherlock Aug 27 01:09:44 Hey guys Aug 27 01:09:48 question about full disk encryption Aug 27 01:10:06 Is it only encrypted when the device is off and decrypted upon bootup Aug 27 01:10:18 or does it encrypt again when screen locks Aug 27 01:12:06 And question 2. Aug 27 01:12:21 is the Master Key encrypted using the user's password/pin? Aug 27 01:12:29 yes Aug 27 01:12:36 it doesn't encrypt when it relocks Aug 27 01:12:39 erh, reencrypt Aug 27 01:12:43 e.g. System boots. User enter's pin. Decrypts Master Key. Master Key decrypts GS Aug 27 01:12:48 FS* Aug 27 01:12:50 well sorta Aug 27 01:13:20 system boots, user enters password/pin, password/pin descrypts master key which is used to mount the encrypted filesystem Aug 27 01:13:29 unencrypted data is only in RAM Aug 27 01:13:41 ah okay Aug 27 01:13:43 so I was close Aug 27 01:13:47 yes Aug 27 01:13:57 so even if the system is stolen live and dumped Aug 27 01:14:01 the contents are still encrypted Aug 27 01:14:04 yes Aug 27 01:14:14 note that a 4-17 digit pin is rather easy to decrypt, though Aug 27 01:14:14 okay Aug 27 01:14:20 right Aug 27 01:14:23 the only caveat Aug 27 01:14:30 i have my phone set up with a real password, but i have the lock screen doing pattern unlock... Aug 27 01:14:33 not to mention it's the same as the UI lock password/pin, correct? Aug 27 01:14:44 yes, but you can make them different Aug 27 01:14:49 true Aug 27 01:14:53 it will lock you to pin/password though unless you hack the framework Aug 27 01:14:58 like i did :P Aug 27 01:15:00 haha Aug 27 01:15:01 right Aug 27 01:15:05 unlock most users Aug 27 01:15:06 so by default Aug 27 01:15:14 it's the same pw/pin throughout Aug 27 01:15:18 yeah Aug 27 01:15:20 just for clarity Aug 27 01:15:22 interesting Aug 27 01:15:36 i think it's shortsighted and dumb Aug 27 01:15:43 but eh w/e Aug 27 01:15:44 yeah Aug 27 01:16:00 for the best entropy, I can only do max 17 bytes Aug 27 01:16:03 and if they are locked together Aug 27 01:16:17 yeah Aug 27 01:16:19 i don't want them the same. I'd hate to have to type out a 17 byte pw/pin everytime to unlock my screen Aug 27 01:16:23 exactly Aug 27 01:16:35 that's why i set mine different, and made the framework allow pattern unlock Aug 27 01:16:48 so i type a long password on bootup, then just a pattern while it's running Aug 27 01:17:18 i'm rather happy with it Aug 27 01:19:43 haha I bet Aug 27 01:20:39 i need to make it take >17 character passwords at some point, though. Aug 27 01:20:48 that would be nice Aug 27 01:20:55 ridiculous to limit that sort of thing :/ Aug 27 01:21:07 i wish android had something similar to iOSs data protection Aug 27 01:21:12 and encrypted containers Aug 27 01:21:21 ? Aug 27 01:21:52 apps can't read any data that isn't their own unless it's been explicitly allowed Aug 27 01:22:31 hmm Aug 27 01:22:32 true Aug 27 01:22:41 im just thinking in terms of development Aug 27 01:22:47 other ways to further secure my data Aug 27 01:23:02 so I guess I can generate a master key, encrypt my data Aug 27 01:23:18 I just need to find a place to store this key (encrypted of course). I saw the Keystore, which I need to look at Aug 27 01:23:44 historypeats: there's nothing stopping you from using your own encryption Aug 27 01:26:49 ugh, my connection is crap tonight Aug 27 01:26:55 historypeats: there's nothing stopping you from implementing your own encryption routines Aug 27 02:09:31 anyone ever had problems retrieving data from a restful api on localhost? Aug 27 02:10:22 uuh Aug 27 02:10:30 from emulator? Aug 27 02:10:37 yep Aug 27 02:10:42 emulators localhost is different Aug 27 02:10:44 its its own Aug 27 02:10:53 ah i see Aug 27 02:10:55 you have to go in externally Aug 27 02:10:59 through your ip Aug 27 02:11:11 from phone to your ip Aug 27 02:11:19 set port in tomcat Aug 27 02:11:24 unblock it in your router Aug 27 02:11:57 unless 8080 is already unblocked Aug 27 02:12:06 theres doc online to see Aug 27 02:12:31 will do, thanks! Aug 27 02:12:35 np :) Aug 27 02:14:37 sweet, that did the trick Aug 27 02:40:32 Hello. Im trying Eclipse "hello world" example but it doesnt run. Console says "Error in an XML file: aborting build." and Eclipse error log says "!MESSAGE Failed to load properties file for project 'Test'". Any clue on hox to fix this? Aug 27 02:41:46 tried "Android Tools" -> "Fix projetc properties" but no deal Aug 27 02:45:09 http://www.theverge.com/2012/8/26/3270433/nexus-7-europe-availability-france-germany-spain Aug 27 02:45:27 yeah... Aug 27 02:45:52 Leeds, did you get one yet ? Aug 27 02:45:59 yup, got it a week ago Aug 27 02:46:05 like it ? :) Aug 27 02:46:17 certainly do Aug 27 02:46:33 i should probably get one for dev sometime Aug 27 02:46:51 there are persistent rumours of an imminent HK release - at the same price as the UK/EU release, except there's no 20% tax here Aug 27 02:47:02 and no Play Store credit Aug 27 02:47:37 still a nice little toy **** ENDING LOGGING AT Mon Aug 27 02:59:57 2012