how to create browser for android? [closed]
Asked Answered
G

4

9

dear, i am a student of bca. i have to do one project in my last semester. so i decided to create web browser which run on android o.s. but i am totally for this application. so, can any one help me for that. i already installed all required tools like jdk, android sdk 3.0, eclipse. but now i have no idea from where i have to start the developing browser. so please help me... i have only 2 months for doing this project. so is this possible in 2 months or not?

Greeson answered 26/2, 2011 at 15:23 Comment(8)
Good luck getting that done in a semester.Crocker
and what are the features you planed for your browser? I have to say it can be a very complex project.Osorio
@Tej: do you know how many people are working full-time, since years, on Firefox, Chrome, Internet Explorer, Opera, etc.?Inkling
Web browsers aren't really known for being easy to make... they're more known for making their creators have panic attacks. You might want to consider a different project.Berylberyle
Especially if you don't have any experience with Android, which seems to be the case, creating such an application is impossible in that time..Lashonlashond
I've never tried developing a web browser, but common sense says that you'd have to turn what you see in the View Source window into what you see here, all the while adhering to a hundred and one standards and implementing all sorts of stuff like JavaScript engines. And that might not even be the hard part... I recommend you try something else!Berylberyle
Make a really nice portal screen, then startActivity(new Intent(Intent.ACTION_VIEW, URL)). Yay!!Sidestep
You know what, there hasn't been a sleek Android client for www.themoviedb.org yet. I planned to make one but was too lazy. Maybe this one is more suitable to do in a semester. Check it out! api.themoviedb.org/2.1Sidestep
C
6

It depends on what you mean by develop a browser...

Developing a browser + rendering engine from scratch is a hell lot of work, but you could easily create a browser based on Androids WebView using a WebViewClient and create a new user experience by changing the way the user interacts with the browser.

The Webview has all kinds of hooks to intercept user interaction with the browser, so you can easily extend it. For example you could let the user flip through pages (like google fastflip), experiment with 3D by mapping the rendered webpage into OpenGL space (like sphere browser) etc.

As a starting point have a look at Aleksander Kmetec's blog and his Mosembro Project, that extends the Android browser by adding microformat support.

Calve answered 26/2, 2011 at 16:28 Comment(2)
thanks dear. is this project is possible in 2 months????Greeson
Something to keep in mind is that accessing the underlying content with a WebView is rather limited and quite hacky (e.g. to get the HTML you need a javascript innerHTML hack, and its also not possible to read headers etc.)Topi
A
2

Sounds like a really big project and therefore you can't just start from scratch and write it down. You have to make a plan on how you want to implement all parts, write down class diagrams etc. If you study informatics you should have heard of these things in previous semesters.

First you should ask yourself if that project is feasible, as you can see from the comments most people agree that you should not underestimate this task!

I really suggest you to understand the extent of this task, here is the source code of Androids browser to give you an impression of it's complexity.

Armenian answered 26/2, 2011 at 15:49 Comment(2)
Thanks dear. is this possible in 2 months?Greeson
You have to give some more details on what you are planning to do before I can answer this question. What exactly do you want to build? I think when you deal with this question you'll find the answer yourselfArmenian
K
2

For creating complete web browser in Android you use WebView.

Simple snap of code:

WebView wv = (WebView)findViewById(R.id.webview1);    
wv = (WebView) findViewById(R.id.webView1);
wv.loadUrl("http://www.apsmind.com");

for complete code reference visit: http://androidshivendra.blogspot.in/2013/12/android-browser.html

Kyat answered 13/3, 2014 at 6:59 Comment(0)
B
1

Making a very basic browser could be done in a day or 2 for someone with experience in Android development as just like others have stated WebView provides pretty much all you need to display a Web page. There are a few settings around JavaScript and other features to check and then after marking a basic text box for the url and a go button that is pretty much a basic Web browser done.

The real work comes in all the advanced settings. Making a browser that competes with the big guys maybe a little difficult for one person in a couple of months, but making something of your own that works is very possible. Give it a go!

Bangkok answered 5/6, 2013 at 10:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.