Tasker: Login in HTTPS site and get source code - Android Q&A, Help & Troubleshooting

So guys, i'm again working with tasker and i'm trying to get the source code of a web page, reachable only after logging in.
I tried to log in so far using HTTP post plugin (don't know if i can add link to market)
So, i post data to the login page, with 2 parameters and values (username and password). Notification says, "post succesful". I don't know why but in the %HTTPR variable i read "301" (HTML error i think, and i think it means Moved page o.o)
What am i doing wrong?

Related

[APP] LolaLaterList (0.3.1) - simple ReadItLater application

LolaLaterList, my first mobile application, is a simple ReadItLater application.
LolaLaterList-0.3.1 (17.10.2011) solves problem with SSL certificate - http://support.readitlaterlist.com/discussions/problems/1731-certificate-error. If you get the error, you should enter settings and there within Connection tab enable alternative server.
Current full feature list:
1) download unread/archive page list saved to RIL profile (also automatically)
2) open page using many browsers: Opera Mini/Mobile, UC Browser, IE Mobile, uZard Web, Netfront, Iris Browser, Dorothy Browser, system default browser
3) mark page as read
4) send read pages back to RIL server (also automatically)
5) search through local page list (with multiple criteria)
6) pages can be saved locally Currently it is very basic and only HTML file is saved (but still it is fine for pages I read most often)
7) add page to RIL feature (incl. tags)
My plan for 0.3.0 version was to implement complete page saving, but again I have changed my plans and this version brings another feature set. Page saving should be in place when LolaLaterList-0.4.0 arrives, unless there is another feature more needed .
I have noticed that my app somehow spread to several pages with WinMo software. I do not mind, but please do always refer to this thread.
Application usage should be quite straightforward - run application, on settings screen give/paste you RIL account credentials, paths to browsers you like (take into account that not all browsers can open locally saved pages) and then just sync. Page can be open/marked/downloaded from context menu available for each item on list. While downloading page is marked with asterisk, when downloaded it is marked with # sign. Page added locally is marked with plus sign.
LolaLaterList-0.3.0 (30.08.2011) brings following changes to LolaLaterList-0.2.1:
1) multiple criteria search (incl. tags)
2) archive tab. Archive list is downloaded every time from the very begining and is not saved locally.
3) support for system default browser
4) page added locally can be edited before sending
5) a few bugfixes related to HTTP communication
LolaLaterList-0.2.1 (13.07.2011) brings following changes to LolaLaterList-0.2.0
1) details screen (incl. tags)
2) communication with RIL server uses now POST method instead of GET and it lets adding more than dozen pages at single synchronization (sort of bug fix)
3) additional option for autosync added - now it can be done also when page is open in browser
Final LolaLaterList-0.2.0 (10.06.2011) brings following changes to beta1:
1) NetFront, Iris, Dorothy added. Thats all browsers I have found. If you know any other browsers, please let me know.
2) settings screen rearranged
3) paste function for all text fields
4) full synchronization added (in case of any inconsistencies with RIL)
5) http:// is added as a default protocol for new pages
6) minor bugs fixed
LolaLaterList-0.2.0-beta1 (26.05.2011) changes:
1) add page to RIL feature
2) uZard Web added
3) basic mime-types handling added for downloads
LolaLaterList-0.1.9 (17.05.2011) changes:
1) next bugs fixed
2) IE Mobile added (I missed it earlier due to some misconfiguration on my device)
3) upgrade of this version should keep config/list in place (but upgrade to this version will clean your settings, so once again you should backup it).
4) pages can be saved locally. Currently it is very basic and only HTML file is saved (but still it is fine for pages I read most often)
LolaLaterList-0.1.1 (05.05.2011) changes:
1) several bugfixes
2) UC Browser added
3) search on Enter
Painless upgrade path was not established yet - configuration was erased during update. So it was wise to backup LolaLaterList.config and LolaLaterList.txt before update to 0.1.1.
LolaLaterList-0.1.0 (02.05.2011) features:
1) download page list saved to RIL profile
2) open page using Opera Mini/Mobile
3) mark page as read
4) send read pages back to RIL server
5) search through local page list
Application uses plain .NET CF 3.5.
My plans for its future:
- save whole pages
- use IE/Opera Mobile cookies to access pages, which requires sign-up
- simple RSS client with possibility of adding page to RIL list
- page details edition
- support for locally saved page dir (e.g. saved page from Opera Mobile)
- operations (mark as read, download, etc) available on multiple items
- translations
- page list with text wrapping
- autodetection of browser paths
- sign up
Regards,
Ł.O.
looks nice, I will try it.
Thank you !
Thanks,
If you manage to add the function to add new pages, I will certainly use it, and donate (remember me if I forget...).
GeitjeG said:
If you manage to add the function to add new pages, I will certainly use it, and donate (remember me if I forget...).
Click to expand...
Click to collapse
If you need it more than saving pages, I will be pleased to implement it before page saving.
My concept is that it could happen via clipboard. URL you want to add is copied into clipboard (Opera Mobile provides copy option for links), then within LolaLaterList option 'Add page' shows form, where URL field is prefilled with the URL from clipboard. Would it be fine for you, or is there other (simpler?) way you would like to do it?
Regards,
Ł.O.
Well, to clear things up: I mean adding an URL to read-it-later list. The easiest way would be to be able to shake-and-add in Opera. But I guess this is quite complicated? Copy and pasting via clipboard is acceptable as well.
s_green_22 said:
If you need it more than saving pages, I will be pleased to implement it before page saving.
My concept is that it could happen via clipboard. URL you want to add is copied into clipboard (Opera Mobile provides copy option for links), then within LolaLaterList option 'Add page' shows form, where URL field is prefilled with the URL from clipboard. Would it be fine for you, or is there other (simpler?) way you would like to do it?
Regards,
Ł.O.
Click to expand...
Click to collapse
GeitjeG said:
Well, to clear things up: I mean adding an URL to read-it-later list. The easiest way would be to be able to shake-and-add in Opera. But I guess this is quite complicated? Copy and pasting via clipboard is acceptable as well.
Click to expand...
Click to collapse
Yes, adding an URL to read-it-later list is a feature I am thinking about .
As I can imagine when it comes to shake-and-add in Opera, the hardest thing will be to obtain URL of displayed page. Lets stay with clipboard for now .
Since one of concepts behind my app is that it does not connect to RIL without direct action from user (sync), page added to list will be sent to RIL server during synchronisation.
Regards,
Ł.O.
That's alright, maybe you can add auto sync after adding an URL (this saves one extra action to do ).
GeitjeG said:
That's alright, maybe you can add auto sync after adding an URL (this saves one extra action to do ).
Click to expand...
Click to collapse
Please take a look at LolaLaterList-0.2.0-beta1 .
Small hint - after LolaLaterList-0.2.0-beta1 is run and closed, you can change default setting for autosync with editing LolaLaterList.config and changing addition_autosync setting to 'True'. In final 0.2.0 version it will be available within Settings screen.
Regards,
Ł.O.
Beta version works alright. I'm using it for some hours now. Will get back with more feedback for sure.
It is working great, no bugs so far.
Two things I would like to see still:
- Auto-sync settings in options
- Auto-add http:// if forgotten, I get an error everytime I forget, and have to add manually.
Could you manage those things still?
GeitjeG said:
It is working great, no bugs so far.
Two things I would like to see still:
- Auto-sync settings in options
- Auto-add http:// if forgotten, I get an error everytime I forget, and have to add manually.
Could you manage those things still?
Click to expand...
Click to collapse
Please take a look at final 0.2.0 version. It should contain these two features.
Regards,
Ł.O.
Up thread - s it allowed
I have not found such information - is it allowed to "up" threads when new version arrives?
Regards,
Ł.O.
And again "thread up" with new version. I believe that with 60 downloads of previous version there might be several people interested with it .
Regards,
Ł.O.

