Hi dilu,
  As I can say with above details, you are using SDK 1.0 and the code
you are writing is of style m5. If so see documentation and changes
for 1.0
Regards
Shailesh



On Tue, Oct 21, 2008 at 6:30 PM, dilu <[EMAIL PROTECTED]> wrote:
>
> Hi'
> I am trying to create a login page with user name and password.
> In source file i have created two java file one is homescreen.java
> file and another one is loginscreen.java file.
> In homescreen.java file error is coming like this  "The method
> onActivityResult(int, int, Intent) in the type Activity is not
> applicable for the arguments (int, int, String, Bundle)."
> part of the code is :-
>      protected void onActivityResult(int requestCode, int resultCode,
> String data, Bundle extras) {
>                super.onActivityResult(requestCode, resultCode, data, extras);
>
>                if (requestCode == ACTIVITY_LOGIN) {
>            // If the request was cancelled, then we are cancelled as
> well.
>            if (resultCode == RESULT_CANCELED) {
>                finish();
>
> and in the login_screen.xml file I am getting error like this
> No resource identifier found for attribute 'layout_toRight' in package
> 'android'
> No resource identifier found for attribute 'layout_toLeft' in package
> 'android.
>
> please help me out.
> thanks.
> dilu
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to