I am trying make the Pedometer application in iphone. I did n't find any code for this .
How to calculate the step with use of acceleormeter.And how to display on screen of iphone
I need the source code for using of accelerometer for step counting.PLe help me out from this.
I have some issue in my code in that first I want to get latlng of my given address/city name from two text boxes after that i converts it to from position's latlng and to position's latlng and at last i want to draw a polyline between these point and markers on both point also, But now i am trying to draw a line between these points. But still not…
Actually i was trying to get data from elgg database based on multiple joins. It generated very big query with lots of JOIN statements and query never respond back.
SELECT distinct e.* from test_entities e JOIN test_metadata m1 on e.guid = m1.entity_guid JOIN test_metastrings ms1 on ms1.id = m1.name_id JOIN test_metastrings mv1 on mv1.id =…
I am building a whiteboard, which would have a server(teacher) and clients(students). Teacher would draw something on his side, which will be shown exactly same to the students.
I want to know which component i should use to do the drawing? i am currently drawing on JPanel .
I want the screen of Server gets copied on the clients, so for…
string mesag="";
mesag="aDoubleArray value at 0------->"<<aDoubleArray[0]<<" aDoubleArray value at 1 is "<<aDoubleArray[1];
addLog(AMR_LT_WARN, mesag);// this part not working
addLog(AMR_LT_WARN, "this works well");
i dont know anythng about c++ just want to print aDoubleArray values to log file but it throws
…
I am using google site to retrieve weather information , I want to find values between XML tags. Following code give me weather condition of a city , but I am unable to obtain other parameters such as temperature and if possible explain working of split function implied in the code:
import urllib
def getWeather(city):
#create…
please tell me how to make secure SWF files, so that decompilers like sothink won't be able to decompile these swf files at all.
i have been assigned some research work to find out the stuff to make swf files highly secured
I wanted to make my own encryption algorithm and decryption algorithm , encryption algorithm works fine and converts ascii value of the characters into alternate hexadecimal and octal representations. But when I tried decryption, problem occured as it return int('0671') = 671, as 0671 is string type in the following code. Is there a…
Hi all,
How can I achieve the following result in cakephp:
In my application a Topic is related to category, category is related to city and city is finally related to state
in other words:
topic belongs to category, category belongs to city , city belongs to state..
Now in the Topic controller's index action I want to find out…
I have a file on linux ubuntu server hosted with path name /home/kishor/project/detail/.
When I made a web app in window to upload and download file from specified location i used path "c:\kishor\projects\detail\" for saving in window.
For my surprise when i used window file path name in my server i am still able to get files and…
hi, i have to work on skin in flex, but this time , i have to use vector images from adobe illustrator, this is very easy in case of adobe photoshop, as we have .png files, just import them in flash and make them a movie clip, and u r done with the skinnning
but i m facing problem when i m copying images from adobe illustrator in…
hello
I have complete code of facebook connection. But When i dragged the complete code into my application then 112 errors will occurs. wherever i have use use that code "FBConnect/FBConnectGlobal.h"Then error will arises "FBConnect/FBConnectionGlobal.h" No such file or directory. Even i have given all the path in project…
Hello All,
I am using a UiTableView in our application.We have two tabs in controller one is add to shopping list where i add more than one items in our shopping list in database,other one is shopping list which shows items for shopping.
The problem is that when i add items from shopping list tab then items are…
Hi All,
I want to know why we can't have "char" as underlying enum type.
As we have byte,sbyte,int,uint,long,ulong,short,ushort as underlying
enum type.
Second what is the default underlying type of an enum?
I have an single array of Hierarchical categories. Index of the array is the category_id like::
[8846] => Array
(
[category_id] => 8846
[title] => Tsting two
[description] => Tsting two
[subtype] => categories
[type] => object
[level] => 2
…
I just started the Plugin development for the Wordpress, but finding it little difficult to understand. Looks like everything should be hooked with the wordpess to get it run and moreover are there all the global variables that i need to use.
I am making a video plugin and designed some of the forms and display…
i have three level of ul li.
<ul>
<li>
<li>
<ul>
<li>
<li>
<ul>
<li>
I want to increase the hover timings i.e when i hover over the second level li the delay time for hover has to be increased until i reach its…
i have two large tables in a database.
table 1 with 2 fields
rank,name
and
table2 with 2 fields
rank,name.
both are of 1 million records.
can you write php sql code to fetch those records which exists in table2 but does not exist in table1.