Help! Problem with DDMS Location Controls !!

by rocia » Fri, 06 Mar 2009 16:43:51 GMT


Sponsored Links
 hi, Mark
   I'm sorry , the image is as follows;
      http://rociawu.spaces.live.com/blog/cns !9D96EEC35DE1E477!6071.entry
   I can't access the web of  http://source.android.com/discuss . Thank 
you for your reply and waiting for your reply!






--~--~---------~--~----~------------~-------~--~----~



Help! Problem with DDMS Location Controls !!

by Mark Murphy » Fri, 06 Mar 2009 20:49:49 GMT


 


OK, here are the two most likely discussion lists for somebody who is
building Android from source:

Android platform (


Sponsored Links


Other Threads

1. Publish Android application by mean of a deal from person in US already has the merchant account!

Hi,
I am situated in non-US country from where I can only push FREE application.
I want to ask here , can anyone here clearify me about pushing paid
applications by mean of a deal with any US person already having a merchant
account, can we set a deal with him/her, that he pushes the application and
after the tax, what percentage he wanted he should keep and return me the
rest. Is there any Google Term involve in it that bann it or claim it as
wrong, if any can you please give a link to it?


Thank You!
Abdul Ma{*filter*}.
Google Android Developer.

--

2. change the height of a view on runtime

Hello,

I have defined a view with id "view01" in my xml layout file. I want
to change the height of this view on runtime. At first I wanted to do
it with a single click on the view, but I wasn't able to do that
properly, hence the onClickListener interface. After that i tried to
change the height of the view by hard coding. I didn't succeed. I have
searched quite a while on internet but so far I haven't found the
right solution. Can please someone help me out?

My .java and .xml file are displayed below.

Regards,

Wouter


***************.java file
package test2.main;


import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.LinearLayout;


public class test2 extends Activity implements OnClickListener  {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        View v1 = (View) findViewById(R.id.view01);
        v1.setOnClickListener(this);
        v1.setMinimumHeight(160);
        LinearLayout ll = (LinearLayout) findViewById
(R.id.linearlayout);
        ll.requestLayout();
        v1.requestLayout();


    }

        public void onClick(View arg0) {
                if (arg0.getMeasuredHeight() == 80)
                {
                        arg0.setMinimumHeight(160);
                } else
                {
                        arg0.setMinimumHeight(80);
                }
                arg0.requestLayout();
        }
}


**********.xml file
<?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" android:id="@+id/linearlayout">
  <TableLayout
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:stretchColumns="0" xmlns:android="http://
schemas.android.com/apk/res/android">
    <TableRow>
      <View
        android:layout_height="80px"
        android:background="#884400" />
      <TextView android:text="#884400"
        android:paddingLeft="4px"
        android:layout_gravity="center_vertical" />
    </TableRow>
        <TableRow>
      <View
        android:layout_height="80px"
        android:background="#aa8844" android:id="@+id/view01"/>
      <TextView android:text="#aa8844"
        android:paddingLeft="4px"
        android:layout_gravity="center_vertical" />
    </TableRow>
</TableLayout>
</LinearLayout>

-- 

3. Preference and type

4. How to programmatically disable the soft keyboard?

5. jalan-jalan ke bulan

6. AppWidget update best practices

7. Forward Facing Camera