J2me bluetooth application please help it's urgent..

Hi,
i m new to this forum and j2me also.
i tried to basic j2me bluetooth application which transfer file from pc to mobile.
but at run time i got exception:
java.lang.SecurityException: Application not authorized to access the restricted API
also in bluetooth desktop application while calling searchService i got
NullPointerException..
please help me.
i have already do permission for API in jad file...
Thanks in advance...

Hello Nikhil,
In alv... field catalog consists one field called HOTSPOT...
try like this...
l_r_fieldcat-tabname        = 'G_T_ITAB'.
l_r_fieldcat-fieldname      = 'LGORT'.
l_r_fieldcat-ref_tabname    = 'MARD'.
l_r_fieldcat-ref_fieldname  = 'LGORT'.
l_r_fieldcat-col_pos        = 3.
<b>l_r_fieldcat-hotspot        = 'X'.</b>
append l_r_fieldcat to g_t_fieldcat.
clear l_r_fieldcat.
after that... at line selection... goto the VF03 using BDC.
No need to double click when you are using HOTSPOT... Single click is enough.
To get check box at the beginging of each and every record use the following code...
Field having checkbox
  g_r_layout-box_fieldname = 'SEL'.
here SEL is the field name in the internal table with char datape and length 1.
To get ur own GUI Status... Go To Object list ( CTRL + SHIFT + F5 ). there click on GUI_STATUS. add one button for print priview and give one function code.
in USER_COMMAND write code for function code... with function modules which are used to print forms.
I'm give the remaing fields of fieldcatalog bellow. see last one... its HOTSPOT.
ROW_POS
COL_POS
FIELDNAME
TABNAME
REF_FIELDNAME
REF_TABNAME
CURRENCY
CFIELDNAME
CTABNAME
QUANTITY
QFIELDNAME
QTABNAME
ROUNDFIELDNAME
ROUNDTABNAME
ROUND
DECIMALSFIELDNAME
DECIMALSTABNAME
DECIMALS_OUT
TEXT_FIELDNAME
EXPONENT
KEY
ICON
SYMBOL
CHECKBOX
JUST
LZERO
NO_SIGN
NO_ZERO
EDIT_MASK
EMPHASIZE
FIX_COLUMN
DO_SUM
NO_OUT
TECH
OUTPUTLEN
OFFSET
SELTEXT_L
SELTEXT_M
SELTEXT_S
REPTEXT_DDIC
DDICTXT
ROLLNAME
DATATYPE
INTTYPE
DDIC_OUTPUTLEN
INTLEN
LOWERCASE
KEY_SEL
NO_SUM
SP_GROUP
REPREP
INPUT
HOTSPOT
Reward If Helpful.
Regards
Sasidhar Reddy Matli.

