11/17/2010, 07:57 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Jan 2010
Location: Paris
Posts: 47
Likes Received: 0
Thanks: 0
Thanked 9 Times in 5 Posts
|
Hi,
Can you explain how you proceed to make your patch ? Do you working on your phone ? On the emulator ? With vi ? With nano ? Etc, all informations about your method to edit/test result. Thanks |
11/17/2010, 09:30 AM
|
#2 (permalink) |
|
Homebrew Developer
![]() Join Date: Jul 2011
Posts: 126
Likes Received: 68
Thanks: 43
Thanked 3,129 Times in 2,010 Posts
|
Your first step should be downloading a current webOS Doctor and extracting it so you have easy access to all the stock files.
Pick what file you want to edit and make a copy of it in a different folder. I recommend using something like Notepad++ to make your changes. Once you edit it to your liking, send the file to the correct location on the Emulator. Luna reboot to see your changes.
|
11/17/2010, 09:40 AM
|
#4 (permalink) |
|
Homebrew Developer
![]() Join Date: Jul 2011
Posts: 126
Likes Received: 68
Thanks: 43
Thanked 3,129 Times in 2,010 Posts
|
I use to do that... I make MANY tiny tweaks though, so I have to Luna reboot a lol. My phone takes about 45 seconds to a minute to Luna reboot; The Emulator takes less than 5 seconds...
|
11/17/2010, 09:58 AM
|
#6 (permalink) | |
|
Homebrew Developer
![]() Join Date: Jul 2011
Posts: 126
Likes Received: 68
Thanks: 43
Thanked 3,129 Times in 2,010 Posts
|
Quote:
![]() I was forced to switch to the Emulator though. In an average patch, I make hundreds of tiny tweaks lol. |
|
11/17/2010, 10:19 AM
|
#7 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2009
Posts: 1,239
Likes Received: 2
Thanks: 175
Thanked 83 Times in 71 Posts
|
would you guys know how to do this? http://forums.precentral.net/webos-p...cape-only.html
I'm loosing to the code cause I don't know how to beat it
|
11/17/2010, 10:22 AM
|
#8 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2009
Posts: 1,239
Likes Received: 2
Thanks: 175
Thanked 83 Times in 71 Posts
|
I've been using this to create the patch I've been working on http://forums.precentral.net/canuck-coding/210781-unified-diff-creator.html and/or you can open an existing patch with notepad++ to see how it's written
|
11/17/2010, 12:02 PM
|
#9 (permalink) | |
|
Member
![]() Join Date: Sep 2007
Posts: 802
Likes Received: 0
Thanks: 32
Thanked 143 Times in 95 Posts
|
Quote:
This is the only line I change I didn't use the other code in you patch. Code:
this.controller.stageController.setWindowOrientation('free');
|
|
11/17/2010, 01:47 PM
|
#10 (permalink) |
|
Member
![]() Join Date: Apr 2009
Location: Toronto, ON
Posts: 3,688
Likes Received: 266
Thanks: 185
Thanked 429 Times in 336 Posts
|
I want to know too actually... how to pack everything into an IPK.
I have a patch to add Merriam-Webster to universal search I want to share, though I don't know if it'll be relevant anymore once Just Type in 2.0 hits.
__________________
Palm IIIc -> Sony CLIÉ T650C -> Sony TJ-37 -> Palm TX -> Palm Centro -> Palm Pre Bell -> Palm Pre Plus Bell/Verizon Hybrid -> HP Veer -> HP Pre 3 NA [i]Pry my keyboard from my stone dead hands. I dare you. Death to all slates./i] Need OEM Palm Pre parts? See here |
11/17/2010, 03:27 PM
|
#11 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2009
Posts: 1,239
Likes Received: 2
Thanks: 175
Thanked 83 Times in 71 Posts
|
@helidos
I've got allways landscape working, but yeah could hae probably been just that line. I've figured out at one point how to never have the buttons show and can find it easily again, so what I'm trying to do is figure out how to change what tapping on the screen does. I want it to take the user to the alarms scene.
__________________
|
11/18/2010, 11:17 AM
|
#12 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2009
Posts: 1,239
Likes Received: 2
Thanks: 175
Thanked 83 Times in 71 Posts
|
so, another super selfish request. I don't know code, but am trying to pick it up from looking at patches, atleast enough to do some patches myself. As part of general public education, I think patches should include a good amount of // notes that exlain what the code is doing specifically.
I'm telln you guys, if I learned this stuff, the patches would be crazy! |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



