Accessing Phone resources using J2me

Hi,
Please answer the following questions
1. Can I add data to the address book using J2me, using the standard Midp api or any of the extensions.
2. Can I access the phone number using the standard Midp api or any of the extensions.
3. Can I access the videos, ringtones etc that the user has stored
in his phone, using the standard Midp api or any of the extensions.
4. Are there any extensions to Midp to access these kinds of device specific features.
Regards,
Jaak

this should be possible with the JSR-75.
BUT, since this got final in June, the first implementations can be expected later this year or even in the next year.
hth
kay

Similar Messages

  • Access System Resources using Java Applet via Java Script

    Hello
    I can access my Applet public methods (and this methods access system resources) via Java Script if I do the following: System.setSecurityManager(null);However, I'm making this post because I don't like this solution.
    Supposedly, setting the SM to null is like making the Applet (which is signed and was accepted by the user via a prompt from the browser) behave like a normal Java program that has no restrictions. (http://java.sun.com/docs/books/tutorial/essential/environment/security.html, second paragraph)
    However, this feels like a workaround of something that is supposed to be there (the SM).
    Also, if I make the methods invocation from inside the applet (using swing buttons and textboxes for example) I can use the standard SM without no problems.
    From my readings, the problem regarding Java Script invocation, comes from the fact that the Java Script is not a secure (not signed) source (because you can invoke public methods the way you wish from it i guess) on the contrary to the applet methods invoked by the buttons.
    Possible solutions I found in the web range from using the public static Object doPrivileged(PrivilegedAction action) method or imaginative things like creating new threads on the public method that call the private methods that access the system resources (supposedly because the new thread runs under the safe environment of the applet)
    I almost got a glimpse of hope with this post http://forums.sun.com/thread.jspa?threadID=5325271&tstart=0
    However, none of these solutions worked, the only results were with the setResourceManager(null)So, any one can contribute with a solution for this? Should I keep trying to find a solution other then the one I already have?
    Regards
    Cad

    1. yes
    2. yes
    Note for 2. the converter will run the applet with SUN jre for sure if the user has IE.
    IE will use the ActiveX technology to run the applet (as with Macromedia Flash).
    For Netscape I am not sure, but I would think Netsape will use the plug in provided by
    SUN.
    Note for SUN jre 1.3. If this applet is to be used within a company that uses a proxy with
    ntlm authentication the 1.3 applet cannot connect (to the Internet) through this proxy since
    ntlm athentication is supported since j2re1.4.2_03. There is one version before that but
    that one will pop up a window asking for the user's domain account and password wich
    is both lame and crappy.
    As for the IE settings, IE has a default setting that askes users the "do you trust"
    queston for AciveX controls within the Internet securety zone (tools -> internet options
    -> security).
    Sincy anybody can make ActiveX controls (allso sign them) a user that has a problem
    to find the "no" button will sooner or later install a malicuous ActiveX control (spy ware
    or a virus).
    If this user's desktop is within your company's network it will cause serious harm.
    This is why most company's disable this by changing the default internet expolorer
    settings. Since I assume you are writhing this applet to be used by a company I allso
    assumed that company has someone to maintain the desktops. In that case I
    assume that person would want to control the security within the SUN jre instead of
    letting the user deside what to trust and what not.

  • Problem accessing the resource in SP website

    I am new to SP and my boss created a sharepoint resources, at let's say abc.sharepoint.com My boss wish to access the resources using a .NET program. My developing computer does not have Windows Server but attempted to use the API by importing referenced founded
    in .NET. I used the code which can be found in Google and implemented as follow:
    Imports Microsoft.SharePoint.Client
    Imports System.Security
    Imports System.Net
    Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Dim cc As New ClientContext("http://abc.sharepoint.com")
    Dim SecureString As New SecureString()
    Dim Password = "MyPassword"
    For Each c In Password
    SecureString.AppendChar(c)
    Next
    cc.Credentials = New SharePointOnlineCredentials("MyUsername", SecureString)
    cc.Load(cc.Web, Function(w) w.title)
    Try
    cc.ExecuteQuery()
    msgbox("Hello World")
    Catch ex As Exception
    msgbox(ex.Message)
    Exit Sub
    End Try
    End Sub
    End Class
    I think I could reached the resource but it returns 401 Unauthorized Error. When I use a wrong password, it returns that my login information is incorrect.
    What is the reason for appearing 401 and how to solve it. Thanks a lot.

    try these links:
    http://sharepoint.stackexchange.com/questions/98334/the-remote-server-returned-an-error-401-unauthorized-using-csom-in-asp-net-m
    http://sp-thornet.blogspot.in/2014/07/the-remote-server-returned-error-401.html
    http://stackoverflow.com/questions/22841115/the-remote-server-returned-an-error-401-unauthorized-using-csom-in-asp-net
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • Problem in mobile phone camera Image retrieval using J2ME ...

    Hi
    I am doing video surveillance application with mobile phone ...
    but i am not able to get the images faster from my mobile phone ..
    I need atleast 2 photos /frames per second using J2ME ...
    wen i tried it , it is very slow and i am not able to get 2 frames per second ...
    can somebody help me ?

    That's quite a bunch of stuff you want to do there.
    Just a short hint for the image processing part here: You can ask any BufferedImage for it's raster (using getRaster()), and you can use the raster's getData() method to access the DataBuffer (the array storing the pixel values). It should be quite easy to split the DataBuffer into 9 tiles which you can then store as blobs. You can also use the DataBuffer to check for color values, or, if you don't want the trouble, you can always use the raster's getRBG(...) method - beware though, it's a lot slower for processing large quantities of pixels. Just another hint: you will have to cast the DataBuffer to it's real type if you want to access the pixel values, for example to DataBufferByte for most RGB images. You can use the DataBuffer's getType() method to determine which kind of buffer the image is using.

  • Can't access adobe from my smart phone to use my form created in formscentral I receive an error message that says "unsupported browser". There is a link to download a supported browser but the link directs me to another page that says "browser no

    When I try to access adobe from my smart phone to use my form created in formscentral I receive an error message that says "unsupported browser". There is a link to download a supported browser but the link directs me to another page that says "browser not supported at this time". This happened to me while using my IPhone 5, a friend that uses an IPhone 6, and another friend that uses a Samsung Galaxy S5. I just need for my employees to be able to access, complete and submit work orders created in formscentral from their phones. I would like to use the data collection feature in formscentral but at this point any suggestions on how to accomplish this are welcomed. Thank you

    Further info - I changed my security settings to allow apps from anywhere, and again tried to install.  I again got an error message
    that the update failed to install, and to contact Customer Support.

  • How to access mobile camera and address book using j2me?

    I m using sun java wireless toolkit 2.5 beta and jdk1.5
    how can i access my mobile camera using j2me ?
    please give some example codes and links .....
    reply as soon as possible.!!!!

    Try this. Hope it help
    try
    Player m_player;
    m_player = Manager.createPlayer("capture://video");
    m_player.realize();
    m_vc = (VideoControl)m_player.getControl("VideoControl");
    m_vc.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
    m_vc.setDisplayLocation(0, 0);
    m_vc.setDisplayFullScreen(true);
    m_player.start();
    m_vc.setVisible(true);
    catch ( IOException io )
    catch ( MediaException mx)
    Message was edited by:
    RiekeyLee

  • Error General Security Access denied : in creating timesheet for a resource using PSI C#

    I'm trying to create timesheet for a resource using Method
    timeSheetSvc.CreateTimesheet(timeSheetDs, svc_Timesheet.
    PreloadType.Default)
    get error :
    [System.ServiceModel.FaultException] = {"ProjectServerError(s) LastError=GeneralSecurityAccessDenied Instructions: Pass this into PSClientError constructor to access all error information"}

    As Glen says, it sounds like a Kerberos delegation issue.  IIS does not run in the same context as Visual Studio, and you may be hitting double-hop.
    Try using another auth method to confirm (CredSSP is the default).
    I have tested this code against Ex15 and Ex14:
    http://blogs.msdn.com/b/emeamsgdev/archive/2011/08/31/enable-mailbox-against-exchange-2010-from-a-web-application.aspx

  • When im accessing the internet using my iphone i cant use it because i am having a grey screen and the phone disables itself. how can i fix it. thanks.

    when im accessing the internet using my iphone i cant use it because i am having a grey screen and the phone disables itself. how can i fix it. thanks.

    You must have a valid form of payment for the app store in the country you are using. Most app stores are separate legal entities to comply with local laws. It is possible to have an account without a credit card, however; see: http://support.apple.com/kb/HT2534

  • HT1414 I restored my I phone 4 using Itunes, after that I can't access the icon any more I only got a message that says " ( Sim not Valid.) Only compatible SIM cards from supported carrier may be used to activate iphone.

    I restored my I phone 4 using Itunes, after that I can't access the icon any more I only got a message that says " ( Sim not Valid.) Only compatible SIM cards from supported carrier may be used to activate iphone. I need some proffesional help. Thanks

    "We're Sorry, Activation Server Temporarily Unavailable, contact Customer Care, Sim not vaild?"
    99.9% of the time, the cause of this issue is the fact the phone was jailbroken/hacked to unlock it for use on networks other than the network the phone was originally locked to. Apple maintains a database of officially unlocked iPhones, and when Apple's servers detect phones such as yours, activation stops & you get the message you got.
    So, either get a sim card from the carrier your phone was originally locked to, or get it officially unlocked, if you want to activate it. Because it appears that it was not officially unlocked.

  • Access webmail using J2me

    i am new to j2me, i need to do a project using j2me( need to access the webmail.)
    login to the webmail (for eg.gmail).
    display the inbox, outbox, and compose mail.
    display contacts, calendar.
    upload or download attachments.
    Can u suggest some link or tutorials for reference.... or any tips regrading this topic........ will be very helpful.......... Thank you!
    and approximately how long will it take to finish this project?

    Ineedtoknow wrote:
    The screen is nearly blank, and at the bottom it sometimes says error on page.  After spending over 90 minutes working with me, the technician acknowledged that the problem is with Verizon.  Hoping they come up with a solution soon
    Have you tried using Compatibility View? If you have the button enabled it should be at the end of your address bar just before the Refresh button, looks like a ripped page. If you don't have the button enabled, you can turn it Compatibility View through the Tools menu.
    I'm not having any issues, but I know that doesn't help you much.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Locking the phone using J2me codes

    I am working these day to develop and application using J2me , that has the ability to lock the phone using it is own password.
    but i am asking is it possible to lock the phone using J2me commands??

    Thank you for your response
    but do you know what libraries (API) to use if using C++ with mobile phones.

  • Nokia N8 - Widgets not trusted to access phone use...

    Recently I have come across similar issue as the current topic of "Communities/Social/ Facebook" problems of "Please uninstall and reinstall communities" error message. This not only affected my Social widget, but various other widgets on the screen (I have a Nokia N8-00)
    I have noticed that this problem is to do with the phone not trusting WGZ widgets anymore to access user data (Which is what Social/Communities/Facebook is). Had this issue after I rebooted my phone and any widgets that required access to my phone's data (eg. Battery Monitor, MEMINFO, Coming Next etc) stopped working entirely or came up with no information.
    Even after trying to delete these widgets and re-enabling them, it will ask "Do you wish to allow this application to access your user data?". Even answering OK, this is still not working.
    Can Nokia please investigate this broken trust between the Widgets and accessing phone information?
    Thanks!

    I'm having the same problem.
    my RSS feeds don't get data and other issues, seems to have started after the Social Networking update I installed over the air.
    N8 User.

  • How i can read the short message using j2me?

    I want to read or access the short messages of the phone using j2me programming ,but it seems the jsr not support ?

    Hi Darry!
    i also has a requirement to read SMS msgs from inbox through MIDlet .
    but i only found that we can only access an SMS by receiving at a particular port number. Once the SMS reached the inbox there is no way of reading it in J2ME.
    can you explain hw it can be done.
    Have you done it before on any device ?
    Thanks in advance

  • Root cause of error " Access denied. You do not have permission to perform this action or access this resource" - workflow - SharePoint 2013

    Good evening, technet community
    I hope you are doing well.
    When configuring my SharePoint workflow, I encounter the problem below:
    Problem Description:
    Let's say my domain is: test.com, my group user is: test\group , my user is: test\user1
    Except an admin account with full control at both "Web Application" and "Site Collection", all others account all have problem when creating a list item. After creating a list item, the workflow status is "cancelled" immediately
    with the following message:
    RequestorId: 262a35e4-99f4-40f0-929b-5d04b415f147. Details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["10"],"SPRequestGuid":["262a35e4-99f4-40f0-929b-5d04b415f147"],"request-id":["262a35e4-99f4-40f0-929b-5d04b415f147"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Thu, 06 Nov 2014 12:14:28 GMT"],"Server":["Microsoft-IIS\/7.5"],"WWW-Authenticate":["NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform
    this action or access this resource."}}} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor,
    BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    - The workflow is still fail even I assign "full control" to my users group "test\group" – at Site Collection level.
    Surprisingly, I have successfully found a solution for this error message. However, I still have some points that I do not clearly understand. Let's start with my solution first.
    Solution:
    *** i. Assign permission policy at Web Application level – Central Admin site ***
    1. Central Administration ==> Application management
    ==> Manage Web application 
    2. Go to "permission policy", then create a new permission level. This permission level contains all "edit item" permission.
    3. Select "user policy", then I assign it directly to my user account: test\user1.
    *** ii. Assign "edit item" permission at Site Collection level ***
    1. Site Setting ==> Site permission
    2. Assign "Edit" permission to my test\group.
    (Actually I removed all permissions of my user group at Site Collection level. It seem my group has inherited permission from Web Application level, is that correct? )
    *** iii. Create a new list item and workflow runs ……. ***
    ==> My question is:
    1. Why I cannot assign permission to my users group - "test\group" -
     at "Web Application" level? Instead I have to assign permission policy for each users, one by one?
    2. Could you please let me know how to collect full detail error message of workflow status?
    Thank you very much! Have a nice weekend.

    Thank you for your very detail response.
    Point 1: Yes my 2 service: user profile & profile sync service are running. I performed "full synchronization" as well. Actually i've tried 3 another action plans before coming up with the solution i posted:
    *** Actions completed ***
    1. Activate the feature: workflow can use app permissions.
    Site actions > Site Settings > Site features >activate the feature below:
     Workflows can use app permissions
    2.
    Refresh trusted security token services metadata feed
    Get-SPTimerJob
    "RefreshMetadataFeed"
    | Start-SPTimerJob
    - then restart the machine.
    3. Start full user profile synchronization.
    Point 2:
    - Yes my user had Edit permission at workflow task list + list affected by workflow.
    I have just remove all permissions of my user at "Site Collection" level. However, when i show my user permissions at my workflow task list and my users still have "Edit" Permission ( assigned at Web Application level. These permissions
    still exist even after my workflow task list stop inheriting permission).
    ==> the problems probably belongs to "permission" at "Site Collection level". It seems "permission level at my Site Collection does not work". All users accounts are also suffer from the same issues except farm admin account
    ( which has full control at Web Application level).
    I would appreciate if your guys can guide me how to make "permission" at my "Site Collection level" work again?
    Thank you very much.

  • Access to Resources via Non-admin accounts

    Is there any way to provide access to resources so that they are accessible via
    non-admin accounts. For e.g. to Retrieve my JMSConnectionfactory i do a
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
    The username and password here is the admin account. This works fine but if i
    use a non-admin account(member of Operators group), i get exceptions on Domainloghandler
    runtime
    Problem: I need to register a mbean that needs to access JMS Resources. Since
    our deployment team doesnt want to provide us access to admin accounts, we use
    a "operators" group account to register our mbeans. if i do this, i get a
    Access not Allowed for subject:principals=[operator, Operators], on ResourceType:
    DomainLogHandlerRuntime Action: execute Target: registerToMe.
    This happens when my managed resource tries to access a JMS ConnectionFactory.
    Instead if i register my mbeans using the admin account, everything is fine and
    my managed resource works nice.
    This is on weblogic 81 SP1 on Solaris. Please let me know if you need more details.
    Any clues/hints/solutions greatly appreciated. There is not a lot of documentation
    on how to access/register mbeans using non-admin accounts.
    TIA
    Raj

    I have done some more debugging on this and have narrowed down the issue to the
    location where my initialcontext is being obtained.
    so if i register my mbean as a non-admin account and do an operation on the managed
    resource which fetches initial context, i get the below exception. This is how
    i get my initialcontext
    weblogic.jndi.Environment env = new weblogic.jndi.Environment();
    env.setProviderURL("t3://machine:8102,machine:8103");
    env.setSecurityPrincipal("operator");
    env.setSecurityCredentials("operator");
    Context ctx = env.getInitialContext();
    I am doing this from a mbean thats registered on a different managed server(t3://machine:8101)...
    Whats wrong with this?
    TIA
    Raj
    "Raj" <[email protected]> wrote:
    >
    Is there any way to provide access to resources so that they are accessible
    via
    non-admin accounts. For e.g. to Retrieve my JMSConnectionfactory i do
    a
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
    The username and password here is the admin account. This works fine
    but if i
    use a non-admin account(member of Operators group), i get exceptions
    on Domainloghandler
    runtime
    Problem: I need to register a mbean that needs to access JMS Resources.
    Since
    our deployment team doesnt want to provide us access to admin accounts,
    we use
    a "operators" group account to register our mbeans. if i do this, i get
    a
    Access not Allowed for subject:principals=[operator, Operators], on ResourceType:
    DomainLogHandlerRuntime Action: execute Target: registerToMe.
    This happens when my managed resource tries to access a JMS ConnectionFactory.
    Instead if i register my mbeans using the admin account, everything is
    fine and
    my managed resource works nice.
    This is on weblogic 81 SP1 on Solaris. Please let me know if you need
    more details.
    Any clues/hints/solutions greatly appreciated. There is not a lot of
    documentation
    on how to access/register mbeans using non-admin accounts.
    TIA
    Raj

Maybe you are looking for

  • Export an XML file from oracle database

    plz help me its urgent requirement....could u pls tell me the step by step procedure for following questions...?how to export a data as an XML file from oracle database? is it possible..? thanks in advance, Bala. is it possible? Edited by: user352329

  • New problems with simpledateformat

    sorry guys to my previous post i had solved the issue of formatting my date format.. but i have a new problem now is that when i enter the 13 mnth 2006 simpledateformat auto helped me rectify to jan of 2007.. and i look through the simpledateformat c

  • Trex 7.0 installation problem

    Hi All,           I am trying to install Trex 7.0 and during the installation it asks for the TREX NW2004sSR1 software pkg , i give the exact location of that pkg. The installation then continues with all the other parameters correctly provided. But

  • Creating index using XMLIndex, changes the result set when querying

    Hi there, I was tasked with populating an Oracle 11Gr2 database with data from 800,000 XML files. I used the Oracle documentation, and in about 2 days I had the data loaded into a simple table. Queries of this table were SLOW, so this morning I read

  • Business Pre Order Still Says 10/21

    ordered 64GB black at 10:30am EST on friday morning.. email says 10/14 but the order status page says 10/21 still.. ordered on the business B2B website. anyone else having this issue? yes i've read the forum and there are not any business related shi