[IDEA] Creating a simple app that grabs info from website/server. - Android Software Development

I am in no means a proficient programmer. I have done some programming though. I know the most extreme basics.
I had a eureka moment today at work. We have typhoons here and we readily check the current weather conditions. Well, the local weather website is slow and the main means of communication is a Facebook fan page.
I was wondering how hard would it be to have an app grab info from a server and just display it. That's about it. Maybe some polish and fancy animations.
I don't think it would be much more than a few lines.
Thanks in advance.
Edit: Or open a .com and make a simple, secure form that let's you selection from options that forwards that info to the app.

inifekt said:
I am in no means a proficient programmer. I have done some programming though. I know the most extreme basics.
I had a eureka moment today at work. We have typhoons here and we readily check the current weather conditions. Well, the local weather website is slow and the main means of communication is a Facebook fan page.
I was wondering how hard would it be to have an app grab info from a server and just display it. That's about it. Maybe some polish and fancy animations.
I don't think it would be much more than a few lines.
Thanks in advance.
Edit: Or open a .com and make a simple, secure form that let's you selection from options that forwards that info to the app.
Click to expand...
Click to collapse
this has been done. its called an rss reader

Well... if you want to get technical. Most apps do this that connect to the internet.
I'm not looking for a RSS. I'm just looking to display a very specific string of text that would be very useful to the residents of the island I live on.

inifekt said:
Well... if you want to get technical. Most apps do this that connect to the internet.
I'm not looking for a RSS. I'm just looking to display a very specific string of text that would be very useful to the residents of the island I live on.
Click to expand...
Click to collapse
Seriously I would consider RSS, even if it is a widget which gets set to a single rss feed. It is what RSS was designed for, chances are the info you are after is available as RSS, otherwise it is very easy to create & host one.
The alternative is nasty if you end up parsing a site, since a single change to the site and the app is dead. Plus it would be a lot of work for something which can be very simple.

Hmm. Fair enough. Can you do widgets on the iphone? I was going to port it there too.
I just need to post a tccor and sea condition.
Sent from my PC36100 using XDA App

inifekt said:
Hmm. Fair enough. Can you do widgets on the iphone? I was going to port it there too.
I just need to post a tccor and sea condition.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I've not done any android widgets or iphone. But if you are lucky you might find some suitable code somewhere for a basic RSS widget, RSS is quite a common way to do things (since you download a single file and parse the xml).
You may even find there are already apps out there which allow you to set a single rss feed for displaying in a widget. But I guess you are after something you can put in the market yourself.
The RSS feed itself is easy:
There are site which will do it for you:
i.e. feedweaver.net
There are some which will monitor pages for changes too, depending on what you need.
Otherwise you can diy, Howto Create an RSS 2.0 Feed - http://www.petefreitag.com/item/465.cfm and host the file yourself (i.e. dropbox public links or FileDen, anywhere which hosts a file with direct links).
I would recommend using Google Feedburner to set your rss feed address and then link it to your file (this means you can move your file around without requiring the feed link to change).
Of course if you can find the info already available as an RSS feed, then you can re-feed it through Feedburner so you have control of it (if it changes you can change your links without changing your app).

You might also want to check out the word-of-the-day widget in the Android SDK. It grabs very specific information from a dictionary web site and displays it using an app widget.
http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html

Related

Android Apps for the Vogue Port

