[Q] Guide on how to use libraries - IDEs, Libraries, & Programming Tools

Hello Friends,
I have just been introduced to android libraries and have checked out a lot of them. But I have no idea how to use them in my android app.
So can someone post a guide on how to Search, Download, and integrate them in our android project. As I have searched on internet and got to know that we have to put the jar in lib folder, and use the particular classes, but can someone guide how to do the same and how to use them in out layout to give cool effects to our app.
Thanks

In the layout you need to put the full name of the class (including the package):
Code:
<com.example.test.MyButton
... />
You have already answered the question how to integrate them.
For search this is the best starting point: http://forum.xda-developers.com/showthread.php?t=2226547
Second is Google.

Related

question about xml editor, and porting?

I use a translator when writing this post.
I have a question about the XML editor of an android. I wanted to see what they consist of files in the system, android, but still found nothing that could be at work. It is possible to porting applications HTC hero from running on the Samsung Galaxy?

[Q] Modifying AOSP Calendar issue

Hi, so I'm a student learning Android app development and trying to modify the AOSP calendar to fit my needs so I downloaded the source code from git and made a project with 2.2 FroYo as the basis through Eclipse with ADT and all but I ran into a problem. So I run into:
android.provider.Calendar cannot be resolved into a variable
I did some research and found that the SDK apparently does not have the calendar code nor the database which is why I am running into these issues. So I learned from here jimblackler[dot]net/blog/?p=151 all that. He does have a solution except I have no idea what he is saying. He posted a bunch of code but I have no idea where that code is supposed to go in and I dont understand what he is trying to do with "content://calendar/calendars"
So I just decided to ignore the errors and obviously I couldn't compile it through eclipse so I made an unsigned apk and tried to install it unto the Emulator via ADB but as an unsigned apk it would not let me install it I tried to sign it by going through google's developer site but I am at lost again. I'm a noob to these things unfortunately..
I was wondering if anybody could help me out and point me in a good direction, I would be eternally grateful. Thanks.
P.S. Sorry if I was being vague about the google's developer site and source code site but as a newbie I can't post links properly
P.P.S. Sorry for double posting already on the app forum but after posting I thought this was the more proper forum to ask the question.

[Q] Modifying ROM .zip's

So I've found myself re-installing the Syndicate ROM several times in the last few days. Been fooling with things a lot, getting edumacated. My question is, I would like to include the Syndicate theme add-on (with battery %) in the ROM to begin with. In other words, I don't want to have to flash the stock Syndicate ROM, and then have to flash the theme separately.
I unzipped both the stock ROM and the theme and it seems to me all I would have to do for this to work is just write over the applicable stock ROM files with the ones from the add-on theme, re-zip the files, put on SD card, etc.
Would this work?
Also, if I wanted to remove say the ES File Explorer from the stock ROM and maybe replace the YouTube app with 1.6.19 and then re-zip, etc. Would that work as well?
this is reposted from jairomeo in nexus forums but this helped get me started:
[THEME] The Ultimate Android Themeing Guide - Updated 4/26
Since we know information for creating themes is spread out all over the place and sometimes hard to follow and understand, I have started compiling a guide using the information spread throughout XDA and other forums. Hopefully this can become a Sticky
I've sent this out to a few new themers and such and they have found the parts that are complete very helpful.
Initially I wanted to wait until it was complete before posting it anywhere, but I've hit a wall on being able to put my thoughts together. I am kind of busy and stressed out with work, therefore I am putting up this way users can review and other themers and maybe start compiling some of the missing information. I also hope for non themers to give feedback or post questions and ideas can be added and maybe get my creative juices flowing again.
The guide is a collaboration of information from many themers/users. I am making sure to provide credit for all individuals writings. I am writing it in word, but posted it in Google Docs to all can view.
If you are going to link to this, please link back to this thread and not the document, this way we can keep the conversation in one spot and work together as a community, to have a document that isn't tool and utility based, but one that teaches people how to edit themselves, and teach with potential of finding more things we can control.
I will update the copy on Google Docs until it's completion.
Link to the guide:
The Ultimate Themeing Guide
Soon additions (red have been added):
Add smail edit for Gmail LED by brtioso http://forum.xda-developers.com/show...00#post6165700
Add a section on signing update.zip files
Suggestion from Stericson, include the write up explaining the detail of the xml's and what 0800001C means.
Add link for AXMLPrinter GUI http://android.modaco.com/content/t-.../#entry1217176 as recommended by deanesn
Add information from MontAlbert on un'odexing,
Add information to be able to theme market apps from http://forum.xda-developers.com/showthread.php?t=503007
Add zipalign information
Add 08 00 00 1D code and xml from amac25, time to start researching where else this is and what it does
Create a reference table listing the stock apps, and the xml's known to edit inside
Look at http://spreadsheets.google.com/pub?k...3ci5_oxwQ4mGrg and see what needs to be modified/added and add to the document
Add Ted417's tip on editing indexed images, would have helped me if he told me this a long time ago, stingy bastard
Possibly add Ted's signing tool http://alldroid.org/threads/16103-Se...ghlight=Ted417
Add in some of the information from http://forum.xda-developers.com/show...04#post3385304
Add Beyond Compare as a software tool to get started with (recommended by bgill)
Add http://markcarson.com/markcarson/ColorCalc.html or another site that does color conversion codes
I'll add to the to do as things come in. If you want to ask questions or faster feedback, follow me on Twitter.
Since Google Docs screwed up some formatting, I am also putting the current copy in PDF on my site
The document in not complete so PLEASE don't distribute yet or put in other places. Wait until it's finished. I don't want copies floating around everywhere, if I see that, I will pull the PDF
http://www.jbthemes.com/AndroidTheme...ng Guide.pdf
Click to expand...
Click to collapse

