Wikia API and Android Programming unsure of how to proceed - java

Hello I am trying to pull information from a page on Wikia for The Beatles and I am not sure how I would even start to go about this, I am making an app where I have a listview of The Beatles' albums and when someone clicks on the album name I want to pull the info from the Wikia to my app so I don't have to update it with new info when and if more is added at a later time. But I cannot figure out how I would get the info from these pages. In my app I have the layout so it has the little sub-titles like the wikia such as Tracks, Side 1, Side 2 and so on. the wikia is located at http://beatles.wikia.com/wiki/Please_Please_Me_(album), and the subtitles give me the address of http://beatles.wikia.com/wiki/Please_Please_Me_(album)#Side1, if someone could please shed some light on how I could do this that would be a great help, I thank you in advance.
I was also thinking of just directing the app to show the mobile version of the wikia page in the app but I don't want my app to suffer from people saying "oh why is it like this when you can just go to this page in your browser? I want to have as much originality as I can, but if someone thinks this would be the best way to go please let me know your thoughts. Thank you all again.
-Kik

Wikia is based on the new Nirvana Application Framework.
Request an API key
Read the documentation from here
Send appropriate requests to get the required information.
You can also use any of the following client libraries.

Related

My app got admob violation of Site Behavior: Navigation and i don't knew why?

i received a message blow from admob telling me that i have put some misguided links in my app.
i tried to look and fix the problems in the app but nothing ,i improve it a little and made sure that every link is true but it's still sanding the same message.
THE MESSAGE:
As stated in our Program policies, sites or apps displaying Google ads should provide substantial and useful information to the user. Users should be able to easily navigate through the site or app to find what products, goods, or services are promised. Examples of misguided navigation include, but are not limited to:
False claims of downloadable or streaming content Linking to content that does not exist Redirecting users to irrelevant and/or misleading webpages Text on a page unrelated to the topic and/or business model of the website.
please if someone familiar with this problem could he or she give me some hints ,i well live the link to the app if someone want to check something or could see something i didn't and thank you .
link
the answer was my Target audience and content i putted all ages on my target audience when i should have put from 13 and older i hope it fix your problems cause there is other apps that this did not work on them thank you
Navigational policy means you can not setting full screen ads between two screen navigation. If you placed full screen advertisement like Tap on button to navigate to next screen and in between any full screen ad appear that against admon policy.
Correct way.
On app launch full screen ad allow to show immediately before launch home screen. You can read full with example google doc : https://support.google.com/admob/answer/6201362?hl=en
I hope that helps!
Happy Coding :)
Sometime banner ads cover or overlap the contents of the app. I had same issue and after fixing the banner ads published my app again and issue resolved. So in my opinion check your banner ads and also check any direct link that leads to another app or webpage.
I have received this message twice. As we are not able to communicate with a human being who would explain what exactly are we violating, it took me some time, failed attempts and luck to finally 'fix' it.
In the first case, under some conditions, I was interpreting the orientation sensors incorrectly and showing the wrong data to users.
In the second case, I was linking to a completely valid web page via http URL. Replacing it with https version fixed the problem.
Hope it will help someone.

How to take a webpage's content to create a native app for it? e.i not just a webview of the website

I want to create an app for a website that I don't own, like youtube or reddit. Every time I search for help, all I keep getting is how to create a webview. I've done that but that's not what I want. I want to take the website's content and create an app with it, like create my own buttons and such. I want to convert a website into an app.
I was thinking of somehow loading the website in the background and creating activities/buttons/intents that basically do what the webpage does but I don't know how to go about that or if there's a better way.
Thank you in advance.
Please let me know if clarification is needed.
Alright i got -3 votes for some reason and it has been 12 hours since i posted this question, i'm guessing the question has been consumed by the abyss of questions by now.
I made a reddit post and got some responses:
one user:
The term you’re looking for is “web scraping“ or “site scraping”. I think that’s probably what you need to research before you’re ready to handle how to make that into an app.
That’s a good starting point and once you have the content from scraping, making the app is no different than any other app.
second user:
If the website has a public (or private) API, you can use your buttons and networking calls to their API to build your client app. You are building a "YouTube client" in this case using the YouTube API.
If they dont have an API and you don't want to display their website, what you are doing is trying to reverse engineer their website and hijack the UI which is not a good practice and may even be illegal depending on the site and terms.
third user:
#second user is right on the money, but one thing I'll like to add is, the goal is to get data off of the website so that you can use in your app. An API is one (convenient) way of doing that but others are,
RSS or similar feed content (prefer this if there website supports)
HTML scraping
The above two will require you store the data somewhere else (and possible expose an API instead) because of technical reasons: you don't have access to older entries in RSS feeds and it's atrocious to keep on scraping everytime you need to access the website data. They can be done on the client (mobile app) but are best done on a server. This means you might need to get your hands dirty writing server code but you don't have to.
/thread
I'm going to do research on website scrapping and APIs to see which route i should go.
Hopefully this helped someone else.

Linking two phones/users together in Android app

Hi I am designing an Android App using Android Studio for my class and one of the requirement is that the app should link two users together as "partners" so that they can receive notifications or messages from each other. I already have google sign in available but I don't know how to link two users together. Can someone point me in the right direction to get started? Thank you.
You're looking to create an app that can connect users wirelessly and then do whatever tasks you wish to do. Now I'm not going to give you the code or anything like that, but I'm going to point you in the right direction as you asked.
The Android Developers site is a good place to start: Building Apps with Connectivity
The first two categories are closely related to your type of question, and will give you the stepping stone you need to start developing an app that fits your purpose.
Anytime you have an actual issue with coding it, StackOverflow will have countless solutions I'm sure.

how to Login Wordpress,get dashboard content and redirect to my android app?

So,
I am trying to make an android app for my client who has a e-commerce website. For that I have to get his details from his dashboard and somehow fetch it to graphs in the app.
For this I have to make him login, and then get his details. But till now, I am not able to get my work done. Initially I tried Login to his website through java, but failed. Then I tried Json Api as wordpress plugin , but I was told its not secure. Then I move on to phoneGap, and the login part is done.
But,now the problem is. After he login, I was not able to redirect him to my app. To overcome this, I thought to open page in IFrame and use some logic through Js/JQuery, But then Another thing come in my way as "Same-Origin-Policy". To get through this, I tried to use JSONP, which till now, I am unable to use. I don't know which PHP file to change in wordpress or what. I am now feeling so much lost, and don't know how to get this work done.
If any one could t ell me whats the best way to do this, and if please provide with explainable snippet.. It would be very much helpful
Thankyou

How to Integrate Waze Traffic Data into Website?

Could anyone show me a way on how to integrate the traffic info app Waze into the website?
I have looked up the previous post but somehow there is no answer to it.
Waze is an application, which offers an actual traffic information. There is also a livemap Waze livemap - where are marks as you can see.
So, I found some site - egaraz and I'm really curious how did they get the data from Waze.
Programming is not my main field but a could still understand some basic php coding.
Could someone suggest me a working solution?
Thanks
a while ago i wrote this project:
https://github.com/Nimrod007/waze-api
you can run this api and get:
get address list from free text
get routes by address (text)
get routes by coordinates
get traffic notification
get navigation instructions
link to full docs:
http://htmlpreview.github.io/?https://github.com/Nimrod007/waze-api/blob/master/docs.html
After googling I found that WAZE has an API for developers which you can use. They have given sample code only for android and ios. I am not sure about php. Check this link from waze developer - http://www.waze.com/dev/documentation/

Categories

Resources