It was suggested that we start a thread specifically for the apps that run well on the Android port to the HTC Touch/Vogue. I personally own an (Sprint=CDMA) HTC Touch Diamond, but upon seeing the maturity level of Android running on the Touch, I immediately went to eBay and picked up the Touch handset...and I am glad I did. The only reason I boot back to winmo is for work calendar (Lotus), Skype (iSkoot kinda sucks), and Podcasts (hopefully we getting DoggCatcher soon).I've found that battery life with Togga on to be about 8-10 hours which I can live with it, but it's a pain to keep toggling if you really need to conserve (but it could be worse )I plan on posting more battery data soon, but need a few more days of collection. Hopefully we can find a more permanent way of managing the data connection with balance for battery life.
You can find many apps on http://slideme.org/, AndAppStore (both have phone clients - very market-like) and by searching ".apk" on 4shared.com
The apps I have found to run well on my CDMA with dzo/f00bar's (much respect) latest files:
-Scoreboard - I'm not that big of a sports fan, but this app is slick!
-aLastFM - Just got permission to post the link from the developer. Thanks Oleg!!
-Stocker - Simple but effective stock app, but no graphs. If someone could find a better one...
-Weather - Simple, but effective. Multiple Cities, current and forecast, with menu link to detailed outlook including radar from Undergroud Weather.
-AnyCut -Great for making shortcuts to just about any screen in the OS, especially useful for Battery and Sounds&Display
-TextEasy - for sending a text to multiple contacts, until someone can get a hold of ChomperSMS or K9SMS (K9Mail I have not gotten to work either, we need a better mail app, the native client doesn't even recognize URLS, wtf?!)
-OIFileManager - It's the only one I've tried, so can't comment on the others, but there are several out there. UPDATE: I tried out Astro and Glance. I liked Astro, but after a day it stopped working for me and gives me a force quit. I prefer Glance over OI FileManager, it's on 4shared I believe.
-OIFlashlight - amazing how handy this comes in
-OINewsReader - No frills RSS aggregator
-ShopSavvy - Did you say "We'll match any price"?...but be fast with your fingers, camera is not fine enough to capture the barcode
UPDATE:
I wanted to add SMS PopUp as another great app. You can find it along with a bunch of other APKs here. One of the G1 owners that grabbed all of the apps and is hosting them for download.
WANTED:
-DoggCatcher - for my daily podcast fix
-A true Skype client
-HEADPHONE SUPPORT!!
Please post replies with your own favorite apps that run well on this port (with links, please!)
Cheers!
Wow, no replies?!
I'm looking for SMS PopUp if anyone can post a link.
Cheers!
The Meebo app is well worth a look - look for it on 4shared.com. Lets you IM on just about any IM network (Yahoo, MSN, AIM etc). IMs appear in the notification bar while you are in any other program. Great stuff.
I believe im the only person hosting the meebo.apk at the moment.
Meebo Instant Messenger:
http://jonsingh.com/android/files/meebo.apk
I did recieve the "ok" from the meebo!
thanks
Jon
steve98 said:
The Meebo app is well worth a look - look for it on 4shared.com. Lets you IM on just about any IM network (Yahoo, MSN, AIM etc). IMs appear in the notification bar while you are in any other program. Great stuff.
Click to expand...
Click to collapse
i installed and signed into my MSN account, however, just a white screen shows up. No list of contacts, etc. No menu options other than to add another account or sign off. Not exactly useful (at least this version). Is anyone using this successfully?
EDIT: I received a chat, and that gave me a buddy online, maybe no one on my list was signed on at the time I first checked.
Also, it doesnt remember your username and password, which is annoying because it randomly closed on me after tapping the notification in the bar during a chat session today. I'll keep looking for a better app or updated version.
Ideal2545 said:
I believe im the only person hosting the meebo.apk at the moment.
Meebo Instant Messenger:
http://jonsingh.com/android/files/meebo.apk
I did recieve the "ok" from the meebo!
thanks
Jon
Click to expand...
Click to collapse
you might be the only one who got the 'ok' from meebo but as i said, it can be found on 4shared.com also.
What about an updated version of Shopsavvy. Mine keeps saying there is a new version, but of course we can't update off the marketplace.
I'm looking for the Locale application. Even though we don't have GPS running, Locale still alows profile switching based on time and days of the week, which would be useful for office vs. non-office settings. If someone could post this I would appreciate it!
how do i install apps i have them saved to the storage card i just dont know how to load them up, sorry if this is a dumb question
thoughtlesskyle said:
how do i install apps i have them saved to the storage card i just dont know how to load them up, sorry if this is a dumb question
Click to expand...
Click to collapse
If they are in the AndroidApps folder then they should be installed already. I found that sometimes icons don't show up to launch the program, however. This is where AnyCut comes in handy. Use AnyCut to search in "Activities" to find your app. If you are not seeing it in this list then you may have to "manually" install the app. Open a file browser such as OI File Manager or Glance and navigate to your AndroidApps folder. Click on the .apk file and it should launch teh app installer.
Hope this helps.
Any word on aLastFM?
etx said:
Any word on aLastFM?
Click to expand...
Click to collapse
See the update first post.
Scoreboard.apk
I am very interested in the Scoreboard app, I got it running fine, but the other day the game I added to my favorite never really gave me updates until the game was over by a few hours.
Isnt this application able to provide real-time results?
I am having more success simply by going to www.nhl.com :-S
Thanks for aLastFM!
I was looking around and found another 4shared user with a bunch of APK's!
http://www.4shared.com/dir/11234070/20e0c1f0/sharing.html
Someone in the main topic said something about an ebay app. What is it and is it any good? Is it secure? It'd be nice to have for me.
There's been a couple apps I liked that didn't fit our screen plus having to reinstall android files often I lose all my saved info so it doesn't work out for me. Sprint needs to hurry up with an HTC Android phone.
Maybe a stupid question, not sure... Why can't someone extract the android market application from the G1 to be used on other phones? Seems a bit odd of Google to limit the market to only a specific phone.
There is a discussion about the marketplace on the big long forum. The marketplace is not open source. They're talking about the commands and encryption and such for it. I'd think it's not open because they plan on having pay for apps but I could be wrong
G1 Central
This is a must have for any one with a Grand Central account- G1 Central
http://evancharlton.com/projects/g1central
Allows you to place calls and check voicemail for your GrandCentral account. Pretty much allows for unlimited free calling. Works great on my friends G1.
Still missing a few features.. like the ability to call contacts that are only in your GC account, but still very good.
Heres the problem.. it crashes when trying to dial out on the Vogue!!! Ahhh!
So close to beating the telecoms... If anyone knows anything about error codes or how to get this working, I might have a GrandCentral account invite...
megalewis said:
I am very interested in the Scoreboard app, I got it running fine, but the other day the game I added to my favorite never really gave me updates until the game was over by a few hours.
Isnt this application able to provide real-time results?
I am having more success simply by going to www.nhl.com :-S
Click to expand...
Click to collapse
I noticed this also. i resolved by changing my time zone in settings. Only problem is that this then modifies your "synced" time with your carrier, it adjusts + or - according to your time zone, so you have to comensate...each time you boot. Not by any means an elegant solution, but if you need realtime scores this is the answer. Probably better off sticking with NHL.com
aven_soulgazer said:
Someone in the main topic said something about an ebay app. What is it and is it any good? Is it secure? It'd be nice to have for me.
There's been a couple apps I liked that didn't fit our screen plus having to reinstall android files often I lose all my saved info so it doesn't work out for me. Sprint needs to hurry up with an HTC Android phone.
Click to expand...
Click to collapse
I tried the "Ebay.apk" from 4Shared, but it doesn't display properly. The tabs extend all the way to the bottom of the other screen which is a common problem for us vogue port users.

Best Notes app - Would prefer a Sense-like Widget...

Anyone point me in the right direction, I really like the HTC Sense Notes Widget found here However, I cannot get it to work because I've removed sense.
Any ideas or replacements - Thanks
jaypeezee said:
Anyone point me in the right direction, I really like the HTC Sense Notes Widget found here However, I cannot get it to work because I've removed sense.
Any ideas or replacements - Thanks
Click to expand...
Click to collapse
Right now I use two things - evernote and notification notes. Notification notes is great for quick little notes...in my case, I usually use it for shopping lists. It holds the note in the task bar until you delete it, which makes for really easy access
Evermore is a cloud based note storage service that allows you to store text or media notes from your phone or pc, and will sync them between whatever devices you use it on.
XM Notes.
8pen from my supersonic yea....
david279 said:
XM Notes.
8pen from my supersonic yea....
Click to expand...
Click to collapse
After posting, I came across XM Notes - I like the interface but dislike appearance of the widget. My search continues
Have you tried GTasks? It does the trick for me.
Supa Sonic Sent
I really like OnePunch its free off the market and places editable sticky notes on your screen or you can just use it as a note app and not bother with the sticky note feature. If you do like the sticky notes you can change the colors of them as well as edit them without worry of the need to delete and recreate them from scratch. I myself have one of my pages devoted to sticky notes.
Use Catch Notes (formerly 3banana) here.. Good stuff.
Evernote. Use it for all my lectures.
Sent while sitting on the toilet.
Note widget is the name of the one I use. Can have it have transparent background. It's also free.
Sent from my PC36100 using XDA App
Thanks everyone for the great input...
Some of your suggestions, although great, were a little more than what I was looking for. After some extensive market searching I found one that I really enjoy. Its called Staesj
I should have been a little more clearer on what exactly I was looking for. I was looking for a note app that would allow me to place a nice looking widget on one of my home screens, which ultimately would allow me to click on it and immediately edit it using a keyboard or a finger to scribble. I don't plan on using it as a to do list app or storing important notes but mainly for quick entries when on the road or on the phone (i.e. a phone number).
Staesj is a very simple, yet effective little app with a very small footprint. I came across other apps, specifically Multi Memo, which did EVERYTHING i wanted however I noticed a few drawbacks. 1) The app pulls a GPS location for every app entered (boo). 2) a separate widget app is required to display the notes on your home screen 3) seemed rather large for its purpose
if anyone comes across anything better, im always up for suggestions thanks.

