Re: [android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread Anil Philip
Alright, I created an ubuntu partition, installed git, repo, eclipse,
downloaded the eclair branch of android and built it.
Created a Java project using 'existing src' with the android root directory.
Was wondering how I should run/step through the Desk Clock application.
Since there is no ADT plugin, If I Run as Java Application it simply
brings up a list of internal and library modules like Svc, Command shell...
Should I run the emulator in the debugger and then click on the alarm clock
app? (Debugging the emulator with Eclipse
http://source.android.com/source/using-eclipse.html)


On Mon, Dec 27, 2010 at 5:40 AM, Bob Kerns r...@acm.org wrote:

 Indeed. This is called eating your own dogfood, and it's a highly
 valuable part of creating a high-quality product.

 If there's ANY reason this would inconvenience the developers, than
 that's a red flag that there's something that needs to be addressed --
 whether it's the build/release system or inadequacies in the API, or
 things which aren't public which should be public (perhaps after some
 improvements are made and stability achieved).

 I'd strongly recommend a goal that anything and everything that
 possibly could be, be buildable with the SDK using public APIs and
 tools. Even the privileged stuff (which might fail at runtime with a
 security exception if not signed with the proper key for the platform
 -- but should still be buildable separately if the appropriate key is
 available).

 I suspect this would even end up making life easier for the developers
 of those apps.

 On Dec 26, 10:08 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
  I completely realize that it's possible to do well with the SDK, but I
  still believe that the top layer apps should be built with the SDK if
  possible.
 
  Does the calculator compile with the SDK?
 
  On Dec 27, 11:39 am, Robert rcope...@gmail.com wrote:
 
 
 
 
 
 
 
   Check out Alarm Clock Xtreme  by Irene Duke.
 http://alarmclockxtreme.blogspot.com/
   It is possible to do and do well with the SDK.
 
   On Dec 26, 7:32 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
 
I do understand where you are coming from, though.  It would be ideal
that top-layer apps, especially simple ones like an alarm clock,
should be buildable with the public SDK.  After all, how can you
create a like replacement if you don't have access to the same APIs?
 
On Dec 27, 5:26 am, longingtoadopt.com anil.r...@gmail.com
 wrote:
 
 Would prefer not to have to - since I am on Windows
 
 On Sunday, December 26, 2010 1:02:55 AM UTC-6, Zsolt Vasvari wrote:
 
  Correct, you cannot compile these modules with the SDK alone.
  You
  need to download the platform source and compile those.  I don't
 know
  the details.- Hide quoted text -
 
 - Show quoted text -- Hide quoted text -
 
   - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
thanks,
Anil Philip
Please let us know if you know anyone with an unwanted pregnancy, willing to
place for adoption. http://longingtoadopt.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread longingtoadopt.com
Alright, I created an ubuntu partition, installed git, repo, eclipse, 
downloaded the eclair branch of android and built it.
Created a Java project using 'existing src' with the android root directory.
Was wondering how I should run/step through the Desk Clock application.
Since there is no ADT plugin, If I Run as Java Application it simply 
brings up a list of internal and library modules like Svc, Command shell...
Should I run the emulator in the debugger and then click on the alarm clock 
app? (Debugging the emulator with Eclipse 
http://source.android.com/source/using-eclipse.html)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread Dianne Hackborn
On Mon, Dec 27, 2010 at 3:40 AM, Bob Kerns r...@acm.org wrote:

 Indeed. This is called eating your own dogfood, and it's a highly
 valuable part of creating a high-quality product.


Crappy Android has been improving over the last year as work has been done
to update the various apps to use various final SDK APIs that weren't
available when they were first written.

This is often a fair amount of work, and means desired features or bug fixes
can't be done, so sometimes it is slow going.

If it is something you feel strongly about, many app developers would
probably be happy to review contributions.

Btw you can determine if an app is building against the public SDK by
looking for LOCAL_SDK_VERSION in its Android.mk.  A quick scan of
Gingerbread shows that these app build against the public SDK:

Calculator, Camera, DeskClock, Gallery3D, Mms, Music, Protips,
QuickSearchBox, Tag, and LatinIME.

For the original poster -- DeskClock is the new AlarmClock.  The AlarmClock
code has not been used since at least 2.2.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread Dianne Hackborn
On Fri, Dec 31, 2010 at 12:14 PM, Dianne Hackborn hack...@android.comwrote:

 Calculator, Camera, DeskClock, Gallery3D, Mms, Music, Protips,
 QuickSearchBox, Tag, and LatinIME.


(And it looks like Email may be joining this illustrious list for
Honeycomb.)

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-31 Thread Bob Kerns
Excellent! There's no question it's hard work, and there's no doubt it
does compete with this or that feature.

But I'm confident it will pay off in quality -- and quality, in the
end, saves you time.

On Dec 31, 12:16 pm, Dianne Hackborn hack...@android.com wrote:
 On Fri, Dec 31, 2010 at 12:14 PM, Dianne Hackborn hack...@android.comwrote:

  Calculator, Camera, DeskClock, Gallery3D, Mms, Music, Protips,
  QuickSearchBox, Tag, and LatinIME.

 (And it looks like Email may be joining this illustrious list for
 Honeycomb.)

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-27 Thread Bob Kerns
Indeed. This is called eating your own dogfood, and it's a highly
valuable part of creating a high-quality product.

If there's ANY reason this would inconvenience the developers, than
that's a red flag that there's something that needs to be addressed --
whether it's the build/release system or inadequacies in the API, or
things which aren't public which should be public (perhaps after some
improvements are made and stability achieved).

I'd strongly recommend a goal that anything and everything that
possibly could be, be buildable with the SDK using public APIs and
tools. Even the privileged stuff (which might fail at runtime with a
security exception if not signed with the proper key for the platform
-- but should still be buildable separately if the appropriate key is
available).

I suspect this would even end up making life easier for the developers
of those apps.

On Dec 26, 10:08 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
 I completely realize that it's possible to do well with the SDK, but I
 still believe that the top layer apps should be built with the SDK if
 possible.

 Does the calculator compile with the SDK?

 On Dec 27, 11:39 am, Robert rcope...@gmail.com wrote:







  Check out Alarm Clock Xtreme  by Irene Duke.  
  http://alarmclockxtreme.blogspot.com/
  It is possible to do and do well with the SDK.

  On Dec 26, 7:32 pm, Zsolt Vasvari zvasv...@gmail.com wrote:

   I do understand where you are coming from, though.  It would be ideal
   that top-layer apps, especially simple ones like an alarm clock,
   should be buildable with the public SDK.  After all, how can you
   create a like replacement if you don't have access to the same APIs?

   On Dec 27, 5:26 am, longingtoadopt.com anil.r...@gmail.com wrote:

Would prefer not to have to - since I am on Windows

On Sunday, December 26, 2010 1:02:55 AM UTC-6, Zsolt Vasvari wrote:

 Correct, you cannot compile these modules with the SDK alone.  You
 need to download the platform source and compile those.  I don't know
 the details.- Hide quoted text -

- Show quoted text -- Hide quoted text -

  - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-26 Thread longingtoadopt.com
Would prefer not to have to - since I am on Windows

On Sunday, December 26, 2010 1:02:55 AM UTC-6, Zsolt Vasvari wrote:

 Correct, you cannot compile these modules with the SDK alone.  You 
 need to download the platform source and compile those.  I don't know 
 the details. 




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-26 Thread Mark Murphy
On Sun, Dec 26, 2010 at 4:26 PM, longingtoadopt.com anil.r...@gmail.com wrote:
 Would prefer not to have to - since I am on Windows

Pick an application to study and run that builds with the Android
SDK, then. Most, if not all, applications that are part of the Android
firmware must be built as part of the firmware.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-26 Thread Zsolt Vasvari
I do understand where you are coming from, though.  It would be ideal
that top-layer apps, especially simple ones like an alarm clock,
should be buildable with the public SDK.  After all, how can you
create a like replacement if you don't have access to the same APIs?

On Dec 27, 5:26 am, longingtoadopt.com anil.r...@gmail.com wrote:
 Would prefer not to have to - since I am on Windows



 On Sunday, December 26, 2010 1:02:55 AM UTC-6, Zsolt Vasvari wrote:

  Correct, you cannot compile these modules with the SDK alone.  You
  need to download the platform source and compile those.  I don't know
  the details.- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-26 Thread Robert
Check out Alarm Clock Xtreme  by Irene Duke.   
http://alarmclockxtreme.blogspot.com/
It is possible to do and do well with the SDK.

On Dec 26, 7:32 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
 I do understand where you are coming from, though.  It would be ideal
 that top-layer apps, especially simple ones like an alarm clock,
 should be buildable with the public SDK.  After all, how can you
 create a like replacement if you don't have access to the same APIs?

 On Dec 27, 5:26 am, longingtoadopt.com anil.r...@gmail.com wrote:







  Would prefer not to have to - since I am on Windows

  On Sunday, December 26, 2010 1:02:55 AM UTC-6, Zsolt Vasvari wrote:

   Correct, you cannot compile these modules with the SDK alone.  You
   need to download the platform source and compile those.  I don't know
   the details.- Hide quoted text -

  - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-26 Thread Zsolt Vasvari
I completely realize that it's possible to do well with the SDK, but I
still believe that the top layer apps should be built with the SDK if
possible.

Does the calculator compile with the SDK?


On Dec 27, 11:39 am, Robert rcope...@gmail.com wrote:
 Check out Alarm Clock Xtreme  by Irene Duke.  
 http://alarmclockxtreme.blogspot.com/
 It is possible to do and do well with the SDK.

 On Dec 26, 7:32 pm, Zsolt Vasvari zvasv...@gmail.com wrote:



  I do understand where you are coming from, though.  It would be ideal
  that top-layer apps, especially simple ones like an alarm clock,
  should be buildable with the public SDK.  After all, how can you
  create a like replacement if you don't have access to the same APIs?

  On Dec 27, 5:26 am, longingtoadopt.com anil.r...@gmail.com wrote:

   Would prefer not to have to - since I am on Windows

   On Sunday, December 26, 2010 1:02:55 AM UTC-6, Zsolt Vasvari wrote:

Correct, you cannot compile these modules with the SDK alone.  You
need to download the platform source and compile those.  I don't know
the details.- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

2010-12-25 Thread Zsolt Vasvari
Correct, you cannot compile these modules with the SDK alone.  You
need to download the platform source and compile those.  I don't know
the details.

On Dec 26, 11:35 am, longingtoadopt.com anil.r...@gmail.com wrote:
 I want to study and run through the Desk Alarm Clock in order to understand
 it. I cloned the branch for eclair ver 2.1.
 However, it does not compile:

 Description    Resource    Path    Location    Type
 ACTION_ALARM_CHANGED cannot be resolved or is not a field    Alarms.java    
 /DeskClock/src/com/android/deskclock    line 464    Java Problem
 com.android.internal.R cannot be resolved to a variable    
 AlarmKlaxon.java    /DeskClock/src/com/android/deskclock    line 207    Java
 Problem
 com.android.internal.R cannot be resolved to a variable    DeskClock.java    
 /DeskClock/src/com/android/deskclock    line 574    Java Problem
 com.android.internal.R cannot be resolved to a variable    SetAlarm.java    
 /DeskClock/src/com/android/deskclock    line 115    Java Problem
 The constructor Vibrator() is not visible    AlarmKlaxon.java    
 /DeskClock/src/com/android/deskclock    line 89    Java Problem

 How do I get past these errors?
 Any help appreciated.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en