**** BEGIN LOGGING AT Sun Jul 06 02:59:59 2014 Jul 06 03:05:08 I need help, I'm using MIT app maker to try to make an app which responds to text messages automatically even if the phone's screen is locked or asleep. I just tested it, and the app doesn't send response texts if the phone's screen is asleep. Jul 06 03:05:55 is there an easy way to implement something like this using something like ADT bundle for android? I'd be willing to use ADT instead if I can get the functionality I want (and help doing it) Jul 06 03:07:00 it might be a app permission thing Jul 06 03:07:05 I am not sure Jul 06 03:07:19 also it doesn't seem to work if the app doesn't have focus :/ Jul 06 03:07:38 In the android os, if an app doesn't have focus, does it automatically run in the background and respond to activity events? Jul 06 03:07:48 you might have to use ADT or something, to create a service Jul 06 03:07:49 or does that usually have to be specially defined? Jul 06 03:08:02 you have to set it up that way Jul 06 03:08:11 it's to bad MIT app inventer doesn't let you export the source for other dev environments. Jul 06 03:08:19 Then I could do some of the work in app inventer and then custom code in the rest myself. Jul 06 03:08:43 so it does not generate code you can read? Jul 06 03:08:52 nope it only generates these visual code blocks. Jul 06 03:08:55 which you snap together. Jul 06 03:09:01 I can code and it'd be nice if it lets you add your own code. Jul 06 03:09:07 his Java hidden behind that someplace? Jul 06 03:09:11 is Jul 06 03:09:15 Probably very abstracted Jul 06 03:09:19 XD Jul 06 03:09:29 ADT is not that hard if you can already code Jul 06 03:09:41 I can already code I just need to learn android and right now i'm having issues getting ADT to work properly on my pc Jul 06 03:09:42 just follow a couple of the tutorials on the site Jul 06 03:09:44 i'm running out of hard drive space to Jul 06 03:09:48 and you will get the idea Jul 06 03:09:53 I've used it before, I know. Jul 06 03:10:15 I want to understand the canvas object. is it possible to have a background image on the canvas and then have a ball roll around on it and have the ball slowly reveal the image Jul 06 03:10:21 having an opacity layer overtop of the background Jul 06 03:10:22 ? Jul 06 03:10:47 Like basically you start out black and it reveals like a fog of war thing Jul 06 03:10:54 it sounds like the MIT app creator is not suitable for the level of functionality you require Jul 06 03:11:19 I don't see why not Jul 06 03:11:35 I don't know how to do it off the top of my head tho Jul 06 03:11:49 I guess you could do it with alpha values Jul 06 03:12:27 I was thinking of having a black set of pixels Jul 06 03:12:40 so you would have two bitmaps and then zero the alpha values of the top one under the ball Jul 06 03:12:44 and drawing over the pixels (changing them) on layer 1 (foreground) with opacity values until opacity is 100% (fully transparent) Jul 06 03:12:47 yes Jul 06 03:13:03 but it would need to be variable alpha values to. Jul 06 03:13:14 ie the center of the ball would drop the most opacity Jul 06 03:13:22 and the outer edges would reveal less, opaquely Jul 06 03:13:40 I assume canvas supports alpha blending, I know opengl es does Jul 06 03:13:51 I have done opengl stuff personally. Jul 06 03:14:01 but not worked much with the canvas Jul 06 03:15:42 oh Jul 06 03:15:56 it says here that I can create a canvas and have a bitmap which i can then draw onto another bitmap Jul 06 03:16:25 so i'm guessing if I set transparencies on my first bitmap, then in this order draw the background picture I want, and then draw the first layer onto the background with it's opacity settings Jul 06 03:16:28 it should work Jul 06 03:16:56 yup, afaik all the canvas stuff is indirect unless you specifically require a device one. Jul 06 03:17:15 I agree, at a glance. Jul 06 03:17:44 you'll want to mess around and ensure whatever you use does hardware acceleration Jul 06 03:20:44 ya only above a certain min api level is there hardware support iirc Jul 06 03:25:31 oops http://i.imgur.com/EJVBCzL.jpg Jul 06 03:26:51 I don't really know what i'm doing, I'm checking the API documentation for canvas but this stuff is still really new for me. Mostly, not the syntax but the way it is layed out. The heiarchy of it all if you will. Is there some good documentation I can read that goes through all the steps to start learning, because I am pretty much doing this wrong in a way. I'm jumping in and learning Jul 06 03:26:51 about random stuff without knowing all the things I might need to know. So yeah that is why I feel a bit lost. Jul 06 03:31:24 http://developer.android.com/training/building-graphics.html Jul 06 03:31:38 you could try following those tuts, they helped me Jul 06 03:32:04 okay thanks Carbonflux Jul 06 03:32:08 also... Jul 06 03:32:11 http://developer.android.com/guide/topics/graphics/index.html Jul 06 03:32:13 :) **** BEGIN LOGGING AT Sun Jul 06 04:03:50 2014 Jul 06 04:03:55 :) Jul 06 04:04:18 StaticLayout has a couple "ellipsize" properties, but they're poorly documented (and they don't seem to care about height / line count) Jul 06 04:19:33 brb Jul 06 04:33:05 greetings Jul 06 04:33:36 can someone point me to recommended reading (video would be even better) for creating custom views with custom interactive elements in the view? Jul 06 04:33:59 I want to make a circular control for an app (not a game) that has two different handles to be dragged around a circle. Jul 06 04:34:12 hesperaux hm, romain guy has one on parleys but thats all i can think of Jul 06 04:34:32 I've drawn the view on canvas so far, but I don't know where to start with interaction of multiple regions of the same canvas Jul 06 04:34:34 its not really that well documented imho Jul 06 04:34:56 yeah, i was on the android dev page for this, but even their example code uses only the scroll gesture, which won't work for me Jul 06 04:34:58 hey Jul 06 04:35:03 and it only has one interaction on the example view Jul 06 04:35:33 i'm kind of curious where all the good app designer/programmers learned it all. am I missing something? Jul 06 04:35:44 I'm trying to do the tutorial and it says to open a file that doesn't exist Jul 06 04:35:56 fragment_main.xml file from res/layout/ Jul 06 04:36:06 that folder is empty :/ Jul 06 04:36:11 ngc0202`, is fragment_main.xml there? Jul 06 04:36:23 ngc0202`, it needs that file Jul 06 04:36:31 res/layout is completely empty Jul 06 04:36:39 according to eclipse at least Jul 06 04:36:44 the tutorial source must have the contents of fragment_main.xml available, in order for you to create it Jul 06 04:36:45 I just created the project Jul 06 04:37:39 the sample code is probably inflating fragment_main, ngc0202`. You will need it. You can right-click the res/layout folder and add an android XML file, or just drag and drop said file from whatever tutorial sources you have into there Jul 06 04:38:05 okay Jul 06 04:39:54 g00s, my idea was just to do the following: override onTouchEvent and react if the touch is within boundaries stored in my handle object (the thing the user drags) Jul 06 04:40:28 and to have a set of properties that affect where the handle is drawn in onDraw() Jul 06 04:40:47 and with each ACTION_MOVE or whatever it is in onTouchEvent(), have it invalidate the view Jul 06 04:41:12 but that seemed to me like it would be very slow and that it would invalidate the view much too often. And then there's animation to think about... Jul 06 04:48:39 Where's all the Java code go? Jul 06 04:48:43 If this is just XML Jul 06 04:48:53 Like how do I write in the code for what happens when the button is presse Jul 06 04:49:47 ngc0202`: The documentation tends to have both XML and programmatic instructions. Jul 06 04:53:23 yeah Jul 06 04:54:44 ugh the src/ folder was empty too so I had to make the MainActivity file Jul 06 04:55:00 and I copied and pasted from the thing: MainActivity extends ActionBarActivity Jul 06 04:55:08 Eclipse has no idea what an ActionBarActivity is Jul 06 05:06:22 you need to add appcompat Jul 06 05:12:03 Hi, I'm trying to understand what does this function do exactly http://developer.android.com/reference/android/view/View.html#setLayoutParams(android.view.ViewGroup.LayoutParams) Jul 06 05:12:35 set parameters (like we set in XML layout file) on the parent of the view ? Jul 06 05:16:03 Is there a way to ready an adapter outside the fragment? I'm doing this so that the fragments can share the same adapter Jul 06 05:20:44 razzledazzle that sounds kinda busted Jul 06 05:24:20 How does this thing have no idea what a ActionBarActivity is Jul 06 05:25:15 ngc0202` you probably have to tell eclipse to use it as an external library Jul 06 05:26:19 uh Jul 06 05:26:21 How? Jul 06 05:27:19 yeah, i dunno sorry - it should be in the instructions :P Jul 06 05:31:07 g00s: could you help me with that ? :D Jul 06 05:32:08 shmoon yes, its programatically setting things you would usually put as attributes on the child view Jul 06 05:32:24 which of course, the validity of which depend on the parent view Jul 06 05:33:07 this one is actually documented ok. usually its like "Set the layout parameters associated with this view. The end" Jul 06 05:33:25 okieee Jul 06 05:41:24 g00s: I am using a gridview with imageview in it. That doc says "These supply parameters to the parent of this view" but setting width/height through it happens on the imageview(child) not parent (gridview) Jul 06 05:42:42 yeah thats right … what were you expecting ? Jul 06 05:43:24 g00s: Well, I'm trying to create a search activity, it is has a Spinner that lets the user specify search categories, there's a category that includes everything, so I'm thinking to prepare all of the cursors outside, merge it with a custom merge adapter, then set those individual adapters to the respective filter fragments Jul 06 05:43:49 g00s: based on "These supply parameters to the parent of this view" i was expecting the width/height to set on gridview Jul 06 05:44:02 or based on "Set the layout parameters associated with this view" Jul 06 05:44:23 shmoon no, its for the parent so that it knows how to lay out the kiddies :| Jul 06 05:46:07 g00s: and the parent is gridview in my case right? Jul 06 05:46:16 right Jul 06 05:46:28 so width/height should set on parent which is gridview, right ? Jul 06 05:46:54 *adapters Jul 06 05:47:15 shmoon your gridview is probably match_parent / match_parent Jul 06 05:47:23 this is not that complicated :) Jul 06 05:48:01 g00s: ya the thing is this piece of code - imageView.setLayoutParams(new GridView.LayoutParams(320, 320)); - will the width/height be applied on imageview or gridview (based on the docs) ? Jul 06 05:48:16 the imageview ! Jul 06 05:48:46 according to what the docs say which is "Set the layout parameters associated with this view. These supply parameters to the parent of this view" it should apply to the gridview, but it gets applied to imageview Jul 06 05:48:53 so is the docs incorrect or am I misinterpreting it ? Jul 06 05:49:02 you are misinterpreting it Jul 06 05:49:31 how? the docs say supply params to the "parent" (gridview in my case) of this view (imageview in my case) Jul 06 05:49:58 * g00s strangles shmoon Jul 06 05:50:02 shmoon see http://developer.android.com/guide/topics/ui/declaring-layout.html Jul 06 05:50:22 go down until you see "Layout Parameters" Jul 06 05:50:36 ponder the graphic, with LinearLayout as the root Jul 06 05:50:48 and notice the children having LL's LayoutParams Jul 06 05:51:05 ok doing one sec Jul 06 05:56:16 ok, i find it a little confusing. so the layout details (dimensions, positioning, etc.) for a view is stored in the parent viewgroup. am i even going on the right track? Jul 06 05:58:02 no Jul 06 05:58:24 consider LinearLayout Jul 06 05:58:28 RedEyedGirl: It only took two hours, but I figured out a hacky solution to my ellipsizing text problem :) Jul 06 05:58:47 it has its own LayoutParams, One of those, weight, is only available to LL Jul 06 05:58:58 so if you are a child of LL, you can use weight. if not, you can't Jul 06 05:59:31 the paren'ts layoutparams define what the child can have Jul 06 05:59:54 parent's LayoutParam /class/ Jul 06 06:07:14 this code works fine when the adapter is being created inside the onActivityCreated(), but fails when on the containing acitivity, shouldn't the adapter be independent of this? Jul 06 06:07:17 http://pastebin.com/n3UGnbLi Jul 06 06:08:21 Getting NullPointerException at android.widget.AbsListView.obtainView(AbsListView.java:2352) Jul 06 06:12:45 does anyone have experience with device-admin, watch login policy? Jul 06 06:13:29 I'm wondering if this counts failed pattern attempts or counts after 5 attempts as a failed Jul 06 06:19:20 Anyone on? Jul 06 06:19:58 Nope Jul 06 06:20:29 Lol Jul 06 06:21:11 Well maybe no one can help me figure out why my app force closes when I use double = Double.parseDouble (String); Jul 06 06:22:04 the string is null? Jul 06 06:22:23 No I check that with a toast Jul 06 06:22:35 Steing ihas a value Jul 06 06:22:39 did you check it with debugger? Jul 06 06:22:40 String Jul 06 06:22:44 or NumberFormatException Jul 06 06:22:46 use the debugger Jul 06 06:22:50 did you try and use a literal Jul 06 06:22:52 Im using AIDE on my phone... Jul 06 06:22:54 instead of a string object? Jul 06 06:23:19 im betting you get the string from an edit text? Jul 06 06:23:20 Sorry im still learning android dev... Jul 06 06:23:24 Yes Jul 06 06:23:26 the toast probably tells you nothing Jul 06 06:23:40 id guess you are trying to do this in oncreate Jul 06 06:23:46 which means that the edit text is not yet inflated Jul 06 06:23:50 which means that the string is null Jul 06 06:23:50 Also correct Jul 06 06:24:02 but the toast happens after so it'll be not null, by that point Jul 06 06:24:03 Hmmm any suggestions? Jul 06 06:24:11 which is why using a toast to test a string is not the way to do it Jul 06 06:24:12 sure Jul 06 06:24:13 make a button Jul 06 06:24:20 make it happen only when you click button Jul 06 06:24:20 lasserix: Please stop abusing your return key, you limpdicked halfwit. Jul 06 06:24:30 but you should really use the debugger Jul 06 06:25:10 My app doesnt use buttons. It uses onFocusChanged event handlers Jul 06 06:25:32 rau at least i have a dick im guessing since you like to call people limpdicked halfwit's you lost yours from sitting like a neckbeard in front of radiating moniters all your life Jul 06 06:26:01 *not like i'm interrupting someone else's conversation, and no one else is willing to help Azindiedev519 Jul 06 06:26:44 Azindiedev519_: yes but to test if it works, using a button (for debugging, which is why you should use a debugger) will force the edit text getText to give a real value, not a null value, since clicking the button will mean the layout will have been laid out Jul 06 06:27:42 Azindiedev519_ maybe you should learn android … not using AIDE on your phone Jul 06 06:28:02 rau is a bot Jul 06 06:28:06 use something normal like Eclipse/ADT, AS, etc Jul 06 06:28:13 He's in several chans doing the exact same shit Jul 06 06:28:16 Azindiedev519_: view hieraches (whats in your xml file) are not inflated by the end of the onCreate call, so if you try and pull values from them in onCreate they'll give null values and hence crash Jul 06 06:28:21 MaChix: ahh thanks ;p Jul 06 06:28:48 ah, if only we had ops who could do something about that... Jul 06 06:31:23 hey Leeds , i see a project that gives xcode vim keybindings, i'm sure you are chomping at the bacon ! Jul 06 06:31:33 NO XCODE! Jul 06 07:02:41 how do I adjust the permisions Jul 06 07:02:48 can't find any examples online Jul 06 07:09:39 android studio is much faster on linux Jul 06 07:09:42 o.o Jul 06 07:11:06 how much would it cost me to pay someone to develop a simple game for me Jul 06 07:11:10 or create the template project with code Jul 06 07:11:15 a lot Jul 06 07:11:15 I'd be willing to pay about 30 dollars. Jul 06 07:11:21 good luck Jul 06 07:11:22 even if it was simplistic, thepoosh Jul 06 07:11:36 30$ will never be enough Jul 06 07:11:40 hm Jul 06 07:11:44 that is less than one hour Jul 06 07:11:45 how many hours of work would it take Jul 06 07:11:50 for any pro Jul 06 07:11:52 hm Jul 06 07:11:59 do you have a full spec? Jul 06 07:12:05 full spec? Jul 06 07:12:06 Uhm Jul 06 07:12:08 30 hours with testing Jul 06 07:12:19 All I want is a ball game that reveals an image as the ball rolls over it. Jul 06 07:12:22 it uses the orientation sensor Jul 06 07:12:25 i can make it already in mit app maker Jul 06 07:12:29 Bu ti want to speed up production Jul 06 07:12:29 RedEyedGirl: Please stop abusing your return key, you gross loser. Jul 06 07:12:49 rau, sorry. I feel insults are not very nice though. Jul 06 07:13:18 apparently its a bot Jul 06 07:14:42 RedEyedGirl, making anything with code is a lot harder than mit app maker Jul 06 07:15:37 g00s , I'm not a bot? :/ Jul 06 07:15:50 <_3mpty> RedEyedGirl: but rau is Jul 06 07:16:04 <_3mpty> he just protecting us from flooding Jul 06 07:16:29 hello Jul 06 07:17:12 anyone here ever publish a game or other application with advertising? Jul 06 07:17:33 I see. Jul 06 07:17:44 what do you see? Jul 06 07:18:01 and hello RedEyedGirl. Jul 06 07:19:02 RedEyedGirl sees … red ! Jul 06 07:19:40 scary. I'll try to stay out of the way. Jul 06 07:22:27 g00s: ok, what about this example. RelativeLayout.LayoutParams does not have gravity, but I can do setGravity() on a view inside a RelativeLayout Jul 06 07:22:59 thats a different gravity Jul 06 07:23:06 there is gravity, and layout gravity :D Jul 06 07:23:11 gotta go Jul 06 07:23:15 oh sorry yes you're right crap :D Jul 06 07:23:20 thanks man g00s you helped me a lot Jul 06 07:23:43 so no one has released an app with ads? :( Jul 06 07:23:57 i used phonegap once to do that Jul 06 07:24:20 you have an app on the market with ads then? Jul 06 07:25:45 <_3mpty> boredDev: I would be a lot easier to find answer if you would ask directly about case Jul 06 07:26:40 that is the question. but how about this, anyone have any suggests about how to set up an app in google play to avoid having the advertising company disable your advertising. Jul 06 07:27:39 I used admob for one game, and they disabled it. I legit tried to do everything right, and they don't tell you why they disable it. Jul 06 07:27:57 I tried to fix it, but they refused my appeal and will never offer me service again. Jul 06 07:28:25 so I'd really like my next application to retain its advertising. Jul 06 07:29:05 plus I'd rather not run out of advertising companies trying to figure out how to get it right. Jul 06 07:29:05 <_3mpty> in my opinion no chance Jul 06 07:29:21 no chance? Jul 06 07:29:35 <_3mpty> they are providing adverts online, so they can always cut off the stream Jul 06 07:29:44 I'm not using admob this time (since they won't give me service again), I'm using another one. Jul 06 07:30:18 but I'd rather not make any mistakes setting it up, because I really do need to make money of this stuff. Jul 06 07:31:17 <_3mpty> i think that it's still similar mechanism, they can always cut you off, only thing that you can do is read their therms and conditions, follow rules and guideliness Jul 06 07:31:39 <_3mpty> or use custom tailored adverts without brokers Jul 06 07:31:56 <_3mpty> gotta go, cya Jul 06 07:32:08 later. Jul 06 07:37:15 anyone else? got any suggestions? privacy policies, maturity ratings, etc? Jul 06 07:53:40 getting this error on ubuntu 14.04 64 bit http://pastebin.com/y59kRasA Jul 06 08:13:46 How do I make a linearLayout to have the same background as listview item on pressed with api 8+? Jul 06 08:19:02 yoavst: how do you mean? Jul 06 08:19:15 is the layout a child of the listview item? Jul 06 08:19:19 not Jul 06 08:19:25 just a LinearLayout Jul 06 08:20:00 where is it in regards to the listview Jul 06 08:20:40 An independent view Jul 06 08:20:56 I want it to have the same background as item. so on select it will show ... Jul 06 08:22:13 pastebin the xml layout Jul 06 08:23:09 Look - I have a regular LinearLayout (Not in ListView). ListView item has a default background, which I want to set it to the linearLayout. Jul 06 08:23:45 The problem is that the ?android:attr?activiated... works only from api 11 and my minimum is 8 Jul 06 08:30:37 rymate1234, you don't have zlib installed Jul 06 09:25:13 toUpperCase all enum names || ! -->? Jul 06 09:25:51 And does anyone know if there is a good way to use bitmasks and enums? Jul 06 09:37:14 damn it! Can get my RelativeLayouts right :( http://pastebin.com/VNyb94s4 the inbox_threads_lowerbar layout streches all over the screen for some reason :( Jul 06 09:38:23 I have tried to set the height to 80dp of each component and that works fine, but I can't have static sizes for the final solution :( Jul 06 09:39:31 Eclipse used to be able to show you various constructors for an object with intellisense, how can i get this to occur in android studio? Jul 06 09:46:15 hi i have developed a music app which shows mp3 song links from internet , it is just like a music search app , my web crawlers crawl internet for MP3 files and display them in the application ,but google always suspend my app Jul 06 09:46:18 please help Jul 06 09:46:35 if anybody know google policies , they never tell what am i doing wrong ? Jul 06 09:47:12 they have suspended one of my app which shows youtube videos and play them in my own app with youtube library , WHAT IS WRONG WITH GOOGLE ? Jul 06 09:47:48 chinu Well, do you have the rights to display the content? i.e. is the content yours? Jul 06 09:48:05 no the content is not mine Jul 06 09:48:15 but the app is just a search app Jul 06 09:48:18 chinu well then... Jul 06 09:48:38 is the content in Google search is of google ? but it is just a search engine Jul 06 09:49:31 https://play.google.com/store/apps/details?id=org.musica.oro this app is online from past 1 year , and they provide proper updates , they are also a search enigne Jul 06 09:49:48 i wanted to make such a app with better graphics and detailing Jul 06 09:50:40 https://play.google.com/store/apps/details?id=com.tuen6 another one , they properly state that they are music downloaders Jul 06 09:51:18 EdGeorge ?? Jul 06 09:52:19 chinu I cannot speak for those apps, but it seems you are breaking T&Cs so your app will be deleted. Jul 06 09:53:06 but there are more then 100 apps out there , how are they even exist ? Jul 06 09:53:37 The T&Cs may have changed?! I don't know. Jul 06 09:55:05 how google shows content of every one without breaking the privacy policies ? Jul 06 09:55:12 my app is also a music search engine Jul 06 09:57:19 EdGeorge : here is my app http://www.filedropper.com/hindimp3managerv10 Jul 06 11:18:44 Hey, does anyone know a method to load xml drawables with Picasso? I have some alias drawables but Picasso.load(drawablexml, imageView) results in an empty imageview Jul 06 11:46:42 hi all, I'm using monkeyrunner, and it's using python 2.5.3 while I need at lease 2.7. Is there a way to upgrade it or something? Jul 06 11:53:53 hmm, any way to add javadocs.jar file to android studio library? Jul 06 11:57:12 does intellij (not android studio) support the l preview? Jul 06 11:57:54 ironhalik: Project structure -> libraries -> select your library -> + botton at bottom Jul 06 11:58:29 Hi all, I'm using jsoup for the first time. I have an Element and need to get value from an Attribute? how can I do this? (get value of attribute with key "content") Jul 06 11:58:47 Flaiker: What do you understand as 'support'? Jul 06 11:59:03 danijoo: and if the module is in a jar file? :> Jul 06 11:59:13 i'd guess the same Jul 06 11:59:49 Can I use IntelliJ to try the new l-related stuff or am I better off to use Android Studio, flan3002 Jul 06 12:00:16 danijoo: the jar file is seen as a dependencie for my project, and adding the javadoc jar does not add the documentation Jul 06 12:00:19 flan3002: intellij and AS are the same Jul 06 12:01:04 danijoo: You meant me? Jul 06 12:01:27 no sorry Jul 06 12:01:30 Flaiker: :) Jul 06 12:02:21 so why does AS exist then? :D Jul 06 12:02:29 is it just rebranded Jul 06 12:03:09 intellij is an IDE and also a base for other ides Jul 06 12:03:12 its just everything removed that isnt related to android Jul 06 12:03:18 for every kind of flavour, android is one of those Jul 06 12:03:34 and when you say everything danijoo , you say it correct Jul 06 12:03:55 yeah. and it should be written in caps. its really EVERYTHING :D Jul 06 12:04:04 you can't do cordova there Jul 06 12:04:08 no css support Jul 06 12:04:25 ok. then its only _everything_ :( Jul 06 12:04:41 I am using intellij idea for libgdx development on multiple platforms, so I wondered wether I need to have AS installed as well, but that answers it :) Jul 06 12:04:47 after all it is a business, they want you to buy the expensive one Jul 06 12:04:53 Flaiker: then no. Jul 06 12:05:02 intellij has everything Jul 06 12:05:24 but I am not so sure if those things of the flavour are on intellij at the same time Jul 06 12:05:38 I have 3 of them installed Jul 06 12:05:46 webstorm, rubymine, android studio Jul 06 12:18:17 how can I compile monkeyrunner with a different jython version Jul 06 12:22:00 Hello, Jul 06 12:22:29 So it seems you cant turn on GPS ( properly ) with a normal app. But its there a way to do it when you have root via adb shell ? Jul 06 12:22:52 But is* there a way Jul 06 12:27:38 I am trying to compile and make craps with a javac error. http://bpaste.net/show/EkP2kFVvurfb7QcGcZ0W/ Jul 06 12:29:07 Uknown0BC gps is a radio that can be turned on and off. Jul 06 12:29:55 I am so glad you told me !!! Jul 06 12:30:01 would never have guessed. Jul 06 12:30:12 * Uknown0BC rolls his eyes Jul 06 12:36:03 so how do you turn a radio like the gps on with a shell command ( rooted device ) Jul 06 12:39:10 hello Jul 06 12:39:28 can i ask android programming ustiopons? Jul 06 12:39:33 questions Jul 06 12:40:56 only ustiopons allowed not questions please. Jul 06 12:41:04 how do you make a 2d multi direction scroll Jul 06 12:41:06 only ustiopons allowed no* questions please. Jul 06 12:41:08 like in google maps Jul 06 12:43:53 do I need to get the touch information and redraw my graphics manually Jul 06 12:44:10 or is there some thing that already does it, like the scrollview, but for any direction Jul 06 12:45:07 i have sample project files . i put all in folders as told in readme Jul 06 12:45:15 but 100 errors Jul 06 13:19:56 Hi all Jul 06 13:20:05 http://i.stack.imgur.com/8ieXil.jpg Is this achieved with a SlidingDrawer or NavigationDrawer? Jul 06 13:20:18 DrawerLayout * Jul 06 13:40:04 Should be fairly easy with a NavigationDrawer Jul 06 13:44:35 Anyone on atm? Jul 06 13:48:54 I have an onFocusChangeListener that checks to see if a text box has been edited. I am getting String from it and trying to parse it to double but it force closes my app. On start Jul 06 13:49:06 Edittext* Jul 06 13:50:39 Anyone have any ideas? Jul 06 13:53:36 Guess not. .. Jul 06 13:56:34 Azindiedev519: any exception in logcat? Jul 06 13:56:46 No just forcequit Jul 06 13:56:53 If you try to parse a string that is not a double as a double, you should get a numberformatexception Jul 06 13:57:03 are you catching numberformatexception around your parsing? Jul 06 13:57:51 android multiple screen support says that normal screen are 470dp x 320dp, is this height x width ? Jul 06 13:57:59 I wait. I'm getting IInputConnectionExceptiom Jul 06 14:00:17 Wait maybe it is because I have an empty edittext and it focuses onCreate. Jul 06 14:00:23 Brb Jul 06 14:02:13 Yup that fixed it. Jul 06 14:03:30 anybody? Jul 06 14:05:42 I want a multi directional scroll like google maps has. do I need to capture the touch screen events myself or is there something automatic like scroll view but for any direction Jul 06 14:06:55 Capture the touch yourself. Jul 06 14:08:14 ok Jul 06 14:08:23 Droidsrer android devices read botton left as 1x1 so the screen format is axtually height x width Jul 06 14:25:05 i there a way to develop an app that works on both ios and android? Jul 06 14:25:26 while being any good? no Jul 06 14:26:18 Linux vs. Java Jul 06 14:26:19 LOL Jul 06 14:28:11 what about a web app Jul 06 14:28:24 like what does cordova allow for? Jul 06 14:29:05 when ppl say no it means no. Jul 06 14:29:09 get it? Jul 06 14:29:49 if not why is there iOS and Android OS? Jul 06 14:30:06 might as well just come up with just 1 OS for the general good Jul 06 14:33:17 you can share code, yes, but you'll have to redo parts anyway because the systems are different Jul 06 14:37:21 ok thanks p_l Jul 06 14:37:53 bojangles: mind you, for many kinds of applications, it can be simpler and cheaper to write it twice... Jul 06 14:38:32 i see, the theory behind the app is simple Jul 06 14:38:48 so yea i might just write it twice Jul 06 14:39:12 bojangles: usually the simpler apps are actually the ones harder to port, because work involved in making it portable derails the simplicity Jul 06 14:40:44 well its the going to be my first attempt at making an app so i guess itll be good to learn about another environment Jul 06 14:48:58 https://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory() "In devices with multiple "external" storage directories, this directory represents the "primary" external storage that the user will interact with. Access to secondary storage is available through" ... well, through what? Jul 06 14:49:17 can someone from doc team look into it? Jul 06 15:09:10 Hi everyone. I am developing an android app and I need to send data from devices to server. Anyone can help me with a secure http request to avoid usurped identity? Thank you Jul 06 15:09:48 https? Jul 06 15:09:54 For now, I have developed a base64 codification sending email and token under https Jul 06 15:10:08 it is possible to vulnerate it? Jul 06 15:14:24 hello Jul 06 15:15:01 i need some help...anyone here? Jul 06 15:15:25 ask Jul 06 15:15:26 yes Jul 06 15:15:52 i m new to java and android programming so dont make fun plz Jul 06 15:16:06 * flan3002 makes fun of karan200000. Jul 06 15:16:22 '-_-' Jul 06 15:16:48 i'll ask later Jul 06 15:18:09 So I went to make my android project Jul 06 15:18:13 and I finished the whole wizard Jul 06 15:18:19 and clicked Finish Jul 06 15:18:32 and.. absolutely nothing happenee Jul 06 15:18:36 happened Jul 06 15:18:45 Android Studio or Eclipse? Jul 06 15:18:48 O_o Jul 06 15:18:50 Eclipse Jul 06 15:18:54 WAT Jul 06 15:18:55 There's your problem Jul 06 15:18:58 karan200000: I didn't mean to influence you in doing anything. If I did, sorry. :) Jul 06 15:19:05 jjbrunton: Intellij. Jul 06 15:19:07 I didn't realize I could use something other than Eclipse Jul 06 15:19:24 It came with the sdk so Jul 06 15:19:25 its ok Jul 06 15:19:51 but i dont think i shud paste my code out here....or it wud look like spam Jul 06 15:19:59 I'd recommend grabbing Android Studio ngc0202` Jul 06 15:20:00 shud not* Jul 06 15:20:10 It's not worth getting into Eclipse at this point Jul 06 15:20:47 Okay Jul 06 15:20:51 I usually use Netbeans for Java Jul 06 15:21:14 anyone tried making app using android ide on play store? Jul 06 15:21:15 AS is pretty stable now Jul 06 15:21:19 And well supported Jul 06 15:22:55 anyone tried making app using android ide on play store?.....thats what i currently use ^_^ Jul 06 15:22:57 karan200000: Use ix.io or similar to paste code. Jul 06 15:23:09 karan200000: Sure, many did. Jul 06 15:23:23 ohk Jul 06 15:23:26 Assuming you mean Android Studio. Jul 06 15:33:24 has anyone had success using the new ExoPlayer to stream mp3 over HTTP? Jul 06 15:44:17 there isn't any syntax error Jul 06 15:44:23 in my program Jul 06 15:44:36 but when i start it .....it crashes Jul 06 15:45:39 check your logcat Jul 06 15:47:40 logcat doesn't work on android ide application Jul 06 15:48:37 then get it another way, you have pc access or a terminal app, or a logcat app? Jul 06 15:49:14 ram of pc isn't good at all Jul 06 15:49:22 karan200000, can you use adb? Jul 06 15:49:31 no epg Jul 06 15:49:41 why not? Jul 06 15:50:08 ram of pc doesn't meet requirements Jul 06 15:50:36 which requirements? Jul 06 15:51:11 requirements for creating apps Jul 06 15:51:23 I'm talking about adb Jul 06 15:51:39 sorry, but i m a bit confused, sir Jul 06 15:52:25 and i m newbie in android devlopmenr Jul 06 15:52:58 did you install the SDK? Jul 06 16:16:25 What do I need to do to be able to run a simulator with API 8? Jul 06 16:17:27 the sdk and avd manager Jul 06 16:34:22 But i have installed sdk 8. does i need to install that for the avd manager somehow? Jul 06 16:34:31 i can run avd with api 17,18,19 Jul 06 16:37:22 do you have seperate locations of 8, 17/18/19 or in same location? Jul 06 16:42:13 hello Jul 06 16:42:19 in this snippet of code Jul 06 16:42:21 http://pastebin.com/6pYi1uCW Jul 06 16:42:38 if(userChoice == "Rock" && randNum == 1) Jul 06 16:42:44 never evaluates to true Jul 06 16:42:47 canvs2321: separate locations, how do you mean? Jul 06 16:42:53 randNum is 1 Jul 06 16:42:55 how can i check? Jul 06 16:43:11 actually userChoice == "Rock" never evaluates to true Jul 06 16:43:13 theperfectpunk: try userChoice.compareTo("Rock") Jul 06 16:43:15 it's a String Jul 06 16:43:22 yserChoice.equals("Rock") Jul 06 16:43:34 thanx Jul 06 16:43:37 == no workie workie on strings Jul 06 16:43:54 tucker: i mean have you downloaded multiple sdks before, or are you installing all sdks to same location Jul 06 16:44:58 i am not sure, how would I check? Jul 06 16:46:04 open your currently used sdk manager, and see what's installed Jul 06 16:48:57 where is it supposed to be, extras, platforms, platofrm-tools, etc Jul 06 16:50:08 theperfectpunk, in Java you have to compare strings with equals or equalIgnoreCase not == Jul 06 16:50:15 Which System Image should I use, ARM EABI v7a or Intel x86 Atom? Jul 06 16:50:43 intel if you have an intel processor Jul 06 16:51:12 Mavrik: thanx :-) Jul 06 16:52:19 sulaiman, Atom pretty much every time Jul 06 16:52:28 gdrc, why would he need an Intel processor? Jul 06 16:53:34 because of Intel Haxm wich uses Intel Virtualization Technology Jul 06 16:53:43 Hey guys, I currently have a utility http class in my Android application to maintain session state when the application is up ( http://pastebin.com/emyBZZ9e ). And that works fine. I'm wondering what the best practise would be for when the user closes the app and re-opens it? Ideally I don't want them re-signing in. I could store the credentials and auto re-log in but that is clunky and not really necessary for my use-case. S Jul 06 16:54:09 gdrc, and how is that connected to the emulator image for intel devices? Jul 06 16:54:57 Mavrik: try to use android intel image without amd and you'll get the answer :D Jul 06 16:55:02 gdrc, it works. Jul 06 16:55:05 *haxm Jul 06 16:55:10 it just doesn't use HAXM acceleration. Jul 06 16:55:20 yes but it's slow as crap Jul 06 16:56:17 So why are you telling people it won't work? Jul 06 16:56:36 did I? Jul 06 16:59:40 canvs2321: i cant figure out where thr APIs are installed? where should I look in the sdk folder? Jul 06 17:00:02 If I want a friend to test my app, what do I need to send them? just the .apk file? Jul 06 17:00:39 yup, just the apk Jul 06 17:00:57 as long as they've got third party sources enabled, it should just install Jul 06 17:02:28 where is that enabled? Jul 06 17:02:41 Does it need to be signed? Jul 06 17:02:59 What IDE are you using? And yes Jul 06 17:03:06 How do I check if it is? And how do I check that it is not a debug build. Jul 06 17:03:09 it needs to be at least debug signed, but that should happen by default Jul 06 17:03:10 I am suing eclipse Jul 06 17:03:22 Hey guys, dumb question alert: using Retrofit, how do I handle an array of objects in the JSON response? I'm currently getting failures with List Jul 06 17:03:28 you can't put a debug-signed apk on the play store, but you can distribute it for testing Jul 06 17:03:42 This is a good guide to creating a key for you to sign your application with: http://docs.oracle.com/cd/E19509-01/820-3503/ggfen/index.html Jul 06 17:04:19 Timmaah21: as opposed to the instructions on the Android site? Jul 06 17:04:30 Then in Eclipse when you export as apk you can include it Jul 06 17:05:03 but again, if it's just for testing, you can use a debug key - no need to make your own key at all Jul 06 17:05:03 Leeds : I couldn't say - I used that method to do it Jul 06 17:05:40 tucker: on my phone, the setting is settings->security->"Unknown sources" Jul 06 17:06:19 how do I check what kind of build it is (debug/release)? Jul 06 17:06:23 Leeds: ok ty Jul 06 17:13:12 hi, can you take a look here and tell me why it is called twice? https://github.com/error454/SMS-Autoresponder/blob/master/src/com/wordpress/mobilecoder/smsautoresponder/AutoBroadcastReceiver.java#L19 Jul 06 17:28:26 I need some advice or a tip or something. Jul 06 17:28:46 rinse well with clean water Jul 06 17:28:51 in MIT app maker they provide you with easy access to the orientation sensor and a variable called intensity. Jul 06 17:29:09 is that variable of the orientation sensor also available in android by default to programmers Jul 06 17:29:19 or would I have to create a routine to get the intensity of it myself Jul 06 17:29:37 I usually set the speed of a moving object to the intensity, and the direction to orientationsensor.angle Jul 06 17:29:59 I have a suspicious feeling it isn't that easy in android dev kits. made for programmers. Jul 06 17:34:32 * Leeds wonders how an orientation can have intensity... can a device be *very* horizontal, or only slightly vertical? Jul 06 17:42:39 still looking for some guidance. anyone present published an app with advertising? I'm just looking for tips on how to setup google play store listing to make sure advertising is retained, and does not offend either google or my advertiser. Jul 06 17:43:33 I don't have any experience to speak of at the moment..hm why are my eyes so sore. xD I'm reading the android api right now.. Jul 06 17:43:49 if you want help with general object oriented thinking, I can help there. Jul 06 17:43:54 But otherwise I am a newbie at android. Jul 06 17:44:26 hehe. I actually stopped programming in android java. I switched to something else, but I still develop for android. Jul 06 17:45:36 really I'm just asking because I think I'll have a new project soon, and I'd like to get it right this time. Jul 06 17:46:14 I had published a game before, but the advertising company disabled my advertising and took the money back because I did something wrong, but they wouldn't tell me what. Jul 06 17:46:35 i tried to correct the error, but still no luck, and I lost advertising with them entirely. Jul 06 17:46:53 I'm hoping not to do that with the next company, as I'd really like to make money. Jul 06 17:50:52 i cant find how i compile in release mode, this is not written clearly anywhere, really frustrating. Jul 06 17:51:23 tucker i feel the pain. Jul 06 17:51:29 boredDev what do you code in, in android then ? Jul 06 17:51:31 C#? Jul 06 17:52:17 I...really...like...this... i'l definitely abuse it early on: When a service is started, it has a lifecycle that's independent of the component that started it and the service can run in the background indefinitely, even if the component that started it is destroyed. Jul 06 17:54:16 currently, I'm being lazy and using gamemaker Jul 06 17:54:35 might switch to unity or c# in the future Jul 06 17:57:51 Oh, I see. Jul 06 17:58:02 ...i'm trying to wrap my head around threads. Jul 06 17:59:04 it's interesting.. because it seems to me that an object of type looper needs to be created, even though later it is instantiated and contains another object as a parameter like here: mServiceLooper = thread.getLooper(); Jul 06 17:59:04 mServiceHandler = new ServiceHandler(mServiceLooper); Jul 06 17:59:30 it kind of hurts my head. but i kind of understand this. Jul 06 18:00:24 I guess I don't mind defining a presently un instantiated object but I dislike that idea in general I like statically defined types that when you define them you don't have to do any further assignment then that.. this has a few more steps involved than just x = y. now use y. Jul 06 18:05:00 I'm going to try to create a threaded service on my phone, and then create an infinite loop that is only there to un safely generate as many background threads as possible. It will return a counted variable, and if there is an exception it will basically output the exception along with the amount of threads generated and still running.. I want to see how insane I can get with this and how Jul 06 18:05:00 overboard I can go so I know my hardwares limits. lol. (a simple thread containing only a lot of self.waits shouldn't crash easily) Jul 06 18:10:22 Oh.. Jul 06 18:10:41 battery...power. That's going to be hard to worry about.. I don't want to make a game that sucks battery... Jul 06 18:11:49 Hi! Could any one help me running the tests in https://github.com/danieloeh/AntennaPod on android studio? Jul 06 18:11:53 having a hard time Jul 06 18:15:21 sorry I don't know much about android studio but if you want me to test apps i'd be willing to do it Jul 06 18:15:41 i have two slightly less updated devices but they can run up to android 3.0 i think Jul 06 18:16:13 * RedEyedGirl is trying to learn about android alot Jul 06 18:16:45 I dont get it is the jarsigner included in the sdk? Jul 06 18:16:59 I cant fo the life of me finsd out how to build a release and sign, it is way to complicated Jul 06 18:17:09 \o/ figured out the issue Jul 06 18:17:40 it's not my source code Jul 06 18:18:26 I just just trying to make some new features and i'd like to create some tests. But can't figure out how to do it in android studio. That is run his excisting tests Jul 06 18:37:56 it looks like android has some pretty nice features.. Jul 06 18:38:13 i feel lost in it all. i'm not sure how to get started with this stuff.. I want to do really advanced things Jul 06 18:38:35 the system doesn't seem linear..at all.. it's very.. sporatic. Jul 06 18:39:21 Read the dev guides? Jul 06 18:39:24 The way that apps are handled is genious though.. but I don't like that the programmer can't directly stop an app from being closed by the system if they don't want it to be closed while it is doing something.. being forced to program a resume function if the app closes un expectedly and needs to restart it's activity isn't really fair to the developer.. Jul 06 18:39:41 otherwise you get situations like with a game you'd lose data. Jul 06 18:40:31 reading this right now, flan: http://developer.android.com/guide/topics/ui/notifiers/notifications.html Jul 06 18:44:12 RedEyedGirl: It's not about the developer. The system needs to be fair to its users and that can only be done by keeping the possibility to murder apps whenever the system feels like it. Jul 06 18:44:47 RedEyedGirl: Note that there are ways to increase priority, e.g. via foreground services. Jul 06 18:45:13 RedEyedGirl: And the currently active application, like the game you mentioned, should never be killed. Jul 06 19:05:47 flan3002 so the currently active application will never be killed on me? what if my user opens a different app and stay sin it for hours and that app is very memory intensive then my game gets killed because it's been cached? wait. does android cache an application's current state on it's own for me? Jul 06 19:06:30 RedEyedGirl all this is clearly explained in the docs :) Jul 06 19:06:32 Right, the system will try everything possible to keep the currently active app active. It will even kill other apps to make sure enough memory is available for the current app. Jul 06 19:06:32 anyway i am going for a bit. uhm thanks for the tips i wil read back ont his later. Jul 06 19:06:40 thank you Jul 06 19:08:32 i think it's a great system. Jul 06 19:43:47 I need some help compiling the ElementalX kernel for flo. I'm getting this error: "drivers/usb/core/driver.c:1318:25: note: each undeclared identifier is reported only once for each function it appears in" Jul 06 19:44:01 IDK what to do next, as make fails from there. Jul 06 19:44:09 Am I leaving out something? Jul 06 19:46:51 benjabean1 checkout #android-root Jul 06 19:46:58 ok Jul 06 19:46:59 thx Jul 06 19:47:13 no probs, this channel is more about building apps etc :) Jul 06 19:47:24 ok good to know :) Jul 06 19:48:51 Can someone explain to me how I set up my own key, this is so unbeliavably frustrating I cant figure it out from the instructions Jul 06 19:55:19 Hello Guys. Is there a easy way to decode pngs without BitmapFactory? Jul 06 19:55:35 Because it needs API LVL 19 to decode without premultiplying, but I want to target api level ~8 Jul 06 19:56:55 tucker: You mean a key to sign your app? Jul 06 19:58:29 Darkchaos: I dont think os Jul 06 19:58:31 so Jul 06 19:58:57 only the "standard" way Jul 06 19:59:05 danijoo or manual parsing :/ Jul 06 19:59:11 yep Jul 06 20:01:23 Darkchaos, you can always use libpng Jul 06 20:01:23 that sucks hard..^^ Jul 06 20:01:42 or any other C library Jul 06 20:01:48 Mavrik: Already ported to java? and do I need some license things Jul 06 20:01:50 using NDK? Jul 06 20:02:11 Darkchaos, what java? Jul 06 20:02:13 compile it for android Jul 06 20:02:17 call to it via JNI Jul 06 20:02:24 yes, use gcc from NDK. Jul 06 20:02:24 Mavrik: Please stop abusing your return key, you unwashed nippletwister. Jul 06 20:02:31 no. Jul 06 20:02:44 lol Jul 06 20:02:53 well so complicated :D Jul 06 20:03:40 Darkchaos, what's complicated in compiling a library and then calling it's API? Jul 06 20:03:48 You're a developer, act like it :P Jul 06 20:03:53 fixing all dependencies etc?^^ Jul 06 20:04:10 to me compiling libs always was a nightmare :D Jul 06 20:05:15 C libraries for file formats rarely have any dependencies. libpng IIRC only depends on libz. Jul 06 20:06:21 and libz?^^ Jul 06 20:06:28 relies on nowt Jul 06 20:06:41 well, libc, probably Jul 06 20:07:35 yep, but since libpng also relies on libc, you must have already satisfied that Jul 06 20:08:55 Well it's "kinda" hard to write a C program not depending on libc :) Jul 06 20:09:31 well, syscall is pretty versatile Jul 06 20:09:50 Mavrik well they could leave out fopen()... and just read in a buffer^^ Jul 06 20:09:55 no malloc, no nothing Jul 06 20:10:18 I think I will check if there is a ported libpng or smth Jul 06 20:10:39 right, you have to use the brk syscall instead Jul 06 20:11:01 not a lot of fun, but everyone should do it once ^^ Jul 06 20:39:36 JakeWharton: I get Conversion to dalvik format failed with error 1. Could this have something to do with NineOldAndroids? if so, how do I solve it? Jul 06 20:47:52 im tyring to put a kill code in my application when it first starts using finish() works fine but im trying the same as well as system.exit(0) in onresume and when it “resumes” the app doesnt close itself Jul 06 20:57:32 tucker: doubtful. Probably something else. Jul 06 21:07:23 JakeWharton: fix project properties+clean fixed it. might be 9OA but not its fault Jul 06 21:11:30 hi, is there a way to run in a thread in onDestroy() before app is exited? I need to access internet and update a satus Jul 06 21:14:56 droidster, start a service. Jul 06 21:15:26 I need help Jul 06 21:15:28 I want someone to tutor me. Jul 06 21:15:36 ok Jul 06 21:15:46 would anyone be willing. Jul 06 21:18:31 My android app works fine when installing from eclipse but when I install it from an email it crashes. Is there some obvious reason for this? Can I read debug data from the device? Jul 06 21:19:35 <|0xD34D|> tucker: look into using 'adb logcat' Jul 06 21:21:30 this is an app signed as release and installed on the device from email. Jul 06 21:27:20 Okay so I'm doing the example app again in eclipse ide so I have a base to start learning from. I need help. I can't get it to build? Jul 06 21:28:28 All I did was install the ADT bundle. Jul 06 21:28:37 that was all I did. and then i started the new project from the tutorial guide. Jul 06 21:28:52 now... I can't figure out how to get it to build the build option is greyed out but the build automatically checkbox is checked Jul 06 21:33:36 RedEyedGirl Run > Run As > Run as Android Application Jul 06 21:35:00 So if I get sent to a new activity from a button, how do i get the button's ID? Jul 06 21:35:43 I assume it's something in this Intent object Jul 06 21:35:55 can i put a random domain name as package name in manifest? or is this verified by the appstore approval process? Jul 06 21:36:47 Run->Run As ->None applicable is the only option Jul 06 21:37:16 tucker: usually you have to make a signed apk to send an APK to someone ot install it, otehrwise it only work when deployed from ide Jul 06 21:37:30 ngc0202`: you determine your own package name Jul 06 21:37:38 wrong person Jul 06 21:37:45 i tried to install my app and the signed thing i put in it when building was thisss as the sign and i put 25 years in it... Jul 06 21:37:58 i installed it on my phone and the option to open it doesn't show up... Jul 06 21:39:11 <_3mpty> RedEyedGirl: don't mind signing in development, just Run as android app Jul 06 21:39:34 <_3mpty> if it will be deployed correctly, it will start automatically Jul 06 21:42:11 I'm trying to run an emulator now.. Jul 06 21:42:47 <_3mpty> if you have device use it instead emulator, rly. Jul 06 21:42:58 <_3mpty> eventually you can try geny motion Jul 06 21:43:04 okayyy... i can't get this to work. Jul 06 21:43:13 <_3mpty> you need adb drivers Jul 06 21:43:15 <_3mpty> i guess Jul 06 21:43:53 <_3mpty> if drivers for device are installed corectly you will see it on list from 'adb devices' command Jul 06 21:44:16 If an app crashes on the phone, can error messages be read then? My app works fine when installing from eclipse but crashes when running on my device installed from gmail. Can I get some more info on why? Jul 06 21:44:44 RedEyedGirl: you only need to sign your app if you want to make a stand alone .apk people can put onto their phones and install your application (in fact, you must sign it to do this) Jul 06 21:44:47 <_3mpty> tucker: adb logcat Jul 06 21:44:49 How do I get the button ID that sent me to a new Activity Jul 06 21:45:11 https://join.me/906-649-051 Jul 06 21:45:14 tucker you only need to sign your app if you want to make a stand alone .apk people can put onto their phones and install your application (in fact, you must sign it to do this) Jul 06 21:45:24 if someone wants to help me, here is a screen sharing in web browser requires no download i can even share control. Jul 06 21:45:27 explaining is hard Jul 06 21:45:39 ngc`is the button yours? Jul 06 21:45:44 ye Jul 06 21:45:45 Yes Jul 06 21:45:49 from another activity on the app Jul 06 21:45:57 why do you need reference to it? Jul 06 21:46:22 Well there are many buttons and I need to know which one they used Jul 06 21:46:38 the reason i ask is because if you are pulling data from the button some how, you should basically figure out a data structure to stuff into the intent Jul 06 21:46:54 ie you could use a list of strings where the strings are the button tags, Jul 06 21:47:01 then pull them out of the intent Jul 06 21:47:09 well the buttons have text in them Jul 06 21:47:21 Could I get the text in the button from the Intent? Jul 06 21:47:34 only if you put it into the intent Jul 06 21:47:46 I thought the Intent was automatic Jul 06 21:47:51 How do I put stuff into it? Jul 06 21:48:04 google bundle how to pass data in intent Jul 06 21:48:53 ok Jul 06 21:53:28 lasserix: wait is the button ID in the View object in the method the button calls? Jul 06 21:55:09 I found out how to make the Intent Jul 06 21:55:18 but I'm still not sure where to get the button data Jul 06 22:00:12 hm maybe i'm missing sdk's Jul 06 22:00:14 trying to update now Jul 06 22:00:14 :3 Jul 06 22:00:32 is it odd that the sdk window is not in the window menu in eclipse when i installed ADT? Jul 06 22:02:05 RedEyedGirl: Is your iris naturally red? Jul 06 22:02:12 no. Jul 06 22:02:33 shame Jul 06 22:04:05 mhm Jul 06 22:05:06 ngc for each button define a tag with a string of something that is easy to identify the button by Jul 06 22:05:25 then in the onClick of each button, grab from the view (which is the button) arguement, its tag, casted as a string Jul 06 22:05:29 add that to the intent Jul 06 22:05:44 How do I sideload a ROM? Jul 06 22:05:47 you can also do the same thing with the id, as an int Jul 06 22:08:17 CDaniel , have you tried clockwork tools? Jul 06 22:08:41 I am using WinDroid HTC One+ Toolkit Jul 06 22:08:59 Are you trying to sideload a rom like a custom version of Gapps or are you trying to install Cyanogenmod? Jul 06 22:09:59 No, I formatted the storage on the phone that contained the ROM I was going to update (not Cyanogenmod), (I must have forgot that format in TWRP formats the internal storage of the hTC One+) Jul 06 22:10:20 hmm Jul 06 22:11:04 lasserix: In the xml I have the IDs as button1, button2, etc Jul 06 22:11:10 Can't figure out the proper adb sideload <> to get it to work Jul 06 22:11:21 hm Jul 06 22:11:27 you have to boot the phone in download mode as well... Jul 06 22:11:30 I want to sideload it to the sdcard (virtual) on the hTC Ine X Jul 06 22:11:35 lasserix: But View.getId() is an int Jul 06 22:12:08 atleast, that is what I had to do to sideload a custom rom onto my phone. Jul 06 22:12:18 via usb and download mode Jul 06 22:13:12 RedEyedGirl: Any pigment at all? Jul 06 22:13:40 I have TWRP in sideload mode. When I do adb sideload in the command prompt, it just scrolls through all the possible commands, so I must be doing something wrong Jul 06 22:13:59 while I'm at it guys, do pixels in a bitmap on android have opacity features on a per pixel basis and on a bitmap surface can the opacity of each pixel be custom changed between drawframes? Jul 06 22:14:47 I'm trying to figure out whether I should use a canvas or use just bitmap surfaces. Jul 06 22:17:41 Nobody has ANY idea how to help me? Jul 06 22:20:24 I don't get what you mean ngc. Jul 06 22:20:45 CDaniel: Not in this channel, no. Try #android-root Jul 06 22:20:50 I'm just curious about your nick Jul 06 22:20:53 CDaniel I'm sorry if I knew how to help I would. I know how it feels to be stuck on something though if that helps. Jul 06 22:20:58 ngc my nick has nothing to do with my appearence ^^; Jul 06 22:21:04 oh Jul 06 22:21:21 but.. "red eyed" sounds like appearance Jul 06 22:21:57 ngc, maybe you can help. Should I use a bitmap or a canvas for my drawing? I want to fill the canvas black then slowly erase the black without destroying the bitmap pixels. So the bitmap in the background slowly is revealed. Jul 06 22:22:01 ah yeah i know it does Jul 06 22:22:13 What's it mean then? Jul 06 22:22:24 and I'm trying to figure out how to work a button, so xD Jul 06 22:22:24 my display picture used to be an anime girl with redish vampire like eyes Jul 06 22:22:26 :3 Jul 06 22:22:33 ohh haha Jul 06 22:22:35 Oh okay ngc. Jul 06 22:22:39 i've done that already. Jul 06 22:22:43 Did you customize your xml lay out yet Jul 06 22:22:50 Somewhat Jul 06 22:22:57 Set the button's width and height to fill parent Jul 06 22:22:59 I think it's either Jul 06 22:23:04 FILL_PARENT or "Fill_parent" Jul 06 22:23:05 i can't remember Jul 06 22:23:19 it would be in your androidmanifest.xml file Jul 06 22:23:24 under layout actually :/ Jul 06 22:23:24 hm Jul 06 22:23:27 i need to study this more Jul 06 22:24:45 in the View object, what does getViewName refer to? Jul 06 22:25:24 sounds like a function to me. Jul 06 22:26:02 it probably has something to do with the current view (graphical) Jul 06 22:26:03 yeah but is that the ID of the button it's getting? Jul 06 22:26:27 I think a button id is different.. Jul 06 22:26:40 Well the getID() function is an int Jul 06 22:26:48 and the ID of the button isn't a number Jul 06 22:26:51 That's what confusing me Jul 06 22:26:58 oh Jul 06 22:26:59 I see Jul 06 22:27:06 have you ever done any html coding before with javascript or java Jul 06 22:27:45 yes Jul 06 22:27:46 Basically in object oriented coding heiarchy in some cases you can access the scope of another object by it's name, and names can be just like variables. The button's internal name is something you can use as a tool as a developer to reference your objects without having to know the number of it. Especially when you are doing static layouts. Jul 06 22:28:06 I use Java often actually Jul 06 22:28:15 Just.. not remotely similar applications Jul 06 22:28:20 Buttons are used more so it makes sense they'd have names instead of ids Jul 06 22:28:31 I don't know enough about the android syntax yet Jul 06 22:28:44 just go with however the sdk works and try not to question it Jul 06 22:28:49 that's what i'm doing Jul 06 22:29:10 hehe well I need to know which function to use ^^ Jul 06 22:29:30 makes sense Jul 06 22:29:36 what I would do is just output a bunch of things I think it might be and see whcih one gives me the output I'm looking for Jul 06 22:29:55 but I feel like System.out.println wouldn't quite work with this Jul 06 22:29:58 i'm actually lost on this still myself, for some reason my installation of eclipse won't recognize emulators, and it won't let me compile or run things as an android emulated app. ANd now my build options are almost dissapeared... like i can't build it it's greyed out Jul 06 22:30:13 I started trying to use Eclipse Jul 06 22:30:21 and nothing was working right Jul 06 22:30:25 what you could do is try opening a screen from terminal emulator Jul 06 22:30:30 so I switched to the Android Studio Jul 06 22:30:31 and do your line outs to the terminal emulator. Jul 06 22:30:38 i'm having the same issue Jul 06 22:30:41 nothing's working right Jul 06 22:31:01 if you know the way to start a terminal emulator service or activity Jul 06 22:31:09 you could have your application start a terminal emulator activity with parameters Jul 06 22:31:26 that's how i'd do system.lnout w/e Jul 06 22:31:41 another thing you could do is create a web view object and add your own custom dynamic java page to it Jul 06 22:31:48 load the web view object in your app. Jul 06 22:31:53 and have the java in the page respond to your app Jul 06 22:32:10 then do your line outs to the dynamic java page Jul 06 22:45:27 Hi, anyone here got over +100 download in their apps? Jul 06 22:48:10 okay I finally got it to let me add the app to my phone through usb. Jul 06 22:48:19 hooray. now it won't launch but installs. Jul 06 23:05:02 Hey, RedEyedGirl, I finally got it to work Jul 06 23:05:08 Had to install Android SDK Jul 06 23:05:32 Or, not install, but download Jul 06 23:06:51 ok this is stupid I followed a tutorial on the android developer site and it told me to create a completely empty project so I did but in this version of eclipse adt, it doesn't automatically generate the needed launcher activity for me. Jul 06 23:09:47 ... might be time for a new phone :/ Jul 06 23:10:46 Waaahh, night session! Jul 06 23:13:31 OH MY GOD Jul 06 23:13:40 I need HELP PLEASE :3 right when I create a new project it instantly has errors... Jul 06 23:14:09 what error? how are you creating a new project? Jul 06 23:15:14 also, calm down... Jul 06 23:18:39 I'm using the wizard to do it. I figured it out.. btw. It wouldn't compile because I was probably missing a build library for the api level it was targeting. Jul 06 23:18:47 I changed my api level from 21 to 19 and it worked fine. Jul 06 23:19:08 Now though, I'm wondering if android 2.2x doesn't support the main activity Jul 06 23:19:09 http://imgur.com/rElvQ4I Jul 06 23:19:58 Ok, installing the ROM now Jul 06 23:20:09 RedEyedGirl: pastebin the actual text instead of a dodgy screenshot Jul 06 23:20:22 okay... uhm how do I copy the contents of the console Jul 06 23:20:27 Hmm, I probably should have fastboot flash boot boot.img (I can probably do that after the flash) Jul 06 23:20:34 CDaniel: wrong channel Jul 06 23:20:40 I know Jul 06 23:20:49 But the right channel doesn't reply and isn't active Jul 06 23:20:58 that doesn't make this the right channel then, does it ? Jul 06 23:21:04 No Jul 06 23:21:07 :) Jul 06 23:21:26 bankai_au where the fuck do people learn logic these days ? i keep seeing that argument Jul 06 23:21:35 you know, when I go to the bookshop, and it's closed, I go next door to the bakery and demand they sell me a book Jul 06 23:21:47 g00s: desperation. Jul 06 23:21:58 when they say "but we sell bread here!" I say "Yes, but I want a book, and the bookshop is just next door!" Jul 06 23:22:06 Leeds haha Jul 06 23:22:18 Leeds your mistake, was not asking for bacon Jul 06 23:22:33 no bacon at the bookshop *or* bakery... I didn't say butcher's :P Jul 06 23:22:42 http://pastebin.com/XPKjPctB Jul 06 23:23:11 I'm suspicious that the activity starting method at the tutorial site isn't right or that I have to create an actual "activity" file called main. ? Jul 06 23:23:20 Leeds bookstore might have bacon, its great for bookmarks Jul 06 23:23:49 also, they may have something by Sir Francis Jul 06 23:24:08 yes of course ;) Jul 06 23:24:16 RedEyedGirl: yes ... perhaps you should start with some java basics first Jul 06 23:24:51 com.example.test2.MainActivity <-- this is your main activity Jul 06 23:25:42 RedEyedGirl: what ide are you using? Jul 06 23:26:21 I'm using eclipse adt bundle Jul 06 23:26:34 fyi the phone i'm testing on is running android 2.3.7 Jul 06 23:26:49 Cyanogenmod 7 Jul 06 23:27:25 I put the project files in an archive if someone wants to look: https://www.dropbox.com/s/5yd27h99b2a90d5/help_please.zip Jul 06 23:27:39 Eclipse: import: archive. I'm assuming it'll work Jul 06 23:27:40 >.< Jul 06 23:28:04 do you know java, RedEyedGirl ? Jul 06 23:28:38 kind of yes. Jul 06 23:30:15 i'm not going to look at your zip file, but your manifest file points to your main activity, in this case com.example.test2.MainActivity Jul 06 23:30:52 RedEyedGirl: what are you planning to make with android java? Jul 06 23:33:14 I'm trying to make simple games that utilize the canvas and touch screen and possibly accelerometer orientation things Jul 06 23:33:24 my tablet isn't being recognized by eclipse as a target device :O Jul 06 23:33:58 go get the book beginning android pro v2. the first like 5 chapters will give you all the tools you need to do what you just said. Jul 06 23:34:54 RedEyedGirl: what's your tablet? Jul 06 23:35:11 Acer Iconia B1-710 7 inch tablet Jul 06 23:35:20 1 GB ram, Dual core 1.2 GHZ processor Jul 06 23:35:23 and a gpu I think. Jul 06 23:35:37 look up the usb drivers for your tablet. eclipse generally needs the usb drivers to be installed to recognize the device. Jul 06 23:37:06 ah, windows... Jul 06 23:37:34 I've never used mac or linux to dev for anything really, so I have no experience. Jul 06 23:37:35 -faceplants keyboard- Jul 06 23:37:52 okay boredDev Jul 06 23:38:05 oh hold on, I might have gotten the title wrong Jul 06 23:39:03 am I allowed to post links on here? I can't remember Jul 06 23:39:18 of course Jul 06 23:39:25 hello guys Jul 06 23:39:42 i have a problem/ question.. Jul 06 23:39:48 soliloquise: shouldn't you be talking to yourself? Jul 06 23:39:57 ^^ Jul 06 23:40:06 ok. RedEyedGirl - http://www.amazon.com/Beginning-Android-Games-Mario-Zechner/dp/1430246774 this book will help you with what you're doing. it's a great book that gives you the tools that let you focus on your games, and less on programming the android to work right Jul 06 23:40:25 I was searching it. Jul 06 23:40:44 I got the title wrong. it's beginning android games. Jul 06 23:41:12 i have applications that supposed to give me notifications, but they frequently miss, now can i solve this problem, any suggestions? Jul 06 23:41:37 i have applications that supposed to give me notifications, but they frequently miss, how* can i solve this problem, any suggestions? Jul 06 23:42:39 am i in the right place? Jul 06 23:42:50 soliloquise: you mean your own apps, or some that you have installed? Jul 06 23:43:04 su'm that i have installed Jul 06 23:43:21 so, this channel is for app developers/development - not end users Jul 06 23:43:24 it's very annoying, three apps same problem Jul 06 23:43:28 o Jul 06 23:43:29 ok Jul 06 23:43:37 is there a android-help? Jul 06 23:44:00 there is #android Jul 06 23:44:06 thank you Jul 06 23:44:26 forgive my ignorance, have a nice day :) Jul 06 23:44:50 RedEyedGirl: that book was super helpful for me. made it so I could release the two games that I currently have on the google play store. Jul 06 23:45:23 and the last thing I have in my client in #android-root is "yorick has quit". Alas... Jul 06 23:46:11 RedEyedGirl: on the other hand, a basic familiarity with your chosen tools is immensely useful Jul 06 23:46:34 the book still teaches you a ton about android. Jul 06 23:47:02 we're sorry this item can't be shipped to your address Jul 06 23:47:04 wtf amazon Jul 06 23:47:06 start with the basics, and the Android docs are perfectly good at that Jul 06 23:47:12 it doesn't just hand you an interface. it teaches you all the parts, then gives it to you. Jul 06 23:48:22 should I just buy the digital copy Jul 06 23:48:24 i hate kindle Jul 06 23:48:25 >.> Jul 06 23:48:54 you should forget about the book for now and just get the thing working, is what I'd say Jul 06 23:49:10 the book will help her get things working. Jul 06 23:49:11 but then, I don't waste my time with either Eclipse or Windows, so my opinion may not be entirely applicable Jul 06 23:49:25 what do you use? Jul 06 23:49:29 vim Jul 06 23:49:48 on Linux Jul 06 23:52:53 that's cool. I don't have the patience to learn another operating system and get it all set up for everything I want to do, otherwise I would have switched to linux. Jul 06 23:53:12 I switched in 1998 Jul 06 23:54:06 I was 11. Jul 06 23:55:18 ok, and? Jul 06 23:55:40 RedEyedGirl: any luck yet? Jul 06 23:57:48 good, and on that note, I'm going back to bed Jul 06 23:58:59 no luck yet. been reading though. Jul 06 23:59:44 How do I make a variable from the Java available in the XML Jul 07 00:00:51 you want to what now ? Jul 07 00:06:23 I have a variable in the activity.java Jul 07 00:06:33 I want to use it in the XML Jul 07 00:06:39 Not sure how to reference it Jul 07 00:06:42 ngc0202`: explain what you are trying to do with this Jul 07 00:06:50 Well I'll display it in a box I made Jul 07 00:06:51 ngc ngc0202`typically you can't do waht you are trying to do Jul 07 00:07:09 Of course you can display a variable xD Jul 07 00:07:19 what you are asking no Jul 07 00:07:23 what you are trying to do, yes Jul 07 00:07:27 what is it you are trying to do Jul 07 00:07:30 How should I do it? Jul 07 00:07:33 display something in a textview from java? Jul 07 00:07:37 yeah Jul 07 00:08:34 you reference the textview in your java code, then on the textview object call setText Jul 07 00:08:46 How do I get the textview object? Jul 07 00:09:12 when you declare the textview in xml you give it an id, like android:id="@+id/tv" Jul 07 00:09:25 yeah Jul 07 00:09:29 then when you initialize the layout in your activity, usually done in onCreate with the call to setContentView Jul 07 00:09:39 you can do findViewById(R.id.tv) Jul 07 00:09:50 or-- TextView tv = (TextView) findViewById(R.id.tv) Jul 07 00:09:59 which must be called after setContentView Jul 07 00:10:34 OR must be used like this: parentLayout.findViewById(R.id.tv) -- when you are in the activity, the parentlayout is implied so typically is not included Jul 07 00:11:17 *parentLayout --> parentLayoutView Jul 07 00:11:41 which is typically what you need to do when you are like building layouts in code, or using fragments, but dont worry about that now Jul 07 00:11:43 ;p Jul 07 00:13:50 lasserix: it's saying the ID has to be an int Jul 07 00:14:09 but in the XML I left it as the default value of textView Jul 07 00:14:18 obviously not an int Jul 07 00:16:11 https://developer.android.com/training/basics/firstapp/building-ui.html Jul 07 00:16:19 suggest you read that Jul 07 00:16:55 yeah they have it as edit_message Jul 07 00:16:59 that's not an integer xD Jul 07 00:17:13 the resource id is Jul 07 00:17:34 android:id="@+id/edit_message" Jul 07 00:17:39 That's the only ID mentioned Jul 07 00:17:58 and in the java you'll reference it R.id.edit_message Jul 07 00:18:05 which is an INT Jul 07 00:18:41 aha Jul 07 00:18:50 you're right, I shoulda read that Jul 07 00:19:08 ngc umm when you do android:id="@+id/whateverthefuck" it automatically creates an int in R.gen for you that you can look up later by R.id.whateverthefuck Jul 07 00:19:15 ok Jul 07 00:19:16 thanks Jul 07 00:24:47 Widget.Holo.Light.ActionBar.Solid.Inverse Jul 07 00:24:53 What does the inverse mean here? Jul 07 00:36:38 the solid has been divided by its aesthetic reciprocal Jul 07 00:40:09 How can I run a simulator with API8? Jul 07 00:46:46 what is the fastest way to start learning android programming? Jul 07 00:46:53 if someone would be so kind to tell Jul 07 00:48:15 invent a parallel reality in which you have because of the deviantion in original conditions from which the universe sprung already learned android programming Jul 07 00:48:45 or you can do the only thing that actually works, and just start coding. Jul 07 00:48:46 i was thinking there will be some wicked answer Jul 07 00:48:53 if I am using amd64 but I need to crosscompile arm, do I use arm jdk or amd64 jdk? Jul 07 00:48:53 but i would never predict this Jul 07 00:49:11 pEYEd: you don't crosccompile java Jul 07 00:49:27 lasserix: you are right! Jul 07 00:49:46 the only way to learn is to actually code Jul 07 00:49:55 sonOfRa so amd64? Jul 07 00:50:02 pick some various ismple projects, preferebly if they build on eachother, and just starting making it work. Jul 07 00:50:26 so I got the unpleasant surprise of exga devices, wtf? how do they handle apps that only work in portrait? what is portrait on a normal phone for a device like that, what bullshit. how much different configurations do you need to support? Jul 07 00:50:27 lasserix: makes perfect sense Jul 07 00:50:54 sonOfRa let me rephrase, which sdk should I be using? Jul 07 00:51:34 the sdk that runs on your platform Jul 07 00:51:46 sonOfRa thank you Jul 07 01:05:39 Is there reverse keyboard shortcut look up in AS? Jul 07 01:05:43 *somewhere Jul 07 01:06:50 in appcode, haven't checked IJ or AS, but under settings somewhere you can remap keyboard shortcuts and there's an option to do shortcut lookups Jul 07 01:09:06 my app doesnt change orientation when rotated and manifest does not have anything on orientation so how can that be? Jul 07 01:09:26 ahh just needed to check auto import unambigious references ;p Jul 07 01:10:57 Anyone happen to know how to iteravely generate graduated color codes? Jul 07 01:12:01 nm Jul 07 01:14:20 what is portrait on a device that is wider than it is long? Jul 07 01:18:34 Hello, was wondering if this is a bad idea for slight design pattern. Basically always return as custom enum for a given method, where what would normally be returned is an out parameter passed in. This way, for instance, if I were looking something up in a hashset or hashmap, and it was not in that hashmap, i do not have to return null and explicitly handle the case where it would normally return null for not belonging to the set... Jul 07 01:18:52 Or is this just a lot of boilerplate / uncessary clutter Jul 07 01:37:24 I keep getting the error "Unfortunately, Launcher has stopped." Jul 07 01:37:31 just after changing the icon of my app Jul 07 01:39:23 must be a null pointer in some resource Jul 07 01:39:47 maybe you missed something in changing the icon Jul 07 01:40:04 Carbonflux, in log cat it tries to grow the heap Jul 07 01:40:32 is there an unhandled exception in the log? Jul 07 01:40:52 Carbonflux, no :/ Jul 07 01:41:04 is sounds like its not even getting to your app Jul 07 01:41:20 that the launcher itself can't find a specified resource Jul 07 01:41:29 this could mean stuff hanging around from the old icon Jul 07 01:41:43 or the new icon is not fully or maybe properly specified Jul 07 01:42:12 I would go thru all your xml files and double check everything is pointing to the new icon correctly Jul 07 01:42:21 or at least that is all I can think of :) Jul 07 01:42:24 I changed it through the main activity interface Jul 07 01:43:17 any time I have changed an icon I have had to go thru by hand and change all the resource references in the xml Jul 07 01:43:26 Carbonflux, even when my application is not running I try to open the main menu where all apps are listed and it crashes Jul 07 01:43:35 Is there any way to look up methods when using ovveride by typing them in? Jul 07 01:43:37 it could be the case it is getting to your app but your asking for a resource that does not exist Jul 07 01:43:38 *in as Jul 07 01:44:26 and this happened only after you changed the icon? Jul 07 01:44:48 sounds like something is really broken, can you get far enough into it to delete your app? Jul 07 01:44:55 ajoul: clean clean clean Jul 07 01:44:59 then clean again for luck Jul 07 01:45:11 :) Jul 07 01:45:28 what do you mean by clean Jul 07 01:46:15 a clean build, cleaning means it deletes all the complied stuff and builds everything Jul 07 01:53:00 Carbonflux, I changed the icon back and it worked fine Jul 07 01:53:05 I changed it again and crashed Jul 07 01:53:40 Carbonflux, the image is 2201, could it be it? Jul 07 01:53:52 Is there any way to get around the finalization must be assigned in constructor? Ie, i want to declare some fields final but call an init method asyncronously with the constructor... Jul 07 01:54:07 ya, there must be something wrong with the new bitmap Jul 07 01:54:24 what do you mean by 2201? you mean width? Jul 07 01:54:39 it is 2201 by 2201 Jul 07 01:54:52 thats very very large for an icon Jul 07 01:54:57 actually 2201 by 2330 Jul 07 01:55:10 the eclipse should auto-adjust it Jul 07 01:55:11 right? Jul 07 01:55:16 tho is should reject it gracefully Jul 07 01:55:35 only the new project wizard does that iirc Jul 07 01:55:54 you should just scale it down to 512 or something and see Jul 07 02:05:57 Carbonflux, thanks a lot. Actually I had to use the eclipse icon creator to import my icon and not just select it Jul 07 02:06:24 ah ok :) Jul 07 02:06:36 also does anyone know what the type of activity is called that is full screen or looks like blank activity but without a header? Jul 07 02:07:47 you just turn that off in the context Jul 07 02:08:01 so its just settings, it does not have a specific type afaik Jul 07 02:08:39 there are some examples that you can google for Jul 07 02:28:41 ajoul: ,b 'immersive mode' Jul 07 02:32:19 anyone know how to code iphone apps? Jul 07 02:32:29 can the experience knoweldge and sdk be compared to android? Jul 07 02:33:20 no Jul 07 02:33:21 not so much.... consider using robovm ;) Jul 07 02:34:39 Anyone know what the equivalent of View Call Hierarchy in androud studio is? Jul 07 02:36:12 ajoul pretty much no reuse of knowledge Jul 07 02:37:34 unless it's experience outside of writing code, like talking to product and project managers Jul 07 02:37:44 or very general engineering principals Jul 07 02:39:26 I dunno, I'd go a bit further than that Jul 07 02:40:07 loops and variables and conditional statements Jul 07 02:40:42 but then you have message passing vs method calls, similarity ends pretty quckly Jul 07 02:40:53 well they both have { } s :) Jul 07 02:40:57 uitableview is not THAT dissimilar to an adapter :p Jul 07 02:41:06 getview = cellforrowatindexpath Jul 07 02:41:11 i think i have a book on UICollectioView Jul 07 02:41:18 iOS always had great books Jul 07 02:43:00 iOS is a completely different ball game -- different things to think about, more to love, more to hate Jul 07 02:43:14 for me it was more hate than love :P Jul 07 02:44:11 one nice thing about L preview is that it gives authors (who are on the ball) time to explore and prepare books so that when its released, there is good info in addition to d.android.com Jul 07 02:44:26 what's your book called, g00s ? Jul 07 02:44:50 How do i get android studio to auto implement anonymous inner class methods for me? Jul 07 02:44:56 lol - i'd like a good book on canvas and writing your own views Jul 07 02:45:04 with interaction Jul 07 02:46:12 bankai_au i bet a good book on the gradle build stuff would be useful - once the API settles down :| Jul 07 02:46:33 seen any for AS yet ? Jul 07 02:46:50 actually, there was one like 6 mos ago, i had to laugh Jul 07 02:47:06 because AS was sooo preliminary Jul 07 02:47:21 anonymous inner classes are bad Jul 07 02:47:43 bankai_au during I/O tor showed off a bunch of cool stuff Jul 07 02:47:45 lasserix: and you should feel bad Jul 07 02:47:48 that i forgot like 10 seconds later Jul 07 02:47:56 that big nerd ranch book uses nothing but anonymous inner classes Jul 07 02:48:17 i'm probably using like 1% of cool AS features Jul 07 02:48:48 i wished during I/O they would have announced some java 8 support :( oh well, next I/O maybe :) Jul 07 02:48:53 Leeds not when you are protyping Jul 07 02:49:14 technically i guessi should set upa prototyping library Jul 07 02:49:25 but that's besides the point Jul 07 02:49:27 ;p Jul 07 02:54:05 momma bear finds out kiddie was using anonymous inner classes http://i.imgur.com/4cyAAO8.jpg Jul 07 02:54:38 you're a bit of a softie, aren't ya, g00s ? Jul 07 02:54:51 i do have a genetic predisposition to cute fuzzy things Jul 07 02:54:59 but other than that ... Jul 07 02:55:03 not really ;) Jul 07 02:55:15 that was a great shot though Jul 07 02:55:28 man that poor kids ear Jul 07 02:55:33 chazomp! Jul 07 02:55:50 who decided that the filter selection should be seperate from the logcat output in as is an idiot Jul 07 02:56:24 or they never use it Jul 07 02:57:25 logging in android is pretty ghetto; it hasn't changed at all except adding log.wtf or something, which was just stupid because log levels no longer match up with other logginf frameworks Jul 07 02:57:51 Hi, has anyone encountered issues with the latest Android Studio 0.8.1? should i upgrade from 0.6? thanks for your opinion Jul 07 02:58:03 g00s add using .wtf would actually crash out some of my devices Jul 07 02:58:09 *and Jul 07 02:58:51 why do both eclipse and android studio have line numbers disabled by default, why? Jul 07 02:59:17 heh, i noticed in eclipse enabling that slowed down editor scrolling Jul 07 02:59:33 and there was some lame ass bug, where you scroll up and down but the line numbers were stuck Jul 07 02:59:39 that was eclipse 3.8 though **** ENDING LOGGING AT Mon Jul 07 02:59:59 2014