Ultimate To Do App

hey guys,
I'm writing an android app which is going to be, as the title suggests, the ultimate to do app. Aside from the obvious to do app things like adding/deleting/being notified of tasks etc... the main feature of the app is it is going to sync with EVERYTHING!!! And when I say everything I mean the following:
- Remember the Milk
- Simplenote
- Toodledo
- Evernote
- Google Tasks
- Google Calendar
- Outlook
- Dropbox (as todo.txt file)
- Windows Live Skydrive (as todo.txt file)
- Sugar Sync (as todo.txt file)
Feel free to suggest any others I may have missed.
The other main feature of this app is it will be fully customisable, you aren't required to fill in any fields and you can choose to hide fields you never use.
I will compile a list of all of the features I have completed and have left to do.
In the meantime I'm hoping you guys will be able to suggest features they would like to see in the app to make it the definitive to do app for them. Also if there's any services you'd like it to sync to then feel free to suggest them.
Thanks.
Evernote?
It's gonna be daunting if youre gonna sync from the services directly from servers, maybe it's easier to do natively from data from the apps installed in the phone?
Then again you would needto monitor all the supported apps updates... Well that's what I think.
Sent from my Desire HD using XDA App
that's some ambitious ****, son!
agentxq49 said:
Evernote?
It's gonna be daunting if youre gonna sync from the services directly from servers, maybe it's easier to do natively from data from the apps installed in the phone?
Then again you would needto monitor all the supported apps updates... Well that's what I think.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Added evernote, thanks. The app itself will use a todo.txt file locally and then periodically or on demand sync the tasks with the selected server.
dolby71 said:
that's some ambitious ****, son!
Click to expand...
Click to collapse
haha if you gonna do something might as well do it big
More ideas are welcome...
I was going to suggest windows live skydrive but I guess that's what you mean by "live space"
smaskell said:
I was going to suggest windows live skydrive but I guess that's what you mean by "live space"
Click to expand...
Click to collapse
lol yh, i forgot what it was called for a minute there
If you need some help with the UI, I'll be happy to help.
check out my new app on the market: https://market.android.com/details?id=com.fima.episodes
hope you do it ........... but wow a big task to take on..............
dolby71 said:
If you need some help with the UI, I'll be happy to help.
check out my new app on the market: https://market.android.com/details?id=com.fima.episodes
Click to expand...
Click to collapse
looks good but I think i'll be alright, thanks for the offer tho
oka1 said:
hope you do it ........... but wow a big task to take on..............
Click to expand...
Click to collapse
yh lol, right now i've got pretty much everything working for the app except for the syncing parts which i'll be starting on next week
is it possible to takes "tasks" from exchange?
I've been using Astrid for a while now and love it.
This sounds very promising. One feature that I suggested to the Astrid team that they have not implemented would be the following:
I open an email in Gmail on my desktop. I decide that I should make a task out of this and click on that function there. When I then look at my google tasks, it has a link to the relevant email so I can refresh my memory when I have the time to take care of the task. I suggested to Astrid that they include this link when it syncs with your google tasks so that I can have the email open up in the android gmail app. So far they have not done anything with this. I would LOVE to see this in a To Do app.
mdubs said:
I've been using Astrid for a while now and love it.
This sounds very promising. One feature that I suggested to the Astrid team that they have not implemented would be the following:
I open an email in Gmail on my desktop. I decide that I should make a task out of this and click on that function there. When I then look at my google tasks, it has a link to the relevant email so I can refresh my memory when I have the time to take care of the task. I suggested to Astrid that they include this link when it syncs with your google tasks so that I can have the email open up in the android gmail app. So far they have not done anything with this. I would LOVE to see this in a To Do app.
Click to expand...
Click to collapse
I will have a look into that when i look at implementing google tasks. A feature I do mean to add though is to be able attach files to tasks much like you would do in an email, which is similar to what you mean just a bit simpler to implement and I don't think any other to do app does this. Although obviously this would only be local attatchments as I can't sync them with rtm etc... maybe with dropbox tho... thanks for the idea, keep em coming
try my ToDo app from here ToDoid
Mecid8 said:
try my ToDo app from here ToDoid
Click to expand...
Click to collapse
nice plug lol
I think, that you shouldn't write just another todo implementation. Maybe something more like "Best Android" David's Allen GTD implementation with ability to sync with any of those mostly popular webapps like Toodledo, Tracks, Nozbe and so on.
Maybe with plug-in architecture? It would be simpler to maintain and expand.
But if you want to stay just with "customizable todo list app", there should be some presets available from the start (after install), like:
- GTD,
- ZTD,
- Basic todo list,
- and so on....
Currently I'm using Toodledo (paid option) + Due Today (paid) for my GTD lists and Springpad for notes and bookmarks. It's not perfect, lacks some features... but I couldn't find anything better.
hakatu said:
I think, that you shouldn't write just another todo implementation. Maybe something more like "Best Android" David's Allen GTD implementation with ability to sync with any of those mostly popular webapps like Toodledo, Tracks, Nozbe and so on.
Maybe with plug-in architecture? It would be simpler to maintain and expand.
But if you want to stay just with "customizable todo list app", there should be some presets available from the start (after install), like:
- GTD,
- ZTD,
- Basic todo list,
- and so on....
Currently I'm using Toodledo (paid option) + Due Today (paid) for my GTD lists and Springpad for notes and bookmarks. It's not perfect, lacks some features... but I couldn't find anything better.
Click to expand...
Click to collapse
Could you expand a little by what you mean GTD lists? How does this differ from normal todo lists?
I'm using Gtasks by Dato that is pretty good and I'm looking forward to test your application.
Here's a list of features that I would like to have (besides the basic ones) :
- repeated tasks (when for a monthly task I mark it done, it would automatically create the same task for next month)
- pop up window that would show when it's reminder time and would detail task content (in Gtasks I have an icon in the status bar and a sound alert when it's reminder time but I still have to open the icon to read the task)
- nice widget (with scrolling or paging)
missparker76 said:
I'm using Gtasks by Dato that is pretty good and I'm looking forward to test your application.
Here's a list of features that I would like to have (besides the basic ones) :
- repeated tasks (when for a monthly task I mark it done, it would automatically create the same task for next month)
- pop up window that would show when it's reminder time and would detail task content (in Gtasks I have an icon in the status bar and a sound alert when it's reminder time but I still have to open the icon to read the task)
- nice widget (with scrolling or paging)
Click to expand...
Click to collapse
Recurring tasks is already implemented (user specified time period)
I'll have a look into that kind of notification.
I'm planning a widget in future releases
Ok guys I'm about a week away from completion of the app minus the syncing which is about 2 weeks away from completion. I will be releasing a lite and a paid version initially so I'm not sure of the rules of releasing it to the forum for testing if it isn't free.
I was just wondering though how many, if any, people would be interesting in doing some initial testing for me?
crazyfool_1 said:
Ok guys I'm about a week away from completion of the app minus the syncing which is about 2 weeks away from completion. I will be releasing a lite and a paid version initially so I'm not sure of the rules of releasing it to the forum for testing if it isn't free.
I was just wondering though how many, if any, people would be interesting in doing some initial testing for me?
Click to expand...
Click to collapse
ill be happy to test the lit version.

