|
I think ViewPagerIndicator also has the same control. If so then use that library, as the same guy behind ActionBarSherlock is behind VPI, so you're assured some level of quality.
|
# ? Apr 29, 2013 20:42 |
|
|
# ? May 13, 2024 10:33 |
|
Doctor w-rw-rw- posted:I think ViewPagerIndicator also has the same control. If so then use that library, as the same guy behind ActionBarSherlock is behind VPI, so you're assured some level of quality. It's similar, but somewhat different from the new implementation in the Play Store. Just to add a link VPI is available here: https://github.com/JakeWharton/Android-ViewPagerIndicator (If you're interested in the differences they're explained pretty well in Kirill's post: https://plus.google.com/108761828584265913206/posts/Cwk7joBV3AC)
|
# ? Apr 30, 2013 01:05 |
|
I have a spinner with this XMLcode:
I tried this and it didn't work; the spinner is completely blank: code:
|
# ? Apr 30, 2013 02:00 |
|
it is posted:I have a spinner with this XML You probably want to reference the Spinner you created in xml, something like: code:
http://developer.android.com/guide/topics/ui/controls/spinner.html
|
# ? Apr 30, 2013 02:22 |
|
I'm working with SpannableStrings now and can't figure out why this code...Java code:
|
# ? Apr 30, 2013 19:55 |
|
How clean is an app's uninstall? Sometime today I uninstalled my app from my tablet to do a clean install, something I'd done many times before without issue. Today, though, the app started crashing whenever it tried to access its sqlite database, complaining that a table that is most assuredly there did not exist. I've tried everything I can think of to fix the issue - I've rolled back code changes, tried to reinstall using an older version of the database I'm working with, tried installing the app on a virtual device, nothing has worked. It's like the library I was using to load the database onto my device (SQLite Asset Helper) just stopped working...I put in almost two hours trying to determine what the problem is and nothing worked. I'm in the middle of rooting my device, thinking a clean slate might knock loose something that was freaking out, but I'm curious if it's possible for a SQLite database to not get deleted after an app uninstall, causing issues with the app's attempts to load a newer version on reinstall. I really can't think of any other reason why my app that was working one moment would all of a sudden stop working the next. And I wasn't even getting a proper crash report via logcat! The app would just crash the moment I tapped the icon (disabling an initial call to a database allowed the app's UI to load, but any time I tried to query the database it would instantly crash, complaining that a table in the database didn't exist). This poo poo is maddening
|
# ? May 4, 2013 07:50 |
|
Even if the old SQLite database wasn't deleted, that certainly wouldn't explain a problem where the program claims that a table is missing when it is definitely there. How certain are you that you're checking the correct database? Can you ascertain whether the app is actually accessing the same sqlite file that you've checked and that the table is definitely there? Have you checked for an sqlite file in the SD card vs the phone's internal memory? Maybe you could try deleting the SQLite file (by which I mean back it up somewhere and then delete it)?
|
# ? May 4, 2013 09:53 |
|
QuarkJets posted:Even if the old SQLite database wasn't deleted, that certainly wouldn't explain a problem where the program claims that a table is missing when it is definitely there. The app eventually started working shortly after I posted my rant last night. I don't have anything to back this up, but it feels as though Eclipse stopped loading the SQLite Asset Helper library when I launched the app. I typically got a "Successfully opened <database name>" log entry from that library whenever I started the app, but while the app was crashing no such message appeared. Anyway, the app started launching properly before I went to bed last night. I started with code from two revisions ago with an old database (basically at a point at which I knew for a fact it was working), then worked my way up through three revisions until I hit the end. The app launched properly every time and I hadn't changed a single thing.
|
# ? May 4, 2013 16:53 |
|
Hey, I need to make a view for an app that I'm making. Everything's in the early stages, so all I'm really looking for here is a basic pointers/XML. Bear with me, I am new to android... This view needs to be a 10x10 spreadsheet style grid with defined borders between cells. The individual cells need to be able to hold integer values up to 5 digits. The background color of the individual cells must change depending on certain conditions. The individual cells also need to be selectable by touching, and I probably need to implement the android-equivalent of a listener to trigger a popup whenever one of the cells is selected. Like I said, I'm fairly new so any and all help is appreciated. All my GUI experience is in C#, so I am still learning the equivalent terminologies.
|
# ? May 5, 2013 21:22 |
|
hey all, I have been digging around for a while and cant find a straight answer anywhere concerning this. If I put an very basic app on the market for free, that has NO other functionality that can be unlocked, can I ask for donations and provide a link for this? I found several sources saying this is fine, and a few others that claim they have had their apps pulled for it. There did not seem to be anything in the distribution agreement or program policies that addresses this, if I overlooked something is there a link anyone can provide? --Thanks
|
# ? May 6, 2013 01:12 |
|
Is it possible to programmaticaly move to the top of a fragment? I'm seeing instances in which the contents of a fragment change but I have to manually scroll to the top because the scroll position is remembered from when I was halfway down the page when I requested new information. Edit: I figure it out, ScrollView's smoothScrollTo does just this. IAmKale fucked around with this message at 03:46 on May 6, 2013 |
# ? May 6, 2013 03:30 |
|
father vivian posted:hey all, I have been digging around for a while and cant find a straight answer anywhere concerning this. If I put an very basic app on the market for free, that has NO other functionality that can be unlocked, can I ask for donations and provide a link for this? I found several sources saying this is fine, and a few others that claim they have had their apps pulled for it. It's okay, but only if you receive donations via the android market payment system or in-app billing. Google takes a percentage off of the top (I think 30%). The Paypal donation library for Androids counts as "in-app billing" so you could try that
|
# ? May 6, 2013 04:25 |
|
Okay, I have a real problem this time that no amount of Googling has solved. I'm loading some results from a database using a loaderManager. The results return just fine when I query the contentProvider, but unfortunately the app crashes with a StaleDataException whenever I rotate my device. Based on some testing, this code is the culprit:Java code:
My question is, why? I want to be able to add my own items to the end of the returned cursor. Is there a better way to merge the two cursors so that I don't get this exception after rotation?
|
# ? May 6, 2013 14:42 |
|
We had some deadlines move around and after some begging, the I/O team allowed my company to transfer one of our two I/O registrations to me. So many sessions being done by people who I've been getting great information from since starting my journey in Android over the last year or so. I'll do my best to come back after the conference and point out any that seemed useful.
|
# ? May 10, 2013 03:47 |
|
Have fun. It's been 2 months since registration and I am still pissed that my 3 year streak of I/O attendance got broken this time around.
|
# ? May 11, 2013 05:53 |
|
Hey Android thread, I've been our company's iOS lead for the past 10 months and have been enjoying it so far. I was just tasked with running our summer internship program where we're going to be having 3 interns create our company's Android app by "copying" (not code) our iPhone/iPad app. I know, this is a bit ridiculous and I'd rather not have it this way, but you deal with the card you're dealt. This came as a shock to me as I've only merely scratched the surface of Android development and haven't touched Java in several years. I am now in a rush mode to get knowledgeable about the whole process so that these interns are not led blindly. I've read through the OP and will be reading through the various tutorials and I'm gonna start tinkering around with a bunch of existing projects out there and get my hands dirty. I was just wondering if there were any tips/guidelines for people that are coming from iOS. I'd like to think I'm somewhat familiar with mobile development, but I know best practices and the way things are done can vary greatly between communities. Any help would be greatly appreciated
|
# ? May 14, 2013 23:55 |
|
I have done both iOS and Android dev professionally for three years. PM me with some details and I'll make some time to get back to you about potential pitfalls, things to use, and stuff to keep an eye on.
|
# ? May 15, 2013 16:22 |
|
Doctor w-rw-rw- posted:I have done both iOS and Android dev professionally for three years. PM me with some details and I'll make some time to get back to you about potential pitfalls, things to use, and stuff to keep an eye on. Thanks, youdaman
|
# ? May 15, 2013 16:53 |
|
Google just announced Android Studio, which is an Android IDE based on IntelliJ.
|
# ? May 15, 2013 17:30 |
|
Oh my god this android studio demo is amazing.
|
# ? May 15, 2013 17:30 |
|
jkyuusai posted:Oh my god this android studio demo is amazing. Yes it is. I also like how they're using the best Jetbrains theme: Darkula.
|
# ? May 15, 2013 17:31 |
|
Hello intelliJ, get hosed eclipse
|
# ? May 15, 2013 17:31 |
|
Sereri posted:Hello intelliJ, get hosed eclipse Hmm how will this affect intellij's monetization? I assume Google isn't going to charge for AS. Also, new service to translate apps, and alpha/beta testing from the Dev console. jkyuusai fucked around with this message at 17:39 on May 15, 2013 |
# ? May 15, 2013 17:35 |
|
jkyuusai posted:Hmm how will this affect intellij's monetization? I assume Google isn't going to charge for AS. Intellij Community Edition is free. In other news you can now do beta testing and staged rollouts via the developer console.
|
# ? May 15, 2013 17:39 |
|
I'm curious what the relationship is here. If this is Google working with Jetbrains, then all this stuff will just end up in the full version. If they are just forking the community version and none of it will end up in the full version I'll be pretty annoyed.
|
# ? May 15, 2013 17:40 |
|
Salvador Dalvik posted:I'm curious what the relationship is here. If this is Google working with Jetbrains, then all this stuff will just end up in the full version. In ADT panel. Jet brains CTO is speaking now. Based on what he's saying, i think, all the work in android studio will make it back to all versions of intellij.
|
# ? May 15, 2013 20:58 |
|
It looks like most of the Android Studio functionality will make it in IntelliJ 13, but that's not out till December. http://blogs.jetbrains.com/idea/2013/05/intellij-idea-13-early-preview-is-out/ Guess I'll have to try Studio and see if it's worth switching, hopefully the workspace config transfers over.
|
# ? May 15, 2013 21:30 |
|
Somewhere, Mike Wilson is crying.
|
# ? May 15, 2013 22:17 |
|
I want Android Studio right now. Oh look, the early preview is up (hopefully I don't run into too many bugs)
|
# ? May 15, 2013 23:33 |
|
Speaking of IntelliJ and Android... It's been a couple months since I've done anything with Android, but it looks like they changed the layout of the sdk with the latest update (moving certain tools into the new build-tools directory). I'm using IntelliJ 12.1.3, and it can't find the tools anymore. Is there an easy way to get IntelliJ working again with the new layout?
|
# ? May 15, 2013 23:53 |
|
Holy loving poo poo. Volley. Every single pitfall that the presenter pointed was something I encountered in making network requests. Every single solution and diagram was something I had drawn up as a solution but was never given time to implement properly.every feature addressed a deficiency I needed. And it's backwards-compatible to older versions of android. Wow. Great!
|
# ? May 16, 2013 00:38 |
|
Doctor w-rw-rw- posted:Holy loving poo poo. Yeah Volley looks extremely useful. I'm excited to use it! Now I don't know what to look at first, OkHttp/Picasso (http://corner.squareup.com/2013/05/picasso-one-dot-oh.html) or Volley? Probably Volley.
|
# ? May 16, 2013 00:42 |
|
They said that they compared it to a bunch of other libs out there and that itwvperformance trounced the others'.
|
# ? May 16, 2013 00:56 |
|
Also they spoke at the qa after the panel about someone that is working on plugging okhttp into volley. This would give the side benefit of making volley use SPDY!
|
# ? May 16, 2013 05:54 |
|
I haven't touched Android development in a year or so, but I have to say this IO has made me want to pick it up again. A little bit.
|
# ? May 16, 2013 17:02 |
|
They just posted the recorded Volley video if anyone missed it. I'm really excited to try this, it'll replace a ton of code and libraries for me. https://www.youtube.com/watch?v=yhv8l9F44qo
|
# ? May 16, 2013 18:20 |
|
Has anybody used the Google Play Licensing stuff? Any degree of success with it or is it hilariously easy to bypass?
|
# ? May 17, 2013 07:37 |
|
Asked jet brains guys about android studio features. They said they're currently in a preview version of the full version of Intellij with the official release coming in December.
|
# ? May 17, 2013 23:04 |
|
jkyuusai posted:Asked jet brains guys about android studio features. They said they're currently in a preview version of the full version of Intellij with the official release coming in December. The preview version was linked in the thread, either this page or the previous one. Looks pretty slick. You should check it out! e: It was this page. Here's the link again: http://developer.android.com/sdk/installing/studio.html
|
# ? May 18, 2013 07:47 |
|
|
# ? May 13, 2024 10:33 |
|
jkyuusai posted:Asked jet brains guys about android studio features. They said they're currently in a preview version of the full version of Intellij with the official release coming in December. So is Android in Intellij just going to be broken until December? http://youtrack.jetbrains.com/issue/IDEA-107311
|
# ? May 18, 2013 14:23 |