|
This seems suited to the current rants: I'm trying to use the Google Maps API for Android. I ran this command: code:
SHA1;com.company.project Got an API key. Put it into a layout definition like so: code:
nested under manifest: code:
code:
I have explicitly set IntelliJ to use the ~/.android/debug.keystore for its cert, I have deleted debug.keystore and regenerated it and used that to make another key, that still didn't work. Running out of things to try, anyone have any thoughts on where I'm going wrong?
|
# ¿ Dec 11, 2012 03:35 |
|
|
# ¿ May 3, 2024 09:54 |
|
If I have a service, and inside this service I start multiple threads, is it possible for these threads to be killed by the OS to free up memory, WITHOUT the Service also getting killed?
|
# ¿ Dec 21, 2012 05:44 |
|
5436 posted:Which IDE do people generally prefer? Eclipse or IntelliJ IDEA? I vastly prefer IntelliJ, I think the autocomplete is much better. Not a big fan of their 12.0 release though, the keyboard keeps freezing and requiring me to click somewhere with the mouse to fix it. Doctor w-rw-rw- posted:If its under enough pressure to kill the threads it'll probably be under enough pressure to kill the service? My preferred pattern for using threads, if you must, is using executor services. Shutdown on stop, start on start. It's a bit more nuanced than that but it worked well. What are you trying to do, exactly?
|
# ¿ Dec 22, 2012 15:45 |
|
Karthe posted:Can you guys help me figure out what to do? If I long click an edit text I expect to get the "Paste" pop up, not multi select. Maybe support a long click on the delete buttons and make them toggleable?
|
# ¿ Jun 25, 2013 15:09 |
|
I'm writing code to communicate with a backend over REST. Storing data, login, running business logic type stuff. I'm trying to decide how to handle async communication - I could use callbacks, but I'm worried about the anonymous inner classes keeping a reference to the Activity even after it is destroyed, and code running without a valid context. My other idea is to use a bound service as described here: http://developer.android.com/guide/components/bound-services.html Is there anything obvious I am missing?
|
# ¿ Jun 28, 2013 02:02 |
|
Fluue posted:Whoops! I must have deleted that line when refactoring.. Debug the code and look at why it is null. You need to find out where you assign it a value and why that code isn't executing, or where it is set to null. If you only set things using setter methods then this is relatively easy. Also I would check out Volley for image loading and caching. It has a NetworkImageView that handles everything real nice for you including caching. If you (or anyone) has any Volley questions just ask because I've been looking at it quite extensively recently.
|
# ¿ Jul 31, 2013 04:02 |
|
barbarianbob posted:Greetings androidians *chuckles heartily* Write your e-mail using HTML code:
I haven't tested this but it should work
|
# ¿ Sep 5, 2013 20:55 |
|
LeftistMuslimObama posted:I have an idea for an app that I want to start developing, but it will definitely require server component because it involves sharing data between multiple users and those users being able to send each other notifications and such. I'm very comfortable with Java and I've got a enough practice at SQL for the purposes of this app. What I've never done, however, is any programming involving client-server communication. If anyone can point me at some resources or tutorials to get me started at figuring that bit out, I'd be grateful. My two big questions are: I would consider checking out some BaaS like CloudMine or Parse, then you can just use their APIs and not run a server yourself.
|
# ¿ Jun 11, 2014 23:19 |
|
|
# ¿ May 3, 2024 09:54 |
|
Do you have the Actionbar Sherlock dependency defined correctly in the module set up? What sdk level is the module set to?
|
# ¿ Aug 15, 2014 04:32 |