yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Software Development] Ren13B:
UN app for WP7 does something like this. Go to http://unitednations.codeplex.com/releases/view/57722 and grab the source. Open the source in Visual Studio and browse to the "Framework" folder and open up "BasePage.cs". At the bottom there's a method called AddNavigatingText() that does what I think you are looking to do.

Here's the method:

protected Grid AddNavigatingText()
{
var NavigatingText = (Grid) XamlReader.Load(
@" <Grid xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation""
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"" Height=""30"" VerticalAlignment=""Top"" Background=""#CCFFFFFF"">
<TextBlock HorizontalAlignment=""Left"" TextWrapping=""Wrap"" Text=""Navigating..."" Width=""129"" FontSize=""{StaticResource PhoneFontSizeNormal}"" Margin=""24,0,0,0"" FontFamily=""{StaticResource PhoneFontFamilySemiBold}""/>
<ProgressBar Style=""{StaticResource PerformanceProgressBar}"" RenderTransformOrigin=""0.5,0.5"" Margin=""135,0,0,0"" UseLayoutRounding=""False"" Background=""White"" IsIndeterminate=""True"" LargeChange=""0"" />
</Grid>");
this.Content.As<Grid>().Children.Add(NavigatingText);
return NavigatingText;
}
[Windows Phone 7 Software Development] Knudmt:
Thanks for the reply. Looks pretty simple. I downloaded the source and signed up for codeplex. However I can not connect to the tfs.codeplex.com
[Windows Phone 7 Software Development] sulphuricaciduk:
It's not possible to use dynamically created XAML; code is the way to go and much easier IMHO.
[Windows Phone 7 Software Development] Ren13B:
When you open the project just hit cancel at the login screen and it will load.
[Windows Phone 7 Software Development] l3v5y:
Agreed, doing it via code with a very basic XAML based page is likely to be faster, and will actually work. It's also a lot easier to fix things than trying to work out what went wrong in XAML you can't see... :)
[Windows Phone 7 Software Development] Knudmt:
I would agree with the statement that creating the controls dynamically would be faster. And def a great deal easier to read :) It just bugs me when I know this can be accomplished, yet I cant get it to work
[Windows Phone 7 Software Development] Knudmt:
Well that worked very well, thanks! I am having a little formatting issue :(.. my textblocks show up right on top of each other. any ideas?

Thanks again
[Windows Phone 7 Software Development] Knudmt:
I solved this silly issue. just added a listbox control to the xaml front end and added my elements with an ugly cast

listbox1.items.add((TextBlock)myBlock);
[Windows Phone 7 Software Development] l3v5y:
If you had a StackPanel as the parent control, you could have each new textblock stacked...
[Captivate Q&A, Help & Troubleshooting] mattbeau:
So i Think I fully Bricked my phone, I was trying to make a hiemdal one click jf6 package with the froyo sbl so that you can always use heimdal on mac.

I believe the SBL came from the Axura rom since i didn't have a stock froyo one but I always was able to flash back to stock jf6 without selecting sbl when flashing. and everything worked. I pulled all the correct partitions with DD and flashed them back to my phone, flashed successfully but my phone never rebooted.

When I plug my phone in with windows xp I get an unknown device

Sec s5pc110 Test B/D

Vid 04e8 pid 1234

Is there still hope as it appears the Primary boot loader still works.? Or should I call warranty center?
[Captivate Q&A, Help & Troubleshooting] Cmac411:
Can you get it into download mode? If not use a Usb jig then odin one click! I bricked my phone 2 days ago then I just made a usb jig then it fixed it don't worry you really cant brick this phone
[Captivate Q&A, Help & Troubleshooting] drjbrown:
any updates on this one. I am in the same boat and looking for some advise.

Thanks
[Captivate Q&A, Help & Troubleshooting] rickysa2000:
Use a Jig or just the 3 resistors!
[Captivate Q&A, Help & Troubleshooting] Cozmo1:
It doesn't matter at this point what the computer says, what do you see on your phone when you boot it up?
[Desire HD Q&A, Help & Troubleshooting] l.lai:
Hi guys,

So i used this movetoSD app i found on the market to move files because the internal memory on the DHD is small.

Occasionally i take out my SD to use a card reader as its faster copying files.

Upon putting it back into my phone (note its powered down when i remove the card), all the apps i moved to SD are now corrupted and i have to remove and add them all again.

How can i avoid this?
[Desire HD Q&A, Help & Troubleshooting] Rixsta:
Id say somehow from copying the files from the card reader had corrupted them...state the obvious i know...you really should use usb to avoid these problems
[G1 General] add119:
People is 100 dollars for original droid a good deal? It has adobe flash player with power v chip like 3d graphic similar to iphone3gs and nexus one.

Did I do a good deal on buying a device like this?
[Hero CDMA Themes and Apps] alexdemonumber3:
Can anyone give me a flashable zip that has a smiley key that you can edit? or at least one with a normal ':)' as opposed to ':-)' key?

Thanks guys. Y'all are awesome
[Hero CDMA Themes and Apps] ThaSik1:
Interested in this as well..call me crazy but having the dash with the smiley faces bothers me a bit *shrugs shoulders*
[Hero CDMA Themes and Apps] alexdemonumber3:
Yeahh I realllllllyy hate that pesky little dash. I'm pretty sure nobody makes smileys like that lol
[Hero CDMA Themes and Apps] ThaSik1:
Hahaha me too but word of advice, don't go tweaking the xml files unless ya know what you're doing lol I called myself editing the popup smiley xml and flashing the apk but now I can't even use smileys at all Haha but im gonna trial and error all day to see if I can't hook us up in case no one else replies :)

