any 'android for dummies' resources out there?

by Sonik » Sat, 01 Nov 2008 18:50:36 GMT


Sponsored Links
 I learned a bit of mIRC scripting back in the day and kind of get the
idea of what's needed and being done. I'm just having problems
connecting A to B.

I could hammer you with about 30?s but....I'll just start here and see
if I have a chance at this..

In Eclipse I see a folder/file structure.

There are 4 files which seem to need editing for an ?activity? to run
correctly. test.java, main.xml, strings.xml and AndroidManifest.xml.

How would you define these files
for instance: strings.xml - Appears to be a simple storage file for
strings used in the other files.

I thought I understood from the helloandroid tutorial that the
'activity' could be completely written using only the xml files, but I
keep finding I'm stumbling into the test.java file.

I'm sure half of what I stated above is incorrect and would appreciate
and corrections.

Thanks, Sonik.

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



any 'android for dummies' resources out there?

by Sunit Katkar » Sat, 01 Nov 2008 19:01:51 GMT


 At the risk of shameless self promotion :) I can suggest you my tutorial for
getting started http://www.vidyut.com/sunit/android/ 

- Sunit Katkar
 http://sunitkatkar.blogspot.com/ - Android Tutorials 








-- 
- Sunit Katkar

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


Sponsored Links


any 'android for dummies' resources out there?

by gymshoe » Thu, 06 Nov 2008 00:24:57 GMT


 it depends on whether you are new to android AND java, or just new to
android...
Jim




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



Other Threads

1. accessing widget in Dialog during unit test

Hi folks

I made a little change to SpinnerActivity from the Android Junit
tutorial:

public void onCreate(Bundle savedInstanceState) {


        super.onCreate(savedInstanceState);
        dialog = new Dialog(SpinnerActivity.this);
        dialog.setContentView(R.layout.main);

        Spinner spinner = (Spinner)
dialog.findViewById(R.id.Spinner01);

        this.mAdapter = ArrayAdapter.createFromResource(this,
R.array.Planets,
                android.R.layout.simple_spinner_dropdown_item);

        spinner.setAdapter(this.mAdapter);

        OnItemSelectedListener spinnerListener = new
myOnItemSelectedListener(this,this.mAdapter);

        spinner.setOnItemSelectedListener(spinnerListener);

        dialog.show();

    }

No magic, all I did was create a Dialog (named dialog) and display the
widgets on it.

Then I changed the setUp method in the SpinnerActivityTest code to
look like:

          protected void setUp() throws Exception {
            super.setUp();

            setActivityInitialTouchMode(false);

            mActivity = getActivity();

            mSpinner =
              (Spinner) mActivity.findViewById(
                com.android.example.spinner.R.id.Spinner01
              );

All I'm trying to do is get ahold of the Dialog I introduced.  The
problem is, its not working.  mSpinner is coming back as null.

What am I doing wrong?  How do I get ahold of the Dialog?  Failing
that, how do I get ahold of the Spinner that in the Dialog?

This is driving me nuts!

Mark

-- 

2. Use Gallery to display my app image

Hi,
In my own app, I have bunches of png files: file1.png, file2.png, file3.png.
I want to use Gallery to display image in my own directory only. When a user
clicks onto the image, it will give back the filename (ex: file1.png).

How do you use Intent to filter only image on my app only and register a
callback to get back path or file name?
Or It's better way to implement a Custom gallery View for my app?

-- 

3. application not installed

4. help -> how to connect Android Terminal to PC(ubuntu10.10

5. Consumer closed input channel

6. Consider starring this Android Feature request

7. OutOfMemoryError- while to download big data and storing in db4o