Similar Messages

  • Displaying Picture in a Java APPLICATION please help!!

    I have been trying to write a method that Displays a .jpg file when called. However I have not gotten far, every book I have tell you how to display pictures in an applet but not an application. I did find some code that is supposed to be for an application, but It does not compile right. Any help would be apprecidated!
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class PictureIt{
    public void makeImage() {
    //***Image Output Stream
    String imgFile
    = "d:\\temp\\TestImage.jpeg";
    out = new FileOutputStream(imgFile);
    BufferedImage image = null;
    image = (BufferedImage)createImage
    (panelJpeg.size.width, panelJpeg.size.height);
    Graphics g = image.getGraphics();
    panelJpeg.paintAll(g);
    }

    Displaying Picture in a Java APPLICATION please help!!
    Hope this helps.There is going to be two classes compile seperatly first class is what does the drawing
    here it is
    import javax.swing.*;
    import java.awt.*;
    public class draww extends JPanel {
    Image ball;
    int width1 = 100;
    int height1 = 100;
    public draww() {
    super();
    Toolkit kit = Toolkit.getDefaultToolkit();
    ball = kit.getImage("pic1.gif");
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D) comp;
    comp2D.drawImage(ball, 20, 20, width1, height1, this);
    sound class is the container JFrame here it is
    import javax.swing.*;
    import java.awt.*;
    public class drawing extends JFrame {
    public drawing() {
    super("draw");
    setSize(400,400);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container pane = getContentPane();
    draww d = new draww();
    pane.add(d);
    setContentPane(pane);
    setVisible(true);
    public static void main(String[] args) {
    drawing drawing1 = new drawing();
    PS Hope this helps and see you around

  • I can't download the apple ios 5 for the ipad. after downloading around 10 % an error no. 3259 occurs. it's a network error. please help . it's urgent. i am having apple ipad 2 3G wifi

    i can't download the apple ios 5 for the ipad. after downloading around 10 % an error no. 3259 occurs. it's a network error. please help . it's urgent. i am having apple ipad 2 3G wifi.

    i switched off all the security settings and all the firewalls.
    i m unable to install any of the app on the ipad
    so i saw the apple support and it said to update the older version of my ipad.
    and niether am i able to download the update nor am i able to download any app and install it in my ipad2
    i also tried to download an .ipsw file (ios5 update) from torrentz bt i am also unable to install from that as itunes rjects that file and gives an error. and also tries to delete that file. plz anyone help urgently.

  • Event OnInputProcessing not triggered ..... please help, it's urgent

    hi all,
    i have a problem in my bsp page.
    in my bsp page, there is a button which is clicked, a new pop up window will appear. after the pop up window closed the caller window will be submitted.
    after submitted, the server side script ( ABAP Code in event OnInputProcessing & OnInitiallization will be run ).
    in order to be able to do this, i used java script. and it's already works well.
    the problem is : there is 1 record that the ABAP code in event OnInputProcessing is not run. I have set break points on one of code in event OnInputProcessing, but it seems event OnInputProcessing is not triggered. if i also put the break point in event OnInitialization, it will stop in the break point in event OnInitialization.
    is there any clue why this happened ?
    please help, it's urgent because it's happened in my production system
    many thanks in advance
    regards
    eddhie

    hi Raja,
    thanks for the respond.
    the code is already works for 2 years and just 1 record of ... perhaps thousands record that used the same code.
    for other record, it go to event OnInputProcessing
    but just this 1 record it won't go to event OnInputProcessing.
    any clue ?
    please help
    regards

  • I use iphone4,but can't find apple store application please help me

    I use iphone4,but can't find apple store application please help me

    Malek,
    Facetime for iphone is not available in the App Store because it is already built into any iphone that is FaceTime compatible, and I think that includes iphone 4.  You should be able to find Facetime amongst the other built in applications that came with it.  However, it is possible that if it was purchased in certain countries where Facetime is not allowed, the App was not included.

  • My iPad 4 tried to open application but repeatedly iCloud asked for login with apple id password. I put my apple id password correct,even i reset it again but still it does not accept in iPad .i am bored with this 3rd class application.please help

    My iPad 4 tried to open application but repeatedly iCloud asked for login with apple id password. I put my apple id password correctly,even i reset it again but still it does not accepted in iPad .i am bored with this  class application.please help.After every 1 second icloud logoin asked.

    Find Apple ID
    https://iforgot.apple.com/applied
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    If you can’t update or restore your iOS device
    http://support.apple.com/kb/ht1808
     Cheers, Tom

  • Please Help its an urgent

    Dear,
    I am making BDC for Transcation Code <b>KKS1</b>. In this transcation when we go through the transcation then the output is shown in ALV Grid format and as we know that we can convert an ALV Grid into List output or Excel sheet. which I want finally in EXCEL Sheet Format. During transaction there is no Problem every thing is happening perfectly.
    <b>But if I want to record a BDC for the same</b> then then first of all I have to check the box continue after commit. then only I can record the BDC. because only after checking this box i get the output in ALV format. <b>Now till here I have done sucess fully.</b> Now In BDC I want to convert the  ALV into EXCEL SHEET OR LIST OUTPUT. Generally we can't do this. we have to do this manually but is there any way to convert the <b>ALV Grid into EXCEL Sheet or List Output during the BDC.</b>
    Please help me Out.
    I need it urgently.
    who ever will solve my problem I will reward him 10 Points.
    Siddarth

    Hi Siddarth!
    Like already Erik began to describe:
    most probably you can't use a BDC in a way you expect this.
    Excel is just installed on your PCs, also SAP needs GUI interaction to make an excel sheet. So your call transaction would have to run online - but normally you create BATCH input sessions to run something in background...
    Without GUI you won't get a correct ALV (also this can create it's containers with link to a GUI), nor excel download.
    If it's a one-time action: maybe you can run a BDC online and placing a mobile phone or some other office tool on the 'Enter'-key.
    You can also try to record a CATT (transaction SCEM) or eCATT - they are newer and can handle more dynpro situations, especially one option of eCATT should be able to make scripting.
    Regards,
    Christian

  • HT1338 How to get rid of Apple Support Community notices, my box is full I receive thousand a day and I really cannot handle it.  Please help, I cannot find the notification tad in my "preferences"  I have Mac OS X 10.7.5.  Please help it is urgent

    How to get rid of Apple Support Community notices?  my box is full as I receive thousand of messages a day.  I cannot handle it anymore, please it is urgent.  Help!  I have Mac OS X 10.7.5 and unable to find the "notification tab" in my "preferences"  I need a image if possible to better understand.  Thanks a lot.

    Thank you, but I just  tried everything you said, my apple id account (icloud) continues and still is receiving the email from ASC each second.  My i phone and macpro (i cloud account) is full of messages that I have difficult to erase at once.  I have to do it one by one which can take me the whole day.  How can i unsucribe from ASC, just get ride of my account, I mean cancel the ASC account, so I will not get any messages.  Please help.  Thanks.

  • Problem in HTMLB..Please Help...urgent....:(

    Hello All,
    Please refer to the below code:
    package com.sap.NewOrderAssignment;
    import java.io.Serializable;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    import java.util.GregorianCalendar;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.TableColumnType;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableColumn;
    public class BeanOrderDetails implements Serializable
    {     public Date toDay, orderDate;
         public String toDayAsString;
         public IListModel deliveryAddress;
         public TextEdit address;
         public DefaultTableViewModel orderLines;
         public Locale locale;
         public String poNumber, model, qty;
         public Object colTitle[] = {"Model","Description","Qty (pcs)","AD Price","Net Price","Total amount","Indication ETA","12 NC","Part Del","GIM","# A-box","Pcd/A-box"};
         public BeanOrderDetails()
         {     Calendar cal = new GregorianCalendar();
              toDay = cal.getTime();
              String year = String.valueOf(cal.get(Calendar.YEAR));
              String month = String.valueOf(cal.get(Calendar.MONTH)+1);
              String day = String.valueOf(cal.get(Calendar.DAY_OF_MONTH));
              toDayAsString = year"-"month"-"day;
              deliveryAddress = new DefaultListModel();
              deliveryAddress.setSingleSelection(true);
              deliveryAddress.addItem("1", "Delivery Address1");
              deliveryAddress.addItem("2", "Delivery Address2");
              deliveryAddress.addItem("3", "Delivery Address3");
              //company address
              address = new TextEdit("Company Address");
              address.setRows(4);
              address.setCols(40);
              String line1 = "KPIT Cummins Infosystems Ltd.";
              String line2 = "MIDC, Hinjewadi";
              String line3 = "Pune, India";
              address.setText(line1line2line3);
              address.setEnabled(true);
              //Table creation
              Object data[][] = {{"HQ8894","Sensotec Dry Rota Shaver","500","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
              orderLines = new DefaultTableViewModel(data, colTitle);     
              TableColumn columnModel = orderLines.getColumnAt(1);
              TableColumn columnDesciption = orderLines.getColumnAt(2);
              TableColumn columnQty = orderLines.getColumnAt(3);
              TableColumn columnADPrice = orderLines.getColumnAt(4);
              TableColumn columnNetPrice = orderLines.getColumnAt(5);
              TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
              TableColumn columnETA = orderLines.getColumnAt(7);
              TableColumn column12NC = orderLines.getColumnAt(8);
              TableColumn columnPartDel = orderLines.getColumnAt(9);
              TableColumn columnGIM = orderLines.getColumnAt(10);
              TableColumn columnABox = orderLines.getColumnAt(11);
              TableColumn columnAmountInBox = orderLines.getColumnAt(11);
              TableColumn columnPcsBox = orderLines.getColumnAt(12);
              columnModel.setType(TableColumnType.INPUT);
              columnModel.setWidth("150");
              columnQty.setType(TableColumnType.INPUT);
              columnDesciption.setWidth("300");
         public void setLocale(Locale l)
         {     locale = l;
         public Locale getLocale()
         {     return locale;
         public void setOrderDate(Date od)
         {     orderDate = od;
         public Date getOrderDate()
         {     return orderDate;
         public void setOrderLines(DefaultTableViewModel mm)
         {     orderLines = mm;
         public DefaultTableViewModel getOrderLines()
         {     return orderLines;
         public void setAddress(String adr)
         {     address.setText(adr);
         public void setTextEditAddress(TextEdit adr)
         {     address = adr;
         public TextEdit getTextEditAddress()
         {     return address;
         public String getAddress()
         {     return address.getText();
         public void setDeliveryAdresses(IListModel model)
         {     deliveryAddress = model;
         public IListModel getdeliveryAddresses()
         {     return deliveryAddress;
         public void setPoNumber(String pon)
         {     this.poNumber = pon;
         public String getPoNumber()
         {     return this.poNumber;
         public void setModel(String m)
         {     this.model = m;
         public void setQty(String quantity)
         {     this.qty = quantity;
         public void getNewRow()
         {     Object data[][] = { {"","Sensotec Dry Rota Shaver ABC","","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
              this.setQty("");
              this.setModel("");          
              TableColumn columnModel = orderLines.getColumnAt(1);
              TableColumn columnDesciption = orderLines.getColumnAt(2);
              TableColumn columnQty = orderLines.getColumnAt(3);
              TableColumn columnADPrice = orderLines.getColumnAt(4);
              TableColumn columnNetPrice = orderLines.getColumnAt(5);
              TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
              TableColumn columnETA = orderLines.getColumnAt(7);
              TableColumn column12NC = orderLines.getColumnAt(8);
              TableColumn columnPartDel = orderLines.getColumnAt(9);
              TableColumn columnGIM = orderLines.getColumnAt(10);
              TableColumn columnABox = orderLines.getColumnAt(11);
              TableColumn columnAmountInBox = orderLines.getColumnAt(11);
              TableColumn columnPcsBox = orderLines.getColumnAt(12);
              columnModel.setType(TableColumnType.INPUT);
              columnModel.setWidth("150");
              columnQty.setType(TableColumnType.INPUT);
              columnDesciption.setWidth("300");
    The above code creates a table. It actually maps the various fields as the TableColumn.
    <b><u>Question:</u></b>
    I have added a button which appears below this table.
    Name of button = AddNewLine
    Now, when this button is clicked, a new empy row should appear in the table.
    <i><b>My stmts in method - getNewRow() are not working.</b></i>
    Please help me do so.
    Please help...its kinda urgent.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
             First up all I don't see any code where exactly you have added a button in the table.
             Secondly as a general thing,looking on to ur scenario you have initialize the table on the event of clicking the button ie)in ur getNewRow() just initialize your code for building an empty row of the table.
    Regards,
    guru

  • Can't update/install itunes- 'not a valid win32 application' PLEASE HELP

    Hi Guys,
    I'm having some serious problems with installing iTunes on my laptop. I have searched and searched the internet and can not find any solution to my problem. I am receiving the error "itunes is not a valid win32 application' after the program finishes downloading. Sometimes however it will just stop in the middle of the download. I use a SONY VAIO VGN-NW25GF which was only purchased last year. It uses windows 7. I had trouble downloading itunes to begin with though eventually it worked, however since the new 10.1 update has been available ive been attempting to update it almost every time i use itunes. Each and every time it fails and i've had enough as i need to update my iphone software. I’ve since uninstalled both itunes and quicktime hoping it will reinstall properly. But nothing, the same problem is occurring and now i have no itunes program!
    I've tried all the solutions online about deleting browing history/temp folder and any itunessetup.exe/quicktimesetup.exe files and nothing works. I've also tried downloading using a different browser and still nothing. I’ve done a virus scan, disk cleanup and disk defragment and NOTHIGN is working. I'm starting to get quite frustrated as i need this program for my iphone. Any help would be greatly appreciated!! Thanks 

    I have the same problem!!!!PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    -I'm having some serious problems with installing iTunes on my laptop. I have searched and searched the internet and can not find any solution to my problem. I am receiving the error "itunes is not a valid win32 application' after the program finishes downloading. Sometimes however it will just stop in the middle of the download. I use a SONY VAIO VGN-NW25GF which was only purchased last year. It uses windows 7. I had trouble downloading itunes to begin with though eventually it worked, however since the new 10.1 update has been available ive been attempting to update it almost every time i use itunes. Each and every time it fails and i've had enough as i need to update my iphone software. I’ve since uninstalled both itunes and quicktime hoping it will reinstall properly. But nothing, the same problem is occurring and now i have no itunes program!
    I've tried all the solutions online about deleting browing history/temp folder and any itunessetup.exe/quicktimesetup.exe files and nothing works. I've also tried downloading using a different browser and still nothing. I’ve done a virus scan, disk cleanup and disk defragment and NOTHIGN is working. I'm starting to get quite frustrated as i need this program for my iphone. Any help would be greatly appreciated!! Thanks 

  • I cannot connect BB 8520 with external GPS Holux via Bluetooth. Please Help!

    I've bought a M1200 HOLUX gps and I'm trying to sincronize it with a Blackberry Curve 8520. The problem is:
    - BB finds correctly M1200 via bluetooth, and sincronizes well with the the PIN
    - M1200 Holux appears in bold just a few seconds after sincronization.
    - But then, M1200 appears only in plain text (not bold) as it's not connected. In the BB options, it doesn't appear the option "Connect" as with the rest of bluetooth devices.
    I've tried several times but always happen the same. M1200 is not able to keep the bt connection.
    Could you please help me?
    Thanks in advance

    http://supportforums.blackberry.com/t5/Java-Development/External-GPS/m-p/535845

  • My swf file doesn't sees flv format video, what can i do? Please help, it's urgent

    I made an video animation presentation in Flash CS6. I have a video part into this animation (flv format), but when i export the animation in swf, the video doesn't appear (i see only white screen. On my computer i can see it good, but from another computers it appears white screen.). I need to export the animation in video format, but i can't. Please help me, it's urgent for a project. Thank you!

    you can export the fla as a .mov.  file>export> export video. from here you can elect to open in Adobe Media Encoder and then choose your file extension type you want.
    if you cannot see the animation in the .swf my guess everything your doing is on a local computer and not on a site/server somewhere.

  • Oracle Express Batch Manager-Please Help me out-urgent

    Dear all,
    I have created a Relational Access Administrator project and mapped an Express Datamodel with RDBMS lookup and fact tables and created a Maintenance Procedure Using "Express Database Maintenance" from "Relational Access Administrator". After that when I tried to run that "Procedure" using "Batch Manager", it creates a Command definition file "~5848371.cmd" and nothing is showing in the "Job Monitor" tab of "Batch Manager". At the same time since it could not run the procedure, no Express database have been created to the specified path.
    Please help me out, as I am in need for this very badly. I have gone through the document "Relational Access Administrator(User Guide)" from otn.oracle.com, but nowhere such type of problem have been addressed.
    Thanking you in advance,
    regards,
    Manoj Ghosh,
    Mail ID: [email protected]

    There is a tutorial on building a chat application (or applet) on the ibm site.
    http://www-105.ibm.com/developerworks/education.nsf/dw/java-onlinecourse-bytitle
    You need to register to use it, but it is free.
    Hope this helps
    Peter

  • Session Locks... Please help this is urgent...

    Hi,
    I've created web application in ASP.NET and I'm connecting to one of our Oracle server which resides in other country. I only have read access to it. I can only do select statements.
    After couple of months that the application was running, their database admin told me that my application was creating session locks in the database.
    I only have 4 select statements that's connection to their oracle server. Below one of the query that I'm using.
    IDataReader r = null;
    try
    using (OracleConnection conn = new OracleConnection(this.ConnectionString))
    string _return;
    conn.Open();
    OracleCommand command = new OracleCommand("select site from mashreq_employees where employee_code='" + emplid + "'", conn);
    r = this.ExecuteReader(command);
    if (r.Read())
    _return = r.ToString();
    else
    _return = "";
    return _return;
    finally
    if (r != null)
    r.Close();
    My question is, Can I create Session Locks even if I'm only using SELECT STATEMENT?
    They send me the screen shot of their Enterprise Manager but I cannot paste it here. The Lock Type was "TX".
    Please help me...
    Thanks,
    Liezl

    I didn't see a FOR UPDATE in the code you posted but I don't know what the rest of your code/application does. For all I know the below code adds a FOR UPDATE at the end?
    OracleCommand command = new OracleCommand("select site from mashreq_employees where employee_code='" + emplid + "'", conn); Am trying to say that just because you're using SELECT only doesn't necessarily mean it's non-destructive, in nobody elses way "read-only", it is still possible to do a SELECT FOR UPDATE if you have the SELECT privilege for a table which might explain any TX locks for your session.
    SQL> create table a1 as (select * from user_tables);
    Table created.
    SQL> create table b1 as (select * from user_tables);
    Table created.
    SQL> select * from b1 where table_name = 'A1' for update;Now go to another session and try to update the table
    update b1 set table_name = 'Z';Session will hang, until original session either commits or rolls back. Investigating further:
    SQL> select session_id, object_id from v$locked_object;
    SESSION_ID  OBJECT_ID
            25      17552
    SQL> column object_name format a30
    SQL> select owner, object_id, object_name from dba_objects where object_id = 17552
    OWNER                           OBJECT_ID OBJECT_NAME
    TESTUSER                            17552 B1
    SQL> select sid, type, lmode, id1, id2 from v$lock where sid = 25;
           SID TY      LMODE        ID1        ID2
            25 TM          3      17552          0     <---- see the 17552 which is the B1 table and session 25 which is the session that did the FOR UPDATE?
            25 TX          6     589824        424So, see if you can track down which session is creating the locks from the data dictionary tables and whether it is your code.

  • Activation Problem..i Have Registered for the devolopers account and also paid 99 dollars. how do i open my iphone now? please help. this is urgent!

    this morning my iphone showed up a activation problem then it told me to go to devoloper.apple.com and register for the ios developer program.. it costed me 99 dollars. but i did it.. just a moment ago.. how do i access my iphone now? please help me this is real urgent.

    this in my problem too apple say : ur request is pending now and it did not activated yet !    ?  
    what should i do?

Maybe you are looking for

  • Update Button for every Row of Report

    hello, is it possible to get an update button for every row of a report? After clicking this button, only this row of the report should be updated. thanks in advance dave

  • 2 devices, different names

    My NOOK COLOR & NOOK TABLET are registered under different names, I need to change one so that I can downoad from the library & read the same book on both devices.

  • Disappearing trash items

    FIles I trash are disappearing from trash after a few seconds. I sometimes catch a glimpse of a rename to string of letters just as it goes. Only been happening since 10.8.2 Anyone else have this problem, or any ideas?

  • Production tips for multi language titles...Arabic plus others...

    I am teaching a DVDSP course with a student who will produce multi language titles. Arabic is the primary with French, German, and English as the alternates. I follow the scripting ideas to test for which language the users select but I have a questi

  • Finding the minimum needed Java version to run app

    Hello, I have created an application and would like to distribute it. However, I would like to know the minimum Java version that would be needed to run the app. Aside from digging through the APIs, would there be any tool that would help with that t