Desktop Icon Manipulation - Windows 8 Development and Hacking

Does anyone know the required API calls to do something like how tortoiseSVN works on windows? Im talking about the file icon overlays, like having a green check over the file icon / shortcut. I want to be able to to the same with C#. Obviously native pinvokes are required but I am unfamiliar with the API. Anyone have any thoughts?

SharpShell is a nice C# library for writing Shell Extensions. Just make sure you use .NET 4.0 at least.
Verstuurd vanaf mijn GT-N7000 met Tapatalk

Related

How HTC developed Sense UI

I was wondering how HTC has created Sense UI?
I would like to code some apps with a "modern" UI, so custom buttons, ... like the controls we can see in Sense.
On one side, I have a Silvermoon-like solution, using .NET and OpenGL. But in this case, I lost the design time features (i.e. rendering the control when I drop it on a form in Visual Studio).
I guess HTC has developed Sense in native. I have some knowledge in Win32 and I'm not too bad in C/C++ programming. But I'm wondering how you develop custom controls in native? Can you benefit from some design-time rendering? Any information about how Sense is coded and native controls programming is welcome...
Edit: for example, the Sense buttons, are they using images or custom drawing?
I don't know anything about the way Sense was developed but native control programming doesn't allow design-time rendering. You have to create your own controls during runtime. So for example if you want to have something like the tabs in TF3D then you have to take a native tab control and overwrite the paint method to draw the background and add pictures on it, manage finger gestures to switch tabs etc. Something along that way. I usually prefer native Win32 programming but if you're doing such GUI things and need a quick solution it might be better using an already existing .NET library, like i.e. the mentioned Silvermoon.
Manila SDK
Hello,
Search ManilaSDK in this forum. It's a set of .net controls that fit Manila looking. On my side, I'm trying to develop another set of controls that will be more "skinnable"
Kridek said:
Hello,
Search ManilaSDK in this forum. It's a set of .net controls that fit Manila looking. On my side, I'm trying to develop another set of controls that will be more "skinnable"
Click to expand...
Click to collapse
i think he's talkin about htc sense on android, not on wm!
screw-you-guys said:
i think he's talkin about htc sense on android, not on wm!
Click to expand...
Click to collapse
and thats why he went into the windows development thread and not the android thread ?
He means WM of course
i heard that sense is written in lua as is tf3d

What text editor do you use?

