[REPO] The library thread - IDEs, Libraries, & Programming Tools

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!

Related

Viewing Web-based PDF files within app

Hey all-
I am very new to developing (and Java). Currently working on my 2nd android app so be gentle here. Is there a way, or a good work-around to display web-based pdf files with android? Basically I am trying to have one of the buttons in my program pull up a website that happens to be a web-based pdf. I don't believe WebView will support that.
I have tried converting the pdf files to .png but I loose all the resolution I need as I need the user to be able to zoom in and see the detail.
Is there anyway to either host the pdf file on-line as something else and/or convert it to something else to make it available off-line?
Thanks for any help
Just throwing this out there, but why not have the link download the PDF file to the user's phone.
Only downside I see to this is in the even that the user doesn't have a PDF "viewer."
Otherwise, I'm not aware of any real way to display a PDF within the browser.
If someone can work this out, I'd be interested in learning his/her technique as well.
Thanks for the reply- I did think of doing it that way but I didn't want to make use of my app dependent on another app- It sounds like that's what I will have to do though as I have searched high and low without finding a solution. I had wanted to make two versions of the app- in the free version the user would need web access, in the paid version the user could have off-line access.
With Adobe's pdf viewer on the market for free and most new phones coming stock with pdf viewers, I suppose it wouldn't be the worst thing in the world. Is there no graphic format I can convert a pdf to and then host on-line? Thank you again
OREGONMX said:
Thanks for the reply- I did think of doing it that way but I didn't want to make use of my app dependent on another app- It sounds like that's what I will have to do though as I have searched high and low without finding a solution. I had wanted to make two versions of the app- in the free version the user would need web access, in the paid version the user could have off-line access.
With Adobe's pdf viewer on the market for free and most new phones coming stock with pdf viewers, I suppose it wouldn't be the worst thing in the world. Is there no graphic format I can convert a pdf to and then host on-line? Thank you again
Click to expand...
Click to collapse
Yeah, I know exactly what you are saying. Having an app-to-app dependency can cause quite a hysteria with users. They'll complain that the app is faulty and rate it 1 star.
My other suggestion would be to screenshot the PDF, page by page, and paste them into Photoshop and save the files as jpg's with the highest resolution. It will definitely take up a lot of your time if you have a lot of PDFs with many pages. Granted, you'll be taking up much more space, and the image will be loading a lot slower but you'll have pretty neat quality.
You'll have to weigh the factors on what you find more important - speed or quality.
If you don't mind me asking, what type of app are you making.
Thanks again- well just a few minutes ago my friend who is a bit more proficient with the whole coding thing came up with an idea that might just work-
he suggested taking the PDF and splitting it up into several different images and just creating an arrow button on the sides or top or bottom (depending on where in the image you are looking) and then applying an onClickListener to the buttons which will call up a different image view, which would be the next corresponding image/area of the pdf. I'm hoping that by cutting the pdf into small pieces like that and saving them as either jpg or png files I can retain the resolution I am after AND host them on-line myself for the free-app and give users the option to download the pdf to their SD card in the paid version- which would make my original idea a possibility.
My app is a program aimed at dirtbiking enthusiasts- surprisingly there is not a lot of crossover between the dirtbiking community and the developing community- I am all alone Ha!
I don't imagine I stand to make a bajillion dollars but learning android and java and actually seeing what I am doing work (sometimes) has been a fantastically gratifying experience. Just wish I had more time to do it- a 4-year-old and 5-year-old + wife + full-time job make it hard. I'm in no hurry though
That sounds fairly similar to what Facebook has on their "Touch" version of their site (touch.facebook.com)
If you view pictures within an album, you'll notice you get the arrows on the bottom left and right to keep switching between pictures.
Sounds like that would definitely work.
Keep me posted on your app. I give you props for even being on your 2nd app, as I've seen many people in your same situation (wife, kids, job) just give up after downloading the SDK.
But yeah, I'm interested to see how it turns out.
Thanks hopefully my vision will come together sooner rather than later. I'll keep you posted
Sent from my SGH-T959 using XDA App

