Is it possible to somehow "bind' the dimensions of a ShapeDrawable to that of a View?
Specifically, I'd like to bind the height of a custom thumb for a SeekBar to the height of the SeekBar. Thanks! ...
Specifically, I'd like to bind the height of a custom thumb for a SeekBar to the height of the SeekBar. Thanks! ...
Hi all, In my application I need to set dynamic text to my textview so I want it to get resized dynamically. I have set: < TextView android:id="@+id/TextView02" android:layout_width="fill_parent" android:layout_height="wrap_content" android:textStyle="normal" android:layout_weight="1" android:singleLine="false" android:minLines...
How can I get background color and text color (default for child views) of an Activity in Java? ...
Hi, In order to generate the notifications i need to know about how to generate the low battery and low memory interrupts programmatically. Can any one please provide your suggestions.I am aware of Intents. ...
Hello Team, I am working on an Android Application where I need to work on thread which is a well known concept of Java. I am having a thread named "thrd" in my application and I want to call it in the else part of the IF...Else loop. Can anyone please tell me how can I call that thread in my loop, Sorry I am totally new as far as work...
DDMS is not able to send location to the emulator. I have tried sending just the location from DDMS but still the emulator is not able to receive location. The application works properly in the device but its not able to capture location data in the emulator. I am testing on Android 2.2 emulator. Can anyone let me know what can be the i...
I downloaded Android SDK when I run setup, it displays the following error message. Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings. Any hints? ...
Hi, I am trying to drag a view over the screen FrameLayout main = (FrameLayout) findViewById(R.id.main_view); final Ball bigball; bigball = new Ball(this,50,50,25, 0xFFFF0000); main.addView(bigball); This draws a red circle on my screen. How and where do I need to implement my touchscreen-handling, if I want it only to trigger if som...
Hi, I have an imageview and when clicked, calls OnClickListener.onClick(View v). How do I get the exact point/coordinate that the user clicked? Thanks ...
Hi all, My phone has an IP. I would like to know how could I retrieve it? After searching in the web, I found that i can get only the current outside ip.(I want the local-perm ip of my phone) Thanks, ray. ...
Hello i m Working On Application That Requires Northwest and Southeast Coordinates of Mapview when i zoom or pan around map...i want to calculate distance between this two Geopoints... Guide Me Please... Thanx.. ...
I've noticed that Android, WPF, and Silverlight all follow a two-pass layout pattern. There's a recursive Measure() method that gets called to size the element, possibly multiple times. Then a recursive Layout/Arrange() method is called which lays out the exact positions of children in their parent control, and will also set the final si...
Hi, Im having trouble to make work the viewflipper. I created a xml layout file view_flipper.xml : <ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/flipper" android:layout_width="fill_parent" android:layout_height="fill_parent"> <include android:id="@+id/MainView" layout="@layout/gallery_1" /> <...
Hello, I am using Android 2.1 sdk with Motorolad Droid A855 model, when try to connect to Bluetooth (Socket SPP ), I am getting the following error as per logcat, and getting exception throw in socket.conect(); 09-07 05:03:40.874: ERROR/BluetoothEventLoop.cpp(1102): event_filter: Received signal org.bluez.Device:PropertyChanged from /o...
I have one android project.I have one class file of about 6000 lines when i tried to add more code it shows the java.lang.verifyerror please help me out ...
i want display multiple notification in single icon ...
Where can I find the preference widget that is used in the Voicemail number setting in the Android emulator? I'm implementing a feature with a very similar use case and would like to use an obviously already existing preference widget instead of creating a similar custom one by myself. The exact "path" to the setting I mean is: Setting...
Hi, I can't seem to get things to display programatically using text views? I have a main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" ...
Hi Friends, d I want to display the image like first image but my images are displaying like second image i want to display images like first image, like center in screen and equal spaces top and bottom look first image,but my images are displaying not center in screen and no spaces in top,what can i do for display image like firs...
I want to download image from distant server and use it as resource. Is it possible ? How can I do this ? ...