webOS Nation Forums >  webOS apps and software >  webOS development > Simple HOWto: Download In Browser
Simple HOWto: Download In Browser

  Reply
 
LinkBack Thread Tools Display Modes
Old 08/22/2009, 02:04 AM   #201 (permalink)
Member
 
craftsman's Avatar
 
Join Date: Jun 2009
Location: Colorado, USA
Posts: 505
Likes Received: 3
Thanks: 245
Thanked 36 Times in 29 Posts
Default

root@castle:/# cd /
root@castle:/# quilt pop opt/src/patches/enable-browser-downloads.patch

And here is what I get.

Patch opt/src/patches/enable-browser-downloads.patch is not in series

So it seem that something is different.
__________________
Commodore Pet, Commodore 64&128, Amiga 4000, PC-7, Ubuntu, Treo 650. Treo 755p,Sprint Palm Pre Plus 2.2.4,2 Sprint Pre2 2.2.4, TouchPad 32gig.
craftsman is offline   Reply With Quote
Old 08/22/2009, 02:06 AM   #202 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

u dont have the patch installed then, so just import this new one

download it using wget then quilt import it
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 02:09 AM   #203 (permalink)
Member
 
Join Date: Aug 2009
Posts: 97
Likes Received: 0
Thanks: 7
Thanked 11 Times in 9 Posts
Default

worked perfectly thankyou
Tag234 is offline   Reply With Quote
Old 08/22/2009, 02:11 AM   #204 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

Quote:
Originally Posted by Tag234 View Post
worked perfectly thankyou
did u do the second method?
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 02:47 AM   #205 (permalink)
Member
 
Join Date: Aug 2009
Posts: 97
Likes Received: 0
Thanks: 7
Thanked 11 Times in 9 Posts
Default

Quote:
Originally Posted by fritos1406 View Post
did u do the second method?
grrr no i used the first and it applied correctly but then i saw that you added extra functionality that wasnt on git yet. I poped the git patch and did yours by method 2 but the patch wont apply::

root@castle:/# cd /
root@castle:/# quilt push
Applying patch /opt/src/patches/enable-browser-downloads.patch
patching file usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js
Hunk #1 FAILED at 2290.
1 out of 1 hunk FAILED -- rejects in file usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js
patching file usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
Hunk #1 succeeded at 125 (offset 6 lines).
Hunk #2 succeeded at 967 (offset -9 lines).
Hunk #3 FAILED at 1014.
Hunk #4 FAILED at 1104.
2 out of 4 hunks FAILED -- rejects in file usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
patching file usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html
patching file usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html
patching file usr/palm/applications/com.palm.app.browser/sources.json
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- rejects in file usr/palm/applications/com.palm.app.browser/sources.json
patching file usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js
patching file usr/palm/applications/com.palm.app.browser/app/views/download/download-popup.html
patching file usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html
Patch /opt/src/patches/enable-browser-downloads.patch does not apply (enforce with -f)


nothing that its trying to edit should be anything except the stock files... only other patches ive got applied are the more launcher pages, changed carrier string and battery percentage

EDIT: Just thought i would post some other info: my device was set to be read write and i removed the git patch RIGHT before trying to apply this one, the git patch removed successfully and i deleted the old patch and replaced it with the new. The patch doesnt seem to work for me :-\

Last edited by Tag234; 08/22/2009 at 02:54 AM.
Tag234 is offline   Reply With Quote
Old 08/22/2009, 03:15 AM   #206 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

Quote:
Originally Posted by Tag234 View Post
grrr no i used the first and it applied correctly but then i saw that you added extra functionality that wasnt on git yet. I poped the git patch and did yours by method 2 but the patch wont apply::

root@castle:/# cd /
root@castle:/# quilt push
Applying patch /opt/src/patches/enable-browser-downloads.patch
patching file usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js
Hunk #1 FAILED at 2290.
1 out of 1 hunk FAILED -- rejects in file usr/palm/applications/com.palm.app.browser/app/controllers/global_code.js
patching file usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
Hunk #1 succeeded at 125 (offset 6 lines).
Hunk #2 succeeded at 967 (offset -9 lines).
Hunk #3 FAILED at 1014.
Hunk #4 FAILED at 1104.
2 out of 4 hunks FAILED -- rejects in file usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
patching file usr/palm/applications/com.palm.app.browser/app/views/download/download-container.html
patching file usr/palm/applications/com.palm.app.browser/app/views/page/page-scene.html
patching file usr/palm/applications/com.palm.app.browser/sources.json
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- rejects in file usr/palm/applications/com.palm.app.browser/sources.json
patching file usr/palm/applications/com.palm.app.browser/app/controllers/downloaddialog-assistant.js
patching file usr/palm/applications/com.palm.app.browser/app/views/download/download-popup.html
patching file usr/palm/applications/com.palm.app.browser/app/views/download/download-stream-popup.html
Patch /opt/src/patches/enable-browser-downloads.patch does not apply (enforce with -f)


nothing that its trying to edit should be anything except the stock files... only other patches ive got applied are the more launcher pages, changed carrier string and battery percentage

EDIT: Just thought i would post some other info: my device was set to be read write and i removed the git patch RIGHT before trying to apply this one, the git patch removed successfully and i deleted the old patch and replaced it with the new. The patch doesnt seem to work for me :-\
sorry i kinda mest up and put the wrong one...right now my phone is rebooting it applied successfully so jus wait like a few minutes and ill update the how-to
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 03:23 AM   #207 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

okay the patch has now been updated in my how-to anybody can check for me if it works?
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Thanked By: Tag234
Old 08/22/2009, 03:29 AM   #208 (permalink)
Member
 
