I want to place a textview on the right of a layout and on the left of a layout, but they keep stacking ontop of each other:
<LinearLayout
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="fill_parent" android:orientation="horizontal">
<TextView
android:id="@+id/left...
how to make font strechable by getting font from previous activity on current activity on canvas
...
Hi!
I'm doing visual design for an Android App supporting WVGA.
What should the pixel width and height in Photoshop be?
Does it have to be 480x800?
Or can I still design in 320x480?
Thank you so much!
...
I want to develop a application with widget. Now i only can find the applicaion in widget but cannot find the application in "all programs"
Thank you
my AndroidMainfest.xml
...
i want remove the progress state integer from the dialog...ca we do that..i need only progress bar...
...
Hi,
I am new To android.I have Some Code..I have
Simple.java :
public class Simple extends Activity {
/** Called when the activity is first created. */
Button show;
TextView view;
EditText edit;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setC...
Rating Bar in the ApiDemos app runs fine on 1.5 and 2.1 simulator. But when I tried it on the popular module AT&T Galaxy 2.1, it get truncated on the portrait mode. I am expecting to see 5 stars but only 4 are show. In landscape mode, it's showing 6 stars.
Any Idea?
...
I am using onKeyListener to get the onKey events. It works fine with the normal keyboard. But it does not work with soft keyboard. I am only able to get onKey events for numerics and not alphabets. Is there any workaround to solve this? plz help me its urgent.
public class BeepActivity extends Activity {
private EditText editTextBo...
I have taken one linear layout and add one view and draw canvas on that canvas i m getting font from previous activity so how can i provide animation on font?
...
Is it possible by pressing a button in my Activity to make the volume bar appear? The volume bar is the view that appears when you press one of the hardware volume buttons.
Is there a API function to do this or do I have to recreate that view by hand?
...
I am writing the code for the tab activity but there is a problem that when i navigate from 1 tab to another tab then it does not finish the activity of the previous tab.
suppose there are 3 tab A , B ,C by default it will goes to A when i am pressing B then it go there and when i press 3 it goes there. but when i press back button th...
i want to check the sms sending through th e emulator to phone can we do that?
...
I'm an Android newbie. This should be the easiest thing in the world, but figuring it out is driving me batty: how do I get the dimensions of a view or layout?
The standard approach seems to be something along the lines of:
((LinearLayout)this.findViewById(R.id.MyLayout)).getWidth();
Except that this always returns zero, since I'm tr...
Android: i am using gps check box in my application, which user check this we use gps location of the user.
Now i have to make change if user check this checkbox we use gps location and if user remain this box checked then we have to detect user location every after 10 mins and if location is different we have to prompt user that locati...
I am writing a simple Android app and have a database that will send back information into the app. I am new to Android and am looking for a simple example that demonstrates how the Android App can process a JSON response received from a HTTP request.
I need to see what classes are used for Android apps to process a HTTP response. A ref...
Hai , I need a solution for , how to send an image behind the scenes i.e; with out users further input ? Can any one help me to sort out this ?
thanking you .
Srinivas
...
Hello,
I'm trying to download Eclipse IDE for Android development. I've downloaded the setup but whenever I try to open the dmg it gives the an error saying:
"Can't open the application Eclipse because it is not supported on this type of Mac."
The Processor of my Mac is 1.83 GHz Intel Core Duo and version of my Mac OS X is 10.6.4. ...
Hey guys I'm having trouble with a spiner throwing a nullPointerExpression I'm sure I'm missing something stupid?
Thanks for you help
here is my code:
public class main extends Activity {
/** Called when the activity is first created. */
public TextView strCurrency;
public TextView strCurrencyOUT;
Button butCalc;
private Spinner...
can we run our android application in all iphone devices?
...
I have 3 video files each of 70 MB in my raw folder besides other audio files of few KBs. I am getting an installation error of insufficient space on the DROID while testing my app. I tried uninstalling apps and am now left with apps that are essential to the device.
What needs to be done to resolve this issue? I also wonder what will b...