App on the phone and return to App
I am building an application (UiApplication) that present the options in some screens to dial a number. I invoke the 'Phone' application to call. Before entering the screen where calls may be able to start, a lot more screen are pushed in the UiApplication stack. All the work of fin. Once the call is finished, I want to make my application in the foreground. Can I record a PhoneListener and do the following in the callDisconnected method:
public void callDisconnected(int id) { System.out.println("Call disconnected"+id); //UiApplication.getUiApplication().popScreen(); UiApplication.getUiApplication().invokeAndWait(new Runnable() { public void run() { UiApplication.getUiApplication().requestForeground(); UiApplication.getUiApplication.pushScreen(SomeScreen.getInstance()); } }); }
The "SomeScreen" appears as quickly, but when I close the screen (DEFAULT_CLOSE), the phone call screen. I need to close these screens (call screen and call log screen) to return to the original screen battery UIApplication.
My requirement is, I should be able to make a kind of 'Swtich Application' of the function programmatically such as the associated phone screens do not reappear once my application comes to the foreground.
Did I miss something forward?
code in the earpiece of the phone is executed in the context of the phone application.
Basically, you ask the first plan for the application of the phone, not your own.
put a reference to your application in the listener, and call the method on it.
Tags: BlackBerry Developers
Similar Questions
-
How can I get the phone and messages apps in my dock? And for some reason, I discover now all my app pages from the middle of my phone and not at the top?
Try
Settings > general > reset > reset home screen presentation.
Note: All other applications will be organised by alphabetical order.
-
application on the phone and Tablet
I have an application with a version for phones. Now I intend to create the application for the Playbook by using the native SDK. I got a new set of key signature for the NDK. So, if the user buy the app for the Playbook or their phone, can they can get for free for the other device? Is buying related to the same app World and do not want to touch the phone and tablet version is signed with?
Thank you
NICBasically, you have two options:
(1) to submit the PlayBook version as a new application
(2) to present the PlayBook version as a new version of your application for phone
If you choose option 1) users who have purchased the phone app should buy the app PlayBook too if they want to use it
If you choose option 2) users who have bought the phone app will be able to download free version of the PlayBook. The reverse is also true - if a user has purchased the PlayBook version, he or she will be able to download free version of phone. It is because the purchases are linked to the BlackBerry ID and most users will use the same ID on PlayBook and phone.
Option 2) has additional options - all the notes and comments will go to one and the same product. In addition, you will need to adjust the app description if the functionality of these two version is different.
Signature keys have nothing to do with the Tablet and phone versions, they are pure development.
-
Recently introduced an iPhone out of someone and the access code is still and I do not know Apple ID them and I can not get on the phone and do not have access to a computer so what do I do?
You must contact the seller and ask him to remove this iPhone in the devices list. Otherwise, your iPhone will be a useless brick.
Find my iPhone Activation Lock: a mechanism of extraction of the previous owner - Apple Support
-
I bought the new iphone 6 s more and I have not configured, I just opened the phone and charged, but after some time it stop by itself, is this normal or I have a problem with my phone?
You need to activate the phone. There is nothing that the phone can not be activated.
-
Old ID is constantly on the phone and I can't change it: try to upgrade of storage, but the old ID happens and I can't change it. In settings/applications & iTunes the correct ID is set but not in the settings/iCloud
Is this a separate id, or you have successfully updated the primary e-mail address on the account? You can disconnect an account iCloud through settings > iCloud > Sign Out, and then log back from the other/updated id to update
If you have updated the main email address: what to do when you have changed your Apple ID email address or password - Apple support
-
My sim card has slipped the tray and into the phone and is locked how to remove
Grandson bought a new iPhone and thought that he had to change sim cards. He removed the sim card and tried to reinsert everything by putting the tray with the card in the phone, SIM slipped off the set and became stuck in the phone. Any ideas how to remove?
Take a pair of tweezers and VERY carefully and gently grasp the card and remove it. No doubt, try to avoid the contact pins that are inside the phone and touch the bottom of the SIM card when the card is inserted.
-
I bought my iPhone 5 s by T-Mobile and have 2 months left on the purchase. My phone no longer accepts a new presentation. Apple support ran a diagnostic and said it isn't the phone and that I should replace the cable. This was done and the problem remains. Everyone has to experience this problem? And, if so, what was the problem?
He likely is the phone, but you do Apple physically inspect it. Send it or take it to the Genius Bar. You can do one or the other of http://getsupport.apple.com.
-
My wife made me an iPhone 5, but it doesn't have a sim. How can I find out what IOS is on the phone and sellers it work on?
On the back it is marked A1429.
Other Sim cards by train until one works, you will need to go to an Apple Retail Store or contact Apple Support and make them check the lock for you state.
For the iOS version, he will find in the Middle-> General-> about-> Version once the iPhone is fully active.
-
I have a second hand iPhone and cannot configure as the person he was find my iPhone on the phone and wont let me sign in with my Apple or the password and IE to communicate with the person he was and connect you with there Apple ID and then cut to find my iphone. Unfortunately o cannot get in contact with that I had to and now can't activate my phone can anyone help? Is there another way I can get into my new phone
There is no possible way to turn it off without having to contact the original owner. Nothing whatsoever.
This is why you should always check if find my iPhone is not activated on a used phone.
-
My camera so far not this problem and all of a sudden I saw this error in various parts of the phone and you ask to consider this issue
Apple ID: * *.com
What is the error?
-
My camera so far not this problem and all of a sudden I saw this error in various parts of the phone and ask you to consider the problem of error code 1009
Apple ID: *.
Did you check out this article? Seems to be linked to the AppStore and the country where you're:
-
When I put the time, she can use the internet, she changes the time on the computer and returns on the internet. What can I do?
Not enough information. You have provided no context. You don't say what version of Windows you are using and you don't really describe the situation in many details. Reading between the lines, it looks like you have a child who has time on the Internet you want to limit. You do not tell us what tools you use to control this limit online, so it is difficult to recommend the right forum for your post. Please update your message with a more detailed description of what is happening and what you want to do.
One thing that comes to mind is using Live Parental control with a Netgear router. See http://www.netgear.com/lpc. LPC uses the service OpenDNS (http://www.opendns.com/)
-
Windows Mail will not delete e-mails unless I leave the foder and return
Windows Mail will not delete e-mails unless I leave the foder and return. never had this happen before. I have another email
accounts and they work fine.
Try to compact and repair the database.
-
How can I go back to the design of the phone and a Tablet?
Hi everyone, with this new version of Muse, I need to go back to the phone and tablet version, how do I do this? Thanks in advance.
Take a look in the menu 'Page '.
Maybe you are looking for
-
Installing WXP on Satellite A300D 11s
Hello, all. This question has already been asked not so long ago, but I would like to know more details. Do I need to use the Intel Matrix Storage HARD drive driver for installing WXP on Vista? Judging by the manufacturer of CPU - AMD - I have not. H
-
OfficeJet Pro L7780 can't scan to PDF
I have an OfficeJet Pro L7780 HP sent me after giving up on a 7310xi of fixation. I installed the software a message received a 'fatal error' on the error code 2203. He went ahead and installed OK - I thought. I even went to www.hp.com/support and se
-
When I put tell listener as objectchoicefieldlistener it works 5n... Lst FieldChangeListener = new FieldChangeListener() {}' Public Sub fieldChanged (field field, int context) {} try {} If {(field instanceof field) ObjectChoiceField tt =
-
Despite io abbia UN abbonamento CC e active PAGI, AE if not after, come to CC sul desktop riconoscesse not the abbonamento.Following the directions della sezione "aiuto" del sito he problem not so solved, anzi! ORA nella mia area private non vedo eve
-
How can I view on the opening screen on Adobe Acrobat (Windows) version 9, the bar of tasks that has 'File', 'Edit', etc. - He disappeared. Slobberdog