How do I add a webview element? - Java for Android App Development

I am coding an aggregation app for most of what we check on our smart phones.
I need a page that can display 4 HTML pages at once. I have no idea on even how to add 1 page. Any ideas?
Thanks in advance.
Sent from my HUAWEI-M835 using xda app-developers app

At once? Next to each other or three of some in the background?
For the last one search for the Fragments documentation.

crazy4creationstudios said:
I am coding an aggregation app for most of what we check on our smart phones.
I need a page that can display 4 HTML pages at once. I have no idea on even how to add 1 page. Any ideas?
Thanks in advance.
Sent from my HUAWEI-M835 using xda app-developers app
Click to expand...
Click to collapse
You should probably use fragments with a webview in each one since on smaller devices it would be really hard to read all 4 webviews or if your set on the webviews being on the same screen a table or grid layout would probably be the easiest way to organize them. There is a composite tab in Eclipse and the last entry is a webview.
This is thenewboston tutorial on webviews:
http://www.youtube.com/watch?v=lkadcYQ6SuY

Related

Bar code scanner that can be linked to a spreadsheet to add extra details

Hi
I am not sure if I am asking this in the rite location, I am looking for a bar code scanner app that can be used to scan details of items like tv's etc, once details is collected I would like to add extra information like address type of fault etc.
I have seen a few bar code apps but none that can take extra details unless I missed one.
I would not mine bring pointed to a location were maybe I can add a bar code scanner app to a spreadsheet app.
I am not a programmer but wont mine trying to learn if this helps me get to the solution I am looking 4.
I know its not as easy as that to do or learn.
Sent from my GT-N8010 using xda app-developers app
Sv: Bar code scanner that can be linked to a spreadsheet to add extra details
https://play.google.com/store/apps/details?id=com.berrywing.scantospreadsheet
https://play.google.com/store/apps/details?id=com.maiko.scanpet
Maybe?
Sent from my GT-N8010 using xda app-developers app
Thanks I will have a look
Sent from my GT-N8010 using xda app-developers app

Save snippet of screen as picture?

Hello all,
I am trying to figure out all of the functions that are possible with the S Pen and I am really enjoying the fact that I can select a certain portion of the screen as a screenshot. Unfortunately, I can only manage to save it in "My Scrapbook"..
Is there any way to save the snippet as an image so that I can then upload it to imgur or some other applications?
Thanks!
Sent from my SM-N900W8 using XDA Premium 4 mobile app
when u capture the image with the pen, the botton of the screen will present you with tons of apps that you can sent it to, scroll it to get more apps. just click on the app and wahla...
Teleported from my SM-N9005 from The Enterprise
dcracks said:
when u capture the image with the pen, the botton of the screen will present you with tons of apps that you can sent it to, scroll it to get more apps. just click on the app and wahla...
Teleported from my SM-N9005 from The Enterprise
Click to expand...
Click to collapse
Thanks, I guess it's just the imgur app that sucks, you can't use the share intent to upload a picture.. You can only choose from storage or taking a picture with the camera..
Sent from my SM-N900W8 using XDA Premium 4 mobile app

Wordpress post updations in application

Hey guys I want to developer an android app based on my Wordpress website.
I want that whenever I make a post in my wordpress website the same gets updated in link of list view in my app.
Basically I want to update the content of the app based on my website.
Its just like any of the news application where the news get updated every now and then.
Hope any of the advanced developer would come up with some kind of help.
Thanks
Any reply please
Sent from my Micromax A116
Rss is your key. Add a rss feeds to your website and make an rss reader for your app.
Sent from my GT-N7000 using xda app-developers app
I know about RSS way...any other way?
I mean does all news app or other apps use RSS feed. Like if you take the example of this Tapatalk app of Xda developers. There are many other similar too.
Thanks
coolbud012 said:
I know about RSS way...any other way?
I mean does all news app or other apps use RSS feed. Like if you take the example of this Tapatalk app of Xda developers. There are many other similar too.
Thanks
Click to expand...
Click to collapse
You could get the source code of the website. Every time there is something new, you could post a notification (maybe you could put a hint into it). That would mean that you needed to check it every day/hour.
Tutorial for the source code: http://stackoverflow.com/questions/6503574/how-to-get-html-source-code-from-url-in-android
Is there any specific reason not to use RSS? It would be more more quicker than getting source code and reading it. If you have troubles writing xml parser, there are lots of plugins available and you could use one of them.
No specific reason for not using it bro. Just searching for an alternative.
Thanks
Sent from my Micromax A116

[Q][HELP] Making my app into a forum and being able to buy merchandise

Forgive me if I'm not being PC, but I'm trying to make an app or course. This app if for a website that Veteran owned an operated. It's a clothing line essentially but there is also a Facebook page where we post our content. I'm trying to wrap all of this up in an app, and then some. It is shifting towards a forum non the less. My question is how would I make the app so people and post in the forums, blog, special content, and the store with being able to pay for merchandise while in the app. I'm using Eclipse. I'm very new, and don't really even have my feet wet just more like maybe a toe. I have a simple UI design that will be defined in the future. My main goal is to have it operational before its pretty.
You can send requests to your Server using Apache HttpClient. But i'll be necessary that your website includes an API for that operations..
Facebook for exaple has it's own Api you can use
Regards
Thanks I'll ask the website owner. I'm also having trouble with getting the buttons to actually do something. Like the forum button to take you to a forum page.
Sent from my SCH-I535 using xda app-developers app
Can exactly explain your problem?
Button button = (Button) findView..
button.setOnClickListener...
Regards
I need to buttons to do their jobs. If I tap the forums button I want it to bring me to the forums. If I tap the store button I want it to take me to the store. Its the basic operation of the buttions, to nav around basically.
Sent from my SCH-I535 using xda app-developers app
Papa Emeritus said:
I need to buttons to do their jobs. If I tap the forums button I want it to bring me to the forums. If I tap the store button I want it to take me to the store. Its the basic operation of the buttions, to nav around basically.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Have a look at Intents.
Oh awesome thanks, that's what I'm lookin for.
Sent from my SCH-I535 using xda app-developers app

