Iphone touchscreen code samples
Would anyone like to share iphone touchscreen code samples with the community? I would share mine, but I don't have a clue.
Any code for touch,mouse or input events that is coded for normally for flash will also work in iphone too.
Not sure of gesture and multi touch events.Some examples below
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/events/MouseEvent.html
http://help.adobe.com/en_US/as3/dev/WSb2ba3b1aad8a27b0-6ffb37601221e58cc29-8000.html
http://www.adobe.com/devnet/flash/articles/multitouch_gestures.html
Similar Messages
-
Is there a RH standard for formatting code samples?
In the RH default style sheet, I do not see a pre HTML tag or other tag that will display code samples in a monospaced font.
I created custom styles for a single line code sample and another style for multiline samples.
We want our code samples to be shaded. If I shade multiple lines, each line being separated with a paragraph, there is a small amount of
white space between each line. We do not like this either.
I then created a custom table style with a single shaded cell. I add my multiline sample code, then I apply the custom paragraph style to get
the font and spacing between lines that I want.
Is there a different best practice for this, so that the code sample would be rendered correctly if viewed from other devices that read the HTML and
may look for the pre HTML tag?
I am using RoboHelp 9 and I provide the output as Eclipse help. Our help files are integrated into Eclipse help in the Eclipse IDE.
Thank you.
CynthiaHi Cynthia
As much as it pains me to say it, this is one case where using a Form element might be your best bet. I say this because often code samples are used or presented with the intent of copying and pasting into something like Windows Notepad. And if you used the TextArea form element, you can place the code there and make it pretty easy for folks to copy it for use elsewhere.
I stand to be corrected on this because I am not a "power CSS" person. (meaning I am aware there are complete two and three day classes one might attend on all the nuances of CSS) But RoboHelp won't really do anything to help you a great deal in formatting things. But it might be possible, somehow, to configure CSS to accomplish your goal of making the code look as you want.
Cheers... Rick -
Hello SAP community. Does anyone have a step-by-step code sample for creating either a jsp or web dynpro application in Netweaver to use a java proxy to connect to XI that will calls a RFC or BAPI in SAP R3?
Hi
See the Code sample and pdf help it the SDN samples and tutorials
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715
https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
Kind Regards
Mukesh -
Hi I bought an iPhone from my friend who forgot the username and password, and now my iPhone Aktyvyshn code and that it wants to register Forgot your password to her email, please guide me
You can NOT do so. Only the owner of the account used to lock the phone can remove it. Instructions for how to do so can be found within or linked from within the document I already linked to.
Activation lock is an anti-theft feature designed to make the device useless to anyone other than the rightful owner.
If your friend refuses to give your money back and can not or will not remove the activation lock, there is a fair possibility that the phone was not theirs to sell in the first place. -
Any code samples for inputting content into content manager 8.1?
Does anybody know where to find code samples of adding content to the Content Manager
via the Java API?
The only code I can find is the "Content Manager Example Portlet" and it is 7.0,
not 8.1.
It's not clear from the documentation what the Repository and Path are supposed
to be named. Perhaps we had a working example, this might help.
Thanks
DaveDoes anybody know where to find code samples of adding content to the Content Manager
via the Java API?
The only code I can find is the "Content Manager Example Portlet" and it is 7.0,
not 8.1.
It's not clear from the documentation what the Repository and Path are supposed
to be named. Perhaps we had a working example, this might help.
Thanks
Dave -
Code Samples for SDK programming in Java
I need a complete set of Code Samples for SDK programming in Java, like the one that is available in VB and .Net.
For Example, if you look at the following directory of machine where SDK is installed,
C:\ProgramFiles\SAP\SAP Business One SDK\Samples\COM DI\VB.NET
we have following Sample programs in C Sharp, VB6, VB.Net
01.BasicOperations
02.MetaDataOperations
03.UsingSBObob
04.SerialAndBatch
05.OrderAndInvoice
06.ObjectsSchemas
07.Permissions
08.LoadFromXML
09.BudgetEditor
10.Messages Service
11.Basic Company Settings
12. Report Layout Service
13.SaveXML
14.ItemCycleCount
15.ApprovalStagesAndTemplateServices
16.Alert Management Service
Iam looking for Samples like what is available above so that we can understand JCO better.Hi Sridharan,
The only JCO samples I know of are posted in the [thread|;.
Regards,
Vítor Vieira -
What is the temperature limit of the finger to work on iPhone touchscreen? I'm asking this, because I've noticed that when my finger gets too warm (about 104oF) the screen of my iPhone 5 doesn't recognize its touch. Thank you.
I understood. Emphasizing that this is still a guess, when you touch the screen it compares your fingerprint at that time to the one you originally recorded. The fact that the finger is warmer may have a small effect on the fingerprint making it appear different than the original colder one. Temperature differences cause things to expand and contract and that may be having an effect on the comparison. You could try recording a fingerprint after doing what you are doing and then see if it will be recognized when you do the same thing to log into the phone. I know that prior to iOS 7.1 for a few minutes after I would wash my hands the phone had difficulty recognizing the fingerprint. Don't know if it was temperature or moisture that caused the temporary change induced by the hand washing. That improved with version 7.1 I think.
-
Explanation of some code samples
Hello,
can you explain me some code samples?
First:
try{
wdContext.currentBapi_Flight_Getlist_InputElement().
modelObject().execute();
catch (Exception ex){
ex.printStackTrace();
wdContext.nodeOutput().invalidate();
Second:
Bapi_Flight_Getlist_Input input =
new Bapi_Flight_Getlist_Input();
wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
input.setDestination_From(new Bapisfldst());
input.setDestination_To(new Bapisfldst());
Thanks for your help,
AndréHi Andre,
I hope you know how Rfcs work so I shall start of from there. So i shall explain with the little amount of grasp I have in the topic
First:
What the first code does is, to connect to the R/3 system and execute the RFC/BAPI with the input populated in the context node.
invalidate is used to refresh the output node .
Second:
This part of the code is to bind the imported model of the RFC to the context model node and also to instantiate an instance of the structure to input the values into the table(input.setDestination_From(new Bapisfldst())).
Hope this would explain a bit.
Do reply with your feedback.
Regards
Noufal -
Where is code sample of OVS in SAP's tutorials ?
Hi everyone !!
Please help me !!!
Where is code sample of 'Advanced Value Help: Object Value Selector'
in 'Web Dynpro Java Tutorials and Samples NW 2004' ?
Code sample's link is lost.
Web Dynpro Java Tutorials and Samples NW 2004
Web Dynpro Java Tutorials and Samples NW 2004
Advanced Value Help: Object Value Selector
https://ecohub.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/web%20dynpro%20valuehelp%20using%20object%20value%20selector.pdfHi,
try this link,
Advanced Value Help: Object Value Selector :
/docs/DOC-8061#51
right now the code sample is not working? getting the portal runtime error.
hope this is rectified shortly !.
Regards,
ramesh
Edited by: Ramesh Babu V on Nov 13, 2008 10:14 AM -
Delivery status notifications Code Samples
Hi,
I'm looking for some code samples on how to use javamail Delivery status notifications.
Please, are there any code samples?
ngocthanI accept that the recipient must actually confirm receipt but until very recently I could request a delivery status report and would get confirmation that an email had been delivered to the intended server or not as the case may be. Suddenly these confirmations have stopped and I think it unlikely that all the receiving servers have simultaneously been programmed not to send delivery status confirmation. Confirmation of delivery to the receiving server is important, sometimes vital, in my work to demonstrate that non-receipt is a problem at the receiving end and that a document or email was actually sent.
-
Laura, I need some code samples you mentioned...
Laura,
I posted a message a few days ago regarding calling Stored Procedures in my JDev 3.1 (JDK 1.2.2) BC4J application. I need to be able to call them two different ways. The first involves passing some parameters to the SP and recieving back the ResultSet. In the other instance I simply need to make a call to them to perform some tasks on the DB side. Nothing will be returned from these SP's. You discussed implementing the SQL as a VO and gave me some code showing me how I might do this. You also mentioned that it is possible to create a method on the AppMod and call this from the JSP client. I need to know which method should work best for me and to get the code samples for the second option.
Thanks.
RobHi,
Here is the code I used for the custom method on my VO (same could be used from the app module rather than a specific VO). The stored procedure I am calling here performs some calculations and returns an integer value:
public int getTotalHits(String mon, String year) {
CallableStatement stmt = null;
int total;
String totalhits = "{? = call walkthru.total_hits(?,?)}";
stmt = getDBTransaction().createCallableStatement(totalhits, 1);
try
// Bind the Statement Parameters and Execute this Statement
stmt.registerOutParameter(1,Types.INTEGER);
stmt.setString(2,mon);
stmt.setString(3,year);
stmt.execute();
total = stmt.getInt(1);
catch (Exception ex)
throw new oracle.jbo.JboException(ex);
finally
try
stmt.close();
catch (Exception nex)
return total;
After adding the custom method to your appmoduleImpl.java file and rebuilt your BC4J project, do the following:
1. Select the Application Module object and choose Edit from the context menu.
2. Click on the Client Methods page. You should see the method you added in the Available list.
3. Select the method and shuttle it to the Selected list.
4. Click Finish. You should see a new file generated under the application module object node in the Navigator named appmodule.java that contains the client stubs for your method.
5. Save and rebuild your BC4J project.
I wrote a custom web bean to use from my JSP page to call the method on my VO:
public class GetTotals extends oracle.jdeveloper.html.DataWebBeanImpl {
public void render() {
int totalhits;
try
Row[] rows;
// Retrieve all records by default, the qView variable is defined in the base class
qView.setRangeSize(-1);
qView.first();
rows = qView.getAllRowsInRange();
// instantiate a view object for our exported method
// and call the stored procedure to get the total
ViewObject vo = qView.getViewObject();
wtQueryView theView = (wtQueryView) vo;
totalhits = theView.getTotalHits(session.getValue("m").toString(),session.getValue("y").toString());
out.println(totalhits);
} catch(Exception ex)
throw new RuntimeException(ex.getMessage());
I just call the render method on this custom web bean from the JSP. I am not passing parameters to the render method of the bean, but instead access the parameters I need from the session:
session.getValue("m").toString()
I set these session parameters from the JSP that is called when the user submits their query criteria form. For example:
// get the view parameter from the form String month = request.getParameter("month");
String year = request.getParameter("year");
// store the information for reference later session.putValue("m", month); session.putValue("y", year);
Hope this helps. -
Code sample of sendRedirect using Web Dynpro NetWeaver 6.4
Hi ALL,
Im building a Web Dynpro application under Netweaver Developer Studio 6.4 and I need to redirect to another URL while the client click on a button.
I know it should be something like request.getServletResponse(true).sendRedirect("myURL");
But Im not sure how to get the request, or the response in order to apply the sendRedirect method.
Do you have any code sample or Web documentation I could use to redirect my Web Dynpro application?
Best regards,Hello Jean-François,
To navigate to http://www.yahoo.com you have 2 options:
1) Call
WDClientUser.forceLogoffClientUser("http://www.yahoo.com");
2) Define Outbound plug with name Url in interface view, mark it as exit, define parameter Url with type String. Add usage of interface view in your view and add something like this in action handler:
wdThis.wdGet...InterfaceViewController().wdFirePlugUrl("http://www.yahoo.com");
Best regards, Maksim Rashchynski. -
Why do so many code samples here use Arrays?
I've seen many code samples here use Arrays. Why? I much prefer to use ArrayLists, and Vectors if I need synchronization or HashSets if I require uniqueness. I don't understand why people are using Arrays when the Collection classes are so useful. You can change the underlying datastructure without changing any of the access code.
I guess they are faster...
public class Test1 {
public static void main(String[] args) {
Integer zero = new Integer(0);
long start = System.currentTimeMillis();
for (int j = 0; j < 1000; j++) {
Integer[] array = new Integer[10000];
for (int i = 0; i < 10000; i++) {
array[i] = zero;
long finish = System.currentTimeMillis();
System.out.println(finish - start);
start = System.currentTimeMillis();
for (int j = 0; j < 1000; j++) {
ArrayList arrayList = new ArrayList();
for (int i = 0; i < 10000; i++) {
arrayList.add(zero);
finish = System.currentTimeMillis();
System.out.println(finish - start);
}~460 ms for array
~1600 for ArrayList
Still, the benefit of the Collections interface and the better OO design of code that uses these classes is probably worth it in most cases, IMO. -
Tutorial & Code Sample for Developping Composites with CAF
Do you have tutorials & Code samples for developping composites with CAF like Webdypro for Java as on this SDN site:
https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
Thanls, regards, peterTake a look at https://www.sdn.sap.com/irj/sdn/developerareas/xapps?rid=/webcontent/uuid/7b9b3834-0801-0010-6a9a-dc53e0db37f2">the [original link is broken] [original link is broken].
cheers,
Marilyn -
I just wanted to share with the community there is a huge code base at
koders.com
Over 2 million lines of code....
that has tonz of examples from almost every language. Check it out. It's pretty neat stuff if you have time to search through the code.Choosing between CMP or BMP depends on the business requirements.
If your application has a lesser complex mapping, development time is less or there is no benefit is achieving a greater control over database transactions, CMP would be preferred. However, if you wish to have a greater degree of control over the database transactions and/or the database has complex mappings, it is better to opt for BMP.
As for the code samples, you coild find hundreds of them if you do a Google search.
Regards
xH4x0r
Maybe you are looking for
-
Problem in Creating Receiver Agreement
Hi, I had created a namespace in IR and did a simple idoc to file scenario. In the IR, the MI and MT are not been shown while creating the receiver agreement and receiver determination. Do let me know what would have been wrong. I tried entering it m
-
Some smart album rules not working
At a bit of a loss here - either my upgrade to Mavericks or my upgrade of Aperture to 3.5 has caused my Smart Albums to not work with various EXIF checking rules. I frequently have rules which check the EXIF tag, Camera Make, and check if it is Canon
-
Hi Guys I have created a simple input form to get users to give there details and a comment and send to me using mailto using my email address, I have tried to get validation to all form objects but, just will not work. It looks to me that the valida
-
Stop Safari from opening last browsing session?
Using Safari 5.1 (7534.58.3). I do a radio show twice per week. While on the show, I open like 30 windows with articles or information I want to discuss on the show. When I'm done, I close the browser. Later, when I reopen it, the 15 or so pages i d
-
Strange Problem: MenuItem icon is displayed twice
I have a simplest menu with icons. The problem is that when menu item is clicked, the icon gets displayed twice(one on top of the other). i.e: The SubMenuItem A1 icon is displayed twice( along the top and left side) Any ideas about how to prevent t