[REPO] The library thread

Hello everyone,
Based on the release of the new forums here, and the seemingly enthusiastic response, I have decided to create a repository of libraries that are useful to Android developers.
Libraries:
AChartEngine : This is a library that lets you make and display all kinds of charts, from line to bar to scatter charts. A very good solution, should you need charts.
Uses: Well... Charts!
Made by 4ViewSoft.
ActionBarSherlock: This library will help you in maintaining an easy-to-use and consistent UI across all version of Android above 2.1.
On Android 3.0+, it will use the native ActionBar, and below that, a backport of the 4.x native ActionBar has been used. Note that this is not needed if you want to target APIs that support the AB natively.
Made by Jake Wharton.
aFileChooser: The basic version of Android File Chooser, it features somewhat less graphical hints about, for example, your current folder, but does provide a somewhat cleaner UI.
Uses include a simple file chooser for opening a file from a specific folder.
Made by Paul Burke.
android-hybridchoice: A ListView that lets users open a single list item, while also letting you select one or more other items. This way, you can (for example) view a mail while selecting others to throw away, instead of having to do that separately.
Uses: Making any app with items that have detailed info in a ListView that can be changed.
Made by Kiran Rao.
android-lockpattern: A library for you to include a lock pattern in your app. It was adapted straight from Android source code, and is very useful for keeping data secure.
Uses: Root apps, apps with sensitive data or other apps that could hurt one's phone.
Made by Hai Bison.
Android FileChooser: Helps you in letting the user select a file. A visual GUI is made available to you and the user, through which the user can navigate to select a folder.
Use cases: A file explorer, a downloading action, moving/copying files, etc.
Made by Hai Bison.
Android Maps Extensions: A library that extends a number of Google Maps API v2 features. It features things like marker grouping, where it won't display individual markers when there's a lot of them together.
Can be used in an application with a Maps View, to make it clearer and easier to understand.
Made by Maciek G
Android Proxy Library: This lets you provide an easy and better (than Google's) solution to the Android Issue 1273 (OF DOOOOOOOM!). It allows you to easily get the proxy settings of an Android device.
Uses: You know, getting the proxy settings.
Made by Marco Pagliari.
BetterPickers: A cool library that implements the Android 4.2 Clock time picker for you to use in your own apps as you please. It is a very nice way to keep your app Holo-themed, and it continues the push for a consistent UI in Android.
Among others, uses include clock and calendar apps.
Made by Derek Brameyer.
Build.prop Tools: A library to get access to the properties in a device's build.prop, which include its codename, Android version, CPU name and others.
Uses: Having to edit or otherwise get access to certain build.prop entries in your app, for example to display system info.
Made by Jonathan Haylett.
Cieo: A library that lets you animate text. It is currently in very early Alpha stages of development, but does work.
Uses: Word games, for example Hangman, where you can add a little extra to make it more dynamic.
Made by Igor <LastNameUnknownException>.
DroidParts: This library helps you add the most used parts of Android apps without problems. It can help you add a number of more complicated parts that have been modded to be simpler, like an ImageFetcher and an improved ASyncTask.
Uses: Just about every app can do this. Easier everything!
Made by Alex Yanchenko.
droidText: A PDF creator library. Should you need to create a PDF easily, this is the library you want!
Uses include parsing user input and saving it to a PDF file for later use, or to send (i.e. via email).
Made by Markus Neubrand.
EventBus: This helps you tie together Activities, Fragments and background threads. It eliminates the need for overly complex listeners and interfaces, to make your life a lot easier.
Uses: Apps with background threads, Activities and/or Fragments working together.
Made by Markus Junginger.
FlipView: A FlipBoard-like animation to use for scrolling. Give your app a little extra eye candy, when you have multiple pages to scroll through.
Uses: News readers and other apps that separate content into clear "pages".
Made by Emil Sjölander.
GAST (Great Android Sensing Toolkit): A library to help you use an Android phone's internal sensors. It will help you control many sensor, including NFC, the camera and the accelerometer.
Uses: A diagnosing app, or one that uses certain sensors for controlling an app feature.
Made by Greg Milette and Adam Stroud.
GoogleDateTimePickers: TimePickers done right. A beautiful replacement for Google's standard DatePickers and TimePickers, It is designed with the Holo style in mind, and makes it much, much easier to select the date and time of your liking.
Uses: Letting the user pick a date or time, e.g. when setting an alarm.
Made by Mirko Dimartino.
Hansel And Gretel: This allows you to visually display the Fragment Stack. When you open a new Fragment, it is added to a 'tower' of Fragments, from which you can also pop (remove) the top one. This library allows you to visually represent that Stack in your app.
Uses: If, for example, you travel through multiple Fragments within one Activity, you can show which Fragments the user has gone through.
Made by Jake Wharton.
HoloEverywhere: A library that backports the Holo UI design to earlier Android versions (like ActionBarSherlock does for the ActionBar). It uses the Android 4.1 Jelly Bean assets and makes them usable on Android versions 2.1 Eclair and up.
Uses: An application that needs Holo on all platforms it runs on. Be aware that it might disrupt the UI consistency for the user, so think about that before including this in your app.
Made by Sergey Shatunov and Waza_Be.
Inscription: For displaying information about your app to the user. It contains a ChangeLogDialog and a WhatsNewDialog, where the former displays more detailed information (version numbers, etc.) than the latter.
Useful for showing a dialog after the user updated your app, without having to write too much code.
Made by Martin van Zuilekom.
JacksonInFiveMinutes: A library to help in parsing and processing JSON, offering different ways to do so: A streaming API, a tree model and data binding.
Of course, you can use this anywhere to parse JSON data (Twitter apps, for example).
Made by Tatu Saloranta (?).
JazzyViewPager: Makes it easy to add a nice effect when changing pages with a ViewPager. Easily done: just add it, change some references and pick an animation!
Uses: Spicing up your app's animation portfolio, when using a ViewPager.
Made by Jeremy Feinstein.
ListViewAnimations: An easy way of animating your ListView items easily and nicely, to give your app that little bit extra.
Uses: To spice up any ListView that needs more fancies.
Made by Niek Haarman.
NumericPageIndicator: A ViewPagerIndicator 'plug-in' that lets you easily display which page you're looking at. For example, show "page 2 of 20" at the bottom of the page.
Uses: Letting the user know which page they are on.
Made by Manuel Peinado.
OrmLite: A library that simplifies database interaction in Android apps. It is designed to work with multiple database systems, including SQLite and MySQL.
Uses: Database creation, management in Android. Various DB systems supported.
Made by Gray Watson.
osmdroid: An almost full, free replacement of Google's MapView. It includes numerous functionalities, like a number of on- and offline tile sources.
Uses: To add a map to your app, and easily use functionalities surrounding it.
Made by a number of non-disclosed awesome people!
PDFViewer SDK: A free PDF viewer library that works well. However, it does have a watermark on the screen, and you'll have to pay to remove it.
Uses are obvious: Building all kinds of PDF viewers!
Made by GEAR.it.
PlayView: This helps you in creating a Google Play-like style in your UI, by extending the CardsUI library (which can be found in the PlayView thread).
Good to use in an application where you want a nice smooth UI, with a modular and changeable look and feel.
Made by Androguide.fr and GadgetCheck, among others.
ProgressButton: A nice library that shows you the progress of a download in the same button that you press to start the download. See Google Music for a working example.
Comes in handy when there's a list of items to download, and you want to facilitate easy downloading and keeping tracks of those downloads.
Made by Prateek Srivastava, based off of Roman Nurik's examples.
PullToRefresh: Expand a Listview (multiple versions are supported) with the ability to refresh its content upon pulling down at the top.
Uses include social media clients, lists of other network-based updated items (orders, for example).
Made by Chris Banes.
Remote Metadata Provider: Get system information about, for example, which music is playing on your phone. This could help you implement lockscreen music controls for your app.
Uses: Lockscreen music controls, for example.
Made by XDA member Dr.Alexander_Breen.
RoboSpice: A library that makes long-running asynchronous tasks easy. For example, it offers caching (very useful for orientation changes).
Uses: Any app that implements an ASyncTask, especially when it is a bigger and longer-running one.
Made by Octo Technology.
RootTools: This library will make it very easy for you to gain superuser access and execute commands based on that. This way, you can, for example, move and replace files anywhere on the system.
This is especially handy when you are making a sort of backup app, or when you need the ability to do things that aren't possible without root access.
Made by Stericson.
ShowcaseView: This is a library that lets you highlight certain areas of the screen. Just like the Android launcher on first launch (or YouTube), it will allow you to tell the user how to interact with what, and what it does.
Uses: Clarifying certain UI elements and their purpose to the user.
Made by Alex Curran.
SlidingMenu: This lets you include a menu that slides into your app from the side, like the YouTube app has it. There, you can add a whole hosts of options and actions that don't fit or belong in the ActionBar. SlidingMenu also lets you customise the menu. The new Android supportv4 library version, revision 13, also has a basic version of this.
Uses: Menus with additional items, like channels in the YouTube app, shortcuts to your app's settings, etc.
Made by Jeremy Feinstein.
Spring For Android: A library that helps you integrate some features easily. For example, it can simplify using REST in your app.
Uses: Whenever your app needs REST of auth support.
Made by GoPivotal.
StandOut: A library that enables you to make your apps float! Basically, you can make any app you want float. Look in the thread for numerous examples!
Useful when you are making an app that is also used parallel to other apps, like a calculator or note taking app.
Made by Mark Wei.
StickyListHeaders: This is a great way to help you order alphabetised lists in a clear and very recognisable way. The current letter which you are scrolling through will be shown at the top of the screen, for as long as the first letter of the top item on the screen starts with that letter.
Use cases are, for example, scrolling through songs, email addresses, names and articles.
Made by Emil Sjölander.
Sugar ORM: An easy way to use SQLite libraries in your app. It takes away some of the more complex and annoying tasks of database management.
Uses: Managing and querying SQLite databases in your app.
Made by Satya Narayan.
UpdateChecker: This library is a quick and easy way of making sure that users know about updates to your app. It will show a Dialog every 5 times (by default) the app is launched, informing of an app update being available in the Play Store.
Uses: Making sure people update your app. It is handy in just about every app.
Made by Pietro Rampini.
ViewPagerIndicator: This library emulates the multiple ways of showing tab locations without using the ActionBar. This can be used to replicate the Play Store, older Google+ versions, launcher-like indicators and more!
This library is always handy when using tabs, but without wanting to, for example, sacrifice too much screen real estate to use the ActionBar.
Made by Jake Wharton.
Sites, etc. collecting libraries:
Android Libraries provides a big list of libraries for all sorts of tasks, including graphics engines.
Android Snippets is a collection of little snippets of code to help you in navigating some commonly (and less commonly) seen challenges in Android development.
Android UI Patterns for all kinds of UI libraries, with a nice app to go with it.
AndroidKickstartR is a web-based tool for quickly starting an Android app, including a number of (library) options to help ease some of the pain of adding extras. Fair warning: this seems to include older versions of some things, double check the generated project.
AndroidViews for multiple nice UI-based libraries that help make your app look and work awesome!
DevAppsDirect is an app with examples of libraries. Test without setting up a whole new project!
ramdroid77's Google+ community for GitHub-based libraries.
Libraries for developers: A nice little app that has a collection of libraries available to developers.
Also make sure to spread the word about and contribute to this repo!
Have fun,
bassie1995
very helpful thread! thanks mate
roottools is also a very helpful library: http://code.google.com/p/roottools/
nikwen said:
roottools is also a very helpful library: http://code.google.com/p/roottools/
Click to expand...
Click to collapse
Forgot that one as a big one. Shame, since I used it . Will add in a sec.
Sent from my Nexus 7 using Tapatalk HD
I used this library to include a file-chooser in my App:
https://code.google.com/p/android-filechooser/
Click to expand...
Click to collapse
and forked this, that acts basically the same:
https://github.com/dentex/aFileChooser
Click to expand...
Click to collapse
xda_dentex said:
I used this library to include a file-chooser in my App:
and forked this, that acts basically the same:
Click to expand...
Click to collapse
I shall be including this later today. Thanks for contributing!
bassie1995 said:
I shall be including this later today. Thanks for contributing!
Click to expand...
Click to collapse
You're welcome!
Also the other project seems valid. If you want, point to the original repository.
The main difference is that it stays on the standard sdcard only, by default.
I also found a really good site with cool libraries: http://www.androidviews.net/
I'm sure I will want to include some of them.
xda_dentex said:
You're welcome!
Also the other project seems valid. If you want, point to the original repository.
The main difference is that it stays on the standard sdcard only, by default.
I also found a really good site with cool libraries: http://www.androidviews.net/
I'm sure I will want to include some of them.
Click to expand...
Click to collapse
Yep, I'm including both. Also, AndroidViews is already mentioned at the bottom of the OP .
Sent from my Nexus 7 using Tapatalk HD
bassie1995 said:
...AndroidViews is already mentioned at the bottom of the OP
Click to expand...
Click to collapse
Oops... Sorry.
Sent from my GT-I9100 using xda app-developers app
I'm running a community on G+ about Android libraries hosted on github. Tons of stuff in there:
https://plus.google.com/u/0/communities/100609058582053363304
ramdroid77 said:
I'm running a community on G+ about Android libraries hosted on github. Tons of stuff in there:
https://plus.google.com/u/0/communities/100609058582053363304
Click to expand...
Click to collapse
Nice, will include the link in OP.
I was going to mention androidviews too; a very handy site. There's also a handy little app out on the Play store called Android UI Patterns (free), which is basically an app with quite a few libraries built in, so you can see what they look like in action on an actual device.
And I'm not sure if I should post this, or if it should have it's own thread (paid libraries or something), but I would argue that as there are quite a few professional developers here, a compilation of good, paid, non viral licensed libraries would be a good resource. On the other hand, XDA is all about the homebrew, open, sharing community.
Anyway, whatever the mod-gods decide, I was looking for a good, cheap, non-gpl3 licenced PDF framework for the company I work for. Many frameworks were RIDICULOUSLY expensive and many open source ones were SLOW or not functional enough. In the end I found a good alternative at androidpdf.mobi . It's fully functional, affordable and they have good support. I know this may sound like an add, but I spent some time researching this, we now use it in production and figure I might save someone some time.
MacDegger said:
I was going to mention androidviews too; a very handy site. There's also a handy little app out on the Play store called Android UI Patterns (free), which is basically an app with quite a few libraries built in, so you can see what they look like in action on an actual device.
And I'm not sure if I should post this, or if it should have it's own thread (paid libraries or something), but I would argue that as there are quite a few professional developers here, a compilation of good, paid, non viral licensed libraries would be a good resource. On the other hand, XDA is all about the homebrew, open, sharing community.
Anyway, whatever the mod-gods decide, I was looking for a good, cheap, non-gpl3 licenced PDF framework for the company I work for. Many frameworks were RIDICULOUSLY expensive and many open source ones were SLOW or not functional enough. In the end I found a good alternative at androidpdf.mobi . It's fully functional, affordable and they have good support. I know this may sound like an add, but I spent some time researching this, we now use it in production and figure I might save someone some time.
Click to expand...
Click to collapse
I have seen and used Android UI Patterns, forgot to include it.
About the licensed libraries/technologies, maybe that's a good divide for this thread. Not between UI and functional libraries, but between paid and free? Don't think there are many paid libraries for daily use, though?
If you can link me to the PDF parsing library you used, I will be including that.
Also, everyone, updates are a little slow due to school work. Hardest exam that's yet to come is on Monday, will update it probably that afternoon (my time zone ).
Sent from my Nexus 7 using Tapatalk HD
The pdf library is found at androidpdf.mobi.
You can d/l the sdk and use it for free; you pay to get rid of the watermark on each page (the fee is per application, though).
I have come across some paid UI widget libraries (coverflow type things etc). It took me a while to adapt existing OS code to achieve the same kind of effect, so sometimes, if it's the right price, it's more effective to buy these kinds of things...
AChartEngine is a good one for charts and graphs http://www.achartengine.org/
MacDegger said:
The pdf library is found at androidpdf.mobi.
You can d/l the sdk and use it for free; you pay to get rid of the watermark on each page (the fee is per application, though).
I have come across some paid UI widget libraries (coverflow type things etc). It took me a while to adapt existing OS code to achieve the same kind of effect, so sometimes, if it's the right price, it's more effective to buy these kinds of things...
Click to expand...
Click to collapse
tmka said:
AChartEngine is a good one for charts and graphs http://www.achartengine.org/
Click to expand...
Click to collapse
Thank you both. I hope to be updating the OP tomorrow.
Sent from my Nexus 7 using Tapatalk HD
StandOut is a great library to create floating app :good:
Hello everyone,
I'd suggest also DroidText, for creating PDF files
Tiwiz
ciao99 said:
StandOut is a great library to create floating app :good:
Click to expand...
Click to collapse
That looks awesome, I think I'll try it myself
tiwiz said:
Hello everyone,
I'd suggest also DroidText, for creating PDF files
Tiwiz
Click to expand...
Click to collapse
Nice, a PDF creator! I'll take a look and add it.
To everyone: Sorry for not updating, exams are busting my nuts right now . I'll try and get some more in there today or tomorrow .
Sent from my GT-I9300 using Tapatalk 2
With the exams over and spare time at 1:44 AM, I'll update this again with all the suggestions from this thread. I'll add more "external" ones later.
EDIT: Done!

Turn your old NST into an electric sign

While looking for something completely different, I stumbled across this and thought some people might find it interesting:
Turn an old eReader into an Information Screen (Nook STR) – Terence Eden’s Blog
shkspr.mobi
I wouldn't fixed NST to a wall and think that I have read here about app used here to do that job. Either someone is gonna fix TLS issue or maybe if we assume using NST as display it could be possible to use home Wi-Fi router or mobile phone as secure server or part of VPN that will negotiate TLS issue for NST. I always doubted slightly that NST can offer full internet browser experience but something in line of htttp web grab in reader mode might be good enough for some application. News (RSS), weather and I believe that maybe EPG TV guide are not impossible to accomplish. Only question about this remains will NST embedded HTML browser will be good for the job of showing the grab from web pages or is Opera in reader mode better for such job. Time to look up for a good web grabber...
SJT75 said:
I wouldn't fixed NST to a wall and think that I have read here about app used here to do that job. Either someone is gonna fix TLS issue or maybe if we assume using NST as display it could be possible to use home Wi-Fi router or mobile phone as secure server or part of VPN that will negotiate TLS issue for NST. I always doubted slightly that NST can offer full internet browser experience but something in line of htttp web grab in reader mode might be good enough for some application. News (RSS), weather and I believe that maybe EPG TV guide are not impossible to accomplish. Only question about this remains will NST embedded HTML browser will be good for the job of showing the grab from web pages or is Opera in reader mode better for such job. Time to look up for a good web grabber...
Click to expand...
Click to collapse
Curl can often bypass SSL checks and grab web content. It runs on the NST. I've used it in a few of my apps. Whether the data it gets can be used by the app the blogger mentions is something else.
@nmyshkin that is nice idea! And seems exactly in line of what I wrote. I do not know is curl accessible from Android layer. I pondered the same thought more in line of trying to use port of Lynx to Android I have seen someone did although who knows is that possible to do on this version of Android?
I've written a status app (that I never use).
It polls two different servers for JSON info and displays it using regular Android graphics stuff.
It uses Retrofit for polling.
And one more! (although this one uses a Sony PRS-T1)
Reusing my ebook reader – Fluffyelephant
Hmm, you got me thinking about this stuff.
There's the whole let the Nook poll some data service and display it on a web browser sort of thing.
I don't really need or want that.
I was thinking more of like as a status output device for a headless Raspberry Pi.
No, not as a terminal, more like status for a solar/home/whatever system.
The Nook doesn't poll anything, it just sits there waiting for text or graphics.
But here's the part I like, you don't use any WiFi.
You just plug your Nook into the Raspberry Pi.
Of course it has adb.
You can get adb for Raspberry Pi: sudo apt-get install android-tools-adb
Now you can set up port forwarding:
Code:
[email protected]:~ $ adb forward tcp:6666 tcp:6666
Then all you need is something on the RPi to connect to port 6666 and spit out stuff.
On the Nook you need an app to serve port 6666 and do display stuff.
I've already made a clock as proof of concept and it works fine.
You could just use text fields or compose a whole graphic frame on the RPi and send that over.
Heck, if you send whole frames you wouldn't even need to run the Android subsytem.
I could probably get that working on a Kobo.
A very sophisticated example follows.
It allows you to individually update separate fields.
These could be in tables with borders or labels or whatever.
Edit: Okay, a better screenshot.
You know, the thing I like about this is that the NST is the server.
It's a bit like running X11, but much more lightweight.
And if you want you can still run this over WiFi instead of ADB forwarding.
This electric sign app is really close to something I'm looking for. What I'd like to do is, instead of a screenshot of a URI, to take a screenshot of what I've got open in the device.
I'd like to use this with Google Calendar, and Opera Mini surprisingly seems to work with the HTML version. I think Opera Mini keeps the calendar updating with AJAX or something, so all I'd need an app like this to do would be to, when it's running, take a screenshot of what's on the screen right before sleeping and set that as wallpaper, then wake every X minutes, screencap what's there and go back to sleep with that as the new wallpaper. The end result should be an always-on, low power Google Calendar.
EDIT: For anyone looking later, I was wrong. Opera Mini does not keep updating Google Calendar, you have to refresh it manually, which makes this slightly more complicated...
jptiger said:
This electric sign app is really close to something I'm looking for. What I'd like to do is, instead of a screenshot of a URI, to take a screenshot of what I've got open in the device.
I'd like to use this with Google Calendar, and Opera Mini surprisingly seems to work with the HTML version. I think Opera Mini keeps the calendar updating with AJAX or something, so all I'd need an app like this to do would be to, when it's running, take a screenshot of what's on the screen right before sleeping and set that as wallpaper, then wake every X minutes, screencap what's there and go back to sleep with that as the new wallpaper. The end result should be an always-on, low power Google Calendar.
Click to expand...
Click to collapse
Somewhere on the site there is a discussion of a setup that copies the current screen into a screensaver folder so that, for example, a map remains visible when the device sleeps. Search for it.
Edit: https://forum.xda-developers.com/t/q-fridge-calendar.3057759/#post-59527882
Edit: https://forum.xda-developers.com/t/...uestion-o-noob-friendly.2941262/post-57216860
Eh, I'm not fond of browser-based anything,
For plain HTML stuff you could throw something together with Webkit instead.
For the adventurous you could use the Google Calendar API
Renate said:
Eh, I'm not fond of browser-based anything,
For plain HTML stuff you could throw something together with Webkit instead.
For the adventurous you could use the Google Calendar API
Click to expand...
Click to collapse
I tend to agree with you. As I already wrote above something akin to Pocket/ReadItLater and similar might be accomplished using simple web grab I presume and offline HTML browser. I have thought that it looks odd that beside "hidden" (and sadly for us practically unusable) browser NST have another HTML viewer. Reason for that might be it was intended to be used for B&N "browsing" through their shop that they periodically download to NST or maybe for presentation of e-book material of older type that was for all intents and purposes just web archived HTML page or perhaps for viewing magazines purchased through B&N.
In essence even epub use elements of CSS/HTML but that is another story. Maybe it could be possible to make some poor man Pocket like offline browser if we somehow find the way to cobble together parts of some RSS, bookmarks syncing, e-mail listing, forum/blog viewer and approach that me or nmyshkin proposed here. In my opinion hardest part if some web grab is possible would be to render it in usable form for this device. That mean turning of ads, flash/video, loading pictures only on demand (or better in on/off way) and show only text information. Now what "browser" is suitable for this is yet to determine. I know that very old Opera could turn off animation an pictures but as I remember it did that in such way that it didn't download them at all to save bandwidth. Maybe it could be somehow set to load web archives in such manner? Think about it as giving an command that some web page be "printed as epub". It might be to large task to accomplish. Pocket worked if I remember right in such way that selected page was sent to dedicated server which did the trimming part for user and allowing him/her to download that content on other device to be read later on. Here I think that if we could sync for example one of bookmark folders from a computer with NST and achieve web grab of those links in usable form we might have something. It is a matter for the debate isn't Opera mobile and style management already wrote on here in forum same or even better. Problem would be that page reformat/rendering would be tasked to NST itself and I am not sure if it is up to the task or am I capable to cobble such thing alone for that matter. Something flashed in my mind didn't Calibre had some news reader? If it does then I am inventing the wheel here. Still it would be nice to be able to have some even limited ability to open a link to a news story from RSS feed or a forum/blog we follow or e-mail listing etc.
For Calendar I hope that some kind of dedicated app combining Calendar, planner and to do list can be found to already exist for this device.
Did anyone inspected this option? https://greycoder.com/a-list-of-text-only-new-sites/ It might be interesting
SJT75 said:
Did anyone inspected this option? https://greycoder.com/a-list-of-text-only-new-sites/ It might be interesting
Click to expand...
Click to collapse
Thanks for these! The ersatz Google News is amazing in that even the external links are text-only! It makes my Google News app obsolete! Great with Opera Mini. Many, many things to look at there
nmyshkin said:
Thanks for these! The ersatz Google News is amazing in that even the external links are text-only! It makes my Google News app obsolete! Great with Opera Mini. Many, many things to look at there
Click to expand...
Click to collapse
I am glad that I have contributed with something useful. As have already guessed from mine posts in this thread I have contemplated heavily about what could be more useful for NST some text-only browser akin to old trusty Lynx or some rewrite/redefinition of working Opera. One thing lead to another and at first I thought to maybe open and disclosed source for firefox readability extension/addon ported for working version of Opera somehow is a way to go but as I always check all aspects of mine quirky ideas I stumbled upon this. It is poor man solution but as I remembered that you follow NPR and they have text mode only site felt obliged to mention it here.
In line with nmyshkin's idea of using curl if some information display akin to the one linked in the first post is needed does something like cron from Linux can be run on NST?
"Print as epub" exist as web form. Here is the result of that one. https://dotepub.com/ I tried to use online form there and results were mediocre but as I understand they also offer their API to developers etc. That I presume might draw attention from someone on xda.
In defense of the intended idea for using NST as info screen arguably touch technology it uses is best for those screens. Mine guess is that its deemed as such because it is most easily scalable from the currently available techniques. This also raise the question why B&N did not already made readers of much larger format like A4 paper size screen. Is the display cost really that high and prohibitive? On the other news rumors have spread that they have partnered with Lenovo not only for the new generation of tablets but also for new e-readers. Has anyone find some leek about possible specifications?
SJT75 said:
... rumors have spread ...
Click to expand...
Click to collapse
Say, what? After my buying a Poke3?
Edit: See https://www.barnesandnoble.com/w/no...ovo-barnes-noble/1139012795?ean=9780594080503
1200 x 800 for a 10" = 144 DPI, not drop dead impressive.
I agree. Cheap bastards! I can't say is that 149DPI good for LCD screen but is sub par for e-reader. They obviously targeted minimum resolution comparable to low resolution printing and hope to get away with it. Considered that I expressed criticism to level of development of current color e-ink technology being bellow resolution of NST by about 60% you can bet I find this to little question is does it comes to late for B&N. Still I am more interested about e-ink display device that rumor say is also planned but nothing is revealed so far.
Renate said:
Say, what? After my buying a Poke3?
Edit: See https://www.barnesandnoble.com/w/no...ovo-barnes-noble/1139012795?ean=9780594080503
1200 x 800 for a 10" = 144 DPI, not drop dead impressive
Click to expand...
Click to collapse
Nothing to report that is mine work now still in the spirit of this thread I want to post few links with things people did with e-ink screens that might be done with NST also.
1. Raspberry Pi powered news scrapper - something Renate might like as she as I understood work on something similar
https://www.reddit.com/r/raspberry_pi/comments/ksgomp
2. Weather display that I believe was made using software already mentioned somewhere on forum
https://www.reddit.com/r/homeassistant/comments/lcyos9
3. Something completely different! Device made as platform to enable development many things e-ink made. Link shows RSS implementation.
4. In the old days when e-readers were unobtainable on my location I was in desperation contemplating the idea to convert available photo frames to a e-reader. This is as you guess the other way around.
https://www.reddit.com/r/raspberry_pi/comments/liadda
5. Someone developed site for games for e-ink screen as I understood browser only
https://e-ink.club/index.php There is in my opinion plenty of room for some sort of games on e-ink and this is not comprehensive list but it is nice someone started a dedicated page/project for that.

Categories

Resources