[Q] Populate list activity from url

I'm looking to create a simple app that just populates a list from a url displaying json.
Here's the source from the webpage.
PHP:
$json = array('one', 'two', 'three', 'four');
echo json_encode($json);
Obviously the final webpage will show different data but it will be very similar.
All i want is for the app to load that URL, get the data and populate it into a listactivity.
Nothing i've found so far seems to work. What should I look up to help me achieve this?

[Q] QR Code Contact Info Question

My question does not pertain android hacking, but I considered it to fit under "Android General" because it involves a file which I believe would likely work exclusively on android.
I have created a QR Code that automatically adds my contact info into someones phone when it is scanned. I plan to use this QR code in my email signature. So it would work well when someone is on a desktop/laptop reading my emails. They would pull out their phone and scan away. However, if they are using the device they scan with, it wouldn't work. So my question would be, is there a way to have that QR code go to a web link when clicked which would download some sort of android auto add contact file? If so, could someone elaborate on how this would be set up and what exactly that file would be refereed to as. Thanks for any help.

captive portal redirect pop-up

What specifically has to happen for an android device to pop-up the window that asks you to go to a sign-in or other landing page on a captive portal hotspot? I grab all dns requests and respond with the access-point's address, I grab /generate_204 and other device paths and have tried responding with 200 (blank OK), 200 with the landing page content, 200 with a redirect meta tag in the header, 302 with an http redirect. Nothing seems to do any more than cause android to complain about limited connectivity.
treii28 said:
What specifically has to happen for an android device to pop-up the window that asks you to go to a sign-in or other landing page on a captive portal hotspot? I grab all dns requests and respond with the access-point's address, I grab /generate_204 and other device paths and have tried responding with 200 (blank OK), 200 with the landing page content, 200 with a redirect meta tag in the header, 302 with an http redirect. Nothing seems to do any more than cause android to complain about limited connectivity.
Click to expand...
Click to collapse
This might help you https://forum.xda-developers.com/showthread.php?t=2113718&page=2
captive portal redirect pop-up.
check this thread by me.
fully working captive portal on android with php support too.