sent from my Green Lantern using the XDA app :)
[Hero CDMA Themes and Apps] alexdemonumber3:
Thanks bud. You're a hoss. Much love from Texas and good luck. Thanks for the efforts! :D
[Hero CDMA Themes and Apps] alexdemonumber3:
anybody got anything new on this?
[Hero CDMA Themes and Apps] ThaSik1:
Unfortunately no lol but i've been away from my pc for a good while and have been postin with my phone lol Gonna run thru the files this weekend and try to cook us up somethin..I'll try to keep ya updated more on this my good sir, didn mean to go incognito haha
[Hero CDMA Themes and Apps] alexdemonumber3:
nah man, its cool. unfortunately we all have lives aside from this incredibly addicting forum. I spend wayyy to much time on here lol
[Hero CDMA Themes and Apps] kyouko:
Threw this together earlier using only my phone while on a longggggg boring ride ;__;

I'd have to say that the zipsigner app is by far one of the best dev apps to come forward in the android market.

Haha, this keyboard was probably the only thing that was worthwhile about the trip :p

Edit: Forgot to add that yes, the zip is flashable :D
[Hero CDMA Themes and Apps] ThaSik1:
Kudos to you my good sir cuz I broke my neck trying to edit XML files to get this to work to only be hit with countless fc's lol mind if I ask what you did for future reference? :)
[Hero CDMA Themes and Apps] alexdemonumber3:
kickass bud, kickass :D
[Hero CDMA Themes and Apps] kyouko:
I'll post it once I get access to a computer. Making a list using the XDA app on the phone is a pain in the butt :p

If you want a different themed keyboard to have this edit let me know (please provide me a link or attachment :)). I'll be able to throw it together in a few minutes for ya.

And I agree with you guys, the "(:" looks a lot better than "(-:"
[Hero CDMA Themes and Apps] aplacetorest:
does this just get flashed? thats how this installs right?
[Hero CDMA Themes and Apps] alexdemonumber3:
can you just make me a stock gb keyboard minus the pesky little dashes? lol thanks man! you da bomb!! :D
[Hero CDMA Themes and Apps] alexdemonumber3:
yes. flash, wipe cache and reboot.
[Hero CDMA Themes and Apps] AznGunner:
Is this keyboard compatible with Chomp SMS?
[Hero CDMA Themes and Apps] kyouko:
Don't see why it wouldn't be..I've used it in every application I have that has an input box (terminal emulator, handcent, stockmms, titanium, etc, etc) without any problems