[Q] 1.5 / 2.2 QVGA Issues

I was developing with Android 1.5 api and I published an app to the market.
However , one of my friends told me that he can't find my app on the market.
His phone is running Android 2.2 and having a QVGA Screen.
I tried with an emulator running Android 1.6 QVGA and the same problem was noticed.
I tried to google for the solution and it seems that I don't have correct keywords to specify the problem.
I know I can use supports-screens android:smallScreens="true" , but not for 1.5
Do I need to develop with 1.6 api to support all kind of screens? Or do I just need to include some more at the manifest?
Sorry for my poor English.
I can see no one answered my question, is it because I am reading with a QVGA screen?(Joking)
Please Help.
You need to build the project against the 1.6 API (you can do it in a way that is compatible with 1.5) to support various screen sizes with supports-screen.
The whole process consists of right clicking your project in eclipse, changing the API to build against, adding proper values to the manifest and exporting the app.
It's pretty well explained on the android developers page, but if you can't get it working, I'll post a step by step guide once I get to my laptop (later this day).
Number22 said:
You need to build the project against the 1.6 API (you can do it in a way that is compatible with 1.5) to support various screen sizes with supports-screen.
The whole process consists of right clicking your project in eclipse, changing the API to build against, adding proper values to the manifest and exporting the app.
It's pretty well explained on the android developers page, but if you can't get it working, I'll post a step by step guide once I get to my laptop (later this day).
Click to expand...
Click to collapse
I just found out that I can use 1.6API and support 1.5 after reading your reply.
Thank you , you helped alot!

Android programmer newbie needs to know basics

Hi, so tomorrow is Sunday and I am in the mood to write some cool programs for android devices. Please tell me all the tools I require and some reverse engineering ones too for copy pasting some cool things thx.
Here's a google doc a user called autom8r from reddit posted.
It's pretty useful and he goes through why he used everything. Credits to him not me.
URL
EDIT: Well seen as I have less than 10 posts I can't post the link...
EDIT: Here's the link all truncated: ht[REMOVETHIS]tps://[REMOVETHIS]docs.google.co[ANDALSOREMOVETHIS]m/spreadsheet/pub?key=0Aiakq5EFgZZTdGlmblFNMFZLN3huRnNUNzdkWDRoekE&output=html
Too many things to download ><" jdk eclipse adt blah blah no longer interested in android development
You just need Eclipse for JAVA developers, and Android SDK with ADT plugin. And if it you first application you must read the book like "Android development for 24 hours".
Can u please provide direct download links to those files. This eclipse has like 2820207328282626 versions and I get confused
On Android Developers there is a bundle package which contain sdk/eclipse/adt.
http://developer.android.com/sdk/index.html
I Would not recommend you copying and pasting parts of other people's software. You will learn much more if you try to write it yourself.
For a lot of Android features there are open source libraries. Try them out, they may help you developing your app.
http://www.theultimateandroidlibrary.com/
http://www.androidviews.net/
Hey thanks that was exactly what I needed to start. I love you :*
8)

Categories

Resources