Kick ass apps wanted

Need an apk that signs my update.zip files from titanium blackup.
I don't understand why it hasn't been done. The code to do it is already in java! Search the forums for testsign.jar
I know everything you need to do to get it done but I don't have a development environment at my disposal. Help me out and I'll show you how to convert your jarred up code libraries to run on android!
Please and Thank You.
* edit - this question has been solved by brainmaster! ZipSigner if you find this application helpful please thank him below.
- Posted via mobile
New application proposal: ZeroNetAccess (ZeNA?)
Concept: an app that can block other apps network access.
Market alternative: DroidWall (root only, low market potential)
Methods: Maybe by modifying the apk manifest and resigning? Im not sure if there is a framework you could subclass for this.
Why: i turned off stats reporting for an app and i saw it writing reports to the web from logcat. Google took our rights away by not letting us do this from the application settings. Its my device and i have to pay the bill not google or the rude ppl who made the app. I will never understand why we were not given the right to administer mobile data access rights.
Potential: highly lucrative. People want to save money nowadays. In that respect voiding phone warranty for root access may not sit well with potential customer.
- Posted via mobile
Avid Droidery said:
New application proposal: ZeroNetAccess (ZeNA?)
Concept: an app that can block other apps network access.
Methods: Maybe by modifying the apk manifest and resigning? Im not sure if there is a framework you could subclass for this.
Why: i turned off stats reporting for an app and i saw it writing reports to the web from logcat. Google took our rights away by not letting us do this from the application settings. Its my device and i have to pay the bill not google or the rude ppl who made the app. I will never understand why we were not given the right to administer mobile data access rights.
Potential: highly lucrative. People want to save money nowadays.
- Posted via mobile
Click to expand...
Click to collapse
For rooted devices try DroidWall
Application Proposal: Web Page to PDF/HTML Safari Plug-In
Concept: Seriously?
Why: Cant save pages from the browser I safari always reloads the page when you come back to it from other activities (pointless nethog!) whats the friggin cache for anyway? It is better to save an article copy that you could view on the computer later or add to your info library if you write books or do any kinda technical research than it is to save a bookmark that may become 404 not found. Researchers nightmare!
Methods: execute shell command wget on page source. Use regular expression to get media list. Build directory tree. For each media call wget. Done.
Potential: medium. Not many people are so technically inclined.
Usefulness: extremely high, especially with zip/+email caps.. Roundabout source code viewer for nosy/curious folks.
Average potential, stream lehigh usefulness I would sell for a buck 99. Free (1 ad per saved page, no zip email)
- Posted via mobile
3rdstring said:
For rooted devices try DroidWall
Click to expand...
Click to collapse
Thank you! Will do!
- Posted via mobile
Application proposal: WarBastard
Concept: wardriving app featuring google my maps! Maps are shared globally by locale. Signals can be pinpointed by triangulation through cross reference of mac address, signal strength and previously detected locations in a global locale based database. While we are at, throw in a google navigation intent, and a compass with distance to closest accesible AP! Dont stop there! I wonder where that cell tower is located?
Purpose: to aid weary travellers and cheap bastards to connect with their loved ones and services over open networks. Services could also be used for cellular network signal diagnostics across hundreds of thousands of devices.
Potential: astronomical I would pay 5 bux. Better yet 12 bucks per year. Free (1 ad per download of database, 1 ad per connect to AP. Possibly integrated with APs for increased revenue potential across the board.) The map data can also be used to find good places to set up an advertising AP 4 even more potential earnings.
Anybody wanna pay me to sit around and do this all day? Lol.
SERIOUSLY you are looking at my qualifications. Asking 50k p. yr. to start Project Mgr./Analyst/Sr. Developer. consulting options available. Willing to relocate. Pm for inquiries/proposals.
- Posted via mobile
Avid Droidery said:
Need an apk that signs my update.zip files from titanium blackup.
I don't understand why it hasn't been done. The code to do it is already in java! Search the forums for testsign.jar
I know everything you need to do to get it done but I don't have a development environment at my disposal. Help me out and I'll show you how to convert your jarred up code libraries to run on android!
Please and Thank You.
- Posted via mobile
Click to expand...
Click to collapse
You should use the search function: ZipSigner.
It implements in the Titanium Backup and signs it on your wish.
brainmaster said:
You should use the search function
Click to expand...
Click to collapse
You are correct. I should never have assumed that this wasn't already in the market. Actually I didn't really plan to use this to sign titanium backups. For my purpose however the concept is the same.
* edit Human beings arent the fastest search engine but collectively we are the most accurate information sources on the planet. feel free to quote me on this
I thought that it would be better to ask someone who might know than it would be to search for something that may not exist. If I had access to a computer I would have no questions to post. Only answers! Being that I am stuck on my android for the time being, I appreciate all the help I can get!
Thank you for providing me with another helpful for resource!
* Edit: Dear brainmaster, words cannot express my level of gratitude! I am truly overjoyed by the passing of this shortcoming. Signapktic is exactly what I was looking for and I never would have found this application had it not been for your assistance. The topic of this thread is kick ass apps wanted. Even though this is an application that no longer needs to be developed (because real developers don't reinvent the wheel unless absolutely necessary,) you have met or exceeded the topic issue with flying colors!
- Posted via mobile
New application proposal: Launchpad Homescreen Widget
Concept: a widget that will pop up an on screen menu (complete with icons) onClick similar to pc desktop start menus. Customizable shortcuts Horizontal or vertical (and scrollable) layouts by preference and Customizable folders.
Why: I would rather have a feature like this than an app drawer any day. This would allow individuals to organize launcher short cuts by task. It would also be great if it were possible to open files in the system such as pdf, video, music or text files with appropriate application. Another great feature would be the ability to launch shell scripts. I have searched the market and nothing like this was found.
Potential: high. will save customer time allow them to become more visually organized and task oriented as well as adding more visual appeal to the home screens. $5.99 I would buy it! Time limited trial only.
- Posted via mobile

[Q] Newbie question for best Android coding practices

Hi,
A year ago I developed an app as part of a group project at uni. Due to the limitations set by the project rules the app isn't properly designed for Android. The app is a tour guide, in 2 parts. The guide itself is an XML file which has all the content on it. The other part is the player, which is an Android app. The player parses the XML and forms Java Classes to store the data and then play it. The content is saved in the form of Slides in a Slideshow (part of the requirements of the project, not our choice). So for instance 1 slide will be the main menu, then clicking a button will take you to another slide which will be a sub menu and so on.
Now a year later I've come to update this app, originally I was just intending to change the AbsoluteLayouts we used to Relative/Linear/List/whatever works best for that particular slide and also to put the layouts into XML rather keep them in the Java. However I was wondering what would be the best Android practice for an app such as this?
The advantage of using XML for the guide is that say if we had a guide to a different city we could just upload that new XML to a server (the player can download remotely) and then download it to get a new tour guide. However would it be best for me to strip away all of this and start afresh, with Android in mind? I.E. by removing the need to parse an XML file at the start and just have a new app for each city.
I've been thinking about a complete overhaul as changing AbsoluteLayout will be a pain. At the moment each component is given X and Y coordinates in the main XML file, so changing that to relative commands, changing the parser to read that will be hard. Also it's best practice to store the layouts in R.layout but it would be hard to convert the layout from the main Tour Guide XML to a layout XML... if that makes sense :/
If I were to remove the main XML, how would I handle each menu or content page? Would they be given their own activity?
Sorry for the long post, I just want to be clear on what the best way to update this app would be and am just learning how to properly design Android apps. I really appreciate any advice and for taking the time to read this post!
If I've put this in the wrong forum then let me know and I'll move it
Sent from my GT-I9100 using XDA App
check out
http://www.appcelerator.com/
i created my first app using it
and its on the market with around 2k downloads
it has its issues and bugs but it was my first real coding experience.
its worth checking out
and its free

Developer with a Marketing question!

I'm a programmer; I don't do Sales, I don't do Marketing LOL
I'm working on an app that has my partner and I debating on pretty much a daily basis. I'll try to explain best as possible without too much detail.
The app takes a pre-loaded database (a "template") from assets folder and loads into the app. Works fine. Thing is, there will be more templates, probably up to 20 for which we want to charge (we're talking small amounts here).
So, here is the debate we're having:
1. Create 20 apps with each having the one template. Easy as hell for me but goes against my programming standards as to why have 20 apps when ONE does the work? NOTE: Does not need any permissions
2. Create one app, ask user for template on startup, download from cloud. A little tougher, but not much. Problem here is that what if they want 2 templates? Or 5? We want to charge for each template. I could do "AppName +2" or "AppName +5"
versions and charge accordingly. NOTE: Max templates a user would have is probably 5.
3. In-app purchasing...I've read about this. Not so easy. You either hide content (and over bloat your app or code a mechanism that allows Joe to have in-app purchase app, but not Julie). Google makes clear note of this in their docs. NOTE: my bloat would be about a 7,000 row database on user's phone.
So, just looking for some other opinions...all comments welcome!
TIA,
Roots
From what I can understand, I think # 1 is the most tried and true method, as most launchers with themes work this way. The upside for you as far as making money is concerned is that there are people who want all their options, whether or not they will ever use them... I have been guilty of it myself with lp+ themes. I've paid for ones I'll never use, because it's there and most apps tend to be in the "impulse buy" price range.
I agree, #1 is your best option, it may require a lot more work as far as deploying goes, but it is the most reliable method.
Interesting! Thank you for your replies.
A little more information...the templates (e.g. database) will probably never change from initial download, so that update is a moot point.
One thing I didn't think about is creating and SAVING 20 keys!!! Yikes. I've lost those before...very bad situation when that happens. Not to mention 20 distinct package names.
One thing I didn't think about is creating and SAVING 20 keys!!! Yikes. I've lost those before...very bad situation when that happens. Not to mention 20 distinct package names.
Click to expand...
Click to collapse
You can sign all packages with the same key.
As of package names, all you need is to change the application package not the code packages. The ADT has a tool for renaming application packages.
1. Create 20 apps with each having the one template. Easy as hell for me but goes against my programming standards as to why have 20 apps when ONE does the work? NOTE: Does not need any permissions
Click to expand...
Click to collapse
Here is my suggestion, although I never tried it:
Create 20 apps for templates with no logic at all.
For each one of these apps:
(1) Put a single template file in the res/raw folder
(2) Create an Activity that doesn't do anything at all (call finish on onCreate).
(3) Set intent-filter for your null activity with android.intent.action.MAIN and your own custom category.
Create 1 main application with all application logic and code but with no templates at all (or just one default template).
(1) Search for installed templates using PackageManager.queryIntentActivities with an Intent that match Intent.ACTION_MAIN and your custom category.
(2) Read templates using Context.createPackageContext, getResources of the created context, getIdentifier to find the id of the template file and openRawResource to actually open it as an InputStream.
There are other methods to share resources, take look at android:sharedUserId.
Interesting concept, but if I read it right, I sill need 20 "dummy" apps to go with the main "driver".
I've got some time to mess with this because I have to implement drag and drop on some ListViews. I might just end-up coding the in-app purchase stuff.
EDIT: LOL, I can't wait till I can afford an iPad and port all my stuff to iOS

Using Hubs and Plug-ins to Make WP8 a Dominant Alternative OS

Here’s the gist of a thread I started @ WPCentral that I wanted to bring over to XDA to get an additional perspective.(Let's be honest...XDA is a bit cooler than WP Central good )
How about allowing for users to create 2 custom Hubs? The Custom Hub would have two panes – the default being a notifications list, and the second being a list of all the apps added to that hub.
How about allowing Kids Korner to be a Hub where parents can add in apps and other educational stuff for the kids to look at (then at the bottom of Kid’s corner, put a menu option that allows the parents to put in a password to get into the rest of the phone)?
How about expanding the Lenses idea to give third party apps the option to pick one key feature of their app that gets integrated into a Hub?
How about tighter integration between Hubs? For example taking the option of in the phone dialer to hit the phonebook icon and get sent to the People Hub and using it this way…if I’m in the Calendar Hub and make a reminder note to meet with someone, or to call someone, that note shows up under that person’s name in the People Hub. If I want to edit that, when I am in the people hub I hit that note which sends me back to the Calendar to change it.
These are just some thoughts I had on how MSFT could flesh WP8 out and give it an edge. I think RIM is trying to do that in its BlackBerry 10 Blackberry Hub, but MSFT has more resources in WP8 to make things more seamless and less cluttered.
Here’s the link to the original thread:
http://forums.wpcentral.com/windows-phone-8/220854-hubs-over-folders-lenses-improve-core-apps.html
But I’d love to get feedback here on XDA.
HMm not so sure this is really worth it. Besides, to integrate an app with a specific hub is a specific job the developer needs to do. In order to integrate with the music+video hub, for instance, you need to do specific thing. Same goes for people/photo/whatever hub.
Having a custom hub is very difficult for the apps to integrate properly with it and sloopy developers might actually ruin the entire experience with poor integration.
While i see where you are going with this (notification center), the need is really not that big.
The kids corner is a completely different thing and is not similar to a hub in any way.
EDIT: the news/notification thing in the hub is something the apps do, and not the hub itself. The hub just centralizes them in a ... hub. In order for the hub to know what to centralize and from who, the apps must call specific APIs.
mcosmin222 said:
HMm not so sure this is really worth it. Besides, to integrate an app with a specific hub is a specific job the developer needs to do. In order to integrate with the music+video hub, for instance, you need to do specific thing. Same goes for people/photo/whatever hub.
Having a custom hub is very difficult for the apps to integrate properly with it and sloopy developers might actually ruin the entire experience with poor integration.
While i see where you are going with this (notification center), the need is really not that big.
The kids corner is a completely different thing and is not similar to a hub in any way.
EDIT: the news/notification thing in the hub is something the apps do, and not the hub itself. The hub just centralizes them in a ... hub. In order for the hub to know what to centralize and from who, the apps must call specific APIs.
Click to expand...
Click to collapse
Ok. I think I follow along with you comment.
But MSFT does have these some of these elements in play in the OS itself, so why not use them more effectively? I know Apple has a more stringent control of apps that get approved before going in the app store, so could MSFT enforce these add-ons?
Sent from my Galaxy Nexus using xda premium
Microsoft regularlly provides the Options and in my experience developers will use them by themselves, simply because it increases the usability of their Apps a lot more than it adds required effort. It's rather a problem how to implement this in a way that does prevent a badly written App from affecting the system's Performance and stability.
That especially gets a Problem when Apps are allowed to surface data somewhere as could be seen by the problems Skype originally caused with the People Hub Integration.
I'm pretty sure Microsoft will add more Integration Points into the System with the next API update - let's just wait and see.
As for making usage of some of those Integration Points mandatory. I don't believe that to be a good idea. I also don't believe that it is necessary. Developers regularly complain that they can't integrate somewhere so I really believe that if they were allowed to do it they would do it by themselves. This is also necessary because the Integration regularly involves the Transfer of data to the invoked App (Images, Files, etc.)
Stevie, I think what you've said is fair. I suppose MSFT could just use their own apps like Photosynth and Skype as a way to sure more seamless integration instead of making that a mandatory process for all devs.
Do people even see the need for such integration in the platform going forward?
Sent from my Galaxy Nexus using xda premium
In general I believe that it can make for a more fluid experience if there are well done Integration points. Camera Lenses or the Image editing capabilities are a great example for this. Another is the possibility to have an App specific contact store (like Skype does it now).
What I believe would greatly improve the concept would be Message Integration into the Messaging Hub and the ability to create an app specific calendar store that is also availble inside the Standard calendar App.
Also nice would be the possibility to register Apps for all filetypes. Currently you can only consume files inside your App that are not assigned to System Apps (e.g. MP3 or JPEG Images).
So in short: yes, those integrations can greatly improve the workflow and I'd love to see Microsoft in the end deliver on the promise of Hubs they gave when introducing them. When you want to do something with Images, open the Image Hub. If you want to message someone open the Messaging Hub, etc.
If it were up to me, here’s how I’d organize the Hubs in WP8. I’d love to hear other’s thoughts:
Store: Same. Just better Secondary links from the all the other Hubs. This and People Hub should be the two primary Hubs where all other Hubs have shortcut links to.
Photos: Same. Shortcut Links to Store, People, Search, Content Manager
Music and Videos. Same. Shortcuts to Store, People, Search, Content manager
Games: Same. Better shortcut links to Store. Also links to People, Search, Content manager
Productivity: Office + Calendar + Note Apps + Voice Personal Assistants here (allow Tell Me to be an app where you can add commands to it).
- 3rd party apps list include: any note, calendar, language, Office Assistant Apps.
- Secondary shortcuts to People (especially Rooms), Content Manager, Wallet, Store
Content Manager: Skydrive and a page showing list of downloaded content here...not a full file manager where you can move stuff around on the phone itself, but a general downloads folder.
- 3rd part apps include Box and other upload apps
- Secondary Hub links – Photos, Music + Videos, Office
People: You manage contacts and social media here.
- Me Tile: Notifications...and have the option to reply to an individual tweet or FB post or Skype message from a listed contact here.
- 3rd party apps include: All social media apps
- Secondary shortcuts: all the other hubs.
Messaging: Emails, SMS, Skype IM is here.
- 3rd party apps include all IM apps, FB messenger, shortcut to Skype.
- Shortcuts to People, Store, Phone
Navigation: All Maps and Transit apps here.
- Some of Local Scout functionality here (also accessible in the Search Hub).
- Secondary Shortcuts to Search, People, Store.
Search: Same, except adding one more page to list search related apps.
- Secondary short cuts to Navigation, People, Store, Content Manager
Phone: Skype (calling features, video chat) and Dialer are primary options here. Other apps that tap into this Hub (or get listed here) are 3rd party Video Apps
- Secondary shortcuts to People, Messaging.
Wallet: Holds Credit Cards and Financial Apps
- Secondary shortcuts to Search, Store, Productivity (in particular – calendar), People
Corporate: Same. Allow Corporate IT to do their thing. Better links to the Productivity, Office
Custom Hubs: Users are allowed to create only two. A two pane look – default page with app related notifications and a second page with the app list.
It is still a hybrid mix of hubs and apps – if you don’t want to use a Hub, don’t use it.
Sent from my Lumia 810 using Board Express
My head hurts. It is just too complicated.
This implementation can go wrong in soooooooooooooooo many ways, it will be a wonder if a developer manages to get it right for every scenario.
I believe you're making it more complicated than it needs to be and a lot of what you are talking about is already there. I don't need an explicit link to go from Calendar to people. If I open an appointment and swipe to attendants I can tap on any of them to be taken to their contacts page inside the people Hub (as it should be).
It's a good idea to have those kinds of shortcuts around that are contextually aware but adding a load of Buttons to jump somewhere else is mainly getting the UI cluttered or getting confusing/annoying.
Some of those connections you mention are already there - e.g. Store in Music/Videos.
What actually would be a nice idea is to allow productivity Apps to tie into the Office Hub similarily to how it works with imaging Apps in the Pictures Hub.
Some of the other stuff you mention is also there. Cloud Storage applications can integrate themselves into the system for automated Uploads similarily to SkyDrive but currently limited to Pictures so it can definitely be improved upon.
TellMe is also extensible to allow Apps to tie into it and use voice command functionality. Audible would be one App that takes advantage of this. It doesn't really make sense for all Apps though. E.g. a picture taking App will require the ViewFinder etc. so it would not benefit that much from Voice Control (and it is quite a hazzle to implement this - especially if the App is getting localized in several languages).
As for search - if there would be something like a search charm on Windows 8 it should tie into the Bing App which already has a permanent shortcut in the search button.
I guess your idea would be to allow people to jump easily from Hub to Hub without going to the Homescreen. Having Links for this in every other Hub just isn't the way to go there. A possibility would be to add all the Hubs at the bottom of the Task Switcher Screen. So you would long press on the back button and would get the Thumbnails of running Apps and at the bottom the icons for People, Calendar, Messaging, Pictures, Music/Video and Office. I'm not sure if that would be an improvement over just going via the Home screen though.
So in short: more integration of Apps into the OS: yes, more context aware integration of Apps with each other: yes, adding loads of shortcuts: no
StevieBallz said:
I believe you're making it more complicated than it needs to be and a lot of what you are talking about is already there. I don't need an explicit link to go from Calendar to people. If I open an appointment and swipe to attendants I can tap on any of them to be taken to their contacts page inside the people Hub (as it should be).
It's a good idea to have those kinds of shortcuts around that are contextually aware but adding a load of Buttons to jump somewhere else is mainly getting the UI cluttered or getting confusing/annoying.
Some of those connections you mention are already there - e.g. Store in Music/Videos.
What actually would be a nice idea is to allow productivity Apps to tie into the Office Hub similarily to how it works with imaging Apps in the Pictures Hub.
Some of the other stuff you mention is also there. Cloud Storage applications can integrate themselves into the system for automated Uploads similarily to SkyDrive but currently limited to Pictures so it can definitely be improved upon.
TellMe is also extensible to allow Apps to tie into it and use voice command functionality. Audible would be one App that takes advantage of this. It doesn't really make sense for all Apps though. E.g. a picture taking App will require the ViewFinder etc. so it would not benefit that much from Voice Control (and it is quite a hazzle to implement this - especially if the App is getting localized in several languages).
As for search - if there would be something like a search charm on Windows 8 it should tie into the Bing App which already has a permanent shortcut in the search button.
I guess your idea would be to allow people to jump easily from Hub to Hub without going to the Homescreen. Having Links for this in every other Hub just isn't the way to go there. A possibility would be to add all the Hubs at the bottom of the Task Switcher Screen. So you would long press on the back button and would get the Thumbnails of running Apps and at the bottom the icons for People, Calendar, Messaging, Pictures, Music/Video and Office. I'm not sure if that would be an improvement over just going via the Home screen though.
So in short: more integration of Apps into the OS: yes, more context aware integration of Apps with each other: yes, adding loads of shortcuts: no
Click to expand...
Click to collapse
Stevie, I like much of your suggestions. The goal here isn't to clutter the OS - if it were up to me I would use the contextual menus and a few other existing options in the OS to facilitate moving from Hub to Hub instead of adding extra buttons.
Based on how the OS is, there may not be a need to have list of all the hubs at the bottom. The goal is to jump from certain Hubs to each other based on "common user tasks that would involve multiple Hubs or steps that can be reduced". Now if you want to do things the current way, fine. More I think some would welcome more intuition.
I was just trying to describe a smoother way to leverage the existing strengths of the OS and to see where MSFT could make the quickest improvements. No question, the OS is smooth but if they build out these extensions, you can have an improved user experience. My apologies if my explanation was convoluted.
Sent from my Galaxy Nexus using xda premium
Should MSFT eventually push an all Hub version of WP8?
Sent from my Galaxy Nexus using xda premium
What do you mean by "All Hub"? The Hubs are a thematic grouping but I guess we will always have certain use cases that don't exactlly lend themselves to being integrated into one of those Hubs so putting everything into the Hubs probably isn't the best idea. Giving developers the integration points to integrate their data into the Hubs if it is suitable should be the priority.
I agree. Apps are mostly isolated programs running on their own. If apps could talk to each other more easily we can have more interesting behaviors and abilities that no other mobile os has. For quality control, just give the user a on off switch for each app just like the background task.

Categories

Resources