Join Date: Aug 2009
Posts: 97
Likes Received: 0
Thanks: 7
Thanked 11 Times in 9 Posts
Default

Quote:
Originally Posted by fritos1406 View Post
okay the patch has now been updated in my how-to anybody can check for me if it works?
patch applied successfully this time, phone is rebooting now seems to have worked for me.

EDIT: Youtube works now
Tag234 is offline   Reply With Quote
Old 08/22/2009, 03:32 AM   #209 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

yeah the last patch u applied was an old one but let me know if u can open phone numbers and youtube videos on the web
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 04:04 AM   #210 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

okay new updat just now...i got the google maps to open when visiting the google maps on the site, all u gotta do is apply the new updated patch on how-to
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406

Last edited by fritos1406; 08/22/2009 at 04:56 AM.
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 04:56 AM   #211 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

patch has now been updated so that google maps opens from the site..
what else needs fixing?? anybody knows?
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 10:03 AM   #212 (permalink)
Member
 
Join Date: Jul 2009
Posts: 83
Likes Received: 0
Thanks: 1
Thanked 3 Times in 3 Posts
Default

When is this going on git?
Gunz4sale is offline   Reply With Quote
Old 08/22/2009, 03:33 PM   #213 (permalink)
Member
 
craftsman's Avatar
 
Join Date: Jun 2009
Location: Colorado, USA
Posts: 505
Likes Received: 3
Thanks: 245
Thanked 36 Times in 29 Posts
Default

Wow, going to pull all my hair out. Still can't get the new version to install. One question is the patch in WebOS Quick Install the same one as here?

This may be causing the problems I am having in removing and installing the upgrade.
__________________
Commodore Pet, Commodore 64&128, Amiga 4000, PC-7, Ubuntu, Treo 650. Treo 755p,Sprint Palm Pre Plus 2.2.4,2 Sprint Pre2 2.2.4, TouchPad 32gig.
craftsman is offline   Reply With Quote
Old 08/22/2009, 06:06 PM   #214 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

Quote:
Originally Posted by craftsman View Post
Wow, going to pull all my hair out. Still can't get the new version to install. One question is the patch in WebOS Quick Install the same one as here?

This may be causing the problems I am having in removing and installing the upgrade.
nope this is new patch that i had just posted, it should work perfectly remove the patch using quick install if u got it from there then use my 2nd method!
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406

Last edited by fritos1406; 08/22/2009 at 07:40 PM.
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 06:08 PM   #215 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

Quote:
Originally Posted by Gunz4sale View Post
When is this going on git?
well i dont have a key to update it on git..but as soon as someone does. then i will post up but they gotta let me know
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 08:20 PM   #216 (permalink)
Member
 
Join Date: Jul 2009
Posts: 83
Likes Received: 0
Thanks: 1
Thanked 3 Times in 3 Posts
Default

The patch works better now, but i tried to open a .doc file and it prompted a download but docview couldn't locate it. The .doc file was in an email attachment if that matters any.
Gunz4sale is offline   Reply With Quote
Old 08/22/2009, 08:25 PM   #217 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

Quote:
Originally Posted by Gunz4sale View Post
The patch works better now, but i tried to open a .doc file and it prompted a download but docview couldn't locate it. The .doc file was in an email attachment if that matters any.
well ill see what i can do about that sometime tonight
wait were documents viewable before?
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Old 08/22/2009, 09:45 PM   #218 (permalink)
Member
 
craftsman's Avatar
 
Join Date: Jun 2009
Location: Colorado, USA
Posts: 505
Likes Received: 3
Thanks: 245
Thanked 36 Times in 29 Posts
Default

I think I am going to have to give up on this one. I can use the method on WebOS Quick Install to add the patch (does not allow phone numbers to work correctly) and remove it but something must be left behind as I can't install the #2 patch or even the first.

Anyone else on here used the webOS method first then install the update on here?
__________________
Commodore Pet, Commodore 64&128, Amiga 4000, PC-7, Ubuntu, Treo 650. Treo 755p,Sprint Palm Pre Plus 2.2.4,2 Sprint Pre2 2.2.4, TouchPad 32gig.
craftsman is offline   Reply With Quote
Old 08/23/2009, 02:30 AM   #219 (permalink)
Member
 
hmagoo's Avatar
 
Join Date: Jun 2009
Location: Palm Desert, CA
Posts: 249
Likes Received: 1
Thanks: 38
Thanked 47 Times in 22 Posts
Default

Wow, I thought the youtube app always loaded when you clicked on a youtube video on the web. IIRC that is why you could use the mobile youtube site instead of the app. Or, I guess you mean the previous versions of the patch prevented that from working?

Great patch btw. Very useful, especially in conjunction with internalz file manager app.
hmagoo is offline   Reply With Quote
Old 08/23/2009, 02:34 AM   #220 (permalink)
Member
 
fritos1406's Avatar
 
Join Date: Jul 2009
Posts: 1,307
Likes Received: 1
Thanks: 34
Thanked 462 Times in 187 Posts
Default

Quote:
Originally Posted by hmagoo View Post
Wow, I thought the youtube app always loaded when you clicked on a youtube video on the web. IIRC that is why you could use the mobile youtube site instead of the app. Or, I guess you mean the previous versions of the patch prevented that from working?

Great patch btw. Very useful, especially in conjunction with internalz file manager app.

yeah ur guess is correct..previous versions of this patch did not allow for youtube app to open from the site
__________________

Donate Via Paypal to Email Adress: silent2205@gmail.com
Email: fritos1406@aim.com
Twitter: @fritos1406
fritos1406 is offline   Reply With Quote
Reply

 

Tags
1.1.0, browser, download

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0