venkatsep14 / npr-android-app Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/npr-android-app
Automatically exported from code.google.com/p/npr-android-app
Our app does not contain all the programs available through the iPhone version.
We get several requests a week for programs not listed, so I suggest adding
more of these programs for the 2.0 release.
Here is a config file the iPhone app uses:
http://www.npr.org/services/apps/iphone_news_app_programs.conf
All of the shows are listed in order with a URL to pull the audio from.
Original issue reported on code.google.com by [email protected]
on 7 Sep 2010 at 3:26
Many applications will stop playing when earphone is detached.
This would be good, especially in the car, as there are several touches to turn
off the station / playlist.
(enhancement)
Original issue reported on code.google.com by [email protected]
on 6 Oct 2010 at 10:10
Even though Froyo will do this natively, adding ACRA support would be very
useful to assist in collecting details when one of those unexpected "surprises"
occurs.
See http://code.google.com/p/acra
Original issue reported on code.google.com by [email protected]
on 8 Jul 2010 at 5:16
Right now it takes a bunch of touches to start a stream.
It'd be good if there was a way to save favorites, especially for streaming
stations.
Original issue reported on code.google.com by [email protected]
on 6 Oct 2010 at 10:08
I'm not sure I know the complete reasoning behind the "Close" menu option as I
wasn't the original designer, but I think the NPR app doesnt need it. Android
apps live in a lifecycle which, properly implemented, are taken care of by the
OS resource manager. In other words, its ok for the NPR app to hang around in
the background so long as its not hogging memory or doing some other expensive
task. In fact, the NPR app currently does this even when "Close" is selected
(for instance, try playing a stream and hitting "close", the stream continues).
An article about this issue in general can be found over here:
http://blog.radioactiveyak.com/2010/05/when-to-include-exit-button-in-android.ht
ml
The Android development team also posted about multi-tasking recently:
http://android-developers.blogspot.com/2010/04/multitasking-android-way.html
In my experience with Android I don't expect any sort of "exit" or "close"
button. None of the bundled apps include this option. The one in the NPR app
calls .finish(), which is what the Back/Home buttons do.
Original issue reported on code.google.com by [email protected]
on 25 Jun 2010 at 7:51
What steps will reproduce the problem?
1. Select Search and then press "Search!" button.
2. Force close sometimes occurs
NullPointerException occurs when story 127928994 retrieved because API returns
malformed teaser attribute. See below:
<story id="127928994">
<link type="html">http://www.npr.org/templates/story/story.php?storyId=127928994&sc=18&f=</link>
<link type="api">http://api.npr.org/query?id=127928994&apiKey=XXXXXXXXXXXXXX</link>
<title><![CDATA[Excerpt: 'The Good Son']]></title>
<teaser/>
<storyDate>Sat, 19 Jun 2010 00:00:00 -0400</storyDate>
<organization orgId="1" orgAbbr="NPR">
<name>National Public Radio</name>
<website>http://www.npr.org/</website>
</organization>
<byline id="127928995">
<name>Michael Gruber</name>
</byline>
Original issue reported on code.google.com by [email protected]
on 19 Jun 2010 at 5:38
Hi --
I'd love to see a feature for bookmarking favorite stations so one doesn't have
to go thru "Locate Stations" every time. It feels like I should be able to
long press on a station or a stream once I find it and have this type of
feature.
Thanks for the app though... love being able to listen at work.
Original issue reported on code.google.com by [email protected]
on 14 Jun 2010 at 1:03
Pressing the "refresh" icon in the search results screen appends new results
(and the list gets longer
and full of duplicates) but should probably just be replacing the results with
what is current.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2010 at 4:29
What steps will reproduce the problem?
1. Search: 17-Dec-2010 and "secret plan"
2. Select: The Secret Plan To Fix The Dollar
What is the expected output? What do you see instead?
Web page (textWithHtml). "Web page not available"
Please provide any additional information below.
see
http://developer.android.com/reference/android/webkit/WebView.html#loadData%28ja
va.lang.String,%20java.lang.String,%20java.lang.String%29
Original issue reported on code.google.com by [email protected]
on 20 Dec 2010 at 6:06
What steps will reproduce the problem?
We don't yet have a Nexus One, so I wasn't able to reproduce. I'll mark this
as a low priority until we can replicate.
Original issue reported on code.google.com by [email protected]
on 28 Jan 2010 at 10:14
Please add a link from the more section to the terms of use and the privacy
policy. The way we do this on the mobile site is with the following intro
paragraph (with links from the words Privacy Policy and Terms of Use, to
other pages containing the text from the attached documents):
NPR MOBILE TERMS
Please read the Terms of Use and Privacy Policy before using the mobile
sites of NPR and its member stations, NPR's interactive voice response
(IVR) service, or any features of the sites or the service, including, but
not limited to, the Station Finder and making donations to NPR member
stations (collectively, the "Mobile Service"). By using the Mobile
Service, you agree to be bound by the Terms of Use and Privacy Policy .
NPR provides the Mobile Service "AS IS." NPR does not charge you to use
the Mobile Service; please check your wireless plan, however, because your
carrier's per-minute, text messaging, and data or other charges may apply.
Original issue reported on code.google.com by [email protected]
on 8 Feb 2010 at 5:24
Attachments:
Create a shortcut to the hourly NPR newscast on the main screen. XML source:
http://www.npr.org/rss/podcast.php?id=500005
Ideally, selecting the newscast would just play the first item in the podcast
(since there is never more than one item in this podcast).
Original issue reported on code.google.com by [email protected]
on 18 Feb 2010 at 10:30
What steps will reproduce the problem?
1. Stations > Local stations > Search!
2. Select a station from the result list
3. Kaboom (force close)
What is the expected output? What do you see instead?
I expect to see the station details of the station I select in step two (above)
but instead get a force close dialog.
What version of the product are you using? On what device?
Latest version on the Motorola Droid
Please provide any additional information below.
Not sure if my location has anything to do with this, but it's Southeast Idaho
and the station I'm attempting to select is KUER based in Salt Lake City.
Original issue reported on code.google.com by [email protected]
on 21 Jun 2010 at 9:11
What steps will reproduce the problem?
1.Going to the stations tab, searching for local stations, and picking my
preferred station, then going to Streams and selecting the only one that is
available (it happens to be a 128k live stream from 90.3 WCPN in Cleveland).
First time I do this, after a complete start-up of my phone in the morning, I
get an error: Recieved Error: 1,-1.
2.After repeating the above process, no error message shows up, but nothing
plays either.
3.Upon selecting the other local NPR station stream, sometimes I will hear
about 2 seconds of audio, but then it just cuts off.
What is the expected output? What do you see instead?
See above.
What version of the product are you using? On what operating system?
Still on Android 1.6. Awaiting OTA update to 2.2.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2010 at 12:38
What steps will reproduce the problem?
1.Put phone in airplane mode
2.Try to launch the app and go into a content area
3.Watch it crash with a dialog box
What is the expected output? What do you see instead?
The app shouldn't crash with a dialog. It should either notify the user
that it doesn't work in airplane mode or even better, cache the news
articles so it will work offline.
What version of the product are you using? On what operating system?
Nexus One with Android 2.1 update 1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 Mar 2010 at 2:06
What steps will reproduce the problem?
1. select kpbs from station list (by call letter)
2. select podcasts
3. select KPBS News
What is the expected output? What do you see instead?
Expecting it to show list of podcast episodes. Instead, I get a spinner.
Probably, this is a station podcast error. Rather than pulling out our
hair trying to fix every station, I'd prefer an alert like 'Sorry! We're
having trouble reading this podcast right now. Please check back later.'
and then a return to the station menu of podcasts and streams.
What version of the product are you using? On what operating system?
1.2a Battery / Firmware = 1.6 (G1)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 Jan 2010 at 10:09
Quite a few people have asked me for a feature allowing the app to be installed
to SD card.
I found this tutorial on it:
http://mobile.tutsplus.com/tutorials/android/move-to-sd-card/
Does it look sound?
Original issue reported on code.google.com by [email protected]
on 16 Sep 2010 at 3:05
Since I primarily read the news, I'd like to know when a story has a full
transcript vs. just a summary vs. nothing at all.
To find an example of this, check out many of the Program entries. I propose
some sort of icon to distinguish between the different story types.
Original issue reported on code.google.com by [email protected]
on 4 Mar 2010 at 4:39
What steps will reproduce the problem?
1. Start streaming audio through NPR news app (listen online)
2. Receive phone call
3. Answer phone
What is the expected output? What do you see instead?
I expect the NPR audio stream to pause, stop, or mute itself, instead the audio
continues through the ringtone, and plays through the handset, and obviously
I'm not able to carry on a conversation :)
What version of the product are you using? On what operating system?
1.2.2 / Android version 2.1 update1 on T-Mobile myTouch 3G Slide
Please provide any additional information below.
Original issue reported on code.google.com by fatlenny
on 19 Jun 2010 at 12:00
What steps will reproduce the problem?
1. Navigate to programs
2. Open Wait Wait... Don't Tell Me
What is the expected output? What do you see instead?
The show appears as disparate segments, similar to morning edition and ATC.
The segments appear out of order, and so the show can't be listened to
straight through.
Ideal output: at least the segments in the order that they appear on the
show, or giving the show as a one hour segment from the podcast feed.
My guess is that the segments appear out of order in the API, since they
show up in the wrong order in the NPR News iPhone app. On NPR.org there is
some kind of work-around to force them to appear in order. I don't know
whether it makes more sense to try to do a workaround or to publish from
the podcast feed instead of the API.
What version of the product are you using? On what operating system?
Tested this on a friend's droid, unsure of OS.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 6 May 2010 at 1:17
The Hourly News Summary can't be added to a Playlist because it plays
immediately when tapped, instead of opening a page like other stories that have
Listen Now, Add to Playlist and Share. It would be nice if Hourly News Summary
opened a similar page. It would also reduce the harm of accidentally tapping
this button on the main screen, which results in losing a potentially long
playlist if you do so accidentally.
Original issue reported on code.google.com by [email protected]
on 8 Oct 2010 at 11:09
What steps will reproduce the problem?
1. Go to Programs>>Morning Edition
2. Click first item, note today's date.
3. Click second item, note yesterday's date.
What is the expected output? What do you see instead?
I would expect both the order and the number of results to match the rundown on
npr.org. http://www.npr.org/templates/rundowns/rundown.php?prgId=3 This is the
correct items in the correct order for today's date.
Instead, I see the first story of each rundown, but only the first. The items
precede in reverse chrono order, only displaying the first item from each day.
Correct API call for ME should be:
http://api.npr.org/query?id=3&sort=assigned&date=current&numResults=50&apiKey=
Compare that list to the rundown and you will see it generates the correct
order and number of items.
The parameters sort=assigned&date=current&numResults=50 can be added to any
program query to get the right items returned. The API's logic is smart enough
to not return half completed program rundowns. So, until the next full show is
available it will display the last full show.
This should also pertains to issue 32 which I have reopened.
Original issue reported on code.google.com by [email protected]
on 20 Aug 2010 at 3:47
What steps will reproduce the problem?
1. Go to a story page
2. Click share via facebook
3. Follow up on your FB page
What is the expected output? What do you see instead?
FB has a standard way of handling URLs. All of our social media uses the n.pr
shortener. If it would at least output a reasonable link, that would be an
improvement.
This is the format it posts currenly:
http://stability%20fears%20raised%20in%20kyrgyzstan%20as%20unrest%20grows:20//ww
w.npr.org/127850222
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 15 Jun 2010 at 8:19
What steps will reproduce the problem?
1. Download source via SVN
2. Import project into Eclipse
3. Observer build error missing "R.raw.api_key"
What is the expected output? What do you see instead?
Should build without errors
What version of the product are you using? On what operating system?
Last Changed Date: 2010-09-02 12:08:06 -0500 (Thu, 02 Sep 2010)
Please provide any additional information below.
This is the error from Eclipse:
Description Resource Path Location Type
R.raw.api_key cannot be resolved Main.java /NPR
News/src/org/npr/android/news line 221 Java Problem
Original issue reported on code.google.com by [email protected]
on 4 Sep 2010 at 4:48
href=http://m.npr.org/contact/index
Original issue reported on code.google.com by [email protected]
on 8 Feb 2010 at 5:27
It would be nice if users with slower phones could disable animation from
Settings. Alternatively, this could just be keyed off of the Disable Animation
setting global to the Android OS.
Original issue reported on code.google.com by [email protected]
on 8 Oct 2010 at 11:07
What steps will reproduce the problem?
1. Use the Packet Video Client for http pd streaming
2. Set proxy settings, including port numbers
3. Try to initiate a http pd streaming request.
What is the expected output? What do you see instead?
http://127.0.0.1:<port>/http://kcurstream.com:8002/ is the URL you would see.
This is how the request is being sent when a proxy setting is applied. This
does not seem to be a valid request and the app should not be sending this
request.
What version of the product are you using? On what operating system?
Experienced with Android 2.1
Please provide any additional information below.
Usage of proxy settings for the http stack in the Packet Video client is
required to reproduce this problem.
Original issue reported on code.google.com by [email protected]
on 9 Jul 2010 at 11:42
What steps will reproduce the problem?
1. Search for station WYPR
2. Select any podcast
What is the expected output? What do you see instead?
Expected podcast details to display but instead error message "There was an
error retrieving the requested resource" is displayed
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 14 Jul 2010 at 7:43
the app made from repository, does not start playing successfully!
I think some thing was missing in the repository's source!
by downloading and debugging the prepared app I noticed that class
"ListenActivity" is not in the repository; but it is in real app!
Original issue reported on code.google.com by [email protected]
on 4 Oct 2010 at 9:14
We are having some issues with our metrics. To help give us two sets of data,
we would like to implement Google analytics.
Original issue reported on code.google.com by [email protected]
on 29 Jun 2010 at 7:32
What steps will reproduce the problem?
1. Go to KIOS or WXPN on an Eris or WAMU / WHYY / WETA / KQED / KCRW on a
Hero
2. Select the live stream and play it
What is the expected output? What do you see instead?
Stream should play. Instead, it acts like it is playing, but there is no
sound. Two users experienced -38,0 errors
Original issue reported on code.google.com by [email protected]
on 18 Feb 2010 at 10:04
Allow a user to add segments/programs without going to detail page of segment
itself. This could be done by long press, a new button, and/or a menu option
to "select multiple".
An "already in playlist" indicator of some kind would be cool too.
Original issue reported on code.google.com by [email protected]
on 20 Dec 2010 at 6:24
What steps will reproduce the problem?
1. Open up a live stream - for example KUOW - using wi-fi
2. Walk away from your wi-fi hotspot so the phone switches to the 3g radio
3. Listen to the 30 second sponsor intro again since the app has initiated a
new connection to the streaming server.
What is the expected output? What do you see instead?
I would expect that the app would not have to create new connections to the
streaming server when the phone switches radios (wi-fi to 3g, 3g to 2g, 3g to
wi-fi, etc). This is in fact the behavior that I saw with my HTC Hero running
2.1. Only in rare occasions did the app connect with a new stream (thus forcing
me to listen to the sponsor clip and 45-60 seconds of the story I had just been
listening to).
What I, er, hear with the Evo running 2.2 is that sponsor intro up to 6 or 7
times on my way to and from work. Further the play completely stops if I have
the 4g radio on and the phone switches from 4g to 3g. I live in a hilly city so
as I move around the phone switches radios quite a bit and this quickly becomes
unbearable.
What version of the product are you using? On what operating system?
1.3.2 on Android 2.2 (Sprint branded, running HTC sense UI)
Please provide any additional information below.
I think this issue is related to the reconnect issues others have reported. I
bet if they looked more closely at this they would notice that it happens
around the time their phone switches radios.
Also, I don't think this is limited to the NPR app as Streamfurious seems to
have similar issues (though that app has issues on top of this issue).
Original issue reported on code.google.com by [email protected]
on 15 Sep 2010 at 8:05
What steps will reproduce the problem?
1. Play a station stream
2. Listen for 15-20 mins
What is the expected output? What do you see instead?
One would expect the audio to continue playing until a user decides to
stop. Instead, after a long listening session, it simply stops playing. I
see no reason why it should time out. Is this an android issue or our app?
Original issue reported on code.google.com by [email protected]
on 27 May 2010 at 2:18
The code that enables the API to use the Google Search Appliance for
search-based API queries is now live. Javaun has re-indexed the site so
that the additional metadata needed to support the API was added to the
index.
Among the new features this enabled:
1. Search-based API queries now respect the requiredAssets parameter.
2. There is a new sort option: sort=relevance
3. Results should be more consistent with the site search. Note that
there are differences between the queries used for the site search and the
API, so I don’t expect identical results. For example, the API only
returns stories, while the site search may return other types of pages such
as bios or artist pages.
4. Hopefully, it just damn works now. I’m noticing that an API query
that includes a search term plus a Bio Id doesn’t seem to work at all with
Autonomy (http://api.npr.org/query?
id=2101185&searchTerm=bush&apiKey=MDAwMTAwMDE0MDEyMjQ2MDUwOTA2OTQ4NA001&out
put=RSS) (I didn’t realize this was broken). However, this does work with
the GSA (http://api.npr.org/query?
id=2101185&searchTerm=bush&apiKey=MDAwMTAwMDE0MDEyMjQ2MDUwOTA2OTQ4NA001&out
put=RSS&gsa=1 ).
Currently, the API still uses Autonomy by default when doing search based
API queries. However, if you add &gsa=1 to your query string, it will use
the GSA instead. Note that this flag will go away in two weeks when we
make the GSA the default search provider to the API.
Original issue reported on code.google.com by [email protected]
on 11 Mar 2010 at 6:30
What steps will reproduce the problem?
1. Add Items to play list (I added several talk of the nation shows, and a
couple other shows from different areas)
2. Let the item play (Error occurs with either of the situations described next)
a. you can let the phone go dormant(??) (the phone will lockup/screen shut off, or whatever, so I have to unlock the device to see the app again)
b. you can keep the screen on by playing within the app
3. When the show is done, the app locks up for about 15 seconds. YOu cannot
press play, playlist or anything else.
4. Finally when the app has 'timed out' there will be this error message with a
"Force Close" or "Wait"
Error:
Activity NPR News (in process org.npr.android.news) is not responding
5. I then clicked "Force Close" and I got this error:
The application org.npr.android.news (process org.npr.android.new) has stopped
unexpectedly. Please Try again.
What is the expected output? What do you see instead?
I would either expect the app to move to the next show on the play list, or at
least not freeze.
What version of the product are you using? On what operating system?
Running Samsung Epic by Sprint,
Firmware version:2.1-update1,
Kernel: 2.6.29,
build number SPH-d700 eclair.di07
Please provide any additional information below.
My guess is that it has something to do with how items are managed in the
playlist. This does NOT occur when I just click the Listen Now button. Only
when I add it to the Playlist and then play it from the play list.
Hope thats enough info and I reported it all correctly. Thanks for the app!
This is great. And its my first true contribution to open source...reporting of
a bug, I'll remember this day forever :)
FYI: It was really hard to find this site though, until I found your twitter
account.
Original issue reported on code.google.com by [email protected]
on 28 Sep 2010 at 2:33
What steps will reproduce the problem?
1. Load the article: "Gingrich Plots GOP Comeback Against 'Radical' Obama"
Expected: Clean article with no out-of-place characters.
Actual: Readable article with  characters after periods, but only inside
paragraphs.
Version code: 4
OS: Android 2.1-update1
Handset: Nexus One
Original issue reported on code.google.com by [email protected]
on 21 Jun 2010 at 12:31
Attachments:
What steps will reproduce the problem?
1. Stream a station with only a .m3u8 stream. (ex. WRVO)
2. The preroll plays, but then the live stream does not.
What is the expected output? What do you see instead?
The extended .m3u file is a playlist. Usually, the list only has one or two
items for station streams. The app should play the preroll and then advance to
the live stream.
What version of the product are you using? On what operating system?
1.3 on moto droid running android 2.1
Please provide any additional information below.
Here is an example file: http://www.publicbroadcasting.net/wrvo/ppr/wrvo.m3u
more info on .m3u8 files: http://en.wikipedia.org/wiki/M3U
Original issue reported on code.google.com by [email protected]
on 12 Jul 2010 at 3:45
As suggested in issue 41, if we added a link to this project to the about page,
it would be easier for people to add bug reports or contribute to the project.
Granted there's already a feedback button that goes to NPR. So do we should
decide if we really need both.
Original issue reported on code.google.com by [email protected]
on 28 Sep 2010 at 9:02
What steps will reproduce the problem?
1. Add multiple stories/show segments to the playlist
2. Start playing the first item in the playlist
3. Either wait for the first item to play, or fast forward to a spot near the
end so it finishes sooner.
What is the expected output? What do you see instead?
I would expect that when the first item finishes playing, it would
automatically start playing the next item (isn't that the whole point of a
playlist?). Instead, it just stops.
What version of the product are you using? On what operating system?
NPR News version: 1.2.3
Android version: 1.6
Kernel version: 2.6.29-00479-g3c7df37
Build number: DMD64
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 Jun 2010 at 6:15
I think this is an enhancement request rather than a bug.
What steps will reproduce the problem?
1. Add multiple tracks to playlist
2. Start playing the first track
3. Stream will stop after first track finishes. User must manually play next
track.
What is the expected output? What do you see instead?
I would expect the playlist to automatically start playing the next program
with no user intervention. This is particularly useful when I use my phone
connected to a speaker across the room while I am busy cooking/cleaning/working
and can't keep stopping to play the next track.
What version of the product are you using? On what operating system?
Version 1.3 on Samsung Captivate (Android 2.1)
Please provide any additional information below.
Keep up the good work!
Original issue reported on code.google.com by [email protected]
on 4 Aug 2010 at 2:07
What steps will reproduce the problem?
1.Start the app
2.Go to a local station and press listen
3.Use menu/close. The audio never stops. The only way I've been able to stop
the stream is to completely shut down the phone.
What is the expected output? What do you see instead?
The audio stream should stop when you select close.
What version of the product are you using? On what operating system?
1.3.1 on 2.2 (Evo)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 20 Aug 2010 at 11:50
What steps will reproduce the problem?
1. Go to a programs page
2. Check the order of the items vs how the show played over the air.
What is the expected output? What do you see instead?
I've been notified story segments under programs, such as Morning Edition, are
showing up out of order. The reason is most likely in the API call. Let's look
at today's rundown of ME as an example.
Today's show is posted on the website here:
http://www.npr.org/templates/rundowns/rundown.php?prgId=3 This page is updated
daily and represents the order the show was heard on air. Here is the call
made for this page:
http://api.npr.org/query?id=3&date=2010-08-02&fields=titles,audio,show&sort=assi
gned&numResults=50&apiKey=[API_KEY] where the date equals today's date.
Compare that order to the one found on ME's program page in the app. You can
see the order is mixed up. This is most likely due to an API call asking for
the most recent stories or pubdate. This will only give you the most recently
edited/update items, not the order they were aired.
This bug is not limited to ME and should be applied for all program rundowns in
a similar format. When we fix this it will ensure when we implement an 'add
all' function, a user will hear playback in the same order they aired.
Original issue reported on code.google.com by [email protected]
on 2 Aug 2010 at 6:11
What steps will reproduce the problem?
1. Open app
2. Click Programs
3. Select a program
From here, one should be able to add the entire program for the day to the
playlist and begin playing it. This is very easy to do on the NPR website
and is my primary use case for NPR.
Original issue reported on code.google.com by ssshanest
on 1 Jun 2010 at 9:27
What steps will reproduce the problem?
1. Tap Stations
2. Tap 'Call sign or zip code'
3. Enter 'waus'
4. Tap 'Search!'
5. Tap 'WAUS-FM - 90.7 FM, Berrien Springs'
At this point, the app force closes.
I am using version 1.2.1, version code 3 of the NPR app on Android 1.5
(MotoBLUR) on a Motorola Backflip.
adb reports the backtrace below. I started to look into this, but a) the
downloadable source doesn't appear to match my .apk, and b) it wasn't
immediately obvious how to build said source (I've not done Android
development, maybe it's just ignorance). I'll look more deeply when I get a
chance.
java.lang.RuntimeException: Unable to start activity
ComponentInfo{org.npr.android.news/org.npr.android.news.StationDetailsActivity}:
java.lang.IndexOutOfBoundsException: Invalid location 0, size is 0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2297)
at android.app.ActivityThread.startActivityNow(ActivityThread.java:2141)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
at org.npr.android.news.BackAndForthActivityGroup.goForward(BackAndForthActivityGroup.java:85)
at org.npr.android.news.StationListActivity.onItemClick(StationListActivity.java:143)
at android.widget.AdapterView.performItemClick(AdapterView.java:283)
at android.widget.ListView.performItemClick(ListView.java:3189)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:1632)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3977)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IndexOutOfBoundsException: Invalid location 0, size is 0
at java.util.ArrayList.get(ArrayList.java:353)
at android.widget.SimpleExpandableListAdapter.getChildrenCount(SimpleExpandableListAdapter.java:255)
at android.widget.ExpandableListConnector.refreshExpGroupMetadataList(ExpandableListConnector.java:545)
at android.widget.ExpandableListConnector.expandGroup(ExpandableListConnector.java:666)
at android.widget.ExpandableListConnector.expandGroup(ExpandableListConnector.java:620)
at android.widget.ExpandableListView.expandGroup(ExpandableListView.java:572)
at org.npr.android.news.StationDetailsActivity.constructList(StationDetailsActivity.java:175)
at org.npr.android.news.StationDetailsActivity.onCreate(StationDetailsActivity.java:97)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2260)
Original issue reported on code.google.com by [email protected]
on 9 Jun 2010 at 12:35
What steps will reproduce the problem?
1. Build the project on either 1.5 or 2.2
2. Doesn't play the online stations
3. Player stucks after calling prepare() and never calls the Onprepared method
What is the expected output? What do you see instead?
Play the online stream on 2.2
What version of the product are you using? On what operating system?
Latest source from trunk
Please provide any additional information below.
Doesn't plays the online streams in 1.5 and 2.2
Original issue reported on code.google.com by [email protected]
on 12 Jun 2010 at 1:20
The new license should read:
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
NPR’s proprietary release of the NPR News Android Application under this
open source license uses audience measurement code and services licensed
from Omniture, an Adobe company. Some of the code from this Omniture
service has been included in this open source distribution to provide
transparency around how activity is being logged and measured within NPR’s
proprietary release of the application. However, the tracking components
of this code will not function without Omniture’s proprietary libraries
(which are excluded from the open source distribution), so this code is for
illustration purposes only. ANY ASSOCIATION BETWEEN THE OMNITURE CODE AND
ANY OTHER CODE INCLUDED IN THIS OPEN SOURCE DISTRIBUTION IS HEREBY
DISCLAIMED. THIS LICENSE IS DISTRIBUTED WITHOUT REPRESENTATIONS OR
WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, REGARDING THE OMNITURE
CODE OR ANY ACTS OR OMISSIONS RESULTING FROM USE OF THE OMNITURE CODE
(INCLUDING ANY DATA COLLECTION METHODOLOGIES, DATA USES, DATA TRANSFERS,
ETC.).
Original issue reported on code.google.com by [email protected]
on 12 Feb 2010 at 7:53
The npr-android-app project is currently using Subversion.
Can you switch to Mercurial? Mercurial will make it easier for folks to fork
the project and work on enhancements.
Original issue reported on code.google.com by sean%[email protected]
on 17 Aug 2010 at 3:57
What steps will reproduce the problem?
"I love this android phone app! Search is awesome. Plays well.
Queue feature works great! The only problem I've noticed is that it
cannot restart a story after it is paused. Maybe I'm doing it wrong? Any
thoughts?"
Please use labels and text to provide additional information.
The device is a MyTouch aka HTC Hero. The browser is the stock browser.
The OS is Android 1.6."
Original issue reported on code.google.com by [email protected]
on 11 Mar 2010 at 9:56
What steps will reproduce the problem?
1.Add any story to the playlist via the button on a story page
What is the expected output? What do you see instead?
Should add story to playlist. Instead, no new items appear in the queue.
What version of the product are you using? On what operating system?
1.2.2/ Moto Droid with android 2.1. Also verified using HTC Incredible, with
android 2.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Jun 2010 at 4:58
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.