New edge panels available on "Galaxy Apps"

There are 2 new edge panels that are available on Samsung's "Galaxy Apps":
- Tiny Word
- Bookmarks Panel
xda.member said:
There are 2 new edge panels that are available on Samsung's "Galaxy Apps":
- Tiny Word
- Bookmarks Panel
Click to expand...
Click to collapse
What does Bookmark panel do?
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
67srbell said:
What does Bookmark panel do?
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
Click to expand...
Click to collapse
It allows you to put bookmarks from the internet browser in to the Edge panel so you can go directly to specific web pages from the Edge
xda.member said:
It allows you to put bookmarks from the internet browser in to the Edge panel so you can go directly to specific web pages from the Edge
Click to expand...
Click to collapse
Thanks.
Also, Tiny Word isn't new (I don't believe)
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
Tiny words is old. They pulled it for some reason and I guess they put it back now.
Don't know what was wrong with it at frist
xda.member said:
It allows you to put bookmarks from the internet browser in to the Edge panel so you can go directly to specific web pages from the Edge
Click to expand...
Click to collapse
it sucks because i removed the stock samsunged chrome. will not work with anything else, thanks for the heads up though
I think I'd really like the bookmark edge panel... if it worked with Chrome. I prefer Chrome because the bookmarks from my two Laptops and tablet both are automatically synced with my Edge...
Anyway. Just not as useful as it only works with stock browser.
beejmeister said:
I think I'd really like the bookmark edge panel... if it worked with Chrome. I prefer Chrome because the bookmarks from my two Laptops and tablet both are automatically synced with my Edge...
Anyway. Just not as useful as it only works with stock browser.
Click to expand...
Click to collapse
It does work with Chrome. You just have to bring the bookmarks in from the stock browser.
ALooneyGuy said:
It does work with Chrome. You just have to bring the bookmarks in from the stock browser.
Click to expand...
Click to collapse
I don't understand what that means. I just downloaded it and it only uses the bookmarks from the stock browser (not chrome)
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
67srbell said:
I don't understand what that means. I just downloaded it and it only uses the bookmarks from the stock browser (not chrome)
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
Click to expand...
Click to collapse
It means that the bookmarks you choose from come from the stock browser, but when you click the bookmark on the edge panel, you can open them in whatever browser you have set as your default. Or if you don't have a default browser set, you have the option to open the bookmark in whatever browser you want.
ALooneyGuy said:
It means that the bookmarks you choose from come from the stock browser, but when you click the bookmark on the edge panel, you can open them in whatever browser you have set as your default. Or if you don't have a default browser set, you have the option to open the bookmark in whatever browser you want.
Click to expand...
Click to collapse
Thanks. You would think that there would be more Edge panels by now from Samsung.
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
There is another new panel from the Galaxy app store. I have no idea what it is, but it seems that it displays manga pictures.
de2000 said:
There is another new panel from the Galaxy app store. I have no idea what it is, but it seems that it displays manga pictures.
Click to expand...
Click to collapse
Manga pictures??
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
Found out that it is called "Bended LOL (Edge)". Don't know if this is new or not, but I don't know how it works.
de2000 said:
Found out that it is called "Bended LOL (Edge)". Don't know if this is new or not, but I don't know how it works.
Click to expand...
Click to collapse
It isn't new and it part of some role playing game. Can't believe that this was one of the first released edge panels.
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
better than nothing I guess....
I'm really digging the edge screen a lot. I like its functionality and how it helps me to cut down on the normal process is it takes to move around the phone. The only problem with the new bookmark each panel is that they make so many great apps that I don't really have any use for it like I would have a couple of years ago. Amazon, eBay, Sports Center and a whole lot of other sites that I used to visit are now made in the app so I don't have to bookmark a lot of things. The only site that I actually do you the bookmark for is XDA Developers. Lol. I don't like the app that is made for this site so the book mark is just for this. Go figure.
67srbell said:
Manga pictures??
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
Click to expand...
Click to collapse
Basically Japanese comic book art.
ALooneyGuy said:
It means that the bookmarks you choose from come from the stock browser, but when you click the bookmark on the edge panel, you can open them in whatever browser you have set as your default. Or if you don't have a default browser set, you have the option to open the bookmark in whatever browser you want.
Click to expand...
Click to collapse
my stock browser is long gone. should call it a lagger, not a browser
cvaria said:
my stock browser is long gone. should call it a lagger, not a browser
Click to expand...
Click to collapse
No lag with the Stock Browser here !!!
altenae said:
No lag with the Stock Browser here !!!
Click to expand...
Click to collapse
I would disagree but its gone... gone... its gone. Replaced aosp cm11 stock browser, firefox, and chrome

Categories

Resources