AlarmClock app API ?

by GilBF » Sat, 05 Sep 2009 06:15:42 GMT


Sponsored Links
 is there a way i can add,delete,edit an alarm clock app record ?

just like we can add contacts to the Google Phone contacts table ?

appreciate any help you can provide.

GilBF

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. ViewFlippers in a ListView

Hi,
I would like to use a ViewFlipper for each of my rows in a ListView.
The purpose is to animated the row when the row is selected. I have
managed to do this with but ...
When scrolling or moving quickly with the pad in the list, the rows
seems to blink... like if they were redrawed. This happens only if
startFlipping is called.
Thanks for helping me to understand what's behind startFlipping.

Here is some code :
getListView().setOnItemSelectedListener(new OnItemSelectedListener(){
            private ViewFlipper previous; // the last row where we
started an animation
            public void onItemSelected(AdapterView av, View v, int
position, long id){
                final ViewFlipper vs = (ViewFlipper)
(v.findViewById(R.id.text_switcher));
                if(!vs.isFlipping()){
                    // called twice so we avoid second call
                    vs.setInAnimation(inAnimation);
                    vs.setOutAnimation(outAnimation);
                    // stop animation on previous row
                    if(previous != null && previous.isFlipping()){
                        Log.v(TAG, "stop " +previous.toString());
                        previous.stopFlipping();
                        if(previous.getDisplayedChild() != 0 ){
                            previous.showNext();
                        }
                    }
                    previous = vs;
                    previous.startFlipping();
                }
            }
            public void onNothingSelected(AdapterView parent){}
        });

and a piece of xml :
<ViewFlipper android:id="@+id/text_switcher"
                          android:layout_width="fill_parent"
                  android:layout_height="wrap_content">

                             <TextView android:id="@+id/text1"
                                 android:textSize="18px"
                                 android:layout_width="fill_parent"
                                 android:layout_height="wrap_content"/>

                         <TextView android:id="@+id/text2"
                         android:textSize="18px"
                         android:layout_width="fill_parent"
                         android:layout_height="wrap_content"
                         android:textStyle="italic"/>

                         </ViewFlipper>
--~--~---------~--~----~------------~-------~--~----~

2. Android unit testing

Hi all,

I'm interested in the current solutions for Android to address the
following requirements:
- Unit testing for building blocks (activities, content providers,
services...)
- Integration of unit tests into the project build (maybe through dx --
junit if it works...)
- Integration tests

I only took a look at android-positron. It doesn't integrate with
Eclipse ADT plugin, so unit tests can not be started from Eclipse. I
managed to run one simple test (both as java application and using /
system/bin/am ) but it looks that the only way to verify the test
results is by taking a look at the logcat file. Am I missing something
here?
Does anyone know a good practice for testing Android's building
blocks?

Looking forward to the answers from test-driven development
supporters.

Thanks,
V.

--~--~---------~--~----~------------~-------~--~----~

3. Its a Zoooooommmm MDK (ZoomMDK)

4. Run two android instances on the same host and comunicate betwen them using socket

5. Looking for a fast UI platform for embedded linux

6. thunderbird client issues

7. OSCAR/XMPP/IRC chat client