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 7893139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:03:08+00:00 2026-06-03T07:03:08+00:00

Hi All i am working an callforwarding app. so here my requirement is that

  • 0

Hi All i am working an callforwarding app.

so here my requirement is that i will give the user to set one number to callforwarding at particular time with 10 minutes intervals . After set number he will close his APP. But after 10 minutes call should forward to particular number.

So for that purpose i use background service.

My code is for forwarding is

private synchronized void callFunction(String phonenumber)
    {

        Intent intentCallForward = new Intent(Intent.ACTION_CALL); // ACTION_CALL
        intentCallForward.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        Uri uri2=null;
        try{
            uri2 = Uri.fromParts("tel", phonenumber, "#");
            intentCallForward.setData(uri2);
            startActivityForResult(intentCallForward, 6666);
            //startActivity(intentCallForward);
        }catch (Exception e) {
            // TODO: handle exception
        }finally
        {
            if(uri2!=null)
            {
                uri2=null;
            }
            intentCallForward=null;
        }
    }

Tthis code is working fine when time reach it automatically set forwarding

My problem is that after i request forwarding, network provider will give me reply with meaning full message Alert Dialog like following image

But my service is calling in 1 hour 12 times. and i got 12 Alerts. That alerts block user home screen after click OK then only it will open home screen

If one message ok but if make a call 50 times i got 50 messages. It is hard to click on OK button in 50 times.

So is it posible to close that Network replay alert Dialog Pragmatically from Background service?

Thank in advance

enter image description here

  • 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-03T07:03:10+00:00Added an answer on June 3, 2026 at 7:03 am

    You can not close that popup programatically, because it is comming from the network and it should prompt to user: your request is success or not?. So it is required to be done on the phone side.

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

Sidebar

Related Questions

I'm uploading a file, all working fine, but I want to set a time
I've set up phpUnderControl and it's all working very well, except that for a
We have three developers and one tester all working against the same database. We
I made my NServiceBus solution and it was all working. I then moved one
My OOB app was working fine. I stupidly renamed all my namespaces and my
I have a schedule task that is making a webrequest. This was all working
I'm integrating a reCAPTCHA into my Cappuccino app and I have it all working
I have followed the Railcast #270 has_secure_password tutorial and have that all working. For
I have a site complete with CMS etc all working under one domain name.
I have the BlackBerry 7.0 SDK installed with Eclipse and that's all working. However,

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.