The problem is this:
I put the simulator in landscape
I start the app
The app is unable to detect the correct orientation, always unknown!
I have created a sample project that demonstrates the problem I have.
Take it here
How can I solve that?
thanks
I would like to develop a site using jQuery that will work with all major browsers. I thought to start with a basic layout (a header, a couple of tabs with content, and footer). I wonder how should I create this layout to support different screen resolution, screen size, or window size. Should I work in pixels / points / percents when defining width and height of the components ? Are there any jQuery plugins that can help me with this task ? Thanks !
The only thing that I found was Manzana but it crashes while I start the test executable. Can someone tell me some library which can I use to copy/delete files from and to iPhone? Or maybe a console tool which I can use as a back-end.
I have a table which is some thing like below..
Date ID
2009-07-01 1
2009-07-01 2
2009-07-01 3
2009-08-01 4
2009-08-01 5
2009-08-01 6
2009-09-01 7
2009-09-01 8
2009-10-01 9
2009-10-01 10
2009-11-01 11
....
Now I need to write a query which will show a output like below.
Date Start End
2009-07 1 3
2009-08 4 6
2009-09 7 8
...
How can I do this..
Any help would be highly appreciated
Thanking In Advance
Johnny
Hi experts.
How can i get the name of the function and its class when the
caret change position i a code file, using VS SDK 2010?
I am using Editor Text Adornment template as an start and c#.
Thanks.
All I've found about composite applications is for VS 2008. How do I start with composite WPF applications with VS 2010?
Can you recommend a good intro for creating a composite WPF application from scratch with Visual Studio 2010?
Hi All,
When I start my AVD emulator, the emulator just shows blank screen with 'android' written at the center. I waited for half an hour but nothing changed.
I am using Android sdk 2.1 and Eclipse 3.5
Please help.
I have been using the RC version of VS2010 for a while now and wanted to know if anyone has a summary of what changed between the RC version and RTM. I just loaded the RTM and noticed some small things different. I searched around but can't find anything around about it. If there is nothing out there that lists these differences, can we start listing them here as you find them?
Yes, so I got the problem that if you type a long sentence with no space e.g eeeeeeeeeeeeeeeeeeeeeeee, it will break itself, but then now I would need to start typing some ugly non-breaking coding.
Example:
http://jsfiddle.net/r3CFJ/
I need to have everything in one sentence in order not to make it break itself. Check here to see the result of not having everything in one sentence:
http://jsfiddle.net/r3CFJ/1/
How can I fix this please any solutions?? as my further coding will get very ugly and not readable?
I need a quick jump start for using Spring and Hibernate together and I was looking for some sample code to modify and extend. Bonus points for Struts2 and Spring Security integration.
I am writing a tomcat app, and have a need to do authentication within the URL like this:
https://user:[email protected]
Except for the life of me i'm not sure how to set it up or able to find the docs to read up on it, clearly my google skills need work.
Can anyone tell me where i should be looking for this kind of info or where to start?
Cheers
Andy
Ho will I go about writing a light weight agent to be installed on machines (windows to begin with) that controls Internet access
Also these agents need to communicate to central server over the Internet.
What areas of technology I should start reading/learning in order to develop it myself?
i am new for facebook application
please help me for how to start and what is basic steps for add application to facebook
i have used facebook toolkit 3.1 beta version.
but after authentication it will generated error...
i want to create iFream application
i want to craete gift send application. so which one is best iFream or FBML.
Please it is urgent help me.
Hi:
I am new to JQuery library. I am currently trying to create a Draggable by mouse. Say, when I press the mouse it start to draw and then I drag the mouse to change the size and then I release the mouse to finalize the drawing.
Is it possible to do this with JQuery? Thank you in advance.
Joe
Hi, I have a problem with initializing my app properly after the autostart.
I've managed to get an autostart to work, after a reboot the app is shown as started but the timer's are not.
My guess is that the "onCreate" function of MyApp is not called when I call the context.startService(). The timers are set in the doActivity() function of MyApp.
I would greatly appreciate any tips on what I could be doing wrong or links to good tutorials. :)
The manifest:
<activity android:name=".MyApp"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<receiver android:name="MyApp_Receiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>[/syntax]
MyApp_Receiver is a BoradcastReciever with the following two functions
public void onReceive(Context context, Intent intent) {
// Do Autostart if intent is "BOOT_COMPLETED"
if ((intent.getAction() != null) && (intent.getAction().equals("android.intent.action.BOOT_COMPLETED")))
{
// Start the service
context.startService(new Intent(context, MyApp.class));
}
// Else do activity
else
MAIN_ACTIVITY.doActivity();
}
public static void setMainActivity(MyApp activity)
{
MAIN_ACTIVITY = activity;
}
MyApp extends PreferenceActivity and has an onCreate() and a doActivity(), the doActivity() reads out the preferences and sets a timer depending on them.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Show preferences
addPreferencesFromResource(R.xml.preferences);;
// Register Preference Click Listeners
getPreferenceScreen().getSharedPreferences().registerOnSharedPreferenceChangeListener(this);
// Prepare for one-shot alarms
if (mIntent == null)
{
mIntent = new Intent(MyApp.this, MyApp_Receiver.class);
mSender = PendingIntent.getBroadcast(MyApp.this,
0, mIntent, 0);
MyApp_Receiver.setMainActivity(this);
}
// Refresh and set all timers on start
doActivity();
}
Visual Studio 2010 has official Extensions for SharePoint 2010, which also includes MSBUILD .targets.
I'm setting up a Continuous Integration Server at the moment, and msbuild can't compile my SharePoint projects as these targets are missing.
Before I start manually identifying and copying over the SP stuff, I wonder if there is a standalone version so that I don't have to install VS2010 on my CI Server?
How do I loop through all of my children, and display each? I would like to know the best
way to do this.
my children and containerfive children, one plays every sec, 1,2,3, etc.
var square1:Square1 = new Square1;
var square2:Square2 = new Square2;
var square3:Square3 = new Square3;
var square4:Square4 = new Square4;
var square5:Square5 = new Square5;
var container:Sprite = new Sprite;
addChild(container);
container.addChild(square1)
container.addChild(square2)
container.addChild(square3)
container.addChild(square4)
container.addChild(square5)
my timer
var timly:Timer = new Timer(1000, 5);
timly.start();
timly.addEventListener(TimerEvent.TIMER, onLoop);
Note:
Tried for loop, numChildren -1, and visibility
ERROR 'access of undefined property'
//Thomas's idea
var timly:Timer = new Timer(1000, 10);
timly.start();
timly.addEventListener(TimerEvent.TIMER, onLoop, false, 0, true);
//
var square1:Square1 = new Square1;
square1.visible = false
container.addChild(square2)
var square2:Square2 = new Square2;
square2.visible = false
container.addChild(square3)
var square3:Square3 = new Square3;
square3.visible = false
container.addChild(square3)
var square4:Square4 = new Square4;
square4.visible = false
container.addChild(square4)
var square5:Square5 = new Square5;
square5.visible = false
container.addChild(square5)
var container:Sprite = new Sprite;
this.addChild(container);
var curCount:Number = 100;
//
function collectChildren(container:DisplayObjectContainer):Array {
var len:int = container.numChildren;
var mySquaresArray:Array = [];
for (var i:int = 0; i < len; i++)
{
mySquaresArray.push(container.getChildAt(i).name);
}
return mySquaresArray;
}
//
function onLoop( e:Event )
{
curCount = e.target.currentCount;
if( curCount > 1 ) {
var previous_square = curCount -2;
mySquaresArray[previous_square].visible = false;
}
var current_square = curCount - 1;
mySquaresArray[current_square].visible = true;
}
Hello,
I want to be able to read any random RSS/ATOM XML file. That would mean I would not not know the tags, start the loop and the fields. How do I go about doing it in PHP.
Thanks
Jean
I am using VS 2008 with SP1.During the start up ,i selected my option as "C# Development settings".Now i wish to turn it to "General development settings".How can i change it ?
I would like to know the number of users logged into my ASP.NET 2.0 application.
Points to be considered:
1) Simplest way would be to use Application or Cache object to have the counts on Session start or end. However this would fail if there is a worker process recycle. Wouldn't it?
2) Should't make a difference whether the session is inproc/state server managed/ or SQL server managed.
3) Should preferably be seamless to a web-farm architecture.
I'm starting a side project and want to build it with html5/css3. Is not a concern backward compatibility.
I wonder if exist a framework similar to BluePrint/960 grid system. Mainly, I'm looking for the grid system & typografy.
The best (and only I found that play nice with html5 new tags) is http://lessframework.com/, is a good start but wonder if exist something better?
I am a web developer and i would like to shift my field to data warehousing.
Can anyone please give me some idea , which langauges or stuff i need to learn like cogonos , datastage, etl
or IF anyone currently working can guide me how can i start , i will thankful to you.
DO i nned to do oracle because i know mysql , sql. My basic understanding with databse is good.
Any books
I think that papers are a great information source. they generally tend to be built upon other experts investigations, and generally are short enough to transmit you great ideas in a short coffee read.
But I don't really have read many papers in this area. So I would like to start soon and I'll be glad to hear your thoughts.
So I wonder what have been the best programming paper you have read?
Hi all,
which is the book one should start with in the domain of spiking neural networks? I know about Gerstner's "Spiking Neuron Models", published in 2002. Is there a more recent book, or maybe a more suitable one? I have a background in maths and artificial neural networks.
If there are some good articles or overviews in this domain, also add them to the list.
Thanks.