webOS Nation Forums >  Homebrew >  webOS patches > Patch Request: Media Sync, Just Charge and USB Drive minimized by default
Patch Request: Media Sync, Just Charge and USB Drive minimized by default

  Reply
 
LinkBack Thread Tools Display Modes
Old 11/01/2009, 06:09 PM   #1 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default [Patch] "Just Charge" by default

Jason's done it again.

http://forums.precentral.net/showthr...29#post2020737

When plugging the phone into a computer, "Just Charge" will be selected by default. To switch into media or usb mode, just tap the notification and select that option.
__________________
Twitter

Last edited by gage006; 11/07/2009 at 04:14 PM.
gage006 is offline   Reply With Quote
Thanked By: cashen
Old 11/02/2009, 12:27 PM   #2 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

Anyone?
__________________
Twitter
gage006 is offline   Reply With Quote
Old 11/02/2009, 01:16 PM   #3 (permalink)
Member
 
Join Date: Aug 2009
Posts: 156
Likes Received: 0
Thanks: 4
Thanked 6 Times in 5 Posts
Default

I would also love this. I hate that is pops up everytime. I use the USB drive maybe 5% to 10% of the time MAYBE
something13 is offline   Reply With Quote
Old 11/03/2009, 09:10 AM   #4 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

Bump
__________________
Twitter
gage006 is offline   Reply With Quote
Old 11/03/2009, 02:45 PM   #5 (permalink)
Member
 
maxima2k53's Avatar
 
Join Date: Jul 2009
Location: Miami, Fl
Posts: 3,596
Likes Received: 0
Thanks: 1,084
Thanked 247 Times in 206 Posts
Default

Quote:
Originally Posted by gage006 View Post
Bump
i have no idea if it could be possible but i doubt any dev will do this bc it really doesnt matter...u plug it in and u can just leave it alone how it or or back gesture...really no point to this kind of patch buy hey if jason or hu ever else is a developer sees this thread then maybe ur in luck
__________________
Juan

2010-2011 Champions!

maxima2k53 is offline   Reply With Quote
Old 11/03/2009, 03:13 PM   #6 (permalink)
Member
 
Join Date: Nov 2003
Posts: 334
Likes Received: 0
Thanks: 20
Thanked 22 Times in 9 Posts
Default

Would also like to see this
dirtygreek is offline   Reply With Quote
Old 11/03/2009, 04:44 PM   #7 (permalink)
Member
 
Rain of Lite's Avatar
 
Join Date: Nov 2009
Location: Eugene, Oregon
Posts: 35
Likes Received: 0
Thanks: 21
Thanked 2 Times in 2 Posts
Default

+1
__________________
I heard a loud voice from the throne saying, “Behold, the dwelling place of God is with man. He will dwell with them, and they will be his people, and God himself will be with them as their God. He will wipe away every tear from their eyes, and death shall be no more, neither shall there be mourning, nor crying, nor pain anymore, for the former things have passed away.
Rain of Lite is offline   Reply With Quote
Old 11/03/2009, 04:46 PM   #8 (permalink)
Forum Moderator
 
Achill3s's Avatar
 
Join Date: Jul 2009
Posts: 2,999
Likes Received: 59
Thanks: 262
Thanked 539 Times in 392 Posts
Default

Not the thread jack but I'd rather have a patch that will assign hot keys to the 3 options so that when / if touch screen fails, you still have the hot keys to get to ur USB side of your Pre and retrieve any pertinent information before having to Dr it or return it to Sprint.
__________________
Achill3s' Palm Pre: Modded and patched to death!!
Achill3s is offline   Reply With Quote
Old 11/03/2009, 06:44 PM   #9 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

Quote:
Originally Posted by maxima2k53 View Post
i have no idea if it could be possible but i doubt any dev will do this bc it really doesnt matter...u plug it in and u can just leave it alone how it or or back gesture...really no point to this kind of patch buy hey if jason or hu ever else is a developer sees this thread then maybe ur in luck
There's a bunch of patches that are made just for convenience (like all the stuff added to the top bar). You can just toggle the GPS/Data/Brightness by the going into the menu, but patches exist for those.
__________________
Twitter
gage006 is offline   Reply With Quote
Old 11/04/2009, 07:32 PM   #10 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

I swear the key is somewhere in "/usr/lib/luna/system/luna-systemui/app/controllers/storagealert-assistant.js" but I tried for about an hour today and I just can't find it. I can get it to say nothing but I can't get the dialog to disappear by default
__________________
Twitter
gage006 is offline   Reply With Quote
Old 11/06/2009, 08:11 PM   #11 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Are you just wanting it to go straight automatically to just charge, without the prompt?
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 11/06/2009, 10:42 PM   #12 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

Exactly. Gesturing back or tapping just charge simply minimizes it to the notification bar. It doesn't really do much of anything. I'd prefer it just stay minimized unless I tap on it on purpose.
__________________
Twitter
gage006 is offline   Reply With Quote
Old 11/06/2009, 11:17 PM   #13 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Here ya go. Can't test this on the emulator, but theoretically should work fine. It'll charge by default with it automatically going straight to notification area.
Attached Files
File Type: patch just-charge-by-default.patch (790 Bytes, 159 views) Email Attachment
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 11/06/2009, 11:25 PM   #14 (permalink)
Member
 
Join Date: Jul 2009
Location: Nothern Virginia
Posts: 100
Likes Received: 9
Thanks: 17
Thanked 8 Times in 8 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
Here ya go. Can't test this on the emulator, but theoretically should work fine. It'll charge by default with it automatically going straight to notification area.


Ask and you shall receive, for the Gods do listen to those that have faith
merrix is offline   Reply With Quote
Old 11/06/2009, 11:30 PM   #15 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by merrix View Post
Ask and you shall receive, for the Gods do listen to those that have faith
is it working for you?

Just wanna make sure it works. This is probably my last patch til 1.3.1 as I'm upgrading the emulator
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked By: dirtygreek
Old 11/07/2009, 01:12 AM   #16 (permalink)
Member
 
gage006's Avatar
 
Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
Default

My god, I love you Jason. Works perfectly.
__________________
Twitter
gage006 is offline   Reply With Quote
Thanked By: Jason Robitaille
Old 11/07/2009, 08:23 AM   #17 (permalink)
Member
 
guerillatwang's Avatar
 
Join Date: Jul 2009
Location: Kansas City, MO
Posts: 340
Likes Received: 0
Thanks: 97
Thanked 50 Times in 35 Posts
Default

Achilles had an amazing idea up there. Maybe like orange+sym+U to access usb mode if the touchscreen goes out...
guerillatwang is offline   Reply With Quote
Old 11/07/2009, 05:26 PM   #18 (permalink)
Member
 
Join Date: Jun 2009
Posts: 127
Likes Received: 0
Thanks: 14
Thanked 21 Times in 18 Posts
Default

Worked great, started charging as soon as i plugged it in, no questions or prompts...Thanks
mike_pre is offline   Reply With Quote
Old 11/08/2009, 05:58 AM   #19 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Thanks to Jason licensing this patch with the MIT Open Source license, I was able to add it to Preware. It's now in the 1.2.1 and 1.3.1 feeds in the new "notifications" category.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is online now   Reply With Quote
Old 11/08/2009, 06:08 AM   #20 (permalink)
Member
 
trim81's Avatar
 
Join Date: Jul 2005
Location: 626, Los Angeles
Posts: 2,726
Likes Received: 0
Thanks: 381
Thanked 197 Times in 129 Posts
Default

sweet thanks Rod!
trim81 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0