To the OP: I'll have the keyboard up once I find a good download for it :p and have 5-10 min free at work ;)
[Hero CDMA Themes and Apps] kyouko:
Here's the non-themed keyboard for you guys.

This zip is flashable as well

And hopefully I'll have access to a computer relatively soon to make a write up for you guys on how I did it (plus the pink CM theme, and a couple other requests people made :p) - I'm still out of town for a little while longer.

Pictures will be included for the short tut because they make everything look better :D
[Hero CDMA Themes and Apps] s2vash:
I thought this only bothered me!!!!! But it turns out theres an entire thread on this. This keyboard should REALLY be stickied!!!!!
[Hero CDMA Themes and Apps] alexdemonumber3:
kyouko, you are the bomb.
[Hero CDMA Themes and Apps] ThaSik1:
Hahaha Second that!! Feels so much better now that i dont have to go thru and manually delete that thing everytime i pick a smiley hahaha
[Hero CDMA Themes and Apps] 0vermind:
Question... I have the gingerbread keyboard and it's custom themed. It's called DarkAndroid-Gingerbread Keyboard. What files did you modify to remove the dash in the smiley?
[Hero CDMA Themes and Apps] kyouko:
I'll be posting a quick/short tutorial on what I did late Saturday - which is when I get back home :D
[Hero CDMA Themes and Apps] xRedRiot:
How hard would it be to just replace the smiley button with a return/enter key on the stock keyboard? No one really seems to be making one. If that isn't too much trouble, I would really love to have one of those.
[Hero CDMA Themes and Apps] kyouko:
If you're using Handcent you can change the 'Smiley' key to an 'Enter' by changing the settings:

Menu > Settings > Application Settings > Action Key-type > Enter

As for the standard messaging app, voice, talk, etc. which don't have those options I'll see what, if anything, I can do.

Again I only have my phone to work with :p - no computer till the end of the week - so if it involves any smali edits I won't be able to do it :/ At least not yet.

Also, forgot to ask this before: If you guys want the dashes removed on the "B-)" ":-*" and "O:-)" smilies let me know. When editing it earlier I thought those three looked a little better with the dash still there. But I can easily make another without them for those that disagree. ;)
[Hero CDMA Themes and Apps] xRedRiot:
Okay, thanks. I mostly wanted it to use in the stock messaging app. If it doesn't work in anything else, I (personally) wouldn't have a problem with it.
[Hero CDMA Themes and Apps] leadfoot9281:
dude, where did you get that theme? my wife still is running a hero and is a turquoise nut and that is pretty dang close! lol sorry to get off topic but yea if you could share that would be awesome.
[Hero CDMA Themes and Apps] kyouko:
It right here -> Decad3nce's Mau5 CM6 Rom

And I'm finally getting back from my trip today :D

Got some stuff to do for you guys when I have some time free on my hands - including the quick tut on how I edited the key and my pink theme for the ladies (or anyone else who wants it :p)
[Hero CDMA Themes and Apps] leadfoot9281:
Awesome. Thanks for the help.
[Hero CDMA Themes and Apps] aliensub:
I'm really looking forward to the guide on how to change the smileys.

I would like to edit the placement of the smileys. Have tried to mess with some xml files, but no luck yet :-)

