Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8637021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:22:19+00:00 2026-06-12T10:22:19+00:00

I am working on the recentcall list of android device and i am getting

  • 0

I am working on the recentcall list of android device and i am getting one problem with the CallLog.Calls.CACHED_NAME

there can be two cases of recent call that number can be in contact list name or it can be unknown. so if name will be exist in the contact then it will be displayed in CallLog.Calls.CACHED_NAME but if it is unknown number then what value it will give?

because if i compare that if cached name is null then i am putting number as a name but in simulator it works fine but when i install it in samsung galaxy ACE DUOS, if recent calls have unknown number then it crashes.

For example,
Recent call is ABC : 888-888-8888, XYZ : 999-999-9999
then it will work fine.

But if it will be NO NAME : 444-444-4444
then it will crash.

Anyone can tell what can be the problem with this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T10:22:21+00:00Added an answer on June 12, 2026 at 10:22 am

    I had a same problem when I tried to get phone numbers from call log who had no name. The CallLog.Calls.CACHED_NAME didn’t return any value, even null.
    After a while I solved this problem by bilding this cursor:

    Cursor c1 = SetStatsView.this.managedQuery(CallLog.Calls.CONTENT_URI, 
                                               new String[]{CallLog.Calls.CACHED_NAME,  
                                               CallLog.Calls.NUMBER, CallLog.Calls.DATE}, 
                                        CallLog.Calls.CACHED_NAME+" is null", null, null);
    

    It return only the numbers without contact name.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working with an undisclosed API, I found a function that can set the number
Working with JSF 2.0 (and Primefaces), is there a way to fire an ActionListener
Whilst writing working my way through a list of scripts I need to write
I started working on same project recently and I have noticed some strange problem
For a small project I'm working on I need to cycle through a list.
Has anyone got jsonpickle working on the google app engine? My logs say there
Working on getting Celery setup (following the basic tutorial) with a mongodb broker as
I'm working my way through DiveIntoPython.com and I'm having trouble getting the import to
I am working on a RHEL system. I have two versions of Python installed
Celery was working fine, one day the command-line worker failed to start up with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.