.NET Framework - full screenmode not working for HTC3125
Asked By sujithks8
24-Jan-07 06:17 AM
hi all,
i am doing one application in HTC 3125(MIDp 2.0),and i am using a class
which extends Canvas.
I set the setFullScreenMode(true) ,but Only in HTC3125,it is not giving
fullscreen.
But in all other phones it is working fine. I tested it on
DeviceAnywhere(DA).How we can make it full screen.
If anybody having any idea plz share with me.
regards
sujith
Compact Framework
(1)
Application
(1)
Canvas
(1)
Peter Foot [MVP] replied...
You may want to try on a java related newsgroup, this one is for the .NET
Compact Framework.
Peter
--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

UDTs (as was vb6) .NET Framework Hello Aftre producing good effective apps in vb6, I am trying to see if it can be done :) - - Tom Shelton Hi Tom Thanks for your patience. In my existing vb6 application, I have as follows: In a module 'AccountsFileModule ' Option Explicit Public FBU As DataBlock1 . . .etc random access file (that in fact was originally in use in a full blown commercial application written originally in QuickBasic. For historical (not hysterical!) reasons I want to access that file them anymore. So, please give the compiler the chance to create a 100% bullet proof application at compile time - there are sufficient other chances left to fail. - - Armin Thanks for That so far. If one is _really_ aware of this, "Hello world!" is not the first application. and we were to move to their community where we must register and agree to millstone around MSFT's neck. Luckily, they made a complete redesign based upon the .Net Framework while keeping the language characteristics. The _alternative_ would have been letting it die. Everyone has discussing about it in 2011. I would not judge before knowing it. Moreover, the .Net Framework sets the specifications. What is wrong with the Framework? Do you have a problem with the type system, memory management or the class library
GUI Thread - Is cross-thread operation really bad? .NET Framework Hi all, When I first learn threading, I had always been advised that doing a thread operation button1.Text = "Completed"; / / <- cross-thread operation } [STAThread] public static void Main(string[] args) { Application.Run(new MyForm()); } } } Yes, it will throw exception when running inside IDE / debugger, but if why WPF raises a exception is to prevent unpredictable behavior. You do not want a application that could go wrong sometimes. Here is is some information why you should not update thread operation button1.Text = "Completed"; / / <- cross-thread operation } [STAThread] public static void Main(string[] args) { Application.Run(new MyForm()); } } } Yes, it will throw exception when running inside IDE / debugger, but if know, but is not it the same with the most class libraries in the .Net framework? Uhh. . my meaning is, since the controls is not thread safe, then we have to 100; i++) { textBox1.Text + = " " + i; / / <- cross-thread operation } } [STAThread] public static void Main(string[] args) { Application.Run(new MyForm()); } } } I spawn four thread and as expected, the textbox does not display created on the same thread where your message pump is running (i.e. your Form application's main thread), it will get any window message sent to it, as long as not advise you to do this! Also the windows message loop is implemented by the framework. My opinion is, if you like to have things done on a separate thread, you
Generic Database handling class .NET Framework Hi guys, I have created a very simple generic database class, which all my data Read()) { userObject = ReadResult(dataReader); } } return userObject; } Does this seem OK? C# Discussions ADO.NET Entity Framework ORM (1) Entity Framework (1) NHibernate (1) ToShortDateString (1) SqlDataReader (1) Error (1) Vista (1) CommandBehavior (1) No. You Arne You would be better served by using Linq-2-SQL or ADO.NET Entity Framework ORM solutions for database access. Thanks guys. . . So the quick fix might be the CommandBehavior objects. . . I will need to check if I can make scripts to do the Entity Framework style. . . . Link-2-SQL and ADO.NET Entity are database centric, and they will make an entity on the model. On the other hand, you can use Linq and Entity Framework to do CRUD operations (Create, Read, Update and Delete) operations where it will do it 03 / linq-nolock I suggest that you get a good book on ADO.NET Entity Framework. I also recommend that you get a good book on Linq too. You may want a lot in several areas, particularly about EF and other things. http: / / www.dofactory.com / Framework / Framework.aspx I have the 3.5, and I will be getting the 4.0
make sure that folders and files created by application be fullaccessible to any user .NET Framework I have a winform application. Framework 4.0. ClickOnce security enabled. Full trust application. The application creates some folders and some files in the program root directory. On windows 7 (64 bit) the current user cannot see at all the folders created by my application inside the program root directory (while they are instead actually there). How do i make Windows 7 (1) Vista (1) GetFolderPath (1) SpecialFolder (1) Restrict (1) Bit (1) Environment (1) Application (1) Windows 7 has folders that are protected like Program Files and Windows \ System32. All
Draw Line is to slow, there is anything else ? .NET Framework We use this code for draw an x, y chart - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- for (int count = 1; count help others point out the problem. WPF is a new API for developing a windows application in which the rendering is accelarated by the graphics hardware (through DirectX). If you had Format("Elapsed: {0}", stopwatch.ElapsedMilliseconds)); } } public class MyClass { [STAThread] public static void Main(string[] args) { Application.Run(new MyForm()); } } } 2. WPF using basic shape (on my system, it takes around 800ms using System.Windows.Media; using System.Windows.Threading; namespace MyNamespace { public class MyWindow : Window { private Canvas canvas; private Stopwatch stopwatch = new Stopwatch(); private DispatcherTimer timer = new DispatcherTimer(); private const int LINE_WIDTH = 800; public MyWindow() { Width = LINE_WIDTH; Height = LINE_WIDTH; WindowStartupLocation = WindowStartupLocation.CenterScreen; canvas = new Canvas(); Content = canvas; timer.Interval = new TimeSpan(0, 0, 5); timer.Tick + = (o, e) = > Render(); timer.Start(); } public