Nice work kyouko!
[Hero CDMA Themes and Apps] ThaSik1:
lol glad that i wasn't the only one failin lol and he was editing them from his phone which is thug to me cuz i was doing mine thru the pc and couldn get results :P
[Hero CDMA Themes and Apps] kyouko:
CRAP forgot about this :(

Sorry guys, I know I've been pushing things back quite often recently. I've been really busy.

I'll work on getting a quick tut done before I leave for a few days ( once again :/ ) tomorrow morning :eek:

It'll have pictures of what I did to edit it on the phone, but I'll briefly go over how you'd do it using a computer
[Hero CDMA Themes and Apps] composites:
Really looking forward to this as well =)
[Hero CDMA Themes and Apps] aliensub:
No problem. I think it's great that you're spending the time doing it!

If you ask me, just a quick start text guide would be awesome.
[Hero CDMA Themes and Apps] kyouko:
Editing on your phone

Things you will need:

Gingerbread Keyboard.apk ;)

Ninjamorph - paid/free will work

HexEditor

Optional

ZipSigner

Instructions:

Preparation

Download the thing's you will need and put the keyboard.apk on your sdcard

Open up ninjamorph

Select "New Project"

Navigate through your sdcard and select the GB keyboard.apk

After it finishes extracting the files we'll be editing will be located in the workspace/KEYBOARDAPKNAMEHERE/res/xml directory. (you can nav there in ninjamorph to make sure there are files there if you want) - Pictures 1,2,3

Editing - Refer to attached pictures to get a better idea

Open up HexEditor

Menu > Open File

Three files need editing in the /AndroidThemes/workspace/KEYBOARDAPKNAMEHERE/res/xml directory

kbd_qwerty.xml

kbd_qwerty_black.xml

popup_smileys.xml

Our first example will be the kbd_qwerty.xml

Look at pictures 4,5 to get a good idea of what we're doing here

Tap on the cell you wish to edit (Ex. 00000298 Column 3 = "2D" which is a dash in hex)

We want to replace that dash "2D" with the symbol that follows it to the right (in this example its going to become "29" which in hex means "="

Do this for the other :-) dash in 00000299

When you're finished press Menu > Save File

**Note kbd_qwerty.xml and kbd_qwerty_black.xml only have those two smileys in the picture that need replacing/editing**

Next open up the popup_smiley.xml in HexEditor

Repeat the steps above for each dash that you wish to get rid of

Menu > Save File

Now we're done doing the keyboard edits and just need to re-package it all up \o/ :D

Exit out of HexEditor and open NinjaMorph again

Select "Finish Project" and pick the correct folder - zipalign if you want, the one I uploaded was and I haven't heard any of you guys complain its broken :p

After it finishes the project, the GBkeyboard.apk that you selected to be edited at the beginning will be replaced with the newer one. (same name)

Now you can have a keyboard with an edited smiley key - push it to /system/app, move it there with root explorer, do what you want/need with it

Optional:

Use ZipSigner to create a flashable zip for your new keyboard - you need to know how to create an updater-script, all the app does is sign it for you.

Computer

As for doing this on the computer, you'll need apktool.jar to deompile/compile apks.

Apk ManagerLooks like it should be able to decompile for you much easier than using .jars and all that. I'm not completely sure about this, because I've never used this program/batch before :rolleyes: but many people seem to swear by it so I recommend trying it out.

Basically you would decompile the apk, edit the xml's (which will look like a normal xml, not jumbled up), re-compile the apk. And then possibly sign the apk, depending on whether or not you want it installed outside of /system/app

If there's any questions or if something doesn't work lemme know. Hopefully that won't be necessary though haha
[Hero CDMA Themes and Apps] aliensub:
Great tutorial Kyouko!

I have an issue though. As far as I understand /system/app/LatinIME.apk is the gingerbread keyboard.

I tried to copy it to my sdcard. But when I choose new project in ninjamorph, and select the apk, nothing happens.

I tried instead to use the computer method. Everything goes according to plan, and I have pushed it back to the phone, but the phone doesn't seem to accept the apk (it defaults to smartkeyboard which I also have installed). I can't select it in any way.

