Dynamic UI forms

by Tadas Mak膷inskas » Sat, 30 Aug 2008 00:46:16 GMT


Sponsored Links
 Hello,
   For few days I was trying to create a dynamic form but usuccsfully.

   My goal is to create a number of buttons on an app. view. The
number of those buttons depends on the given data and can vary from
user to user, and is determined only at runtime. I couldn't realy find
how this could be done.

   Any tips welcome and thanks,
   Tadas Makinskas

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



Other Threads

1. Using Google Gears in a WebView

Does anyone know how to set Google Gears up to work properly in a
WebView?

The following fails with the error "Gears is not installed" on the web
page.


public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        WebView webView = new WebView(this);
                WebSettings settings = webView.getSettings();
                settings.setJavaScriptEnabled(true);
                settings.setPluginsEnabled(true);

        //webView.loadUrl("http://code.google.com/apis/gears/samples/
hello_world_database.html");
                webView.loadUrl("http://code.google.com/apis/gears/samples/
hello_world_geolocation.html");
                //webView.loadUrl("http://www.google.com");

                LinearLayout layout = new LinearLayout(this);
                layout.setOrientation(LinearLayout.VERTICAL);
                Button button = new Button(this);
                layout.addView(button);
                layout.addView(webView);
        setContentView(layout);
    }
}

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

2. load and test apps on a g1 device

I've been testing my apps on Android provided emulators on Eclipse in
Vista. Just got a g1 phone. Plugged it in my computer. But it doesn't
show up on the emulator list - it is not an emulator I guess!

Question: How to test my apps directly on the g1 device?

Thanks!

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

3. RandomAccessFile won't write to an existing file.

4. Location Provider

5. BarCode scanner for Android.

6. Problem with Android Market when uploading apk that uses Android icons

7. Android Market: Non-Compete Clause