Contact

December 29th, 2008 Leave a comment Go to comments

If you are looking for Android development and technology partners or if you have some random questions related to Android or other mobile development, our team will be pleased to help you out.

Feel free to drop us a line on info at androidcompetencycenter dot com.

  • Vijay

    Hi,
    I am creating an application in android. I have already done this application using J2ME.
    This application completely uses List Views for every screen.
    Basically i am parsing XML for every List View.
    But i do not know how to go from one screen to another when i click on different items on the List.

    Please advise. I am stuck for nearly a week now.

  • Zeeshan Khan

    @Vijay
    Hi Vijay,

    You have to use Intent and the function onListItemClick.
    Suppose you want to transfer the control to class SecondActivity from Class FirstActivity

    protected void onListItemClick(ListView l, View v, int position, long id) {
    super.onListItemClick(l, v, position, id);

    ….
    Intent i = new Intent(this,SecondActivity.class);
    //SecondActivity is the name of the next screen you want to //display upon the click on this list
    startActivity(i);
    ….

    }

    For more on intend see docs folder in Android sdk installation
    \docs
    OR
    http://code.google.com/android/documentation.html

    /docs/reference/android/content/Intent.html

    and also see this
    /docs/kb/commontasks.html#opennewscreen
    OR
    http://code.google.com/android/kb/commontasks.html#opennewscreen

    Regards,
    Zeeshan Khan

  • harpel

    Hi there,

    I’m happy to find your blog!! It must be helpful for me!
    I downloaded android source from “http://source.android.com/download/”.
    I found some tips in “http://blog.michael-forster.de/2008/12/view-android-source-code-in-eclipse.html” to finish it.
    So I can see android’s class files when I click on class name with CTRL key.

    Now I’d like to see the android native application source and debug them.
    I wonder if it’s possible with Eclipse on window OS..

    Thanks..!!

  • http://hypecity.com Lanre Ajakaiye

    I am interested in the complete list of what you can do on the Android platform. I.e.

    1) utilize location based gps

  • Sam

    Hi ive looked at your alarm manager tutorial , its very helpful but i want to know how you would set off an alarm for a certain time for example 10am on Tuesday , is there a way to enter the date and time?

  • Anu

    Hi all,

    I built the android source and sdk on ubuntu machine. Now when i launch the emulator i get emulator screen having mobile screen blank.

    when i try to run adb commands keeping emulator running i get “device offline” error. Can anyone please suggest me the solution?

    thanks in advance
    Anu

  • viraj

    i want to encrypt sms with android

  • messner

    How to intercept an SMS in terms of the SMS contents?
    1. The program is on top of SDK, no hacking!
    2. When an SMS is arriving at Android phone, the program should be able to erase the SMS in terms of the SMS contents;
    3. If an SMS is intercepted (erased), no database storage, no Inbox UI update
    4. Power cycle the Android phone, the SMS in-exists at all.

    Any API or design?

  • http://tinyurl.com/2cbyhdt android phone

    I found your blog on google and read a few of your other posts. I just added you to my Google News Reader. Keep up the good work Look forward to reading more from you in the future.

  • John Sasil

    Hi,

    I wanted to update native contacts,
    can someone help me out with an example

  • http://twitter.com/Geselthyn Jules

    Hi,

    I dont understand the AlarmManager Turtorial right, so can you please explain me, what i have to do step by step?

    Regards,
    Juli

  • Truelight2008

    Hi
    I am trying to write an MMS application to send an image programatically and without user interact (i.e. the application does everything by itself) but when i run my app it always let me choose between different services to send the image, like Gmail. This is my code; please please help. I have a very close deadline. thanks in advance.

    Uri uri = Uri.parse(“/MMs/res/drawable-hdpi/icon.png”);        Intent mmsIntent = new Intent(Intent.ACTION_SEND, uri);        mmsIntent.setClassName(getPackageName(), getLocalClassName());        mmsIntent.putExtra(Intent.EXTRA_STREAM, uri);        mmsIntent.putExtra(“mms_body”, “i am sending you this image”);        mmsIntent.putExtra(“address”, “phoneNumber”);               mmsIntent.putExtra(“com.android.contacts.ShowAll”, “phoneNumber”);                mmsIntent.setType(“icon/png”);
     

  • Siabanie

    Hi guys,
    Thanks for sharing your expertise on here – Really great tutorials! 

    I am new in Android app, I have been looking at the Basic of Android Location API tutorial on this link: http://www.androidcompetencycenter.com/2009/01/android-location-api/

    I went through them, run and test – But when the emulator came up and an error message pop up saying “The application Android Location API has stopped unexpectedly. Please try again. [Force close]“ 

    Can you please suggest or guide me through what I can do to fix them?
    Many thanks,
    theBorneo

  • Siabanie

    Just to add the error message I got from Logcat is:

    E/AndroidRuntime(423): at
    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)

    I hope you can assist me on this.
    Much appreciated.
    theBorneo

  • yesha

    I want to do an appication that preserve the value to the activity if we press an back button.so what to do….??????????
    An activity having only edittext,and if we press the back button activity preserve the edittext value….

  • Abinash Mohanty89

    I Want to know , how to set name & number of default contacts into my 
    application