[Q] Smiley support (Image+Text in one line) - Windows Phone 7 Software Development

Hi,
There is no control which supports smileys (Images, not char sequence like ; ) ) in silverlight windows phone 7.
I need to set status in my app with combination of images (smiley) and text in single line.
Basically I am porting one app from iphone, where in Emoji support is there.
Guess I need to create custom control, If any info pls share.
Thanks
gchk

Related

Bit of a problem with an app Im making...

Hi,
I am new to android development so sorry if this question has a really obvious answer. I am hoping to make a game for the platform but to start with I have just tried to make a basic layout of 4 buttons to move in different directions and then have a background and an image in front which will be my sprite and move across the screen depending on what button is pressed.
At the moment I have created two views. One via the main xml document and the other through the java code itself. The java code one contains the background and image to be drawn and the main.xml contains the buttons.
At the moment I have my code set up like this:
this.setContentView(R.layout.main); <<<<<<<<<< xml
this.setContentView(this.myTestView); <<<<<<<<<<<<<< java
I am aware that I am basically setting one and then setting the other over the top of it and this means that only one of these views will appear. Does anyone know of a way I can use these views in conjunction so that both the images frm the java file and the layout from the xml can both be used?
Cheers for any help.
ExO
As far as I know you cannot do this. By calling setContentView you are overwriting the object which held the content previously.
Once the view is set you can add items in code after this call.
Why do you not have all the elements in the xml?
aw ok, i wasnt sure if it was possible or not. The reason I did it like this was just because I'm still learning to use both languages. Aswell as that I am using droiddraw to generate my xml and couldnt see an option within that to add images etc. Cheers for the reply .

Using WM6.5.x Control styles in own (.NET) programs?

Hello,
since WM6.5.3 the standard Controls like Buttons, Comboboxes, TabControls, Checkboxes etc. have a new Style with gradient Backgrounds and sometimes rounded edges.
If you develop programs with the .NET CF you will get the boring old style. Is there any way to enable the new style for .NET applications?
The only thing I found was this "hack" for the TabControl:
mobileworld.appamundi.com/blogs/peterfoot/archive/2009/09/17/windows-mobile-6-5-tab-control.aspx
(sorry, seems that I'm not allowed to post outside links)
I searched a lot for this but even the documentation from Microsoft gives no hint how to do this.
There is also a new control in many system control panels which replaces the TabControl (the navigation thing at top of the form for example in sounds and notification settings). Is there any chance to use this control in my own programs?
It is really annoying that Microsoft has developed a new themeable style for their controls and nobody can use it
Thanks a lot
Markus
You can but it requires overriding the controls paint events and imo is not worth the hassle. If you want fancy looking controls then you would be better off with 3rd party controls. There's several options out there and some are free. Read about some at http://forum.xda-developers.com/showthread.php?t=616838
If you want to work with the native controls and spruce them up a bit check out http://code.msdn.microsoft.com/uiframework for some guidance.
Ren13B said:
You can but it requires overriding the controls paint events and imo is not orth the hassle.
Click to expand...
Click to collapse
thanks for your answer but I don't want to create custom controls or use some 3rd party controls. I want to use the standard controls but with the WM6.5.x style.
Microsoft is really stupid. They were on a good way with 6.5.x. The user interface of the standard apps is mostly consistent and finger friendly. But they forget 3rd party developers now completely. I want to be able to create apps with the system look and feel but it seems that it is not possible. So my own applications have always an inconsistent look when I use standard controls. I always get the old style but when I open a messagebox then I get buttons in the new style.
Microsoft, this is really crap!
You'll have to wait for Windows Phone 7 if you want perfect consistency. Microsoft isn't going to update the controls for 6.5.
Hey there!
Today I did some research into controls, and I found out how to enable 6.5.3 style for buttons and checkboxes. You have to:
edit2: for dialogs - open .rc file in a text editor, and find your dialog, then after a line beggining with STYLE add a line with following contents:
Code:
EXSTYLE 0x1800000
Compile it and run. You should get 6.5.3 look and feel on existing controls without changing them!
Or if you want to create controls in runtime (works good for buttons, checkboxes/radio buttons look ugly):
1) call SHInitExtraControls()
2) when creating a button/checkbox use class TTBUTTON and make sure its style is combined with 0x8000
3) Use 'em like normal buttons.
Now it's time for listboxes & others...
edit2: To mimic 6.5.3 listbox behavior you have to set item height to 64 (or 32 for (W)QVGA), for example in this way:
Code:
SendDlgItemMessage(hwndDlg, IDC_COMBO1, CB_SETITEMHEIGHT, -1, 64);
SendDlgItemMessage(hwndDlg, IDC_COMBO1, CB_SETITEMHEIGHT, 0, 64);
To expand list views, use a empty image list with a proper image height (64 or 32), for example:
Code:
HIMAGELIST il;
il = ImageList_Create(1, 64, ILC_COLOR, 0, 1);
SendDlgItemMessage(hwnd, IDC_LIST1, LVM_SETIMAGELIST, LVSIL_SMALL, (LPARAM) il);
edit: Oops, forgot you want it in .NET. Quick investigation lead me to a sad fact: .NET controls have the wrong window class. But if .NET dialogs are stored in resources there is hope. So I would be grateful if someone post here a compiled .NET application which would show a dialog with a button linked to some simple action. I might try to modify it for 6.5.3 style.

