Android Studio - Extract data from web - General Questions and Answers

Hi,
I am a newbie in Android apps development. Any idea on what method to use for the following?
1. To extract data from the web page
- can use webview ? This function can convert web page to display in mobile apps, however, am I still allow to add any feature/button/function on mobile after i successfully display the web page in mobile app? What I mean is to add button/event on the converted web page in mobile app
- use json? What is the different between json or webview? How am i going to retrieve all the website links from one webpage into mobile app?
Appreciated if someone can guide me the correct path. Thanks.

Related

Something Useful for Opera Mobile Users

Opera/Opera Mobile lets you add extra engines (and search types) to the search bar in the browser. I've added quite a few useful ones that other users might find helpful to the file here: http://pastebin.com/LCjLs2Rs
Directions on how to use it are in the file.
NOTE: You will need opera on the desktop as well until adding searches directly to the phone is fixed. See the note at the end of this post on a workaround for it currently needed until opera or one of us fixes it.
Searches currently added (besides default):
Google/youtube video search (high quality videos only)
Google images (default/2MP/6MP)
Google lucky search (type a term, takes you to the site if it has a match)
Google maps (may not be as useful on the phone obviously)
Google news
Google finance
abbreviation lookup
linux man page search
stack exchange search
hacker news search (http://news.ycombinator.com/)
webster dictionary lookup
php.net function search
duck duck go search engine
ohnorobot comic search
wikiquote search
...more to come whenever
Currently trying to manually add searches on the phone by adding search.ini to /data/data/.com.opera.browser/opera/search.ini in the same format as the desktop version currently does not work. You can hack around that by just using opera link to sync to the desktop version though after adding them there.
Another useful feature if you use both opera desktop and mobile:
https://addons.opera.com/addons/extensions/details/opera-to-phone/1.3.4/
Lets you send links to your phone using opera + chrome to phone app

openOTP - Mobile OTP solution for India (open SDK)

Mobile Internet Banking in india is still a pain because of regulations by RBI.
Before every transaction user needs to generate an OTP from different sources such as SMS / IVR / internet.
This SDK is for the developers to generate the OTP for the users so that user doesn't need to leave your application. SDK is free and suggestions are open.
Try it out.
http://openotp.in
Its way simpler than using fbconnect in your app.

[Q] How To See Full Desktop Sites on Nexus5?

Some websites force mobile device users to the mobile version of their sites - whether they want it or not. In particular, engadget.com and npr.org. NPR.org blocks some features of their desktop site from phone and tablet users. They do not offer the desktop site to mobile users as an option. I have tried...
Different browsers: Chrome, Firefox, DolphinHD, Maxthon.
Changing the User Agent (Desktop UA or custom UAs).
Turning off JavaScript.
Turning off fit display to screen.
These work on most sites but not the two I mentioned (I'm sure others, as well).
Despite what I've tried, how does the site still know I'm using a (Nexus 5) smartphone?
And what can I do to spoof these sites so they let me have the full desktop version?
Thanks.
FredLeonard said:
Some websites force mobile device users to the mobile version of their sites - whether they want it or not. In particular, engadget.com and npr.org. NPR.org blocks some features of their desktop site from phone and tablet users. They do not offer the desktop site to mobile users as an option. I have tried...
Different browsers: Chrome, Firefox, DolphinHD, Maxthon.
Changing the User Agent (Desktop UA or custom UAs).
Turning off JavaScript.
Turning off fit display to screen.
These work on most sites but not the two I mentioned (I'm sure others, as well).
Despite what I've tried, how does the site still know I'm using a (Nexus 5) smartphone?
And what can I do to spoof these sites so they let me have the full desktop version?
Thanks.
Click to expand...
Click to collapse
The closest experience to desktop is given by Puffin browser. Try it and see
aosp browser, enable the request desktop site.
Hi,
Desktop mod for these sites?
Thanks for your replies.
I tried Puffin and AOSP (set to request desktop site) on NPR and Engadget and they still gave me the mobile site. Both do have full desktop sites but apparently won't give them if they detect a phone or tablet (regardless of the User Agent string).
Besides the browser's user agent string, what other info is Android or Nexus 5 sending to websites to identify itself and how can I spoof the site into thinking I'm using a desktop.
In these attempts, I am using WiFi (my home network) and not the mobile phone data network.
FredLeonard said:
Thanks for your replies.
I tried Puffin and AOSP (set to request desktop site) on NPR and Engadget and they still gave me the mobile site. Both do have full desktop sites but apparently won't give them if they detect a phone or tablet (regardless of the User Agent string).
Besides the browser's user agent string, what other info is Android or Nexus 5 sending to websites to identify itself and how can I spoof the site into thinking I'm using a desktop.
In these attempts, I am using WiFi (my home network) and not the mobile phone data network.
Click to expand...
Click to collapse
According to a web browser (Lightning Browser) Developer, (A.C.R. Development)
Some websites check the screen size of the device viewing the site and decide to show a mobile site or desktop site based on that, instead of solely relying on the user-agent string. – A.C.R.
Click to expand...
Click to collapse
@A.C.R.Development would there be a way to fake a normal desktop screen size do you think?
Click to expand...
Click to collapse
@xxxxx I don't think there is a way
Click to expand...
Click to collapse
GUGUITOMTG4 said:
According to a web browser (Lightning Browser) Developer, (A.C.R. Development)
Click to expand...
Click to collapse
Unfortunately, I think you're right. It appears sites are using CSS Media Queries to find out the screen size and using that information to decide which version of their sites to offer up. So far, I've found nothing that allows you to spoof or block media queries. I plan to try using TOR but for now that's my last shot.
For the record, I appreciate mobile sites and I can appreciate content may sometimes need to be truncated on mobile sites. Seems sort of arrogant for these sites to go out of their way to keep users from getting the full desktop site on mobile devices (both phones and tablets).
Thanks, again.

[Q] NFC and QR Facebook checkin

Hello out there,
if you look at those "Ways To Use NFC Tags" guides on the Web they often say that you could use NFC Tags for Facebook checkins. But I could not find a guide how that should work. I know that in the "Trigger" App there is a Facebook places option but thats not the way I want it, because it should be compatible with all devices. Iam looking for a way to checkin by URL, printed as QR and written to a NFC Tag.
So thats how far I've come:
With the old mobile Facebook version (m.facebook.com) you can create checkin links like this one for example
-- https://m.facebook.com/profile.php?id=200553029958653&v=checkin --
This link opens correctly in my PCs Firefox Browser and I can leave a comment and hit Checkin. On my Android devices (htc evo 3D and htc one) it does not open the old mobile version but the newer touch version (touch.facebook.com) with a simpler version of the timeline (without the header) and no checkin option. Funny: the URL in the addressbar says m.facebook.com but its the interface and design of touch.facebook.com.
Does anybody know a working checkin URL for mobile devices? I dont need to open the native facebook app because I want it to be compatible with all devices.
Sorry if this was asked somewhere before. I could not find such a thread via the search.
Greetings, David

new to application development I need something explained

I have been working on an app that I've been coding in HTML 5 CSS and JavaScript.. here is a website that I went to for software that I I'm able to use to compile my HTML 5 Javascript and CSS files. the software from this website just packages it all up into a single apk file for me to install. the problem is that I get a different icon in the file name that I don't want. what exactly does this program do. all I'm trying to figure out is where the strings come from for the app title and where the iPhone comes from from the app. and what exactly does it mean when the application is being signed and how can I change this signature.
the software I'm talking about comes from a website who is donating domain name is mrchay which you can Google search

Categories

Resources