12/07/2009, 10:16 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
|
Here is a patch that enables the familiar swipe to delete gesture in the list of contacts in the same said app. You can use webOS Quick Install to apply it.
I basically looked how it was done by Palm in the contact details or edit view, I've tested it on the emulator with Google and Facebook contact accounts, but would appreciate some more testing before I submit it as a patch for Preware, please try it out and let me know how it works. |
12/07/2009, 01:11 PM
|
#2 (permalink) |
|
Member
![]() Join Date: Dec 2004
Posts: 260
Likes Received: 0
Thanks: 18
Thanked 5 Times in 2 Posts
|
Thanks for making this!
Here's a couple of things I noticed. 1. When I installed via WebOS quickinstall, it reset my phone..is this typical? 2. My theme wallpaper disappeared and I had a black screen. I easily reinstalled the wallpaper theme. 3. The delete works fine, and the confirm step is there as in the usual delete method. 4. Can you make the delete command be an UNDO in the edit menu? Sometimes I hit the wrong contact because the contact entries line is a bit narrow and the deletion cannot be undone. Otherwise..thanks!! Nice work. :-) |
12/07/2009, 01:18 PM
|
#3 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Somewhere n da 404
Posts: 2,237
Likes Received: 0
Thanks: 247
Thanked 1,039 Times in 551 Posts
|
Quote:
Let me say its about time this patch was created! thanks IMGrant. 1. thats completely normal in WOSQI 2. must be some conflicting issue with your theme. Please post what theme you are using. 4. I dont think thats possible, once you delete anything on the Pre its Gone so be careful. lol |
|
12/07/2009, 03:47 PM
|
#4 (permalink) | |||
|
Member
![]() Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
|
Quote:
Quote:
Quote:
That said, can you explain how you accidentally deleted a contact? I would've thought you'd always get a confirm prompt, either in the form of the delete and cancel buttons that are underneath a row when you swipe it away to delete, or as a popup alert. |
|||
12/07/2009, 06:50 PM
|
#5 (permalink) |
|
Member
![]() Join Date: Apr 2009
Posts: 218
Likes Received: 0
Thanks: 59
Thanked 31 Times in 20 Posts
|
works great! Now, just add it to a feed for the rest of the gang here.
__________________
NY Giants fan? Check out my Facebook Group! - Big Blue (NY Giants) which just passed 11,000 members ![]() and newly formed Fan Page |
12/07/2009, 11:00 PM
|
#6 (permalink) | |
|
Member
![]() Join Date: Dec 2004
Posts: 260
Likes Received: 0
Thanks: 18
Thanked 5 Times in 2 Posts
|
Quote:
![]() I've had the Dolphins theme installed for a few months, and I have dozens of other patches installed, which have not caused that removal of the wallpaper. All the other theme elements [app icons, etc.] throughout the GUI remained intact. Sorry for any funky wording regarding the UNDO question. I just was wondering if it were possible to patch an UNDO for a delete command into say, the Edit menu copy/paste drop down list for the Contacts program. Sounds like a major hurdle if possible, and not a patch of making existing coding accessible. Yes, I boneheadedly deleted a contact I didn't intend, even with a confirm prompt.
|
|
12/08/2009, 05:38 AM
|
#10 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
|
Quote:
It's exactly the same ,mechanism behind the scenes as going into the contact's details/edit view and choosing 'delete' from the app menu - you can delete Google, Exchange and Palm Profile contacts, but not Facebook. I don't have LinkedIn or Yahoo so haven't tested (would appreciate if someone could), but I assume you can't delete LinkedIn in the same way as Facebook, but you can delete Yahoo. |
|
12/14/2009, 10:26 AM
|
#11 (permalink) |
|
Member
![]() Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
|
Just got round to trying my own patch (!) on my actual Pre, rather than the emulator, and I have to say the performance is disappointing
- you can do the whole swipe before the Pre starts animating the list item! At least it still works as intended, but I sure hope the webOS UI speeds up some soon...
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages |
12/26/2009, 12:06 PM
|
#12 (permalink) |
|
Member
![]() Join Date: Nov 2009
Location: Bradford, W Yorks, UK
Posts: 117
Likes Received: 2
Thanks: 12
Thanked 8 Times in 7 Posts
|
I can't install this. With PreWare I get told IPKG error and with Quick Install it reports
4 out of 4 hunks failed. saving rejects to file |
12/26/2009, 12:09 PM
|
#13 (permalink) |
|
Member
![]() Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
|
With what version of webOS? And do you have any other Contacts patches installed?
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages |
12/26/2009, 12:17 PM
|
#14 (permalink) |
|
Member
![]() Join Date: Nov 2009
Location: Bradford, W Yorks, UK
Posts: 117
Likes Received: 2
Thanks: 12
Thanked 8 Times in 7 Posts
|
Webos 1.31 on GSM.
My contacts have now gone blank, they are there in messaging but if I start the contacts apps I just get a blank screen. I don't have any other contact patches installed. Any help with blank screen ? |
12/26/2009, 12:22 PM
|
#15 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
|
Quote:
Also try Emergency Patch Recovery.
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages |
|
12/26/2009, 12:52 PM
|
#17 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
|
Quote:
Anyway, another option is to manually restore the original version of the file, which is at /usr/palm/applications/com.palm.app.contacts/app/controllers/list-assistant.js When the patch is installed, the previous/original version of the file is usually backed up to list-assistant.js.webosinternals.orig - check if that file is on your Pre and copy it over list-assistant.js. You'll need to remount / with write access, or you can use WebOS Quick Install to receive the file and then send it back to the device - WOSQI takes care of writing permissions as it needs as far as I know.
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages |
|
12/26/2009, 01:02 PM
|
#18 (permalink) |
|
Member
![]() Join Date: Nov 2009
Location: Bradford, W Yorks, UK
Posts: 117
Likes Received: 2
Thanks: 12
Thanked 8 Times in 7 Posts
|
I have a list.assitant.js.orig (0 bytes) and a list.assistant.js.webosinternals.orig (8Kb)
I presume I use the latter ? Not sure how to receive with WebOS Quick Install, any guidelines anywhere ? thanks for help and quick response |
12/26/2009, 01:18 PM
|
#19 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
|
Quote:
To send files via WOSQI, choose 'Send File' from the Tools menu. It will ask you for the destination path to upload the file to (/usr/palm/applications/com.palm.app.contacts/app/controllers/) and give you a browse button to select the local file.
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages |
|
12/26/2009, 02:04 PM
|
#20 (permalink) |
|
Member
![]() Join Date: Nov 2009
Location: Bradford, W Yorks, UK
Posts: 117
Likes Received: 2
Thanks: 12
Thanked 8 Times in 7 Posts
|
Every time I try to send the file it seems to be OK, but when I look with internalz on the device it says the file length for list-assistant.js is 0kb - even though I know it is 22Kb !
Still got a blank contacts screen ! Ahaha But thanks for your help, your fast responses are amazing ! |
![]() |
|
| Tags |
| contacts, patch, swipe |
| Thread Tools | |
| Display Modes | |
|
|



