I need my J2ME app to run in the background and still allow the user to use his mobile without problem.The app still needs to process some events in the background.I would also like to allow the user to stop the app if he wants to. Like Music Player any one can help me regarding this issue.
i had Tried by calling Display.setCurrent(null); But it is not working in my Nokia Sdks.
There are no APIs offered for 3rd party application to be run in background on Nokia devices, by using the APIs provided for J2ME
Related
I am an WPF developer with little knowledge for the way "mobile" apps work but in general I believe that they work in some sort of sandbox way (meaning they should not be able to access each others process, info etc., I might be totally incorrect on this one). So I am wondering if such "limitations" are applied to the Universal Windows Platform (UWP) apps?
The reasoning for my question is that I would like to write and app that checks if another Universal App is in process and use some of its information. In WPF there are ways of doing just that but in UWP apps I am not sure if it is/should/will be possible.
Thanks.
There are a couple of solutions in Windows 10. Firstly, if you are building an enterprise app and can also side-load normal Desktop apps, you can use this technique to build your UI as a UWP but also be able to break out of the sandbox and do other things on the desktop.
Secondly, if the app you want to read from is cooperative (ie, is designed to provide information; you're not just grabbing it without permission) then you can use App to App services to send and receive information between two consenting applications.
Both links are to //build videos but you can download the slides too that should contain code samples.
I am trying to integrate PJSIP with Voip chatterbox sample app Windows Phone 8. I can make a call but i cannot hear receivers voice nor he can hear mine. I am still not able to figure out how to safely remove audio loopback from sample app. Before doing this I made a simple app with UI and WinRT and made call using pjsip, i was able to send and receive audio.
PS- I used my app to call and receiver used linphone windows phone app.
Can any one tell me how to remove loopback and send and receive audio?
PJSIP needs to add background support for WP8. It might be a little while before this is supported.
Try
PJSIP not running in Windows Phone 8 background process
Also see,
The PJSIP code will handle all of the actual SIP and RTP code for you. Like registering with your sip server, receiving and placing calls. Basically you want to remove the telnet interface and call methods directly off of PJSUA interface. You will want to extend the Globals.cpp class to add the methods you need to make phone calls.
The Chatterbox code is to add things like the incoming call screen and call state and awakening when the App is backgrounded.
You want to reference the Agents and Backend dlls. Also make sure to set up your capabilities and other settings the exact same way as the Chatterbox UI project, see WPAppManifest.xml. Lastly make sure you add the Contact Image and Ringtone files as content to your main project, or else the incoming call screen will not launch.
I'm using monotouch to develop an application and part of it requires me to be able to switch off the likes of the internet and texting. I've searched through the documents and can't seem to find how to do it without the user being asked (that part is important).
I can do it simply enough with Android, but not with iOS.
Is there a way?
No. Apple does not expose APIs to do this without prompting the user.
I have developed an iOS App which plays music from the users music library simultaneously with audio files which are included in the app. I have hired a developer to make several changes in the app, one of which enables the user to use their "Spotify" playlists instead of their "Music" playlists, if they have a spotify account. He tells me it is impossible for this functionality to work with the Spotify API.
Can someone please help me as I really need this functionality to work??
Thankyou.
This isn't possible with the Web API, however, take a look at CocoaLibSpotify which is a Mac and iOS library that allows you to access a user's Spotify playlists and play tracks.
I need some links to record both microphone and audio in all the applications. I'm developing a audio recorder feature for an application.
I tried intercepting some APIs like IDirectSound and Wave API but I'm missing something since some applications are recorder and some others aren't.
Can someone send me a clue around this?
Best Regards.
In my compary we've developed an Audio Recorder SDK because it's very difficult to make all the hooks you need to intercept all the applications. You should hook MCI Wave API calls, IDirectSound interface and the new IAudioClient interface, part of the Windows Vista / Windows 7 Core Audio engine.
Our SDK supports Skype 4.x and 5.x, G-Talk and Msn. We've tested with other applications and it's working but we don't support them.
Additionally, we bring some UI features such as handling button clicks and get windows text using the SDK.
I hope this information can help you.