[Q] Modifying AOSP Calendar issue - Android Software Development

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.

Related

Cross-compiling, what am i doing wrong

Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Richard_Xeli said:
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Click to expand...
Click to collapse
Hello,
i am having problems with the linker too! i am using the NDK (because it actually does C / C++ code) and the code compiles with very few warnings on some instructions but works well otherwise, it just WOULD NOT LINK the stuff together!! one interesting setting i noticed in some public makefiles for the NDK i noticed is that they actually set the linker to /system/bin/linker, which is obviously a file on the target device. but i don't know how it would access it? any ideas?
BTW: post your error(s) please
Try this
The system won't let me post a link (as a new user), however there is a really good tutorial on native android development and debugging using the AOSP build system. Search on Aton International Incorporated and click on blogs in the menubar. I am in no way associated with the company, just happy to finally be able to cross-compile, link and debug for android.
Maybe someone who has more posts could post a link here.
http://www.aton.com/android-native-development-using-the-android-open-source-project/

New to Android

Hello all I am currently in the process of learning the android os and am in need of a bit of help from you "Non-Android Noobs"
1.Would installation of the android sdk be the first step in my learning android process?
2.Installing Eclipse as per prerequisite in installing the Android sdk, so there are quite a few eclipse options to choose from. Which do I need?
Thx to all for any help.
EDIT: I actually just realised that I posted in the wrong place, mod pls move and sorry bout that
I use the 99m one,Eclipse IDE for Java Developers.
Maybe you need some books to find the detail.
I'm a beginner.

Android dependences

Hi all!
I have a (noob?) problem, I can't include all the dependences necessary to modify the android messaging application (Mms.apk).
I've installed Eclipse and all the "android stuff" (emulators and so on...) and cloned the mms source code from GIT but, when I import the existing project, I've an error with the "com.google.*" packages, eclipse doesn't find them!
I figure out that the only packages that are avaible with my SDK installation are the "com.android.*" ones...
There is something missing...
Can anyone help me?
Thank you in advance!
I have also the same problem in my android htc mobile also the file for playing are not supported for some format.
I don't really understand what you mean...
Come on!
I'm sure that someone can help me!

[Q] test roms on emulator

Hi,
I would like to test the roms I can find here, on an emulator.
for that, I will need something like the SDK for the Acer tablet A500.
(to build my AVD)
I can't find it. anyone have an idea where I can find it ?
thanks
Olivier
http://lmgtfy.com/?q=android+sdk
ah ah ah . so fun )
unfortunatly, it is not provided by google !
I know well the android SDK, I am talking about a small part which is sometime provided by constructor in order to help the developper to build application with android SDK.
for example, Sony provides the SDK part for some of its device. it has to be added to the android SDK.
I think it could comes from Acer, or developer who has it because they are working near or far from this (in the same way, the Leak comes from someone which is near from developer team)
I am still looking for that.
thanks
Olivier
Im totally confused as to what you are looking for.. If its reference sdk from acer . They have not provided this.. I think its something they provide to google then google adds it to the sdk. or acer will provide a repo to add to your sdk.
now here is what setup i have..
1 download the sdk tools from developer.android.com/sdk i think is the url (use search )
2. download eclipse (there is a link on the developer.android.com site)
3 download the correct FULL Java library abe sure to read the requirements on the version of eclipse you use for what jave version you need )
4 Read read READ .. Read the how to install sdk development environment in Eclipse for your EXACT OS . Pay close attention to every detail. like is is x86 x64 and so on.
5 Follow the instructions word for word on again the install and setup for android development platform for your OS Version.
This is what i use as well as CYGWIN (this is for advanced users) As well as there are other tools that make developing much easier. YES IM NEW TO all of this as well.But have learned alot over the last year.
The above only gets you ready. Once you get to this point . KEEP . WELL YOU KNOW THIS Part already KEEP READING.. in a few weeks you will on your way.
GOOD LUCK developer.android.com has everything your asking and beyond.
If any of the above is incorrect Blame it on developer.android.com or the mighty thor. god of the universe..

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