What text editor do you use for your windows mobile phone?
I did a quick search for a lightweight plain text editor for Windows Mobile and I was not pleased with the results... I started to develop my own Notepad clone about 30 minutes ago and I decided perhaps I should ask around here, first, just in case there is some awesome one around that I don't know about.
So, does anyone know some great, light-weight plain text editors for Windows Mobile?
I use the one built into Total Commander - it has about the same number of features as the desktop version of Notepad
Try Jot, an excellent text editor, with rich settings and functions builtin, which is able to handle files with the size up to 30M and various encoding formats.
http://pandora.sblo.jp
If you mean editing on the phone i use Notepad. It works very well, but has a sizelimit above which it does not work anymore. Basically i use it for small/medium size mscr, xml, cpr, ini etc.
On my PC i use Wordpad.
TextPad32 - www.TextPad32.com is a awesome app for PC.
For mobile:
Tillansoft Notepad
Shimashi Notepad
Osymo Textpad
i will find links shortly...
I use CKE (http://www.animaniak.com/cke/cke_main.asp). It is old but if you are thinking of features to add to a more modern text editor, this is a good one to look at to get ideas.
TehPenguin said:
I use the one built into Total Commander - it has about the same number of features as the desktop version of Notepad
Click to expand...
Click to collapse
+1 Total Commander makes editing any txt file easy.
Using NotepadMobile on my device. More info HERE.
mccune said:
Using NotepadMobile on my device. More info HERE.
Click to expand...
Click to collapse
Heh, this one looks a little better than the other link that I saw about Notepad Mobile.
Interestingly enough, it looks very similar to my implementation (I actually called the project Notepad Mobile before I saw this one. ) It does seem to have all of the functionality of my own, though it lacks the keyboard shortcuts for the clipboard that I implemented with the Touch Pro 2 in mind.
EDIT: Now downloading it, I'd also notice that it poorly implements some other features such as the status bar and the font selection. It's also not nearly as light-weight as they advertise. Personally, I think Total Commander is much better implemented in features, yet it isn't stand-alone which is my only problem with it. I'm also not completely sure if you can associate file types with the text editor in Total Commander as I have implemented.
If you like this one, I will package mine and upload it a bit later in the week.

[Q] What is the Mysterious UIX framework Used by WP7?

Hi guys.
Does anyone know something about the mysterious framework used by the WP7 UI!
it seem this is Microsoft Iris UI Framework but no one has ever heard of before.
only thing i have found is some dll in my zune folder on my computer.(attached uix zune.rar)
UIXrender.dll
UIX.dll
UIXcontrol.ll
UIX.renderapi.dll
UIXsup.ll
i have also attach an UIX (uib!) from the device tiles extract from dll
this is the last files we need to learn how to edit for completly rewrite the UI i think.
guys if you have some dev skill please look token file, see if we can edit it.
My best guess is that this is the replacement for GDI+ / DirectX. It is used for display rendering in 2D and 3D and used by Silverlight and XNA. Native apps (exe-files, not dll's that are run by Taskhost) that use the display invoke UIXMobile.RunApplication. This will launch xaml that is compiled to native c++ and then compiled to arm. I'm not 100% of this, but I've seen hints that support this theory while reversing some apps.
I wrote a blurb about it in March of 2010 http://www.withinwindows.com/2010/03/17/what-the-heck-is-microsoft-iris-here-are-my-notes-thus-far/ Might be a useful read, although it's not exactly in the context of Windows Phone (not much has changed).
UIX is the framework also used by the Zune Player...
AFAIK, Iris/UIX is the entire User Interface framework used by WP7 native applications.
It uses an XAML-like (XML) based markup language, but is native code rather than .Net.
All the in built applications are native, and use Iris. The .Net based WP7 libraries are emulating the look and feel of the native code.

[Bada 2.0] Java : missing options (fit to screen & virtual keyboard)

Having looked around in Bada 2.0 (XPKJ1) it appears that Samsung still haven't fixed the Java settings. The "virtual keyboard" and "fit to screen" options appear to have been left out.
Also playing with the .jad doesn't appear to have any effect.
Does anyone have any ideas ?
waiting for the final...
you're probably right. IMHO the firmware is very stable - from what i've seen everything works apart from the java settings. They even got the GPS stuff correct this time (a bloody miracle :-0..... <- dribbling in shock! )
Some Java apps lags a lot
I figured this out by testing some apps
Samsung has messed with a lot of stuff to bada 2.0 i don't understand until now why!!!!
Maybe our beta is far from being complete
Best Regards
although settimgs are not available but i can resize opera mini 6.5 and able to hide keyboard. Currently i am posting from dolphin when i will come ol via PC i will share mine screen shots. the only thing i could not do was removing setting.bin file as they reappear everry time i delete them so they ask for permission evey time i open the app.
Opera Mini 6.1 modified works perfectly for me!
AbhishekS said:
Opera Mini 6.1 modified works perfectly for me!
Click to expand...
Click to collapse
share the link pl
Guys use this PC app to make java apps better for Wave
Place Jar file in Jars folder
Run Start.bat as admin and follow instructions
Copy Jar file to phone and install it
This will remove the virtual keypad & make it work in the background & work in portrait or landscape
Best Regards
It doesn't work for me mylove90 :-(....
Cheers for trying but I think we need to trouble Samsung with this problem.
The phone tells java apps that the screen res is 240x320 and the touch coordinates are borked as well.
duxxyuk said:
It doesn't work for me mylove90 :-(....
Cheers for trying but I think we need to trouble Samsung with this problem.
The phone tells java apps that the screen res is 240x320 and the touch coordinates are borked as well.
Click to expand...
Click to collapse
No, it's the java apps. I have HD java apps (for example Foliant reader, Angry Birds) which run in 800x480 full screen...
change .jar to .rar
go to META-INF
open MANIFEST.MF
use below codes to remove virtual kaypad and also have 480*800 java apps
MIDlet-Scaleup-Support: False
LGE-MIDlet-Width: 480
LGE-MIDlet-Height: 800
MIDlet-Touch-Support: True
save the file
civil.scholar said:
change .jar to .rar
go to META-INF
open MANIFEST.MF
use below codes to remove virtual kaypad and also have 480*800 java apps
MIDlet-Scaleup-Support: False
LGE-MIDlet-Width: 480
LGE-MIDlet-Height: 800
MIDlet-Touch-Support: True
save the file
Click to expand...
Click to collapse
man you absolutely rock!
Yep, that works for me although I rename the file to .zip and use pkunzip on windows.
hisee said:
share the link pl
Click to expand...
Click to collapse
here u go fully working opera mini 6.5
Folio working for Bada 2
I'm loving the Folio FB2 ebook reader. Here's the Jar tricked out for bada 2 ;-)

Java Plug-in

Hello,
Will Java Plug-ins work on WP7.5? I have been looking for some help on this on google, but unable to find much info. Sorry if this is a frequent question here.
Thanks.
xprav said:
Hello,
Will Java Plug-ins work on WP7.5? I have been looking for some help on this on google, but unable to find much info. Sorry if this is a frequent question here.
Thanks.
Click to expand...
Click to collapse
Hi,
You can't run Java Plugins in WP7 (or write WP7 apps using Java).
Your main options for developing apps on WP7 (if that's what you're looking to do) are C# or Visual Basic (in combination with XAML for the UI). You can also use standard web technologies if you prefer (html/javascript/css) and use software called PhoneGap to turn a web app into a Wp7 app. WP7 doesn't have a Java runtime environment so Java Plug-ins are not an option.
Coding in C# is pretty similar to coding in Java though so your learning curve might not be as steep as you think.
If you're writing a Java back end (server) you might want to look at something called WebORB as it simplifies the integration between a WP7 client and a Java server environment.
Hope that helps.
Ian

Categories

Resources