Help with making a simple change to an apk

The problem I am trying to solve:
When I tap on links that are in emails I receive from ebay, then I can only choose in which browser will these links will open and not ebay app itself (which is what I would prefer). Sometimes, instead of a browser opening, gmail app's built-in browser uses the link which automatically transfers me to the app, but that only happens a few times and without me changing any settings (I have only tried changing the WebView Implementation setting from Developer Options (my two options there are Chrome and Android System WebView) but that did not make any difference.
What I want to do:
A possible solution that I have found is an app called Open Link in App (play store link) which, as far as I understand, can be tweaked in order to open specific type of links with specific apps. Some instructions on how this can be done can be found in Github here (this link can also be found in the app's description in play store) but I am not techy enough to follow them. I suppose that the end result after following these instructions would be a modified apk, so could someone please do that for me? If the end result is not an apk but it is still possible for someone to help, that would still be welcome.
Ebay links that are included in the emails start with
Code:
https://rover.ebay.com/rover/
and somewhere in the address they include www.ebay.co.uk or www.ebay.com. Then, when they open in a browser, the address becomes
Code:
https://www.google.com/url?q=https://rover.ebay.com/rover/
and then just https://www.ebay.co.uk/ or https://www.ebay.com/
If you know any other way to achieve what I want, feel free to suggest it (although I have tried many things, including apps like Open Link With... and Better Open With and they did not work)
@k_o_t_s
Re-directing can be managed by editing Android's file /system/etc/hosts
For example, suppose you want to redirect your browser to www.google.com whenever someone types www.facebook.com in the browser address bar, then follows these steps :
Open hosts file.
Find out IP address of www.google.com - IP address is found out to be 74.125.53.100
Start editing at the end of the hosts file : Press Enter to start a new line.
Type 74.125.53.100, press TAB key once followed by facebook.com.
Save the hosts file.
Now whenever you (or someone else) types in your browser’s address bar www.facebook.com, he/she will be redirected to www.google.com. You can follow the same technique on any other websites.
@jwoegerbauer
Thank you for the reply. However, as far as I understand, this is in order to redirect an address to another address (that will still open in a browser). What I want to do is: whenever I tap on a link about an item within an ebay's email, I want ebay APP to open and show the listing of that item.

Categories

Resources