Re: [android-developers] Re: username and password for sample sync adapter
Itz very simple . read these topics 1. sync adapter 2.account manager note:sync process is mandatory for more detail please contact: 7204479379 On Friday, March 11, 2011 11:25:42 AM UTC+5:30, bhagii wrote: Hi, I am very new to android. I wanna see my app in account manager. How to do that I just added sample code in android. Where do i keep samplesyncadapter_server files? In apache Pls assist me... Thanks. -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: username and password for sample sync adapter
Hi, I am very new to android. I wanna see my app in account manager. How to do that I just added sample code in android. Where do i keep samplesyncadapter_server files? In apache Pls assist me... Thanks. -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: username and password for sample sync adapter
Hi, I cleaned up the datastore, please do not add/delete users or friends on the samplesyncadapter server. Now when you sync user1/test account, you should see three friends user2,user3, and user4 synced down. This sample only demonstrates one way sync for now. If you need to test with any changes to the data, please host your own instance of server. thanks, Megha On 19 February 2010 09:20, HCH hayeshau...@gmail.com wrote: A few things: - The sample is for a one-way read only account. Only server changes are synced to device. You cannot edit them or create new ones on the device. - I used the sample server and although I authenticated no content synced down. - Don't forget to choose display options in contacts to make the new account visible (new accounts are off by default which requires the user to understand what is going on and to know how to configure the contacts app to display the new content). - There is no further information on enabling editing of contacts for a 2 way sync account. This has been covered in other threads. The built in contacts app does not allow proper editing of contacts outside of default, gmail and exchange. On Feb 18, 10:06 pm, Sameer AM sam2...@gmail.com wrote: Okay, I tried the user1/test on emulator and it added account succesfully, and on the web side I added few handles and added few friends on the same handle, and tried syncing the same on emulator, and I am getting 500 internal server error, is there still something wrong? I added one more user on the server and authenticated same from emulator, it the accounts get added fine. As far as hosting the python files for personal contact server is concerned I'm afraid it might take time for me, as I'd have get approval from my manager. So I wished if I could see the working with the already existing db on server. Thanks again On Feb 19, 4:18 am, Megha mjo...@google.com wrote: Hi, I have uploaded the zipped source files for this sample at: http://code.google.com/p/apps-for-android/downloads/list Sorry about the server related python source files not being visible on developer.android.com. We will fix it soon. This sample source will be available with the next sdk package, we are working on making zipped samples downloadable from developer.android.com itself in future. Regardingpasswordissue, please use account user1/test on samplesyncadapter server. I would recommend that to add new accounts, download the server code, modify it as you want and host it on a separate app engine instance. If you look at dashboard.py and app.yaml in server code it should be pretty clear how to do this..giving a short overview below: 1) Add a new Sample SyncAdapter account @: http://yoursamplesyncadapter_server.appspot.com/add_user For example I have added user1: http://yoursamplesyncadapter_server.appspot.com/edit_user?user=1 2) Enterusername/password@ http://yoursamplesyncadapter_server.appspot.com/add_credentials Thepasswordfor user1 is test. 3) Modify the android code to use your server instance. Sorry for the confusion so far, please let me know if you have more questions. Thanks, Megha On Feb 18, 10:28 am, HCH hayeshau...@gmail.com wrote: Could someone on the android team please tell us what we should use for thepasswordwhen connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote: as for 1) - The source tree is not available for download that I can tell. You have to cut and paste each individual file from the html and reconstruct the source tree locally. - The source to the server has a directory but is not actually there. - What to use as apasswordisn't clear and I can't find one (tried all values in the user account I created plus 'password', etc.). So even though there is now an example months after the OS shipped with this feature it isn't complete and was seemingly put up without much care. On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in it when it asks forusernameandpassword? And I have the following questions 1) SampleSyncAdapter is for 2.0 and in 2.0 emulator I don't see the Accounts Syncoptions in the Settings, am I missing anything? -- so for this I compiled this app in 2.1 and ran on 2.1 emulator 2) In 2.0 emulator when I launch Accounts option from Contact app, it crashes? I saw this a raised bug, is this solved? -- 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
[android-developers] Re: username and password for sample sync adapter
A few things: - The sample is for a one-way read only account. Only server changes are synced to device. You cannot edit them or create new ones on the device. - I used the sample server and although I authenticated no content synced down. - Don't forget to choose display options in contacts to make the new account visible (new accounts are off by default which requires the user to understand what is going on and to know how to configure the contacts app to display the new content). - There is no further information on enabling editing of contacts for a 2 way sync account. This has been covered in other threads. The built in contacts app does not allow proper editing of contacts outside of default, gmail and exchange. On Feb 18, 10:06 pm, Sameer AM sam2...@gmail.com wrote: Okay, I tried the user1/test on emulator and it added account succesfully, and on the web side I added few handles and added few friends on the same handle, and tried syncing the same on emulator, and I am getting 500 internal server error, is there still something wrong? I added one more user on the server and authenticated same from emulator, it the accounts get added fine. As far as hosting the python files for personal contact server is concerned I'm afraid it might take time for me, as I'd have get approval from my manager. So I wished if I could see the working with the already existing db on server. Thanks again On Feb 19, 4:18 am, Megha mjo...@google.com wrote: Hi, I have uploaded the zipped source files for this sample at:http://code.google.com/p/apps-for-android/downloads/list Sorry about the server related python source files not being visible on developer.android.com. We will fix it soon. This sample source will be available with the next sdk package, we are working on making zipped samples downloadable from developer.android.com itself in future. Regardingpasswordissue, please use account user1/test on samplesyncadapter server. I would recommend that to add new accounts, download the server code, modify it as you want and host it on a separate app engine instance. If you look at dashboard.py and app.yaml in server code it should be pretty clear how to do this..giving a short overview below: 1) Add a new Sample SyncAdapter account @: http://yoursamplesyncadapter_server.appspot.com/add_user For example I have added user1: http://yoursamplesyncadapter_server.appspot.com/edit_user?user=1 2) Enterusername/password@ http://yoursamplesyncadapter_server.appspot.com/add_credentials Thepasswordfor user1 is test. 3) Modify the android code to use your server instance. Sorry for the confusion so far, please let me know if you have more questions. Thanks, Megha On Feb 18, 10:28 am, HCH hayeshau...@gmail.com wrote: Could someone on the android team please tell us what we should use for thepasswordwhen connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote: as for 1) - The source tree is not available for download that I can tell. You have to cut and paste each individual file from the html and reconstruct the source tree locally. - The source to the server has a directory but is not actually there. - What to use as apasswordisn't clear and I can't find one (tried all values in the user account I created plus 'password', etc.). So even though there is now an example months after the OS shipped with this feature it isn't complete and was seemingly put up without much care. On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in it when it asks forusernameandpassword? And I have the following questions 1) SampleSyncAdapter is for 2.0 and in 2.0 emulator I don't see the Accounts Syncoptions in the Settings, am I missing anything? -- so for this I compiled this app in 2.1 and ran on 2.1 emulator 2) In 2.0 emulator when I launch Accounts option from Contact app, it crashes? I saw this a raised bug, is this solved? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: username and password for sample sync adapter
Could someone on the android team please tell us what we should use for the password when connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote: as for 1) - The source tree is not available for download that I can tell. You have to cut and paste each individual file from the html and reconstruct the source tree locally. - The source to the server has a directory but is not actually there. - What to use as a password isn't clear and I can't find one (tried all values in the user account I created plus 'password', etc.). So even though there is now an example months after the OS shipped with this feature it isn't complete and was seemingly put up without much care. On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in it when it asks for username and password? And I have the following questions 1) SampleSyncAdapter is for 2.0 and in 2.0 emulator I don't see the Accounts Syncoptions in the Settings, am I missing anything? -- so for this I compiled this app in 2.1 and ran on 2.1 emulator 2) In 2.0 emulator when I launch Accounts option from Contact app, it crashes? I saw this a raised bug, is this solved? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: username and password for sample sync adapter
Hi, I have uploaded the zipped source files for this sample at: http://code.google.com/p/apps-for-android/downloads/list Sorry about the server related python source files not being visible on developer.android.com. We will fix it soon. This sample source will be available with the next sdk package, we are working on making zipped samples downloadable from developer.android.com itself in future. Regarding password issue, please use account user1/test on samplesyncadapter server. I would recommend that to add new accounts, download the server code, modify it as you want and host it on a separate app engine instance. If you look at dashboard.py and app.yaml in server code it should be pretty clear how to do this..giving a short overview below: 1) Add a new Sample SyncAdapter account @: http://yoursamplesyncadapter_server.appspot.com/add_user For example I have added user1: http://yoursamplesyncadapter_server.appspot.com/edit_user?user=1 2) Enter username/password @ http://yoursamplesyncadapter_server.appspot.com/add_credentials The password for user1 is test. 3) Modify the android code to use your server instance. Sorry for the confusion so far, please let me know if you have more questions. Thanks, Megha On Feb 18, 10:28 am, HCH hayeshau...@gmail.com wrote: Could someone on the android team please tell us what we should use for the password when connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote: as for 1) - The source tree is not available for download that I can tell. You have to cut and paste each individual file from the html and reconstruct the source tree locally. - The source to the server has a directory but is not actually there. - What to use as a password isn't clear and I can't find one (tried all values in the user account I created plus 'password', etc.). So even though there is now an example months after the OS shipped with this feature it isn't complete and was seemingly put up without much care. On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in it when it asks for username and password? And I have the following questions 1) SampleSyncAdapter is for 2.0 and in 2.0 emulator I don't see the Accounts Syncoptions in the Settings, am I missing anything? -- so for this I compiled this app in 2.1 and ran on 2.1 emulator 2) In 2.0 emulator when I launch Accounts option from Contact app, it crashes? I saw this a raised bug, is this solved? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: username and password for sample sync adapter
Thank you! On Feb 18, 3:18 pm, Megha mjo...@google.com wrote: Hi, I have uploaded the zipped source files for this sample at:http://code.google.com/p/apps-for-android/downloads/list Sorry about the server related python source files not being visible on developer.android.com. We will fix it soon. This sample source will be available with the next sdk package, we are working on making zipped samples downloadable from developer.android.com itself in future. Regarding password issue, please use account user1/test on samplesyncadapter server. I would recommend that to add new accounts, download the server code, modify it as you want and host it on a separate app engine instance. If you look at dashboard.py and app.yaml in server code it should be pretty clear how to do this..giving a short overview below: 1) Add a new Sample SyncAdapter account @: http://yoursamplesyncadapter_server.appspot.com/add_user For example I have added user1: http://yoursamplesyncadapter_server.appspot.com/edit_user?user=1 2) Enter username/password @ http://yoursamplesyncadapter_server.appspot.com/add_credentials The password for user1 is test. 3) Modify the android code to use your server instance. Sorry for the confusion so far, please let me know if you have more questions. Thanks, Megha On Feb 18, 10:28 am, HCH hayeshau...@gmail.com wrote: Could someone on the android team please tell us what we should use for the password when connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote: as for 1) - The source tree is not available for download that I can tell. You have to cut and paste each individual file from the html and reconstruct the source tree locally. - The source to the server has a directory but is not actually there. - What to use as a password isn't clear and I can't find one (tried all values in the user account I created plus 'password', etc.). So even though there is now an example months after the OS shipped with this feature it isn't complete and was seemingly put up without much care. On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in it when it asks for username and password? And I have the following questions 1) SampleSyncAdapter is for 2.0 and in 2.0 emulator I don't see the Accounts Syncoptions in the Settings, am I missing anything? -- so for this I compiled this app in 2.1 and ran on 2.1 emulator 2) In 2.0 emulator when I launch Accounts option from Contact app, it crashes? I saw this a raised bug, is this solved? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: username and password for sample sync adapter
Thanks a lot megha.. this is a relief, I'd try this and get back -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: username and password for sample sync adapter
Okay, I tried the user1/test on emulator and it added account succesfully, and on the web side I added few handles and added few friends on the same handle, and tried syncing the same on emulator, and I am getting 500 internal server error, is there still something wrong? I added one more user on the server and authenticated same from emulator, it the accounts get added fine. As far as hosting the python files for personal contact server is concerned I'm afraid it might take time for me, as I'd have get approval from my manager. So I wished if I could see the working with the already existing db on server. Thanks again On Feb 19, 4:18 am, Megha mjo...@google.com wrote: Hi, I have uploaded the zipped source files for this sample at:http://code.google.com/p/apps-for-android/downloads/list Sorry about the server related python source files not being visible on developer.android.com. We will fix it soon. This sample source will be available with the next sdk package, we are working on making zipped samples downloadable from developer.android.com itself in future. Regardingpasswordissue, please use account user1/test on samplesyncadapter server. I would recommend that to add new accounts, download the server code, modify it as you want and host it on a separate app engine instance. If you look at dashboard.py and app.yaml in server code it should be pretty clear how to do this..giving a short overview below: 1) Add a new Sample SyncAdapter account @: http://yoursamplesyncadapter_server.appspot.com/add_user For example I have added user1: http://yoursamplesyncadapter_server.appspot.com/edit_user?user=1 2) Enterusername/password@ http://yoursamplesyncadapter_server.appspot.com/add_credentials Thepasswordfor user1 is test. 3) Modify the android code to use your server instance. Sorry for the confusion so far, please let me know if you have more questions. Thanks, Megha On Feb 18, 10:28 am, HCH hayeshau...@gmail.com wrote: Could someone on the android team please tell us what we should use for thepasswordwhen connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote: as for 1) - The source tree is not available for download that I can tell. You have to cut and paste each individual file from the html and reconstruct the source tree locally. - The source to the server has a directory but is not actually there. - What to use as apasswordisn't clear and I can't find one (tried all values in the user account I created plus 'password', etc.). So even though there is now an example months after the OS shipped with this feature it isn't complete and was seemingly put up without much care. On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in it when it asks forusernameandpassword? And I have the following questions 1) SampleSyncAdapter is for 2.0 and in 2.0 emulator I don't see the Accounts Syncoptions in the Settings, am I missing anything? -- so for this I compiled this app in 2.1 and ran on 2.1 emulator 2) In 2.0 emulator when I launch Accounts option from Contact app, it crashes? I saw this a raised bug, is this solved? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: username and password for sample sync adapter
2) Use 2.0.1 emulator - it's fixed. In fact I would not bother with 2.0 as they have all been upgraded to 2.0.1 (not sure, but most likely). On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in it when it asks for username and password? And I have the following questions 1) SampleSyncAdapter is for 2.0 and in 2.0 emulator I don't see the Accounts Syncoptions in the Settings, am I missing anything? -- so for this I compiled this app in 2.1 and ran on 2.1 emulator 2) In 2.0 emulator when I launch Accounts option from Contact app, it crashes? I saw this a raised bug, is this solved? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: username and password for sample sync adapter
as for 1) - The source tree is not available for download that I can tell. You have to cut and paste each individual file from the html and reconstruct the source tree locally. - The source to the server has a directory but is not actually there. - What to use as a password isn't clear and I can't find one (tried all values in the user account I created plus 'password', etc.). So even though there is now an example months after the OS shipped with this feature it isn't complete and was seemingly put up without much care. On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in it when it asks for username and password? And I have the following questions 1) SampleSyncAdapter is for 2.0 and in 2.0 emulator I don't see the Accounts Syncoptions in the Settings, am I missing anything? -- so for this I compiled this app in 2.1 and ran on 2.1 emulator 2) In 2.0 emulator when I launch Accounts option from Contact app, it crashes? I saw this a raised bug, is this solved? -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: username and password for sample sync adapter
Thanks a lot for quick reply.. I got clarification for 1, and 2, so I don't have a username with which I could login! Great documentation! and I saw that bug is fixed in 2.0.1, now here is one more question, when I try to add an account for corporate type, I get this message Unable to open connection. any fix for this? Thanks for the help in advance -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en