It's probably just me being a bonehead, but if someone could push me in the right direction.....
[Hero CDMA Themes and Apps] andrew378:
Darn, it works in the stock messaging app, but not handcent. Good work nonetheless!
[Hero CDMA Themes and Apps] kyouko:
What do you mean? If you're saying the smiley key is an "Enter/return" key on handcent you need to go to the settings and change it.

Something along the lines of: Settings > app settings > action key functions > Smiley
[Hero CDMA Themes and Apps] PMDColeslaw:
Great job! Worked like a charm for me. I had never tried editing on the phone before, so thanks for the help!

Just to add some info for those new to hex edits: When you edit the string as directed above and you change "2d" to "29" (or whatever follows "2d" in the string) remember to edit the values that follow as well.

For example:

If the string is "3a 2d 29 20 00" that translates to ":-) " which means that 3a is :, 2d is -, 29 is ), 20 is [space], and 00 is [no value]

So if all you do is change the "2d" to "29" then it will look like this ": )) "

Therefore you have to make sure you adjust all the values and not just the "2d".

The correct edit would be to go from "3a 2d 29 20 00" to "3a 29 20 00 00"

Hope that makes sense.
[Hero CDMA Themes and Apps] kyouko:
Oh yeah :p Forgot to write down that step haha.

At least I had that done in the pictures :D
[Hero CDMA Themes and Apps] gunnarizbeast:
Hey guys. Is there anyway one of you guys could upload an already edited keyboard apk ? This

Whole hex editing thing kinda scares me. I would really appreciate it. Even an edited stock froyo keyboard would rock.
[Hero CDMA Themes and Apps] kyouko:
I posted a flashable zip on the first page here (post 9) but it's gingerbread

If you want your froyo keyboard edited, attach the apk to a post on this thread and I'll do it for you :)

A side note about that zip, I'm not sure whether it's edify or the old amend style. If it's the latter let me know and I'll update the script for that as well :D
[Hero CDMA Themes and Apps] cheapskate88:
Any chance you can put together a gb keyboard without any Smiley at all? Perhaps an inactive key or period? Better yet, a return key? I'm constantly hitting the Smiley key when I'm tapping periods in the Google voice app... it's very frustrating.

Would really appreciate it!
[Hero CDMA Themes and Apps] kyouko:
Actually I just made that for someone a couple weeks ago, got a request via PM.

I'll look around for it and post it sometime today. That one in particular had the key act as a period, but non-repeatable like the regular period is on stock.
[Hero CDMA Themes and Apps] cheapskate88:
That would be fantastic! Thank you!

Is there a way to take out the Smiley key altogether and replace it with a constant Return key?
[Hero CDMA Themes and Apps] kyouko:
This link is for the one with the edited key -> period (HDPI)

http://dl.dropbox.com/u/7878256/Android/LatinIME.apk

The keyboard is edited so that the ":-)" is now a "."

It doesn't work exactly like the normal period button. And by that I mean you can't press it repeatedly to type out something like "...."

After you press it once, it will basically render that key null - unless you long press on it, which should open up the smiley popup menu.

Otherwise it should work perfectly fine in both portrait and landscape mode

As for changing to a return key, I might be able to do that editing the LatinIME from CM source...though generally I'd recommend changing the application's flags to disable "smilies". But of course Google's apps are closed source :rolleyes: so we don't have that option haha. I'll see what I can do sometime this week hopefully.
[Hero CDMA Themes and Apps] cheapskate88:
Wow. I've been looking for something like this for the longest time. Thank you! Good luck trying to figure out the Return key option!

Damn, I'm having trouble getting it to install properly. Made a back up of the system app and pushed your version to system/app via root explorer. Android keyboard just disappears. Normal installation method does not install. Suggestions?

PS. Your version is about 3mb's smaller than the one I have.

Also, I have an Evo on cm7. Fyi.
[Hero CDMA Themes and Apps] kyouko:
Pushing the app should work :confused: , the regular installation method won't with since it's a system application.

