I have a web service that returns a image in Base64 format. The body response, as Fiddler says has a Content-Length: 383143.
The response is like: {... two strings... and... ImageBase64":"iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAAAXNSR0IArs4c.....}
I request data from the web service and I receive it in a string format. When I t...
Hi,
I am looking to create a map application. I want it to show a location that user selects from a list and show here the location is, then add a button on the map so that the user can navigate from there current location to the one selected.
I have looked at tutorials but cannot find anything that does this.
Anyone know where I mig...
I have a service that spawns a thread which runs a task every 3 seconds.
class MyService extends Service {
private Timer timer = new Timer();
public int onStartCommand(Intent intent, int flags, int startId) {
TimerTask task = new TimerTask() {
public void run() {
// something important
}
};
timer.sc...
I want to load e.g. LinearLayout with some Buttons from xml and draw it on Canvas in a way that the Views behave normally (I can set onClick actions for the Buttons and when I press a Button, it changes it's background drawable). Can I do this?
...
hi,
Can someone tell me what is the minimum requirement a phone should obey so that an android OS can be installed over it.
thank you
...
I am trying to publish into faceboook by using fbconnect-android sdk.
I am new to android programming.
I stuck up at the fallowing error. Please help me out.
fbconnect-sample]
trouble processing "javax/net/SocketFactory.class":
[2010-09-28 18:06:19 - fbconnect-sample]
Attempt to include a core VM class in something other than a core ...
HI,
I am trying to aquire a wake lock however when I call PowerManager.newWakeLock() I receive a IlleglArgumentException.
Here is the code I use to get the
private void setWakeLock(Context context)
{
PowerManager pm = (PowerManager) context
.getSystemService(Context.POWER_SERVICE);
SoundAlarmActivity.WakeLock = pm.newWake...
I read the Avoiding Memory Leaks article with interest, and am concerned about danging references to the context object. I have a class like the following.
public class MessageAdapter extends ArrayAdapter<Message> {
private ArrayList<Message> items;
private LayoutInflater inflater;
public MessageAdapter(Context context, in...
Hello,
I have a TabHost activity with 2 child activities. My problem is that when I'm overriding the onTouchEvent method (for any of these two child activities) only the MotionEvent.ACTION_DOWN event is received. Any help would be appreciated.
...
Hi all,
I need to populate a View with a data from adapter which contains some number of strings. The problem is that I don't know how many of the strings will be there. So my idea was to use LinearLayout to store data.
But even if I reserve enough space for this data (eventually I will draw it in ScrollView), LinearLayout use only ho...
Hi,
I am trying to run my project but eclipse is saying I have errors but there are no errors just a red cross where the project name is. I have tried deleting the R.java and generating a new one but that didnt work
Thanks In Advance
...
Is it possible to create a view that is bigger than the screen?
I need a view that has a bigger width then the screen of the device. I use this view in a rotation animation. During the rotation the parts that were not on the screen before animating the view will become visible.
Is there a way to achieve this effect with the android f...
hi,
how do i come to know which device is compatible to be overhauled with Android OS.
I wanted to know what is the basic hardware requirement.
thanks
...
I have a ViewFlipper implementation that needs to be improved. This ViewFlipper has three child views. Basically, I want an indicator on which child view is currently active. My ViewFlipper is just a part of a complex layout which also has list views, etc.
Switching of views is also automatic and done in a specified interval.
From Andr...
How to set Max and Min zoom levels for Pinch-Zoom?
...
Hi,
I am trying to show a activity or a dialog when the phone is locked.
I have tried using a WakeLock but it did not work and I can only see the activity once my phone is unlocked?
What is the proper way to do this?
...
It is giving error at runtime : Application stopped unexpectedly - Am I going wrong anywhere ?
Please help. Any help is appreciable.
public Cursor getdata(String passTask)
{
//Cursor cursor = this.db.query(TABLE_NAME, new String[] { "totalHr" },
// "where task = ", passTask ,"", "", "");
//return cursor;
String p_quer...
Hi,
Kindly provide me the steps to obfuscate an Android application from Eclipse IDE.
Is Proguard jar best for this obfuscation purpose or do we have better obfuscator?
Warm Regards,
CB
...
I'm trying to find some technical details about Honeycomb, but I've found nothing so far other than very vague suggestions that it will be optimized for tablets.
...
Hi Friends,
I want to develop an application in which the user can define the keys and the value for those keys in the keyboard and save that keyboard.
After the user has created a keyboard of his/her choice, the user has an option to set that particular keyboard as the default soft keyboard.
Any ideas?
...