Tagged Questions

Developed by Google and the Open Handset Alliance. Android Developers (developer.android.com) Contains the SDK downloads, documentation, class reference and tutorials. Start here. Android Developers Blog Google's blog for Android developers, discussing technical topics as well as those relating to ...

learn more… | top users | synonyms

0
votes
0answers
11 views

BigDecimal code critique

I'm teaching myself BigDecimal and would appreciate a critique. In the code fragment below, I calculate a tip from user input: check and tip percentage (entered as integer): txt_check = ...
0
votes
0answers
14 views

Optimizing mass inserts into sqlite [closed]

Possible Duplicate: Optimizing mass inserts into sqlite I am trying to optimize inserts from a returned JSON which contains data from multiple tables on the remote server. My code is ...
1
vote
2answers
30 views

Optimizing mass inserts into sqlite

I am trying to optimize inserts from a returned JSON which contains data from multiple tables on the remote server. My code is working, but I just want to figure out a way for it to work better. I ...
0
votes
0answers
13 views

i cannot retrieve image in sqlite

Getting error in Checkdata.java as icon cannot be resolved or is not a field I don’t want to insert image through resource folder I want to pick the image from memorycard, (I have inserted code how ...
1
vote
1answer
36 views

Java Convolution Matrix

This is specifically for Android so you'll see the two android specific import at the top. However, I think it would apply to java in general. Anyway, here's the code (borrowed from: ...
2
votes
1answer
102 views

Android Asynctask… is this the correct way to do it?

I created a small android project with an AsyncTask. It simulates a time consuming task. Please review my code and tell me what you would do on a different way and why. Comments not specific to ...
1
vote
0answers
42 views

Improving performance of page curl

Im using a class written by someone which uses a dynamic page curl without opengl (I think) It seems to be working well but its a little bit laggy. Any help to speed it up would be great becasue i ...
0
votes
1answer
35 views

Efficient implemetation of AlertDialog callback in Android

One day I realised that my Android project utilizes AlertDialogs here and there in very ineffective way. The heavily duplicated portion of code looked like this (actually, copied and pasted from some ...
2
votes
1answer
86 views

HttpClient error handling

I would be happy to hear feedback on my implementation of httpclient. I am not so strong with error handling so I want to improve. My thought process behind this was that IOExceptions can be ...
2
votes
1answer
53 views

Fast image binarization on Android

I'm working on an application that turns a raw camera image into a binary (pure black/white) image and I need this to happen as fast as possible for swift further processing. This is what my code ...
5
votes
3answers
223 views

Please review my poker game

I've built this two classes for a poker game on Android and i would appreciate some feedback on my code. Have no mercy, the harsher you are the better. Feel free to add your number of WTFs/minute. ...
2
votes
1answer
156 views

AsyncTask, Android, and SQL

I originally posted this in stackoverflow.com but the question may be too broad. I'm trying to figure out the best way to download and use an SQL database from my server. I have included the code i ...
6
votes
5answers
160 views

Anonymous Classes for Listeners

While working with Android GUI my approach to adding Listeners for GUI elements is usually: Button helpBt = (Button) findViewById(R.id.help_button); helpBt.setOnClickListener(new ...
1
vote
1answer
41 views

Android SwitchedService class design, for cases where you want to start/stop a service from BroadcastReceiver

I could use some feedback on the class I designed for the above purpose, the complete code is here: ...
0
votes
1answer
68 views

Mutiple Alarm Problem [closed]

i have a problem with triggering the multiple alarm at first time , here is my code it is launcher activity where i write the following code :: **onCreate Method : // Calling Method setNextAlarm ...

1 2 3 4
15 30 50 per page