Adding Social Sharing Buttons To Android Application

Hi;
How can i adding a social sharing buttons (facebook, twitter etc.)
to pages (views/mypage.xml, views/mypage1.xml) in my android apllication.
Sincerely

read the swing tutotrial.
Simple demo
class extends JFrame.
    JButton b = new JButton();
    JPanel p = new JPanel();
    p.add(b);
   getContentPane().add(p);
    this.pack();
    this.show();
}

Similar Messages

  • Manually adding a Extra button in the application tool bar of the view cluster.

    hello Colleagues ,
    I have created a couple of maintenance view , and with this two maintenance view i have created a view cluster using the transaction SE54.
    Now, there is default Application toolbar gets generated when a view cluster is created. (screenshot attached.)
    Now i have a requirement where i can add another button (syntax Check button in the screenshot 2) in the same view cluster. (screenshot attached.)
    Want to know the feasibility of this requirement.
    Thanks in advance
    Shavneet Singh

    Hello,
    Not sure of your exact reqt
    But got some sample code to create a button on the toolbar which once clicked gives a new popup window with additional parameters
    TABLES:SSCRFIELDS.
    **Create the Additional Selection screen to input filename
    SELECTION-SCREEN: BEGIN OF SCREEN 10.
    PARAMETERS: P_FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF SCREEN 10.
    **Create Application Toolbar Button on the Standard selection Screen
    SELECTION-SCREEN FUNCTION KEY 1. "Its fcode will be FC01
    PARAMETERS : P_WERKS TYPE MARC-WERKS.
    INITIALIZATION.
      SSCRFIELDS-FUNCTXT_01 = 'Enter File'. "Assign the Text to the Button
    AT SELECTION-SCREEN.
      CASE SSCRFIELDS-UCOMM. "Check the Fcode
        WHEN 'FC01'.
          CALL SELECTION-SCREEN 10 STARTING AT 5 8 ENDING AT 85 20.
      ENDCASE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME' "Local file browser
      EXPORTING
      PROGRAM_NAME = SYST-CPROG
      DYNPRO_NUMBER = SYST-DYNNR
      FIELD_NAME = 'P_FILE'
      IMPORTING
      FILE_NAME = P_FILE.
    START-OF-SELECTION.
    ***Your list processing.

  • Social Sharing only links to Publication URL not Web Viewer URL

    I initially created a multi-folio app with the DPS App Builder (Social Sharing enabled per the instructions), but forgot to enable the Web Viewer on my account.
    This, per the documentation under Enable Web Viewer in this article: http://help.adobe.com/en_US/digitalpubsuite/using/WS9293e1fb3b977c5c-6c5b4101331de1fd6a-80 00.html, causes all SHARED links to be the Publication URL. Oops!
    I have since enabled the Web Viewer, republished my Folio AND re-generated my app, and the Social Sharing button in the App will only display the Publication URL, and not the Web Viewer URLs.
    Do I just need to be patient?  It's been a few hours.
    Also: is there any way to get to the Web Viewer URLs outside of sharing through the app?

    See this thread about a Sept 27th outage which may have affected you.
    http://forums.adobe.com/message/4732668#4732668

  • Android Social Sharing

    I was wondering if anybody has used any solutions to enable social sharing on Android Devices?
    I know this isn't a supported feature with the native android viewers at the moment, so is there a way to link to HTML to open up this possibility?
    This is a make or break decision for whether I decide to use DPS or look to native development.
    Thanks to everyone in advance!

    yes i built a solution to share in android ( facebook, twiiter and mail) i will set up an admin panel for people who wants to use it.
    take a look how it works  in android ( Vitnik - Android Apps on Google Play )

  • Adding a Button in the Application toolbar when using LDB for HR programs

    Hi Experts,
    I have a requirement to add a new button after execute button in the Application tool bar for the HR programs when using LDB PNP.
    Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button.          When we are creating a new button for this  by using the table fields sscrfields  with the function key as 2 we are not able to see the new button.
    can any one help me in this issue.

    please post your relevant coding with respect to the button
    A.

  • Social Sharing Links not working in v26

    We recently rebuilt our application from iPad only in v25, to Universal with v26 to enable the web-viewer. In our v25 version, our social sharing was setup and worked perfectly. For some reason though, now that we have the v26 version, all of our sharing links go to our redirect URL only.
    I've seen some issues on the forum related to renditions and naming. Has anyone experienced this? I've double checked and social sharing is enabled in the App Builder and in the Account Admin area. We are using WoodWing to publish so everything is and was unprotected by default. Below is one of the URLs that it is providing:
    http://millennialeye.com?wv=s%2FMillennial%2520Eye%2F13e831a3f9a54b87a0d0669b4a9697d5%2Fco m.brynmawr.millenialeye.ipad%2F114.html

    Bob, I believe the problem is if I have added a Hosting URL for the Web-Viewer it automatically sets the Social Sharing links to this URL.
    My question then is, does adding or removing a Hosing URL from the Configure User area require an app rebuild, or will the change be reflected in the live app once the changes hit the server?
    Thank you,
    Nik

  • Buttons on  ALV Application Toolbar

    Hi,
    I have added buttons on the Application Toolbar of the ALV (in the GUI status).
    There are a lot of buttons and due to lack of space some of the buttons go out of the screen.
    Need to know if there is a way to make these buttons scrolable or in a dorp down.
    Thanks for the help.
    Karen

    Hi Karen,
    I also faced the same issue but solved it using alternative solution.
    1) Go to PF-STATUS and create a MENU BAR.
    2) Give Appropriate NAME and inside it  write FUNCTION CODE given for buttons under "Code"
    3) Appropriate description under "Text"
    4) Save and activate.
    Now,  execute the report and even if the buttons are going out of screen, you have option to select the button from MENU BAR.
    This is the best solution for this problem as far as i know.
    Also, if you re-size your window ; the you will get tabs with drop down.
    I hope this will help you in solving your issue.
    Regards,
    Rahul Mahajan

  • Can I test social sharing w/o generating an IPA file?

    Is there a way that I can test social sharing behaviors without generating certificates for an IPA file? I would like to see how my articles are captured and how they look on social media before submitting the app to the apple store. I am hoping there is an easier way than creating an IPA file.
    Thanks!

    Found it.
    I am learning why the refernce for JavaScript is 745 some odd pages.
    There are system functions for Number of total Fields (numFields)
                                                      Name of any particular field    (getNthfieldName)
    You can then use a loop to find the field that are marked as REQUIRED and that are EMPTY.
    Works GREAT inside my "Build Summary" button.

  • How to create an extension for firefox in android,i have already an android application and i want lunch it from mobile firefox, how to get started please?

    I want create an extension for fennec (mobile firefox) in android, i have already an android application and i want lunch it from mobile firefox, by tapping a button that i will add to the user interface of mobile firefox web browser, is this this possible?

    see: https://wiki.mozilla.org/Mobile/Fennec/Extensions
    https://developer.mozilla.org/en/Building_an_Extension
    https://wiki.mozilla.org/Mobile/Fennec/Extensions/BestPractices
    good luck
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Adding a push button on the report toolbar

    adding a save button on the report toolbar, so that after clicking the button, the data fetched on the report will be stored in the application server.

    Hi
    to automate this process ,best way is to create a Z rport and there u can submit this sap standard report and get its output into an Internal table and then u can write this internal table to application server via following demo code -
    this is code for both (download /upload),u can not use CG3y and CG3z as u want to do it as a background job ..
    *& Report ZGILL_AS *
    REPORT ZGILL_AS message-id rp .
    tables: pa0001,pa0002.
    select-options s_pernr for pa0001-pernr no intervals MODIF ID XYZ.
    parameters: p_dwnld AS CHECKBOX ,
    p_upld AS CHECKBOX DEFAULT 'X'.
    parameters: P_DSNI(75) TYPE C MODIF ID ABG DEFAULT
    '/usr/local/sapdata/amit.dat' LOWER CASE.
    data: begin of itab occurs 0,
    pernr(8),
    sp1(1) value ',',
    werks(4),
    sp2(1) value ',',
    persg(1),
    sp3(1) value ',',
    persk(2),
    end of itab.
    data: s_eof(3).
    start-of-selection.
    if p_upld = 'X'.
    OPEN DATASET P_DSNI FOR OUTPUT IN LEGACY TEXT MODE.
    PERFORM FETCH_DATA.
    STOP.
    elseif p_dwnld = 'X'.
    OPEN DATASET P_DSNI FOR INPUT IN LEGACY TEXT MODE.
    IF SY-SUBRC NE 0.
    MESSAGE E016 WITH
    'Error opening seq. file, RC:' SY-SUBRC.
    EXIT.
    ENDIF.
    CLEAR S_EOF.
    DO.
    PERFORM FETCH_file.
    IF S_EOF EQ 'YES'. stop. ENDIF.
    ENDDO.
    endif.
    END-OF-SELECTION.
    if itab[] is not initial.
    perform print_file1 tables itab.
    else.
    write:/ 'No records exists'.
    endif.
    *& Form FETCH_DATA
    text
    --> p1 text
    <-- p2 text
    FORM FETCH_DATA .
    SELECT * FROM PA0001 WHERE PERNR IN S_PERNR.
    MOVE-CORRESPONDING PA0001 TO ITAB.
    TRANSFER ITAB TO P_DSNI.
    APPEND ITAB.
    ENDSELECT.
    CLOSE DATASET P_DSNI.
    ENDFORM. " FETCH_DATA
    *& Form FETCH_file
    text
    --> p1 text
    <-- p2 text
    FORM FETCH_file .
    READ DATASET P_DSNI INTO itab.
    append itab.
    clear itab.
    IF SY-SUBRC NE 0.
    S_EOF = 'YES'. EXIT.
    ENDIF.
    ENDFORM. " FETCH_file
    *& Form print_file1
    text
    -->P_ITAB text
    FORM print_file1 tables P_ITAB structure itab .
    write:/2 'EmpNo',
    14 'Personnel Area',
    34 'Emp Group',
    47 'Emp SubGroup'.
    skip 1.
    loop at p_itab.
    write:2 p_itab-pernr,
    14 p_itab-werks,
    34 p_itab-persg,
    47 p_itab-persk.
    skip 1.
    endloop.
    ENDFORM. " print_file1
    <b>Reward if usefull</b>

  • Social Sharing preference in sidecar.xml?

    Hi,
    I saw that <hideFromTOC> has been added to the sidecar.xml informations. Is there also a preference to set the social sharing protection behaviour?
    Regards,
    Yves

    Hi Bob,
    I just tried with Folio Builder Panel 12.2.2.1 (update from may 7th).
    hideFromTOC still does not work. I can't even select it manually
    Temp files were deleted.
    –Yves

  • The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5

    The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5
    This is happening for most of the pupils and staff at our school and they are unable to complete their work.
    This also happens on a fresh copy of windows and CS5.5 without any updates and also with all latest updates.
    I have tried it on 32-bit and 64-bit CS5, Windows, Air and Java with the same error every time.
    There are a small minority of users where this works fine for them with no issue.
    I have tried re-setting user profiles.
    I have tried a local admin and domain admin account with the same issue
    I have noticed however that if the file is moved to the shared area it will compile. If it is on their documents area it will not compile. The users have full control in both locations. This is fine for staff but we are unable to give full control or modify access to the shared area for the pupil's
    I have been through the online support section and it directed me to phone Adobe Customer care who informed me that all support has been discontinued for CS5, CS5.5 and CS6 and they will only support creative cloud.
    Any ideas what to try next? There is no other information about this error and I cannot work out what is causing it.

    I have tried and  able to package an apk using your XML file.Could you please make sure your XML file starting from line 1 and coloumn 0.Any space will results in the error (Application Descriptor file cannot be parsed)
    -Pranali

  • Subscription Tile Error and Social Sharing Questions

    Hello,
    I recently had my free subscription DPS app rejected by Apple with the following message:
    "When the user taps "subscribe" an activity indicator is displayed for a moment and then no further action occurs. The subscription fails."
    When I go back through my work, it looks as though the problem may be linked with leaving "Optional Library Subscription Tile URL" field blank in the App Builder. Is this correct? Do I need to create a webpage specifically to complete the subsciption process? I haven't been able to find any specifics regarding this in the Adobe Publishing Companion Guide.
    Also, regarding social sharing, is there any more information you can provide regarding setting up a URL scheme to launch the viewer app? Does this need to be an actual functioning webpage?
    Thanks!
    Darin

    No, subscription failure is not because of the Optional URL scheme. Subscription failure and reason for Apple's rejection can be either or both of the following reason
    You have not copy pasted your shared secret key into the application account of your app using the Admin dashbaord panel
    Your free subscription product from the app(viewer builder) does not match the Free subscription in-app purchase on iTunes connect.
    Regarding the optional URL scheme here's a good blog post from Bob
    Message was edited by: Lohrii Alo

  • No Service" error on all sharing buttons - OS X Yosemite. Is there

    I am unable to share links etc. with Yosemite Safari.  "No Service" error on all sharing buttons - OS X Yosemite.
    I tried all of the buttons and pull down menus>
    Is there are workaround to this?
    Is Apple working on a bug fix?

    To Restore Share Options
    Open Macintosh HD > Applications > Utilities > Terminal > Copy and paste in the following:
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/Support/lsregister -kill -seed
    > Press Return > Close Terminal App.
    Hope that helps,
    Weston
    Supporting Article
    If sharing options and Markup are missing after you install OS X Yosemite

  • Custom social media buttons

    Hello Dreamweavers,
    I am working on a site that will have twitter and facebook buttons.
    I tried the buttons provided by twitter and facebook: For twitter the "tweet" button and for facebook the "like" and "send" button as you generate on their sites.
    There is a lot not to like about this: You don't control the looks (they are loaded through a script), the buttons facebook and twitter are different in size, they come with a ton of code that is loaded from the facebook servers and thus seem to slow down loadtimes.
    The facebook button is quite wide and does not go well with my fluid design.
    I would like to replace them with my own.
    The fb and twitter scripts also send info, like the page you come from, username etc, so that users can quickly send that page to their followers.
    The company that the site is for does not have a facebook page or twitteraccount.
    We don't want a counter with the buttons.
    So how can I have my own buttons and still have (some) of the functionality that the FB and Twitter buttons offer?

    don't understand why you are adding buttons to a web page whose company does not have social media accounts for those buttons to link to?
    Actually is not really a real "company" it is more like a collaboration of people with an idea that won a price with that.
    Visitors cab join in if they want.
    So it is a "social" thing, but all the info will be on the site.
    The people that will visit the site are typical users of twitter and facebook (and Linkedin) and will most likely use that to share the site.
    In any case, you can design any button you like and change the URL to link directly to the facebook or twitter page. It does not need to have the functionality but you mention you want to keep some of that functionality - what parts exactly?
    For instance that the URL of the page that you want to share is sent.
    And I set up the site with Open Graph, so you can "send" the page complte with a description, url and small picture.
    I must add that this whole social media thing is unknown territory for me, I am reading up on it right now.
    So perhaps I should rephrase my question:
    Do you or did you implement social media buttons in the website you built and if yes, how did you do that and why?

Maybe you are looking for

  • Career Path with SAP Netweaver

    Hi SDN Gurus, This is a generic question around career guidence: What should be the typical/practical career graph for a person who intends to work around SAP Netweaver? Initially, when I started my career, I was put into SAP XI, which I learnt with

  • Keynote doesn't export in Quicktime

    Hello! I have a problem with a Keynote file: I must show this presentation on PC and so, I want to export it in Quicktime (because there are many animations and hyperlinks). But, if I export it, I get the error message, that the Keynote file cannot b

  • Not able to download windows 8.1

    Hi, When I clicked on "Download" to get the windows 8.1 update  in the store, I am getting an error message by saying "You need to use an account with administrative privileges to install windows 8.1, try logging in with the user account of administr

  • How to cache a content item like a Static HTML Page from UCM to Coherence/C

    Hi All, How to cache a content item like a Static HTML Page from UCM to Coherence/Coherence Web? Thanks

  • Which battery module serves which controller?

    I have an original XServe RAID with only the drives served by the lower controller populated. It has been in service since about 2003, if memory serves. I have a few questions: 1) How can I tell if the cache batteries are any good? The RAID admin sof