Make sure you change the permissions on the file. (rw-r-r) just look at the other system apps' permissions to see what I mean if you're confused.

About the file size, I saw you were using an Evo which is why I gave you that link...That was before I realized it was for the Motorola Milestone (FWVGA 400x856) while the Supersonic is WVGA 480x800 haha. So when you get a chance upload your original LatinIME.apk and I'll edit that one on my phone. :D
[Hero CDMA Themes and Apps] cheapskate88:
Here is my keyboard apk. Thanks for the advice. I had actually already done everything you suggested, so hopefully it's just a matter of using the proper apk. Thanks again!

http://dl.dropbox.com/u/1285149/LatinIME.apk
[Hero CDMA Themes and Apps] jatk:
Thanks this was very much needed!

Not to be picky but is there anyway to get the blue Deadmau5 skin off?
[Hero CDMA Themes and Apps] cheapskate88:
Check out his signature. It's there.
[Hero CDMA Themes and Apps] 0vermind:
Awesome!! Thanks for your work on this apk, I've really been looking for this for a long time now!! lol.

I too would like to see the actual source of the Gingerbread keyboard edited to take out that stupid smilely button in trade of a Done/Send button or a return button. But if we do that, could we make the button smaller so I don't accidentially hit it? That would be my own problem if it was a done/send button.
[Hero CDMA Themes and Apps] cheapskate88:
That would be fantastic. And I agree on making the key smaller. There's no reason a smiley key or a return key on a phone should be that big. I'd rather have a bigger space key.
[Hero CDMA Themes and Apps] xxhorseriderxxx:
what file in the keyboard apk did you edit to change the smilies? I want to make my own custom ones too, but I can do it myself XD
[Hero CDMA Themes and Apps] kyouko:
GUIDE (a few pages back if you're using the standard 10 posts per page, or 1st page if you have 50/page :D)

as I listed before:

kbd_qwerty.xml

kbd_qwerty_black.xml

popup_smileys.xml

let me know how it works out for you :)
[Hero CDMA Themes and Apps] xxhorseriderxxx:
I actually found another way using android commander to install, apktool to de(re)compile and signapk to sign

I don't like messing with Hex editors, I just rather deal with straight XML

worked great for me (with a few glitches in the commandline of apktool and signapk)
[Hero CDMA Themes and Apps] Darius_bd:
Share plz!
[Hero CDMA Themes and Apps] xxhorseriderxxx:
I'll make a guide on it as soon as I can, but it's pretty simple anyway

In the meantime, I've made a thread for a keyboard that I edited myself to give you the .com,.org,.net,.edu stuff in the period popup menu along with edited smilies.

http://xdaforums.com/showthread.php?t=1151714
[Hero CDMA Themes and Apps] kyouko:
That's basically how I did it for the non-themed one. The hex edit/phone guide was for the mau5 - which I ended up doing while traveling without a computer to use.

The easiest way imo is just to edit the keyboard using CyanogenMod repositories and compile it that way. in the end it's just up to preference on how you want to edit the xmls.

Glad you got it working :)
[Hero CDMA Themes and Apps] Darius_bd:
May I ask how you did that? I tried extracting with APKTools, edited the normal XML, built it back, zipaligned, signed, but now it wont work :/ (and its 4 megas lighter...)
[Hero CDMA Themes and Apps] notverycreative:
I made a Gingerbread smiley-free keyboard, with the return key replacing the smiley key (see sig). It's compiled straight from the AOSP repos so it isn't themed at all.
[Hero CDMA Themes and Apps] kyouko:
That's by far the easiest way imo for editing the keyboard.

Only issue I guess is that not everyone has a dev environment synced
[Hero CDMA Themes and Apps] annndrewww:
Is there any way to flash this .zip file with the stock recovery? I keep getting:

E:signature verification failed

Installation aborted
[Hero CDMA Themes and Apps] xxhorseriderxxx:
just download the zip and unzip it with whatever utility you prefer, then install the apk on your device like any other apk