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. Android unnecessarily hard to unit test?

Hi guys,

First: thanks for a great platform in Android. Being able to write
Android apps in regular Java is a huge win.

However, I am confused about unit testing Android apps. Many of the
'best practices' seem to boil down to 'split your business logic off,
and test it separately using JUnit'. This is great as far as it goes.
And I understand that truly testing the UI will require firing up the
emulator.

But it seems there is a category of UI tests that I should be able to
run without the emulator. The various Mockxxx classes seem to be going
a long way towards this. But why (oh why oh why!) do they all...

    throw new RuntimeException( "Stub!" );

...in their constructors? I can understand them doing this in their
METHODS (then I could subclass them as needed) but why their
constructors? I cannot stop this functionality so I cannot do (limited
but useful) UI tests such as...

public TextView createTextView( Context context )
{
   return new TextView( context );
}

public void testCreateTextView()
{
   MockContext context = new MockContext();
   assertTrue( createTextView( mockContext ) instanceof TextView );
}

...which I would dearly love to be able to do!

Regards,

Richard.



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

2. Reg: PHone panics on mentioning X and Y value in Bitmap.createBitmap method

Hi,

I am trying to mention X and Y values for the Bitmap image, but the phone
panics on mentioning the values.


Bitmap temp_image =
Bitmap.createBitmap(mAlbumArtImage,0,0,old_width,old_height,matrix,true); -
Phone does not panic with this code as X and Y values are 0 and 0

Panic code:
Bitmap temp_image =
Bitmap.createBitmap(mAlbumArtImage,2,2,old_width,old_height,matrix,true); -
On mentioning X and Y values in the code, the phone panics.

Can anyone please let me know if I am missing anything.

Thanks,
Sathya

-- 

3. Rom2 android

4. Multiple Choice ListView with icons

5. Error in function driver configuration

6. line discipline for connectivity combo chips

7. adding view to a layout dynamically