Hi Ashok,
This error means, you have to use ArrayAdapter which will be parameterized.
so you can use like this:
ArrayAdapter Adapter1 = ArrayAdapter.createFromResource(
this, R.array.abcd, android.this,R.layout.list_row,list);
In this case, create array.xml also .
Tnaks,
Dolan
> String sMenuItems[] = {"Menu Item1", "Menu Item2", "Menu Item3"};
>
> List list = Arrays.*asList*(sMenuItems);
>
> ArrayAdapter aListAdapter = *new* ArrayAdapter(*this*,R.layout.*list_row*
> ,list);
>
> setListAdapter(aListAdapter);
>
> }
>
> here layout of list_row is a single TextView view onl
> But now i want to change my code...
> I want that there should be only one class that extends Activity(say
> main_activity).
> And then i want the two classes TermsScreen.java and LoginScreen.java
> should get reference of that main_activity class.
>
> I wrote code for all this and again made us
Hi everyone.
I am just using jdk1.6.0_06, Android-SDK_m5_rc15_windows on Windows
XP. Whenever I run the "Hello World" sample, a popup prompt display "I/
ddms: Ping not sent: too soon after last". The emulator also display
but not working. After a few minutes, the emulator display
"Application is
Hi Mike,
If you could go through the Tutorial Exercise 2nd, you will find that there
are two functions that Android has provided for managing items in the Menu
Control as following:
1. onCreateOptionsMenu(): You can create your items in Menu.
2. onMenuItemSelected(): What action needs to be take
Hello Friends
When i started making an application in android i designed two
screens.
1.termsscreen.xml
2.loginscreen.xml
in res/layout.
Then i made every java file in my package extending Activity
I mean i made two java classes:-
1.TermsScreen.java extends Activity
2.LoginScreen.java ext
Hi All,
I am new to the Android world.
I am trying to run following piece of code in the SDK :
*public* *void* onCreate(Bundle icicle) {
*...*
String sMenuItems[] = {"Menu Item1", "Menu Item2", "Menu Item3"};
List list = Arrays.*asList*(sMenuItems);
ArrayAdapter aListAdapter = *new* Arr
Hi, i'm totally new in Android but i'm very interested in developing
applications using Wifi, mainly I'd like to know if it exist an API to
access to Wifi module and all the parameters. Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscrib
I have some questions regarding re-using existing code on the android
platform.
1) Are there any way to re-use existing C/C++ code on android
platform?
2) Where I can find limitations to the java apps for android platform?
(available libs etc)
--~--~-~--~~~---~--~
Thanks.
Sylvester
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL
All you have to do is:
1) Start the Android emulator
2) Open a command line (Start > Run, then type cmd and hit enter, using
windows)
3) On command line type "telnet localhost 5554"
4) You should see the Android Console
5) Type "gsm call +4411" and hit enter
You should see a in
Ok i found a solution but it does not please me.
I encapsulate the WebView within a LinearLayout and I apply the
animation to the linear layout instead of the WebView...
If you have something less dirty, let me know!
On 25 juin, 12:07, Jell <[EMAIL PROTECTED]> wrote:
> After looking closer, it
MBraude wrote:
> Hi Everybody,
>
> I'm sure this is an easy thing to do, but I haven't run into an
> example yet that responds to the user clicking the Menu button on the
> phone. I'd like to be able to show / hide some things based on this
> click event. What's the easiest way to do this?
The
Hi,
I want to make an app that will react to a phone call. How do I test
this? ie how do I simulate incoming calls?
Thanks,
Sylvester
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post
After looking closer, it seems that applying an animation to the
FrameLayout disable the WebView's scroll animation...
On 24 juin, 17:43, Jell <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have been trying to implement the demo API "3d Transition" to switch
> between a custom View of mine and aWebView,
Hi Everybody,
I'm sure this is an easy thing to do, but I haven't run into an
example yet that responds to the user clicking the Menu button on the
phone. I'd like to be able to show / hide some things based on this
click event. What's the easiest way to do this?
Thanks very much,
Mike
--~--
16 matches
Mail list logo