I am using S40 SDK to develop my application.My application requires to communicate with files stored on memory card.But I am helpless that how to put the files on memory card in SDK ?
I am using Eclipse IDE for developing application.
I believe <SDK installation directory>\bin\Storage\<instance identifier> is where the files are stored by the emulator.. Instance identifier is visible in the title area of the emulator application. It is a number that looks like a phone number.
You want to put files on the memory card within your application? You need to read about JSR75 FileConnection.
Check the following links to get more info:
FileConnection API
File Connection Using J2ME api JSR 75
Getting Started with the FileConnection APIs
One more info: Make sure your device supports the FileConnection API.
Related
I am developing on a UWP app which need to listen playback/audio state change. such as: can know when other app start/stop to play a audio.
On Windows, I see there is an API "Windows.Media.Audio.AudioStateMonitor", but it only listen sound level change of app's own audio play.
https://learn.microsoft.com/en-us/uwp/api/windows.media.audio.audiostatemonitor?view=winrt-22621
On Android, there is an API that fully meet my requirement. AudioManager#registerAudioPlaybackCallback()
I want to query, is there any API on Windows that can listen playback/audio state change of whole Windows system. Like Android's AudioManager#registerAudioPlaybackCallback()
UWP runs in a sandbox and has no permission to access other app. UWP does not have related API support for this.
It is possible to use the Windows Core Audio API
IAudioMeterInformation::GetPeakValue to query whether the sound is playing.
Since UWP cannot directly use Win32 API, you need to write a project that uses Win32 API first, then package this project with the UWP project and realize the communication between the two project.
You can use IAudioMeterInformation this code in WPF, then use Windows Application Packaging Project to package WPF and UWP project. You can refer to this blog: UWP with Desktop Extension.
I am attempting to get a Microsoft HD-3000 webcam working on Windows CE 4.2 and 6.0.
I have given up with 4.2, but 6.0 certainly looks possible with DirectDraw and the DDrawCameraTest.exe app that can be built from the CE 6 dev environment in VS2005.
I have used a codeplex usb webcam driver (https://cewebcam.codeplex.com/) which detects the camera fine (and I checked the entries are added to the registry), but from the debug info when I run the DDrawCameraTest.exe the process aborts at the following step:
hr = g_DShowCaptureGraph.RunGraph();
where hr is an instantiation of CCaptureFramework.
This obviously means I do not have the directdraw video capture component of CE installed on this particular image, but I do not have control of that.
Question - How can I either install directdraw video capture components to CE 6 on the device (CAB installer etc.) OR can I access a webcam without directdraw?
You may access the camera without DD by calling the driver's IOCTLs directly.
Drivers must support some specific IOCTLs to be able to be accessed from DD and those are documented on MSDN (I don't have a link at the moment and MSDN links change so fast that a google search looking for IOCTLs implemented by the webcam driver may be the best way to find the information you need :))
I was to develop a simple j2me application for microworks. The application is to send sms.
But I found that most of the mobile phone they carry are very simple and even some of them don't have Bluetooth, infrared, browser. How to make it work out?
We can assume configuration as nokia 2100, nokia 1616. How am I supposed to deploy my app on such handsets?
OTA is required to work on every MIDP mobile device, just navigate with the device browser to the jad URL and click it.
I have made a simple J2ME application using Location API to show maps on my application, when I run it on Nokia Mobile it is working fine but When I try to run it on Samsung mobile I got that error
Copyright not available
could anyone please help in that
I'm using the code in this tutorial
http://www.developer.nokia.com/Community/Wiki/How_to_calculate_and_show_a_route_with_Java_ME_Location_API
it is working fine in Nokia C2 but it is not working for any Samsung mobile and produce the previous error
The Nokia Maps API for Java has been designed to work on any Java ME device, without making it specific to Nokia phones. Given the wide range of Java ME phones out there it is likely you have come across some sort of unforseen compatibility issue. (Obviously the majority of testing has occurred on Nokia phones)
The "Copyright not available" message states in full that:
An error occurred while trying to download the copyrights.Please check
your internet settings.
The downloading of copyright information via http is the very first thing to be done when initialising a MapCanvas, since Nokia itself is obliged to display the copyrights on its maps where the map data has been bought in from third parties.
My guess is that either the Samsung device you are testing with is not correctly configured to connect to the Internet (maybe there is no SIM card?) or alternatively the Samsung firmware is misinterpreting the URL for downloading the copyrights as invalid.
The misinterpreted URL issue has also been observed using the Sun WTK, and the workaround (shown below) is to use the Map servers hosted in China for non-compliant SDKs as the URLs are formatted slightly differently and the devices are generally more forgiving.
// Due to an issue with the hostnames that are used it is not possible to use
// international maps at this stage on the WTK emulators. Most devices and the
// Nokia emulators do not suffer from this limitation.
if ("SunMicrosystems_wtk".equals(
System.getProperty("microedition.platform"))) {
ApplicationContext.getInstance().setChina(true);
}
Obviously you''l need to use the correct values for System.getProperty("microedition.platform") to get this to work.
I developed the game in j2me. I need emulator for screen 240x400 touch and 360x640 touch. Where should i get ?
Download any of the manufacturers custom SDKs (SonyEricsson, Nokia, LG, Motorola )and find a device with your resolution
PS: It may be difficult as many of them moved to Android or other technologies