J2ME Ticker at custom location on the screen - mobile

How to get the ticker at the middle or at custom location on the screen?
I think the normal ticker will place a ticker on the top of the screen.

You need to write your own implementation, or use something that wraps the LCDUI Ticker such as LWUIT. If you don't it will be completely implementation dependent where the ticker goes, you have no control over it.

Related

Is it possible to change the color of street in g-map?

I have a WPF project that shows all of buses route over the city and the current position of every bus. I can Show all positions using markers and also all of routes but the routes are shown by drawing a line inside the streets.
It is going to be more efficient if I can change the color of whole street's width instead of usual way(drawing line).
Is it possible? If yes How?
If you're using GMap.Net, the best would be to update to the latest version and go through the maps until you find a map with a colour scheme that works for you. The demo winforms project in the repo: https://github.com/radioman/greatmaps allows for easy switching between maps to find the map you like.

silverlight map application like showcase on silverlight.net

we want to make application like silverlight showcase Mapview
where we can search by different category on left hand side panel or people can select country or region on map. can anyone suggest some sample or guidelines to implement this?
Thanks
Given the complexity and obvious expense, I would be really impressed if anything like that was released as a sample (Microsoft are you listening?). It requires a lot of data to drive it.
I have been involved in creating a Xaml World map from scratch (below) and that alone took nearly a day for a stylised polygon version (no fine detail)....
Quoting myself: "You import a map as a background image and use the pen tool to dot-to-dot trace around the country. Combine all those path segments into a single path. Then create a separate poly-path for each state (close them to allow for a fill)."
Once you create them you can name the individual country polygons and connect up mouse logic to make them all glow on mouse over or change colour on press etc.
Basically all the other stuff on that screen are user controls and custom controls. Work out the behaviour you want and create controls to suit your own needs.

Interrupted line/error mark in Dynamic Data Display Chart

I'm using Dynamic Data Display, for line chart (in WPF). I would like to interrupt the line, and display some "Error" label in that point (or on the X axis). Can somebody help me ?
Thank you.
You might use a DataPoint template selector for your datapoint in lineseries, when datapoint values are matching some errors criteria you can apply a different template to the datapoint and show an error label.
The way that I would approach this, is I would add a marker to your line graph every time this "error" occurred along your axes. If you wanted, you could make the tooltip for the marker say "error" or, even better, you could display some information about that error in the tooltip. You can use one of the markers already made in D3, or it's quite easy to create your own!
If you down load the source from Dynamic Data Display, there's many examples that have a similar requirement to yours that you could base your solution off of.

How do I get a WPF slider control with 3 thumbs

I want to use a slider control which has 3 thumbs - they are not required to cross each other, but the user should be able to move any of the thumbs independently.
Background : I have created a pairs trading application which needs input of :
1.training set begin date
2.training set end date or test set big date (they are same)
3.test set end date
I have done it using 3 slider controls placed one below the other, but it is confusing to use. I am hoping to use a single control instead if possible.
You might be able to adapt the control on here to have a third slider
You can also find a good example, for creating slider with more than one thumb, here.

IconView and lots of Images GTK

I have question to GTK users, in my program I will need a lot of images and I wonder if I can somehow connect iconview with images? Because some of these images are going to be big and I want to show ther dwarfs in one window and full size in another. Or do I have to use table and then making small icons from images, place them inside table, save somewhere original dimensions and then just restore original dimensions in that another window where I want to have full dimensions of pictures?
Sorry for bothering and thanks in advance.
You have to first load the image manually (using gdk_pixbuf_new_from_file() or gdk_pixbuf_new_from_file_at_size()). Then manually create the different sizes you need (using gdk_pixbuf_scale() or gdk_pixbuf_scale_simple()). To add the images to the icon view you have to create a 'GtkListStore' (or any other object implementing the GtkTreeModel interface) and add your scaled down pixbuf to it. It would be a good idea to do this in a separate thread since it will probably take some time for the images to load and you don't want your application to lock up.

Resources