Determining Speed Data from GPS | Flash Training with Paul Trani | Adobe TV
Using ActionScript you can get GPS data from the device. Often the latitude and longitude is used, but did you know you can also get the direction of movement, accuracy, altitude as well as the speed? In this video learn how to get the speed property to create a simple and effective running app.
http://adobe.ly/zZJLBa
That Geolocation demo is really cool, and very professionally produced.But, I think there must be something off with the conversion. A max speed of 7 mph for that sort of dead sprint cannot be right, since 7 mph comes out to a leisurely 8:34 mile. That sprint was easily twice that fast, so 14-15 mph, minimum, would have been expected as a max speed.
Similar Messages
-
How to transfer quicken data from a flash drive to quicken essentials
How do I transfer my Quicken data from a flash drive to Quicken essentials with new Lion Os software?
https://qlc.intuit.com/app/full_page#
-
How to load data from a virtual cube with services
Hello all,
we have set up a virtual cube with service and create a BEx report to get the data from an external database. That works fine. The question is now:
Is it some how possible to "load" the data from this virtual cube with service (I know that there are not really data...) into an other InfoCube?
If that is possible, can you please give my some guidance how to set up this scenario.
Thanks in advance
JürgenHi:
I don't have system before me, so try this.
I know it works for Remote Cube.
Right Click on the Cube and Select Generate Export Data Source.
If you can do this successfully, then go to Source Systems tab and select the BW. Here, Right CLick on select Replicate DataSources.
Next, go to InfoSOurces, click on Refresh. Copy the name of Virtual Cube and add 8 as a prefix and search for the infosource.
If you can see it, that means, you can load data from this cube to anywhere you want, just like you do to ODS.
ELSE.
Try and see if you can create an InfoSpoke in Virtual Cube. Tran - RSBO.
Here, you can load to a database table and then, from this table, you can create datasource, etc.
ELSE.
Create query and save it as CSV file and load it anywhere you want. This is more difficult.
Good luck
Ram Chamarthy -
Integrate data from SAP R/3 with iDOC
Hi,
I need extract data from SAP R/3 with the iDoc method, but I can't found documentation from oracle where explain it how do it?, just I know that for this method ODI use two agent (OdiSAPALEServer and OdiSAPALEClient) and they are part of Open Connector for SAP R/3, so anybody that can help me with this issue?, I will be very grateful, just I need some orientation about how to do it?, for example, I need to be clear if the Open Connector for SAP R/3 is part of ODI or I need iinstall other special connector, etc.
I will be expecting for any answer that can help me.
Best regardsHi Rodrigoalegrem,
Below llink will helps you for
*Oracle Data Integrator
Getting Started with SAP ABAP ERP Adapter
10g Release 3 (10.1.3)*
URL: http://www.oracle.com/technetwork/middleware/data-integrator/overview/odigs-sapabap-168070.pdf
Regards,
Phanikanth -
Export data from BW to oralce with open hub service.
Hi Dear all,
When I tried to export data from BW to oralce with open hub service. There is no available RFC destination for this oracle system. That means i need to create a RFC destination for the oracle server.
How can i achive this, in SM59? But U don't know much how to configure this. Is there any expert can help me there?
KevinHi kevinhuang ,
RFC connection.......... You can check in SM59 tcode...Double click on the the desired Source system
or
RSA1-->Source systems and then right click on Source system and Check
To test RFC connection...RSA1 ....Source system....... Right click on desired source system >> Connection Parameter.....Test connection
Pls go thru this links,
http://help.sap.com/saphelp_nw70/helpdata/EN/43/79f902dfb06fc9e10000000a1553f6/frameset.htm
BI Open Hub Destination and data transfer process setup
http://www.ibm.com/developerworks/data/library/techarticle/dm-0802li/index.html
Hope this helps U.
Regards
Chandra Sekhar
Edited by: Chandra Sekhar T on Apr 21, 2009 3:36 PM -
Delivery date from PO not updated with inbound delivery (EDI) date
Dear all,
The delivery date in the purchase order (as per my understanding) is the purchase order creation date + the planned delivery time.
We are using EDI and an inbound delivery gets created when the shipping notification is received from the vendor.
The real inbound delivery (EDI) date is usually different from the planned delivery date of the purchase order. But the problem is that the delivery date from the PO is not getting updated with the EDI delivery date.
Is it possible to have the delivery date from the PO updated with the real EDI delivery date?
I need this because I want to calculate planned delivery costs based on the EDI delivery date, and so far when I post the goods receipt (Price Date Category = "Delivery date" in the PO), the system is taking the price valid at the delivery date from the PO instead of taking the price valid at the delivery date of the EDI message.
Thanks a lot,
Annabelle R.We have applied the note 793478 "Change of the pricing date in EXIT SAPLEINR 003".
In our process flow, an inbound delivery is created with reference to the PO, then the goods receipt is done with reference to this inbound delivery.
When the option 5 "Goods receipt date" is selected in the Conditions Control tab of the purchase order, now when the goods receipt is posted, the price is calculated based on the inbound delivery date, which is what we wanted. -
Is it possible to retrieve data from an Oracle db with an LDAP query?
Our application uses an LDAP query to retrieve data from Microsoft Active Directory. Is it also possible to retrieve data from an Oracle database with an LDAP query?
if you have Oracle Internet Directory, you will retrieve with ldapsearch data, which are physically stored in the database. But to select * from emp where ename='SCOTT', it is probably not possible.
At least I have never heard of such a product which translate ldap query in sql query. But feel free to write your own one in perl :-) -
I need to count intermittent high speed pulses from an outside source with cFP-CTR-502 and Labview 8.2 . I've found example code for generating pulses and creating intricate count setups but no straightforward examples of a simple counter. Any suggestions?
Hello tinfish,
I could not find a simple example that implements simple counting either, but it should be straightforward enough for us to try. Do you have the CTR module configured properly in MAX? If so, can you monitor the channels on your CTR 502 for input? Try connecting a square wave or some other digital pulse to the terminal to test the functionality of the counter module first (before programming). If you monitor the input channels with somethign connected you should see the count increment each time it sees a rising edge (assuming default configuration).
Once you've verified that everything works in MAX, you can set up your CTR module in a LV 8.2 project. If you need help with this, refer to the help document (look in the "Configuring FieldPoint in LabVIEW" section):
C:\Program Files\National Instruments\FieldPoint\documentation\Online Help\fplv.chm
You should be able to just read a channel tag from your CTR 502 using an FP Read VI. (Simply drag the channel from your project onto the block diagram). Since counting is the default behavior of the 502, there is no special programming involved to make it work.
I hope this helps -- if it's too high-level we can talk details about specific questions you have. Have a good one!
Charlie S.
Visit ni.com/gettingstarted for step-by-step help in setting up your system -
What is the best way to geotag photos with data from GPS Tracker Log (GPX format)?
I just returned from a 4 month trip to Southeast Asia. Before I left, I set the time on my camera, a Canon 7D, to match the GPS time on my GPS tracker, a QStarz BT-Q1000X. Both times were set to UTC, also known as GMT.
I have imported the data from the GPS log into Aperture as a GPX file. Now I would like to sync the location metadata on my photos with the data from the GPS log. How can I do this using Aperture 3?
I seem to be having two problems:
Aperture wants to shift the times based on which part of the track I drag the images onto. Since the camera and gps tracker times were sync'd, I do not want any shift.
The time shifts that are displayed are 12 hours and a few minutes, rather than 0 hours and a few minutes.
A few additional notes:
When I imported the GPS track, Aperture automatically changed the time zone of the track to Asia/Ho Chi Minh City, which is correct (GMT+7).
I have batch changed the images from Camera Time: UTC to Actual Time: GMT+7
The time on my computer is US/Eastern Daylight Time (GMT-4), or Eastern Standard Time (GMT-5) when the photos where taken.
Since I was gone for so long, and my GPS tracker memory is limited, I set the tracker to record a trackpoint once every 60 seconds.
Is there a solution to my problems using Aperture 3, or should I start looking for third party applications to geotag the photos before importing them into Aperture?
Thank you.I think the 12 hour discrepancy is more likely a result of the 12 hour difference between GMT+5 and GMT-7. The dates and times of the photos and the GPS track are displayed properly in Aperture. See the images below.
-
How to transfer data from USB flash drive to iPad Air?
How do I transfer files and data from a USB flash drive, or from a PC, to an iPad Air?
With a USB flash drive you might, if the drive doesn't require too much power, be able to copy photos and/or videos (if they are under a DCIM directory on the drive and their filenames are exactly 8 characters plus file extension) from it to the iPad's Photos app via the camera connection kit.
What sort of files do you want to copy to your iPad, and have you got an app on your iPad that supports the file type that you want to copy to it ? Everything on your iPad has to be stored within an app, it doesn't have a 'file system' like a computer. Different apps have different ways of copying content to/from them e.g. via the file sharing section on the iPad's Apps tab when connected to your computer's iTunes, via your wifi network, email, dropbox.
Syncing with iTunes : http://support.apple.com/kb/HT1386
Syncing media : http://support.apple.com/kb/HT1351
Syncing photos : http://support.apple.com/kb/HT4236 -
Send data from PHP - Flash - PHP
Hi,
I have some issue with passing data from Flash to PHP and
reciprocally.
when i browse the FlashDataExchange.php file (which includes
the flash)
it does not redirect automatically to the 2nd PHP page...
And i do not get any data on the 2nd PHP page....
i'm lost, what do i do wrong ?
thanks for your help.
Alain
i have the following AS3 code :
import flash.external.*;
myButton.addEventListener("click", sendData2PHP);
//var link2:String = "
http://192.160.1.2/test/flashdataexchange.php";
var link:String = "
http://192.160.1.2/test/DataExchangeResult.php";
var request:URLRequest = new URLRequest (link);
var loader:URLLoader = new URLLoader (request);
var variables:URLVariables = new URLVariables();
request.method = URLRequestMethod.POST;
request.data = variables;
var curUrl:String = String( ExternalInterface.call("
function(){ return
document.location.href.toString();}"));
function sendData2PHP(evt:Event):void
variables.lg = myField1.text;
variables.address = myField2.text;
variables.field2 = curUrl;
loader.addEventListener(Event.COMPLETE, onComplete);
loader.addEventListener(IOErrorEvent.IO_ERROR, sendIOError
loader.dataFormat = URLLoaderDataFormat.TEXT;
loader.load(request);
function onComplete (event:Event):void
Text1.text = event.target.data;
My DataExchangeResult.php file looks like that:
<html>
<head>
</head>
<body>
<?php
$lg=$_POST['lg'];
$ad=$_POST['address'];
$f2=$_POST['field2'];
echo "test : ".$ad ;
?>
</body>
</html>
and my FlashDataExchange.php file is the following one:
<html>
<head>
</head>
<body>
<?php
echo "-- POST -- <br>";
echo "Lg : ".$_POST['l']."<br>";
echo "Address : ".$_POST['address']."<br>";
echo "f2 : ".$_POST['f2']."<br>";
echo "<br>-- GET -- <br>";
echo "Lg : ".$_GET['l']."<br>";
echo "Address : ".$_GET['address']."<br>";
echo "f2 : ".$_GET['f2']."<br>";
?>
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
width="400" height="200" id="FlashdataExchange"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="FlashdataExchange.swf"
/><param
name="quality" value="high" /><param name="bgcolor"
value="#006600" />
<embed src="FlashdataExchange.swf" quality="high"
bgcolor="#006600"
width="400" height="200" name="FlashdataExchange"
align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
</body>
</html>> it does not redirect automatically to the 2nd PHP
page...
URLLoader does not ever change the page location, it only
loads data from the URL. To change pages, you need to use
navigateToURL(), which can also send POST/GET variables along with
the URL request.
> And i do not get any data on the 2nd PHP page....
A quick look at your code looks correct to me: you are
listening for the complete event, dataFormat is text, and PHP is
echoing. However, check for httpStatus event and see if it gives
you anything interesting... I can't get to the link myself, aka
404. Also check the securityError event. -
How to upload data from flat to ztables with in the same client by idocs
Hi Experts,
I have a requirement in IDOCS, I need to create a custom IDOC .I am working on IDES 4.6c. The reqirement is , there are ztables with header and item data. say for example Authors and Books. I need to upload data from flat file which is available in presentation server of the same client, which will updated in ztables by using idocs. For this i need to do ale settings also. The client is 800. There is no other client available. With in the same client i need to do the above stuff.
For this requirement how to approach (step by step) to accomplish.
Thanks in Advance.
Regards
J.S.VarmaHi,
This is the procedure.
create segments using we31. <b>don't forget to relaese it</b>
create idoc using above segments using we30 <b>don't forget to relaese it</b>
create message type using we81
create function module to upload data using se37
maintain process code using we42
create partner profiles we20.
In the fm module itself write the code for downloading the data from presentation server by GUI_DOWNLOAD.
Then update the database tables directly by insrt through other internal table in the same client itself.
Thanks
Manju -
Update data from ODS to ODS with infopackage selection
Hi,
I am trying to update data from one ODS to another ODS with selection criteria in InfoPackage which is created manually.For Full load I can give selection criteria in InfoPackage. When I initialize data Selection is greyed out even selections for Full load exists. Please advise me how to give selections for delta loads from ODS to ODS loads.
Thanks in advance.
RamOnce you started an ODS as destination in FULL mode from a DS you cannot get back.
So if you want to update from ODS to ODS using Change Log but considering only some data records you could create an Update Routine with a Start Routine that DELETES undesired records (e.g. DELETE DATA_PACKAGE WHERE ...) and then start an Init-Delta Loading.
Hope it helps
GFV -
Error loading data from BW to BPC with standard package
Hi experts,
A big part of our solution is pulling actuals from BW into BPC. To do so we use the standard SAP package "Load InfoProvider Selections" which calls the process chain /CPMB/LOAD_INFOPROV_UI.
We have migrated our environment to BPC 10 and tried to run this process and are now getting the following error:
“ Task name CONVERT:
No 1 Round:
An exception with the type CX_ST_MATCH_ELEMENT occurred, but
was neither handled locally, nor declared in a RAISING clause
System expected element 'Selections' ”
We have tested and this is happening with all data loading packages. It appears as though it is expecting a "selection" parameter, but selections have definitely been made. Has anyone encountered a similar issue or have any idea how to resolve it?
Best,
ChrisHi Vadim,
Yep, my script is:
(INFOPROVIDERSELECTION,%InforProvide%,"%SELECTION%",Please input the infoprovider and set selection,,)
(TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
(RADIOBUTTON,%CLEARDATA%,"Select the method for importing the data from the source file to the destination database",0,{"Merge data values (Imports all records, leaving all remaining records in the destination intact)","Replace && clear datavalues (Clears the data values for any existing records that mirror each entity/category/time combination defined in the source, then imports the source records)"},{"0","1"})
(RADIOBUTTON,%RUNLOGIC%,"Select whether to run default logic for stored values after importing",1,{"Yes","No"},{"1","0"})
(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})
(%TEMPNO1%,%INCREASENO%)
(%ACTNO%,%INCREASENO%)
(/CPMB/INFOPROVIDER_CONVERT,OUTPUTNO,%TEMPNO1%)
(/CPMB/INFOPROVIDER_CONVERT,ACT_FILE_NO,%ACTNO%)
(/CPMB/INFOPROVIDER_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
(/CPMB/INFOPROVIDER_CONVERT,SUSER,%USER%)
(/CPMB/INFOPROVIDER_CONVERT,SAPPSET,%APPSET%)
(/CPMB/INFOPROVIDER_CONVERT,SAPP,%APP%)
(/CPMB/INFOPROVIDER_CONVERT,FILE,%InforProvide%)
(/CPMB/INFOPROVIDER_CONVERT,CLEARDATA,%CLEARDATA%)
(/CPMB/INFOPROVIDER_CONVERT,INFOPROV_SELECTION,%SELECTION%)
(/CPMB/CLEAR_DATA,INPUTNO,%TEMPNO1%)
(/CPMB/CLEAR_DATA,CHECKLCK,%CHECKLCK%)
(/CPMB/APPEND_LOAD,INPUTNO,%TEMPNO1%)
(/CPMB/APPEND_LOAD,ACT_FILE_NO,%ACTNO%)
(/CPMB/APPEND_LOAD,RUNLOGIC,%RUNLOGIC%)
(/CPMB/APPEND_LOAD,CHECKLCK,%CHECKLCK%)
(/CPMB/APPEND_LOAD,CLEARDATA,%CLEARDATA%)
Thanks,
Chris -
Upload data from excel to Ztable with statistics
Hi,
I have a requirement to upload data from excel sheet to ztable .
Here i need tp provide the user with the execution statistics like
1.Number of records read from the Excel spread-sheet
2. Number records processed successfully
3. Number records with Error
4. Name and location of Error Log-file (text-file format)
5. Name and location of the file containing error records (Excel spread-sheet format)
I would appreciate if any of you have code written for the sameSee the below example code to upload from xl file to sap
REPORT ZLWMI151_UPLOAD no standard page heading
line-size 100 line-count 60.
*tables : zbatch_cross_ref.
data : begin of t_text occurs 0,
werks(4) type c,
cmatnr(15) type c,
srlno(12) type n,
matnr(7) type n,
charg(10) type n,
end of t_text.
data: begin of t_zbatch occurs 0,
werks like zbatch_cross_ref-werks,
cmatnr like zbatch_cross_ref-cmatnr,
srlno like zbatch_cross_ref-srlno,
matnr like zbatch_cross_ref-matnr,
charg like zbatch_cross_ref-charg,
end of t_zbatch.
data : g_repid like sy-repid,
g_line like sy-index,
g_line1 like sy-index,
$v_start_col type i value '1',
$v_start_row type i value '2',
$v_end_col type i value '256',
$v_end_row type i value '65536',
gd_currentrow type i.
data: itab like alsmex_tabline occurs 0 with header line.
data : t_final like zbatch_cross_ref occurs 0 with header line.
selection-screen : begin of block blk with frame title text.
parameters : p_file like rlgrap-filename obligatory.
selection-screen : end of block blk.
initialization.
g_repid = sy-repid.
at selection-screen on value-request for p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = g_repid
IMPORTING
FILE_NAME = p_file.
start-of-selection.
Uploading the data into Internal Table
perform upload_data.
perform modify_table.
top-of-page.
CALL FUNCTION 'Z_HEADER'
EXPORTING
FLEX_TEXT1 =
FLEX_TEXT2 =
FLEX_TEXT3 =
*& Form upload_data
text
FORM upload_data.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = p_file
I_BEGIN_COL = $v_start_col
I_BEGIN_ROW = $v_start_row
I_END_COL = $v_end_col
I_END_ROW = $v_end_row
TABLES
INTERN = itab
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
write:/10 'File '.
ENDIF.
if sy-subrc eq 0.
read table itab index 1.
gd_currentrow = itab-row.
loop at itab.
if itab-row ne gd_currentrow.
append t_text.
clear t_text.
gd_currentrow = itab-row.
endif.
case itab-col.
when '0001'.
t_text-werks = itab-value.
when '0002'.
t_text-cmatnr = itab-value.
when '0003'.
t_text-srlno = itab-value.
when '0004'.
t_text-matnr = itab-value.
when '0005'.
t_text-charg = itab-value.
endcase.
endloop.
endif.
append t_text.
ENDFORM. " upload_data
*& Form modify_table
Modify the table ZBATCH_CROSS_REF
FORM modify_table.
loop at t_text.
t_final-werks = t_text-werks.
t_final-cmatnr = t_text-cmatnr.
t_final-srlno = t_text-srlno.
t_final-matnr = t_text-matnr.
t_final-charg = t_text-charg.
t_final-erdat = sy-datum.
t_final-erzet = sy-uzeit.
t_final-ernam = sy-uname.
t_final-rstat = 'U'.
append t_final.
clear t_final.
endloop.
delete t_final where werks = ''.
describe table t_final lines g_line.
sort t_final by werks cmatnr srlno.
Deleting the Duplicate Records
perform select_data.
describe table t_final lines g_line1.
modify zbatch_cross_ref from table t_final.
if sy-subrc ne 0.
write:/ 'Updation failed'.
else.
Skip 1.
Write:/12 'Updation has been Completed Sucessfully'.
skip 1.
Write:/12 'Records in file ',42 g_line .
write:/12 'Updated records in Table',42 g_line1.
endif.
delete from zbatch_cross_ref where werks = ''.
ENDFORM. " modify_table
*& Form select_data
Deleting the duplicate records
FORM select_data.
select werks
cmatnr
srlno from zbatch_cross_ref
into table t_zbatch for all entries in t_final
where werks = t_final-werks
and cmatnr = t_final-cmatnr
and srlno = t_final-srlno.
sort t_zbatch by werks cmatnr srlno.
loop at t_zbatch.
read table t_final with key werks = t_zbatch-werks
cmatnr = t_zbatch-cmatnr
srlno = t_zbatch-srlno.
if sy-subrc eq 0.
delete table t_final .
endif.
clear: t_zbatch,
t_final.
endloop.
ENDFORM. " select_data
Reward Points if it is helpful
Thanks
Seshu
Maybe you are looking for
-
Fixing (or firming) of Schedule lines
Good afternoon, Is there any way that I can fix(or firm) schedule lines on mass via a vendor? Thanks in advance.
-
How to dynamically generate HTML in Servlet without all the out.println?
Since I am not sure whether this is a Java Servlet or JSP problem, so I will describe my situation. And hopefully someone can propose a good solution. I came from a PHP, so Java Servlet and JSP are still a little bit foreign for me. My problem My fro
-
SOAP Receiver to use operations and methods
Hi. I have got a WSDL with 3 methods and I have to call one of them. However, the SOAP Receiver adapter only has a Action section which can be maintained. How can this be attained? The WSDL I am using is as follows: <?xml version="1.0" encoding="ISO-
-
Error starting visual administrator
Hi all, We have implemented SRM5.5 with AS Abap and java. When i run the visual administrator, i am getting the following error. can any one help me out this. 3/26/07 10:53 AM com.sap.engine.tools.launcher.Launcher Error : unable to invoke main class
-
What Does Flex Installer Check in Eclipse DIR?
I'm using EasyEclipse which is bundled eclipse package and Flex installer isn't recognizing it even though the directory structure and file names are the same. it is using 3.1.2 Eclipse SDK. So what is flex looking for whenever it installs into an ec