[win32] API - New Sense interface Look 'n Feel V1.6.4 (01/28/11)

I have created a win32 API for C++ that mimics HTC's Sense UI Look 'n Feel... More informations on my website: charlie-soft.com
DOCUMENTATION : http://charlie-soft.com/Software/Manila_SDK/html/
This SDK is designed for speed: .NET applications are usually very slow to load and not fluid. I use some tricks to improve speed, like drawing only area having changes, scrolling without backbuffer or creating textures for text (GDI text drawing was slower…).
What’s in the box:
PNG resources for VGA/WVGA. They can be easily modified. SDK will resize automatically the resources if your device has a smaller (or higher) resolution!
Design your app for VGA, the SDK will adjust the layout for other resolutions!
Full Finger Control.
Source files (.cpp and .h) of library.
Source files of example.
Class:
MyEditControl: Edit box with different width. Easy get and set text. SIP detection: scroll Edit area.
MyItem: Button (3 types), checkboxes and switch (TripleState!). Event on click, visibility and state can be changed/get easily.
MyPanel : This element is not visible but is used to bring together elements. This element can have a title and dotted separator between each element.
ChildSection : Contains a subsection which is displayed with a sliding effect.
MyLabel: Print text with different font and color.
MyPictureBox: To print image (png, jpg, bmp, gif…)
MySelector: Like the HTML select. Scroll screen if list is out of screen (see video below).
Section: A section is a panel which can be scrolled up/down. It contains the different elements.
MessageBoxSense: Four type of messagebox: info, Ok/Cancel, Abort/Retry and Yes/No.
MySlider: A simple slider of any size... The min and max values can be changed easily, as the cursor position.
Change log
V1.6.4
Added the possibility of multilines in edit control
V1.6.3
Added possibility to add picture to slider of ChildSection...[bug solved]
Explorer bug solved
V1.6.2
Added an event when user click on screen...
V1.6.1
Memory usage improved
V1.6
Loading of image is now safe (use video memory by default but if problems use device memory)
File Explorer
Icons
Speed and memory improvement
V1.5
just add possibility to change color of text for hover and selected...
Minor bug changes:
items out of screen no longer try to redraw
text of items recompute their size when changing
background color is correctly changed
The SDK is now multi thread safe!
Add the possibility to right clicks (long press)
Add the possibility to hook windows message (WM_ACTIVATE for example)
Add the possibility to have a bottom bar.
Add the possibility to have a background image (landscape and portrait).
If the app is allready started, close the new instance and show the previous one.
MySelector can be scrolled if the list is too long.
Text is now printed with alpha transparency.
Compatible with any character (hebrew, vietnamese...).
MyPictureBox can now be stretched.
Memory usage reduced.
V1.4
Minor bugs fixed
Add the possibility to show MessageBox without a main application.
V1.3
Background can be transparent ! (see this app for demo)
Native drawing (DirectDraw was too slow in landscape)
Slider can have a force feedback (see this app for demo)
V1.2
MySlider added
drawing process rewrited: less redraw->less computation->less CPU utilization -> battery consumption reduced
Loading optimisation
The layout is now independent of screen resolution!
top taskbar is occassionally cleared [fixed]
White screen, touching the panel brings it back [fixed]
landscape items position incorrect [fixed]
V1.1
landscape compatible
Abort/Retry added to MessageBoxSense
TripleState Checkboxes and OnOffItems added
FAQ
is QVGA resolution supported?
Yes, SDK will find the correct resolution and select the appropriate resource resolution. The SDK will delete the other resources...
have you planned to extend MessageBox types to Abort/Retry?
Yes, to create one:
MessageBoxSense::show(L"Hello",L"Try again ?", MESSAGE_ABORTRETRY);
is this landscape compatible?
Yes but having refresh rate issue. Seems to be a DirectDraw problem (S2U2 was subject to the same issue...)
If someone know how to solve this problem, send me a message !
Back button too slow.
You can change the speed anim using this function: changeSpeed(double nbMilisecond)
why aren't you including some TripleState Checkboxes and OnOffItems ?
Both are now included:
new MyItem(1,5,15,ITEM_IS_CHECKBOX,ITEM_THIRD_STATE,L"My third checkbox (Third state)");
Other apps
Wake on Wan is a new app which use this SDK. Sources are available!
Quick shutdown is a software which use this SDK too. It can turn off, restart or set the phone in sleep mode. Sources are also available!
"
Sense SDK win32 C++
For informations about SDK (installation, use compile...), see here: http://charlie-soft.com/Software/Manila_SDK/html/
Good work ! thanks for sharing hope devs will use it.
Hello my friend !
Great work !
( C'était exactement ce que je cherchais en c++ pour mes MFC smart device !!! )
Great Work, Thx for the source!!
Really great work!
but I have two questions:
- is QVGA resolution supported?
- have you planned to extend MessageBox types to Abort/Retry?
thank you
regards
NIce work
Altough i don't really know what todo with it... i instalt the example.cab and it was really smooth!
Only one thing if i go to other controls and i want to change the value then the onscreen keyboard should show up right? But it doesn't.... So i slide my qwerty keyboard open, and in landscape i get an error message: DDERR_SURFACELOST(back buffer)
I dont know what it means... is this landscape compatible?
Good job man !
Nice works !
I just have a feedback, I find too slow the animation when you click on the "back" button, is there is a way to speed it up ? (or disable simply the animation)
SDK Manila
Hello all !
I will try to answer all your questions. So :
- is QVGA resolution supported?
No but easy to implement... Just resize resources to correct resolution. I will post resources shortly.
- have you planned to extend MessageBox types to Abort/Retry?
If it's something wanted, I will do it.
- is this landscape compatible?
No, not yet. But will be in next release!
-Back button too slow.
I will add a method to set the speed of animation... in the next release
-Bug with hardware keyboard
The onscreen keyboard don't show up and I don't know why... I will look around for a fix.
If a developer wants to translate .NET applications into C++, feel free to post I will try to help you!
There is still lot of work, but I will try to do this quickly!
petititi said:
- have you planned to extend MessageBox types to Abort/Retry?
If it's something wanted, I will do it.
Click to expand...
Click to collapse
thank you for quick reply. I need this extension for my app "htc menu loader" (link in signature) to migrate from .net to c++
again, really great work. You are making something that HTC should have done months ago.
Great project !
I don't know if you notice but I disabled the bottom taskbar... Do you think that I should add the possibility to enabled it? I saw that your application needed one...
I hope you will find my SDK easy to use !
Hey, this looks awesome.
Question though: I'm just shy of clueless when it comes to making an actual working app. Is there any place I can go to read/learn the coding I will need to actually use this?
Application win32 c++
You can use the example application included into the SDK to learn basic stuff or you can download this application: WakeOnWan. It’s based on my SDK (here are the sources).
You need some basic knowledge about Object-oriented programming and C language. I try to explain how to use the SDK in the example using comments or on my webpage.
I will also post a short tuto in second post...
Very, very nice! The demo runs very smoothly on my stock Touch Pro 2.
petititi said:
You can use the example application included into the SDK to learn basic stuff or you can download this application: WakeOnWan. It’s based on my SDK (here are the sources).
You need some basic knowledge about Object-oriented programming and C language. I try to explain how to use the SDK in the example using comments or on my webpage.
I will also post a short tuto in second post...
Click to expand...
Click to collapse
Awesome thanks!
What's sad, is when I was young, I used to be able to code in C. Made my first video game when I was 6 on a Commodore 64 (ok i dated myself here) Now, can't remember very much
C++ ? It's just like riding a bike!
Hatefly said:
Awesome thanks!
What's sad, is when I was young, I used to be able to code in C. Made my first video game when I was 6 on a Commodore 64 (ok i dated myself here) Now, can't remember very much
Click to expand...
Click to collapse
I'm sure you can!
It's just like riding a bike - you never really forget how. And we are here to help you to refresh your memory.
petititi said:
I'm sure you can!
It's just like riding a bike - you never really forget how. And we are here to help you to refresh your memory.
Click to expand...
Click to collapse
Sweet thanks! Just downloaded an ebook on c programing.
Sounds (and looks) great, although there are still to many glitches (like not working in landscape etc.) which are preventing me from using this package.
But I have one question, why aren't you (all) including some TripleState Checkboxes and OnOffItems ?
I need them often but you cant find such controls online - not to speak of sense.
TripleState Checkboxes ?
Hello,
the TripleState Checkboxes is a simple feature I can add. To be sure, TripleState Checkboxes will looks like:
And tripleState On/Off:
I will include them in the next release... Be patient, the next release is coming soon and adds support for portrait and fixes a few bugs...

[Ideas] Bada Modifications.

I would like to hear your ideas for Bada modifications, what things do you want to see done to Bada?
Everything and anything goes! (within reason)
My wishlist.
-
Delete some unneeded "Icons"... because I can remove Facebook, Twitter ...
But few JAVA Midlets are somewhere protected against remove.
I was able to delete jar, jad, Icon but Icon still there in menu
Where is the Database entry to clear?
Preinstalled Widget too...
-
120 Apps Limit...
Hmm, there are other ways to replace ... BUT why 120 Apps are Maximum?
-
Developer signed Apps are only 1 possible to activate...
bada SDK Samples for instance...
Via Broker.exe Install seems more then 1 work at the same time... Why?
And how to expand to install more then 1 App at same time.
-
Filemanager bada App with Access to internal Filesystem.
I'm sure that Samsung will not allow this on their Store... but is it possible.
Someone told their are no APIs to access internal folder...
maybe invetigation of apps_compressed.bin will help to find "Commands"...
-
Folder delete in internal FS
I can create folder with PSAS, but can't delete. They are writeprotected.
More ideas hopefully later...
Best Regards
well for instance i wanna change the keyboard to either htc or iphone.... this one is too crammy like congested.... wanna have a spacious potrait keyboard......... and with universal setting like if i wanna activate predective text it should apply everywhere... not just in messages........ and it should always stay on..........
secondly i wud like to see more UI modifications beyond just themes...... like changing the status bar or the way notifications occur and stuff........... custom roms maybe... variety is a good thing...
I'd like to see:
Ability to create widgets or widget like apps using system parameters..
For eg: GPRS data, browser bookmarks, setting wallpapers etc..
Customization of the top Notification Panel buttons.
Filemanager Drag and Drop to move files and folders
A memory cleanup application.
Big Aspect sized thumbnails for videos.. now we cannot distinguish videos in thumb view.
More Right click options in files/folders - i.e., Click and Hold to show Menu options to Move/Copy/Delete/Rename/Open with/etc..
I'd like to see shortcuts (with names) like on Android and continous autofocus in the video cam !
My ideas or things I want in Bada
Here are my ideas :
1. Ability to replace whole UI like Android.
2. Folders in Menu.
3. Text-reflow in Browser.
5. Unlimited Menu pages and Home screens.
6. Unlimited SMS storage (why you want to restrict us to 1300 on a SMARTPHONE )
7. Sending Group SMS to any number of people (can be very useful for certain type of
businesses. Did u think about it Sammy ?)
8. Auto-hide of Notification bar and Lower bar after certain amount of time or on Tap.
9. Different Wallpapers on every home screen.
10. Better animations.
11. Smaller icons. 4x5 grid with an option to change to suit consumers' taste.
12. Notification Drop down to have buttons for APN, Brightnesss.
13. In-built Backup-Restore app for all phone data. User should be able to select to what he
wants to backup or restore.
14. Highly efficient GPS. (I would not like to buy a BMW whose tires I have to fix. I have
paid for it, btw.)
15. Better Facebook(with chat), Twitter and IM app atleast Gtalk. Current one plainly sucks
16. Various bugs in Messaging to be fixed.
17. Select all and Mark as read option in Email app.
18. Universal availability of Social Hub Premium.
19. A little better sound output through speakers (it is based on personal taste only )
20. Text-reflow and Pinch-to-zoom in Email app.
21. Soft buttons for Menu and Back.
22. All applications to have Exit button.
more to come.................
Out of all these I have already solved 7th but then everybody can't make changes to the file system.
Yes, I do love Bada and its potential. Its simplicity is killing feature
Thanks !
I think user experience would benefit by implementing GPU acceleration in UI and browser as in IOS and Windows phone 7.
TigerCourage said:
I'd like to see shortcuts (with names) like on Android and continous autofocus in the video cam !
Click to expand...
Click to collapse
Hi all. @TigerCourage on AF I play with the camera settings file "CamSetting.ini" in folder "Registry" can be seen with the program "sTune" (I started some new options "IntelligentAuto" I do not know what does). There is also an option to focus on video recording "RecordFocusMode" from "0" to "2" default "0". Try setting but do backup before (right click and copy).
Try my sample file
frxbg said:
Hi all. @TigerCourage on AF I play with the camera settings file "CamSetting.ini" in folder "Registry" can be seen with the program "sTune" (I started some new options "IntelligentAuto" I do not know what does). There is also an option to focus on video recording "RecordFocusMode" from "0" to "2" default "0". Try setting but do backup before (right click and copy).
Try my sample file
Click to expand...
Click to collapse
did it work for you?
frxbg said:
Hi all. @TigerCourage on AF I play with the camera settings file "CamSetting.ini" in folder "Registry" can be seen with the program "sTune" (I started some new options "IntelligentAuto" I do not know what does). There is also an option to focus on video recording "RecordFocusMode" from "0" to "2" default "0". Try setting but do backup before (right click and copy).
Try my sample file
Click to expand...
Click to collapse
I try and I think not works.
Could you explain the issue better?
thanks.
frxbg said:
Hi all. @TigerCourage on AF I play with the camera settings file "CamSetting.ini" in folder "Registry" can be seen with the program "sTune" (I started some new options "IntelligentAuto" I do not know what does). There is also an option to focus on video recording "RecordFocusMode" from "0" to "2" default "0". Try setting but do backup before (right click and copy).
Try my sample file
Click to expand...
Click to collapse
Doesn't work mate, I tried copying your file and then doing a soft rest and it didn't work. I also tried playing with options like RecordFocusMode and IntelligentAuto but still the same...
It would be very AWESOME if we get continous autofocus on Wave!
rex4u said:
Here are my ideas :
1. Ability to replace whole UI like Android.
2. Folders in Menu.
3. Text-reflow in Browser.
5. Unlimited Menu pages and Home screens.
6. Unlimited SMS storage (why you want to restrict us to 1300 on a SMARTPHONE )
7. Sending Group SMS to any number of people (can be very useful for certain type of
businesses. Did u think about it Sammy ?)
8. Auto-hide of Notification bar and Lower bar after certain amount of time or on Tap.
9. Different Wallpapers on every home screen.
10. Better animations.
11. Smaller icons. 4x5 grid with an option to change to suit consumers' taste.
12. Notification Drop down to have buttons for APN, Brightnesss.
13. In-built Backup-Restore app for all phone data. User should be able to select to what he
wants to backup or restore.
14. Highly efficient GPS. (I would not like to buy a BMW whose tires I have to fix. I have
paid for it, btw.)
15. Better Facebook(with chat), Twitter and IM app atleast Gtalk. Current one plainly sucks
16. Various bugs in Messaging to be fixed.
17. Select all and Mark as read option in Email app.
18. Universal availability of Social Hub Premium.
19. A little better sound output through speakers (it is based on personal taste only )
20. Text-reflow and Pinch-to-zoom in Email app.
21. Soft buttons for Menu and Back.
22. All applications to have Exit button.
more to come.................
Out of all these I have already solved 7th but then everybody can't make changes to the file system.
Yes, I do love Bada and its potential. Its simplicity is killing feature
Thanks !
Click to expand...
Click to collapse
great list!!!
TigerCourage said:
Doesn't work mate, I tried copying your file and then doing a soft rest and it didn't work. I also tried playing with options like RecordFocusMode and IntelligentAuto but still the same...
It would be very AWESOME if we get continous autofocus on Wave!
Click to expand...
Click to collapse
Hey how you copy a file because the file copied to the phone is only by drag and drop. If you are able to copy my files when you start the camera will see the icon "sA" without restarting the phone. Otherwise the effect of the settings I have attached the file with changed sound of shooting
frxbg said:
Hey how you copy a file because the file copied to the phone is only by drag and drop. If you are able to copy my files when you start the camera will see the icon "sA" without restarting the phone. Otherwise the effect of the settings I have attached the file with changed sound of shooting
Click to expand...
Click to collapse
Yes I copied by drag and drop and I've seen your "sA" icon at the beginning but the continous autofocus is nowhere to be seen...
Is there anyway to save camera shoot images in uncompressed format so that the quality of captured images will be maximum?
I would like to have a "fast-access" GPS button - next to the mute button ("green" menu). I'm really sure that this function will be very popular!
"Originally Posted by rex4u
Here are my ideas :"
about ur 7 th point (group sms to any no. of people).. this can be done using stune... jst modify the ini of messages settings there the limit is set to 10.. i dont remember the exact folder
and too lazy to look ... jst play around and see if u find it. otherwise i'll find it for u
I would like to have more keyboard languages (with T9 or whatever it's called on the Wave).
I have seen a friend of mine with a Wave from Vodafone, and he has 30+ langage/keyboard optinons. On my wave (normal German FW) I have about 10. No Cyrillic characters, no Chinese, no Arabian...
How am I supposed to use the full functionality of such a wonderful phone if i can't write an email to a friend /business associate in Russia for example.
I could grump about it a few more pages, but the essence should already be clear
P.S. AFAIK the languages are stored in the CSC flash file, so it's not so easy to "just add" some in, but I hope someone from samsung might also see this and think about it.
Android.=D
If i where a moderator or administrator i would ban that guy for inciting flame wars...

[Q] How can I choose Android-dev-icons in text font family?

Hey, I am a new user in this app [its awesome btw ] I was trying to access the Android_dev_icons 1 & 2 in the Text font family option while editing a test.
I downloaded a theme where the creator used it to make designed buttons and I want to make new.
Unfortunately I cannot find it and I have no idea how to access it, I tried to copy the preferences but it has been lost while changing a widget.
How can I access the dev_icons ?
thanks
EladC said:
Hey, I am a new user in this app [its awesome btw ] I was trying to access the Android_dev_icons 1 & 2 in the Text font family option while editing a test.
I downloaded a theme where the creator used it to make designed buttons and I want to make new.
Unfortunately I cannot find it and I have no idea how to access it, I tried to copy the preferences but it has been lost while changing a widget.
How can I access the dev_icons ?
thanks
Click to expand...
Click to collapse
Android DEV icon in fonts folder.(unziped)
Pick textfont in zooper, and then each letter A,b,c etc is a icon,

Categories

Resources