It seems you are using out-dated code that no longer works in SDK 1.0.
Look for onActivityResult() on this page:
http://code.google.com/android/reference/android/app/Activity.html
For the second question, post your login_screen.xml, if the problem
remains after you have upgraded properly to SDK.
Peli
On Oct 21, 3:00 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---