Accuweather API - Android Software Development

Hello. I'm looking for some information about accuweather api. I found how to get xml with weather information(i use 'forecastfox' weather provider). But i need to make multilingual app, and accuweather gives information only in english... Is it possible to change language of information? If someone knows something about accuweather api, please PM me.
Sent from my HTC HD2 using XDA App

I dont think they have a multilingual api, but seeing as you would only need to translate very few strings, I would just store lists of all the weather conditions strings for all supported languages, and just use the correct set based on user choice. I presume that since they will all be one or 2 words, you can just look them up in a dictionary or even google translate.

I was thinking in the same way. But i dont know where to get list of weather conditions' strings. Do you have that list?
ps:sorry for my english, i'm from ukraine, and it is a little difficult to me
Sent from my HTC HD2 using XDA App

I personally would go for yahoos weather api if at all possible, their documentation is extensive, and the api Is really easy to use.
http://developer.yahoo.com/weather/
Provides a list of condition codes, which you can convert to any language you like with your own strings. Its xml based.
If accuweather is a must, then I'm afraid since their service costs money (I think) documentation is unavailable, so I wouldn't know the full conditions list.

Related

New weather source for South Africa

Hi Guys,
I'm helping the SA Weather Service which is the ONLY accurate source of weather for SA & SADC (all these global servers are so appaulingly wrong that most of us SA's just disable the wether tab in our HTC).
They are keen to provide a weather source to the public for use on various mobile devices. Currently they generate an extensive xml file 3x per day, and all I need to do is help them specify the new file format.
I have some questions I am hoping someone here can help with:
There must be a standard format for these information sources, which I am guessing is am xml file. Ideally this will be small to minimise bandwidth served. Where can I find this schema?
Are there various standards for various apps, or do most weather apps use the same standard?
Can we just put this xml into a public directory, or do we have to have some sort of web service running?
Is it possible to make the HTC Home plugin use our data source - the hacks I've seen are related to adding different cities, not changing the data source?
Finally, I'd like to hear which apps you guys use that have the ability for one to specify a different data source. We're powerless if the app only allows a choice of 2 or 3 Russian servers.
Oh yeah, does anyone have any insight into Nokia and Symbian weather apps? If we crack this for HTC/WM, will the others work too?
Hey...this sounds brilliant...
Sorry..not gonna be much help with your questions...but wishing you the best of luck..
Wont a normal RSS feed work well based on a chosen city? I somehow think that the web service would be the best option...
Maybe this might help
GREAT!!!
I do hope to see this soon!!!
Sounds cool!
Howsit to fellow South Africans!
Im not into the weather much, Im happy With the results from SPB weather.
I know that there is not much cities supported, like in Natal, you can only get Durban, but what if you are in Margate!
I think the most of the apps rely on Yahoo Weather source........It uses .xml coding, but im not sure about the rest!!!
Howsit peeeps!
SAWS is the ONLY source of accurate weather. All other sources come from global models - usually Euro or US centric. They are appaulingly wrong for SA, for many reasons; they do not consider topography in the slightest, and their resolution over Africa is around 100km vs 4km for local models.
You will often see temp projections of 15'C to 25'C when SAWS is saying 5 to 15. How different is that! You will see clear skys when you are sitting here looking at a dense cloud bank from George thro to PTA. They're all basically SO bad they are less than useless (less, cos they make you think you know what's happening).
RSS feeds are an easy option, but we all like our cutsie phone apps, so I want to get in line with those. Ideally I want to find a freeware app, with awesome capabilities, and make sure SAWS provide data for that. Then we can post it widely here as the prefered SA option.
C'mon guys, who's developed weather apps and has some insight? I have to move fast before SAWS lose interest.
I'd love to help but have absolutely no clue on this! I use Pocket Weather and HTC Weather on my device and yeah, the forecasts are appallingly wrong 90% of the time! Hope you can get this up and running with SAWS...
Target Market
Is this only aimed at WM users??? or for the broader public....
Was the link posted above useful?? (http://developer.yahoo.com/weather/)
As an alternative slightly of the track...what if the developed a mobile website...lightweight...easily available...the limitation could be personalisation...
Sorry, yahoo link is to get their RSS feed. Their data is sourced from nternational model - all of which exclude the topography of SA (if you live in CT you can't even begin to use them).
As for min-web-site, that's a fallback. But people really do prefer an on-screen plugin, with the ability to click for more details. I'm looking for apps that support clicking thro to radar images (live stoom tracking to resched your braai!), weather and traffic cams (SAWS has them all!), and of course the up-to-the-minute data tables with forecasts etc.
Apps exist, but not sure which allow you to select data sources.
craigiecraigie4 said:
Apps exist, but not sure which allow you to select data sources.
Click to expand...
Click to collapse
which apps are these......
HI
Any news on this? need people to test etc?
Thanks

Simulating Tabs layout with App Inventor

I've been using Eclipse to go through the tutorials on the main Android dev site and tbh it's all a bit too much and things don't work and I've no idea why. For example; I even ended up copying and pasting the example code for the grid view tutorial and even the code in the tutorial doesn't work.
I'm not a programmer really, I just dabble in PHP, JavaScript, CSS, HTML and I've done a bit of ASP and VB in the past.
But this is a whole step up and when these things go wrong I've no idea, at all, how to fix them. If there was a good Android programming book out there I'd get it but they all have terrible reviews.
So I'm going back to using App Inventor and tbh all I want is a tabbed layout, or a grid where you can select to go to a new screen. My app is mostly info and if I were writing this in JavaScript, CSS and HTML I could do it in a day. Ideally I'd have tabs, to choose a section, and then buttons on the tabbed pages to choose the info. Like a reference set I suppose.
I can't find any code examples for multiple screens so can anyone tell me how to simulate this with App Inventor?
If it were a webpage I'd just alter the visibility of divs and then have links within the divs. It's actually a very, very simple concept...
No one knows? Seriously?
The App Inventor doesn't allow for tabbed displays, and I haven't really seen a viable way to simulate tabs.
I would suggest using Titanium Appcelerator, you build the app in Javascript, through it's API, and it'll compile into a working Android app
There's a free version, and a Paid version, but really all you need is the freebie

[Q] learning app for kids - what language should I learn to developed it ?

Hello programmers
I would like to do learning app for kids
the app will include :
1- registration -> to show the score that he got from quizzes and also display hes friends score (like a competition between friends)
1.1 - registration can using facebook , twitter so he can invite his friends to the game and play with them.
2- voice -> to say the name of the items (numbers, alphabets, animals, foods ... etc)
3- some animations -> for the quizzes answers (correct or incorrect) and going to next quiz. Also for menu
4- moving items by user -> to move the items (answer) to the correct picture
what languages should I learn to do this app?
I know Java , also I have create some basic apps for android from android tutorials like note , Calc and many basics app
but the design is regular android design
so for my app it needs other design for kids and it need be more colorful (including with any event user make)
I'm good designer using photoshop but I don't know how to get the sizes for the android layout and items sizes
also for registration : do I need to make database using sqllite ?or I have to create database online "mysql" for example ? or if i do registration via facebook only so I'll get the database from facebook ? (I haven't try to do facebook apps before)
as I said before the registration is only to display the score between user and his friends
for moving items (answers) to the correct pictures . is it the same way when I do it using JFrame in java ? so I just need to do an object then control it wit MouseMotionListener then mouseDragged and mouseMoved . what are the names for the events, interface listener and functions in android
about the "Voice": is there a website that I can download the sound for most of Items (numbers, alphabets, animals, foods) for free ? or should I create it by myself ?
also is it better to create many sound files? Or using Text-To-Speech (TTS) ?
I know how to play a sound file in my program
but if you suggesting using TTS can you please give me a link to learn how to use it
my question again .. what exactly should I learn to do this app with the details the I gave above ?
what I mean is don't please tell me you should learn for example Java tell me what I have to learn in java for android
such as what are the names for the events, interface listener and functions in android for MouseMotionListener - mouseDragged and mouseMoved
thanks
For graphics check Google's design guidelines. You can set any image as the background of a view. So being good at Photoshop is great.
I think that you will need to use Sqlite databases. You cannot handle other ones in Android (Ok. Maybe with some libs)
However, sometimes it can be done with files, too. That would mean maybe encrypted text files.
Use Android DPI Calculator to get the translation from pixels to dip for all screen resolution. You just input a width and/or height in pixels and it gives you the translation and even tells you if you'll get half pixels
For the APIs codebase, I guess the documentation is the the best place to look if you already know java : http://developer.android.com/guide/components/index.html
Here is a good tutorial on how to achieve "drag n' drop" : http://www.vogella.com/articles/AndroidDragAndDrop/article.html

[SDK] [Library] Going global without localization?

It’s a well-known fact that the most important requirement of successful international distribution of an app is to be available on local languages.
But it does not mean that you should localize your app at all!
We developed a plugin for android apps that makes possible to translate the app by its users themselves on the phone. There are always fans of your app who pleasures to contribute in anything regarding your app. They will translate the app. All the other users can download and use these translations through the same plugin.
You can understand it easily by downloading the demo android app which already contains the plugin. (“App localization demo” on GooglePlay)
The plugin is free, you can download here or can see it on GHithub.
Any question and feedback is welcome.
app translation on phone demo
See the app demo http://www.transround.com/?utm_source=xda&utm_medium=mktglocalization&utm_campaign=goingglobal
gyuri bp said:
It’s a well-known fact that the most important requirement of successful international distribution of an app is to be available on local languages.
But it does not mean that you should localize your app at all!
We developed a plugin for android apps that makes possible to translate the app by its users themselves on the phone. There are always fans of your app who pleasures to contribute in anything regarding your app. They will translate the app. All the other users can download and use these translations through the same plugin.
You can understand it easily by downloading the demo android app which already contains the plugin. (“App localization demo” on GooglePlay)
The plugin is free, you can download here or can see it on GHithub.
Any question and feedback is welcome.
Click to expand...
Click to collapse
It should be interesting! I am developer from Ukraine, and now we have a problem that localization for about 4-5 lang, what we need it's very costly. I can't beleive that it will work, but i will try it...Thanks for sharing.
Hello, I downloaded your game, it should work if the app is native and all the phrases on screen use standard android resource handling. In case you have any issue you can contact me directly too.
Very impressive, I'm just a beginner. I loved the idea of your game!
Will it work with games compiled with Haxe OpenFL?
Unfortunately this time cross-platform developments are not supported, only Android.
However resources translated on Android version can be used on other platforms as well.
We prepared a plugin for Android Studio and IntelliJ IDEA to provide automated integration of Nativer SDK. It is available on Github:https://github.com/Transround/Native...android-studio and in IntelliJ plugin repository http://plugins.jetbrains.com/plugin/7637?pr=androidstudio
In case you use Android Studio or IntellJ, you can make your app translated to 70+ languages and be ready for further translation by your users within a few minutes. Try it – you only risk only 5-10 minutes of your time to discover an exciting and suprisingly effective new technology.

Deploy a systemwide define feature in android just like in ios

Hello
I have been an ios user for quite some time now and since english is not my first language the define feature really helps me when i read novels(or web articles) and i would really like to have that feature in my samsung tab s2.
Any ideas on how to go about it would be really helpful. Do i have to create a rom with the define feature in it or an application(with superuser support).
Thanks in advance.
As for what i know, i know core java and have created a basic call blocker(auto reject calls) aplication using android studio. If these things wont cut it i am willing to learn the language or w/e is needed to develop the ios define app
Well the Google translate app already has the feature you are asking for: you select a word from a text field and in the pop-up you select "share". Then share it to Google translate and it is automatically translated to your language
Sent from my Nexus 5 using Tapatalk
But you need to select the word then click share and then gotta search for Google translate outta the already available billion apps in the share dialog box

Categories

Resources