Hello when ever i try to to post information on facebook wall in android getting api is under construction but same api is working in iphone. i am using fbrocket..
When I launch the emulator I face many problems (Errors):-
HttpConnectionApp]emulator-5554 disconnected!
Cancelling 'net.paxcel.http.HttpConnectionApp activity launch'!
Emulator]emulator: ERROR: the user data image is used by another emulator.
aborting
Each time I have to re-run it but all in vain.
How can I improve this so that I can re-run the application on same AVD?
Can someone please post Some code to depict the implementation of advise method which is described in IDotAdHocManager interface windows WDK as i am working on it and need to know its proper implementation.
I have stored profile info using this code
ProfileBase userprofile = HttpContext.Current.Profile;
userprofile.SetPropertyValue("FirstName", TextBoxFirstName.Text);
userprofile.SetPropertyValue("LastName", TextBoxLastName.Text);
userprofile.SetPropertyValue("AboutMe", TextBoxAboutMe.Text);
userprofile.SetPropertyValue("ContactNo", TextBoxContactNo.Text);
and in web.config
<profile enabled="true" defaultProvider="AspNetSqlProfileProvider">
<properties>
<add name="FirstName" type="String" />
<add name="LastName" type="String" />
<add name="AboutMe" type="String" />
<add name="ContactNo" type="String" />
</properties>
</profile>
The profile info is stored and every user is able to view his own profile info using something like this
TextBoxFirstName.Text = HttpContext.Current.Profile.GetPropertyValue("FirstName").ToString();
How to fetch profile info of other user say a user types the username of other user in a text box and clicks a button?
In .NET
The Process class contains several useful properties/methods that allow developers to access process relative information.
Have you any equivalent method or class in php.
Have any equivalent method in php like c# method "Process.Start()".
\item Bernoulli measure, 14
\item cellular automata
\subitem Soft, 3, 28
\subitem balance theorem, 23, 45
\item tiles
\subitem tiling problem, 19, 58
\subitem aperiodic tile set, 18, 45
\item Garden-of-Eden -theorem, 12
\item Bernoulli measure, 15, 16, 35
\item cellular automata
\subitem balance theorem, 9, 11, 14
\subitem blocking word, 22, 32
\item Garden-of-Eden -theorem, 32
I have to sort the above index alphabetically using a perl script. Duplicate item or subitem entries should be merged and their numbers should be sorted. The subitems also should be sorted under respective item and their numbers should be also sorted. If same item is repeated in more than one place with subitems all the subitems should be merged under a single item and also subitems should be sorted
Hi,
I want to load data into text file that is generated after executing "views" in Oracle?How can I achieve this in oracle using UNIX.for example-
I want the same in Oracle on unix box.Please help me out as it alredy cosume lots of time.
your early response is highly appreciated!!
I am designing a client-server chat application in Java. This is a secure application where the messages are exchanged using cryptographic algorithms. I have one server and it can support many clients. My problem is that when one client logs on the server it works fine, but when another user logs into the system, the server starts giving me bad padding exceptions for the encrypted text.
I am not able to figure out the problem, according to my logic, when new connection request to server is made, the server creates a thread for listening to the client. Is it possible that once the instance of thread class is created, it does all the processing correctly for the first client, but not for the second client because the variables in server listener thread class already have some previous value, and thus the encrypted text is not decrypted properly?
Please advise how I can make this process more robust so that the number of clients does not affect how well the server functions.
I am trying to download a file from Sharepoint 2007 sp2 document library using GetItem method of the Copy webservice. I am facing the following issues :
In the local instance ( Windows Vista ) I can save only 10.5 Kb of any file. The webservice is returning only 10.5 Kb of data for any file.
On the production server, I am able to List the documents using some credentials but when I am trying to download a document using the same credentials I get a 401 : Unauthorized message. I can download the document using the Sharepoint website successfully.
Hi,
Is there any single msql query which can update customer DOB?
I want to update the DOB of those customers which have DOB greater than current date.
example:- if a customer have dob 2034 update it to 1934 , if have 2068 updated with 1968.
There was a bug in my system if you enter date less than 1970 it was storing it as 2070.
The bug is solved now but what about the customers which have wrong DOB. So I have to update their DOB.
All customers are stored in customer_entity table and the entity_id is the customer_id
Details is as follows:-
desc customer_entity
-> ;
+------------------+----------------------+------+-----+---------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------------+----------------------+------+-----+---------------------+----------------+
| entity_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| entity_type_id | smallint(8) unsigned | NO | MUL | 0 | |
| attribute_set_id | smallint(5) unsigned | NO | | 0 | |
| website_id | smallint(5) unsigned | YES | MUL | NULL | |
| email | varchar(255) | NO | MUL | | |
| group_id | smallint(3) unsigned | NO | | 0 | |
| increment_id | varchar(50) | NO | | | |
| store_id | smallint(5) unsigned | YES | MUL | 0 | |
| created_at | datetime | NO | | 0000-00-00 00:00:00 | |
| updated_at | datetime | NO | | 0000-00-00 00:00:00 | |
| is_active | tinyint(1) unsigned | NO | | 1 | |
+------------------+----------------------+------+-----+---------------------+----------------+
11 rows in set (0.00 sec)
And the DOB is stored in the customer_entity_datetime table the column value contain the DOB. but in this table values of all other attribute are also stored such as fname,lname etc. So the attribute_id with value 11 is DOB attribute.
mysql> desc customer_entity_datetime;
+----------------+----------------------+------+-----+---------------------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+----------------------+------+-----+---------------------+----------------+
| value_id | int(11) | NO | PRI | NULL | auto_increment |
| entity_type_id | smallint(8) unsigned | NO | MUL | 0 | |
| attribute_id | smallint(5) unsigned | NO | MUL | 0 | |
| entity_id | int(10) unsigned | NO | MUL | 0 | |
| value | datetime | NO | | 0000-00-00 00:00:00 | |
+----------------+----------------------+------+-----+---------------------+----------------+
5 rows in set (0.01 sec)
Thanks.
OpenCV 2.0a does not include pre-compiled OpenCV libraries for Visual Studio users. I am trying to build the libraries from source using Visual Studio 2010 Beta and CMake, but I am getting lot of errors.
I even tried generating the libs from dlls using dumpbin but the linker errors are still persisting. Please guide me to generate the static libs for VS2010.
< select size="2" multiple>
< option value="1">1< /option>
< option value="2">2< /option>
< option value="3">3< /option>
< option value="4">4< /option>
< option value="5">5< /option>
< option value="6">6< /option>
< option value="7">7< /option>
< option value="8">8< /option>
< option value="9">9< /option>
< option value="10">10< /option>
< option value="11">11< /option>
< option value="12">12< /option>
< option value="13">13< /option>
< /select>
size attribute of Select tag is not working properly in Safari.
if size attribute's value is greater than four then there have no problem, its working.
But when I set the value of size less than four then it show four values.
above example displays four options in safari but I want two options.
What is the reason for this ?
I need to change only the revision number of an AssemblyInfo.cs file. The version number is in the format Major.Minor.Build.Revision e.g. 1.4.6.0.
Currently I change the version with the FileUpdate task (from the MSBuild Community Tasks Project) and the following regex:
<FileUpdate Files="@(AssemblyResult)"
Regex='(\[\s*assembly:\s*AssemblyVersion\(\s*"[^\.]+\.[^\.]+)\.([^\.]+)(\.)([^\.]+)("\)\s*\])'
ReplacementText='[assembly: AssemblyVersion("$(AssemblyMajorNumber).$(AssemblyMinorNumber).$(AssemblyBuildNumber).$(Revision)")]' />
Now I need to update only the revision number and leave major,minor and build unchanged.
So, is there any task to do this? Or can it be done with a regex? What would be the regular expression then?
Hi , i am trying to call a push notification background from BroadcastReceiver class.but my application is going to crash the code is given bellow
public class AlarmReceiver extends BroadcastReceiver {
Context ctx;
static int count=1;
@Override
public void onReceive(Context context, Intent intent) {
// TODO Auto-generated method stub
//Toast.makeText(context, "working"+count, Toast.LENGTH_LONG).show();
count++;
Log.e("broadcast***","receiver");
Intent myIntent=new Intent(context,NotifyService.class);
myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(myIntent);
}
} * manifest entry:-
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
Error:
05-24 15:17:00.042: ERROR/AndroidRuntime(424): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.alarm/com.android.alarm.NotifyService}; have you declared this activity in your AndroidManifest.xml?
Please help me....
Me and my friend are in the process of starting a small project and want to implement a source control.
Now both are located in different cities and can communicate using internet for file sharing etc.
I need an online hosting solution or any way where i can maintain the source code repository for both of us to check in/out. As of now we want to maintain it as private project. Does sourceforge allow hosting projects which would not be opensource?
One option i was thinking, to obtain a static IP form ISP and host the repository.But that mean my system needs to be online when my friend wants to checkin/out or do some diff with old version code.
Secondly, would SVN or git be a better choice in such a situation. I have no experience in git/mercurial as of now.
I am having a problem in php switch case.
When i set $number=0 it should run very first case but here this code returns 10-20K that is in second case.
I checked comparison operators, tested them in if else case they return correct values but here first case do not run on $number=0
Why is this happening ? php consider 0 as false or something wrong in code ?
Link to codepad paste http://codepad.org/2glDh39K
also here is the code
<?php
$number = 0;
switch ($number) {
case ($number <= 10000):
echo "0-10K";
break;
case ($number > 10000 && $number <= 20000):
echo "10-20K";
break;
case ($number > 20000 && $number <= 30000):
echo "20-30K";
break;
case ($number > 30000 && $number <= 40000):
echo "30-40K";
break;
case ($number > 40000 && $number <= 50000):
echo "40-50K";
break;
case ($number > 50000 && $number <= 60000):
echo "50-60K";
break;
case ($number > 60000 && $number <= 70000):
echo "60-70K";
break;
case ($number > 70000 && $number <= 80000):
echo "70-80K";
break;
case ($number > 80000 && $number <= 90000):
echo "80-90K";
break;
case ($number > 90000):
echo "90K+";
break;
default: //default
echo "N/A";
break;
}
?>
I have prepared a Silverlight application and my database is in the server. Its running smoothly for small set of data but for large data set giving an error : Remote Serve returned an error:notFound. How can i resolve it,please any one solve this problem.
I have build it in ASP.NET with C#. So kindly provide the solution in C# if possible.
Hi,
I want to develop an application in which if a method is in execution and user suddenly press home key. and the application exits. the application automatically restart and the method started to execute again from the point where it is closed..
Please guide me the best way....
Thankx in advance..
Hello everybody,
i am developing a GPS application in which i needs to track the speed of the device/iphone ,i am using the CLCorelocation API's Locate me referral code provided by Apple my problem is that the LocationManager does not updates the current latitude and longitudes thus i am unable to calculate the distance as well as the speed of the device/iphone.
Any kinds of suggestions/code will be highly appreciated please suggest me if i can do something with the Mapkit framework introduced in the sdk 3.0.
thanks in advance
i have a grid view in which i have placed the checkbox in itemtemplate
i want only the one checkbox is selected from Gridview to select that perticular row so that i can use that id to edit or delete the row
aspx page code is
<asp:TemplateField Visible="false">
<ItemTemplate>
<asp:Label ID="lblId" runat="server" Text='<%#Eval("id") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
Select
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
Branch Name
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblBranch_Name" runat="server" Text='<%# Bind("Branch") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
Address
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblAddress" runat="server" Text='<%# Eval("Address") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
City
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblCity" runat="server" Text='<%# Bind("City") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
and i want when i click on the checkbox which is at first of each row only one check box is selected from all the rows
thanks
final Intent emailIntent = new Intent(Intent.ACTION_SEND);
emailIntent.setType("image/jpeg");
emailIntent.putExtra(Intent.EXTRA_EMAIL, new String[] { "[email protected]" });
emailIntent.putExtra(Intent.EXTRA_SUBJECT, "this is the test");
emailIntent.putExtra(Intent.EXTRA_TEXT, "testing time");
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(url));
Hii,
I want to make my own snmp server and agent.with my own MIB and OID's.
how can i do it??and where to start??
And if i want to use windows SNMP service and extend it and insert my own OID's into its MIB
then ,is it possible??.n if yes,how can i do this??