[App] Custom MMS.apk. Make it your own.UPDATE 3/10/14 - Nexus 5 Themes and Apps

This is a fully customizable MMs.apk. It was originally made by Baked for pre 4.2. Thanks goes to @fernandezhjr for the 4.4 port and @rdgate for helping fix the mms resolution.
Features:
-Custom Backgrounds
-Custom Bubble colors and styles
-Quick reply
-Customizable widget and popup
-Emoji key (option to place beside text input window)
-Timestamp options
-Vibration settings
-Delivery Reports
-And much, much, much more...
Enjoy and hit thanks please.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installation:
-With root explorer:
-Delete any existing Mms.apk in /system/priv-app or /system/app
-Copy MMS.apk to /system/priv-app
-Set permission to rw-r-r
-Reboot
-Go into settings > more > set "messaging" as default sms
-Profit
*I and some others have had some success installing as a normal app on the n5, if it doesn't work use the method above.
Confirmed working on:
nexus 5
nexus 4
HTC One
S4
Update: New version below now sends higher res images!!!!!(the old one had high compression.)
Flashable.zip Below.

Show us your setup. Screenshots are welcome.
Sent from my Nexus 5 using Tapatalk

Bump
Sent from my Nexus 5 using Tapatalk

Just curious, what is the difference with this MMS.apk? I have trouble receiving PNG's using the stock MMS app periodically, wondering if this has some sort of fix for that. TIA :laugh:

wilkins502 said:
Just curious, what is the difference with this MMS.apk? I have trouble receiving PNG's using the stock MMS app periodically, wondering if this has some sort of fix for that. TIA :laugh:
Click to expand...
Click to collapse
This is a fully customizable SMS app. Custom backgrounds, bubble styles and colors
http://forum.xda-developers.com/showthread.php?t=2178697
(Update 8/9) MMS.apk 4.3 (stock look, IOS emojis, quick reply) + Fully customizable
Sent from my Nexus 5 using Tapatalk

yup, waiting for it as well

Cuzz1369 said:
Bump
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
i got it to installed on 4.4 but it fc when sending sms..working on it in my spare time

Yeah
hello00 said:
i got it to installed on 4.4 but it fc when sending sms..working on it in my spare time
Click to expand...
Click to collapse
Still trying to figure out how to send and receive,as when I try now it does niether.

hello00 said:
i got it to installed on 4.4 but it fc when sending sms..working on it in my spare time
Click to expand...
Click to collapse
Xdevillived666 said:
Still trying to figure out how to send and receive,as when I try now it does niether.
Click to expand...
Click to collapse
I got it to send when I was on slim. They have "privacy gaurd" I had to manually give it permission to write SMS. The only bug was it would show me sending two messages. The recipient would only receive one.
Sent from my Nexus 5 using Tapatalk

Hmm
Cuzz1369 said:
I got it to send when I was on slim. They have "privacy gaurd" I had to manually give it permission to write SMS. The only bug was it would show me sending two messages. The recipient would only receive one.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Does slim have a 4.4 rom?

Xdevillived666 said:
Does slim have a 4.4 rom?
Click to expand...
Click to collapse
For the n5 and n7 I know they do. Not sure about else where.
Sent from my Nexus 5 using Tapatalk

Bump again
Sent from my Nexus 5 using Tapatalk

Cuzz1369 said:
For the n5 and n7 I know they do. Not sure about else where.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I'm guessing you meant nexus 4, anyway why not just compare 2 aosp messaging apps from the nexus 4, one before kitkat and one after kitkat and see what xml/smali changes there are. That will at least get you started.

regulusv7 said:
I'm guessing you meant nexus 4, anyway why not just compare 2 aosp messaging apps from the nexus 4, one before kitkat and one after kitkat and see what xml/smali changes there are. That will at least get you started.
Click to expand...
Click to collapse
If I had the know how I would do it. @Xdevillived666 tried some stuff and couldn't get it to work. I don't even know where to start with decompiling. Don't really have the time to learn right now. Feel free to take a crack at. It would make a lot of people happy to get this working.
Sent from my Nexus 5 using Tapatalk

Just as a suggestion you might want to look into an app called Smart Messenger. It is in beta right now but the developer is very responsive and is very polished and functional. It will soon have the ability to theme every visual aspect of the app as well. It does MMS and all that as well as custom inbox's, filtering rules, archiving, and the ability to use google drive to send full size images from within the app if you want.

Valdeck said:
Just as a suggestion you might want to look into an app called Smart Messenger. It is in beta right now but the developer is very responsive and is very polished and functional. It will soon have the ability to theme every visual aspect of the app as well. It does MMS and all that as well as custom inbox's, filtering rules, archiving, and the ability to use google drive to send full size images from within the app if you want.
Click to expand...
Click to collapse
Can you link this wizardry you speak of ?
Sent from my GT-I9300 using XDA Premium 4 mobile app
---------- Post added at 06:15 PM ---------- Previous post was at 06:12 PM ----------
regulusv7 said:
I'm guessing you meant nexus 4, anyway why not just compare 2 aosp messaging apps from the nexus 4, one before kitkat and one after kitkat and see what xml/smali changes there are. That will at least get you started.
Click to expand...
Click to collapse
Did that but can't get certain things to gel (4.2 aspects to 4.4) as there's too big a disparity between the two I even tried simplifying the app by making just a dark holo themed one,but to no avail. I also took a look at the Google blog on kit Kat,because you ha e to have certain things included in the manifest,but no matter what I did,it wouldn't work.
Sent from my GT-I9300 using XDA Premium 4 mobile app

In the "DroidKang v6" based on CM11. The MMS.apk is the default sms app, and it works very well. Try to take a look.
Send from my Nexus 5, using Tapatalk Pro

i use 8sms : https://play.google.com/store/apps/details?id=com.thinkleft.eightyeightsms.mms&hl=de
just works

Wow
Valdeck said:
Just as a suggestion you might want to look into an app called Smart Messenger. It is in beta right now but the developer is very responsive and is very polished and functional. It will soon have the ability to theme every visual aspect of the app as well. It does MMS and all that as well as custom inbox's, filtering rules, archiving, and the ability to use google drive to send full size images from within the app if you want.
Click to expand...
Click to collapse
This app is no joke!!!! Thanks for the suggestion
---------- Post added at 06:28 PM ---------- Previous post was at 06:26 PM ----------
razor69300 said:
In the "DroidKang v6" based on CM11. The MMS.apk is the default sms app, and it works very well. Try to take a look.
Send from my Nexus 5, using Tapatalk Pro
Click to expand...
Click to collapse
Im gonna pull the mms and mess with it this evening. Ill let you know if I get anything done :-/
---------- Post added at 06:31 PM ---------- Previous post was at 06:28 PM ----------
75markus said:
i use 8sms : https://play.google.com/store/apps/details?id=com.thinkleft.eightyeightsms.mms&hl=de
just works
Click to expand...
Click to collapse
So does the stock mms app from every other rom,but,unfortunately it aint got the customizations some of us would like :-/

So....
These are the steps I followed to try and incorporate bubbles into an already existing dark holo themed 4.4 mms
How to Make a Bubble MMS
This Tutorial will add-on to the other one, this will be for those a little more advanced or would like some help making their MMS all that much more better. So the instructions and requirements still apply.
So first thing you going to need to is decompile your MMS.
Code:
apktool d Mms.apk
First /Res/Drawable/listitem_background.xml
You're going to take that xml and copy it in the same folder so you should have listitem_background.xml and listitem_background-copy.xml. Then take the listitem_background-copy.xml and rename it listitem_backgroundsend.xml needs to be this exactly.
Then open up each and take the listitem_background.xml and find the last line of code
Code:
<item android:state_selected="false" android:drawable="@drawable/recv_bg"/>
Yours will say @android:color/black you will need to change it to reflect what mine says exactly. Then go to the listitem_backgroundsend.xml and find the same line of code and make it say this
Code:
<item android:state_selected="false" android:drawable="@drawable/sent_bg" />
Yours will again say something similar to the last line, make sure to name it exactly. Save those and close em.
Next /Res/Layout/message_list_item_recv.xml and send.xml
You're going to open these two up and this will change the actual block that it uses and direct it to the new xml's. So open up recv first this one will only require one edit.
Look for
Code:
android:layout_height="@dimen/avatar_width_height" android:layout_alignParentLeft="true"
You will need to change the "true" to "false" this will keep the picture from stretching all the way to the other side of the screen and only wrap the text.
Then go ahead and open the send.xml, here we will make it direct the send image to the new xml that we made in the beginning.
Look for
Code:
android:id="@id/message_block" android:background="@drawable/listitem_background" android:layout_width="wrap_content"
You will want to rename "@drawable/listitem_background" to "@drawable/listitem_backgroundsend" this will direct it to that new xml to tell it where to grab the image. make sure to make the same edit from before changing the alightParentRight="false" . You will also want to MAKE SURE that android:layout_width="wrap_content" and not anything else, otherwise things get messy. Then save those and exit.
Now comes to the more involved part. Making the .9.png for recieve and send.
Go ahead and open up drawable-xhdpi and find the main messaging app icon. And select to edit with Gimp. IF you have gimp otherwise this part wont be very useful.. sorry.
Once thats done go ahead and go to Filters > Alpha to Logo > 3D outline. Once on that go ahead and make every number 1. By default it should be 5 10 5 make those all ones. Then make sure to hit the browse button and choose the very first box which should be white and title "clipboard". Hit okay and let it do its work. Then you will be left with a white outline and a white background. Then go up to Layers > Merge Down. Then Layers > Delete Layer. YES I KNOW IT WILL DELETE IT. Dont worry, just hit CTRL+Z twice. Then Once more hit Layers > Delete Layer and you should be left with JUST the white outline of the messaging icon. Save that or color it or whatever you want to do with it.
Now your going to need to go to your "tools" directory in the android-sdk. C:\android-sdk\tools then open select to run the draw9patch.bat it will open up a terminal then open up this giant Down arrow. Your going to want to drag and drop that image your created.
Now comes the fun part patching. This is way i do most of mine so feel free to just copy that.
I fill the bottom and the right side with a complete line on the boarder keeping in mind of where the context is on the right. And just a simple dot on the top and the left in the middle. Save that png and do it with the other one you should have made for send.
I have attached two sample's .9.pngs make sure to rename them properly.
Now rename both .9.pngs to recv_bg.9.png and sent_bg.9.png then keep those in the drawable-xhdpi folder. Close out of that folder and now build the APK.
This is the result I got after recompiling:
C:\apktool>apktool b Mms2
I: Using Apktool 2.0.0-Beta7 on Mms2
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\apktool\Mms2\res\values\public.xml:47: error: Public entry identifier 0x7f020
282 entry index is larger than available symbols (index 642, total symbols 641).
C:\apktool\Mms2\res\values\public.xml:47: error: Public symbol drawable/text_col
or_black declared here is not defined.
C:\apktool\Mms2\res\values\public.xml:46: error: Public entry identifier 0x7f020
281 entry index is larger than available symbols (index 641, total symbols 641).
C:\apktool\Mms2\res\values\public.xml:46: error: Public symbol drawable/text_col
or_red declared here is not defined.
C:\apktool\Mms2\res\values\public.xml:42: error: Public symbol drawable/widget_c
onversation_read_selector_light declared here is not defined.
C:\apktool\Mms2\res\values\public.xml:44: error: Public symbol drawable/widget_c
onversation_unread_selector_light declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Dennis
\AppData\Local\Temp\brut_util_Jar_5220909009312137600.tmp, p, --forced-package-i
d, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --v
ersion-name, 4.2.2-eng.baked.20130316.112447, -F, C:\Users\Dennis\AppData\Local\
Temp\APKTOOL3439026912640037008.tmp, -0, arsc, -I, C:\Users\Dennis\apktool\frame
work\1.apk, -S, C:\apktool\Mms2\res, -M, C:\apktool\Mms2\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
at brut.androlib.Androlib.buildResources(Androlib.java:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Dennis\AppData\Local\Temp\brut_util_Jar_522090900931213
7600.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-versi
on, 17, --version-code, 17, --version-name, 4.2.2-eng.baked.20130316.112447, -F,
C:\Users\Dennis\AppData\Local\Temp\APKTOOL3439026912640037008.tmp, -0, arsc, -I
, C:\Users\Dennis\apktool\framework\1.apk, -S, C:\apktool\Mms2\res, -M, C:\apkto
ol\Mms2\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Dennis\A
ppData\Local\Temp\brut_util_Jar_5220909009312137600.tmp, p, --forced-package-id,
127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --ver
sion-name, 4.2.2-eng.baked.20130316.112447, -F, C:\Users\Dennis\AppData\Local\Te
mp\APKTOOL3439026912640037008.tmp, -0, arsc, -I, C:\Users\Dennis\apktool\framewo
rk\1.apk, -S, C:\apktool\Mms2\res, -M, C:\apktool\Mms2\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:475)
... 6 more
Any input?

Related

[APP] JAK Portal an "App Store" style repository [Feb 22 SRVR UPDATES]

-Server Updates in Post 2-​
App Description:
If you're on the go or just prefer download apps for your device without a computer, this will suit you great. We'll try our best to keep it updated as possible and add new content!
Todo:
Add Search function
Differentiate between Vga and Qvga Programs
Add a Rom Section
Find A PIE Solution
Graphics are optimized for Qvga, but should work on any screen size.
(The skin used in the screen shots is not the default skin, there is a link at the bottom for it.)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Support :
We have an Official iRC CHannel, Please Join us there and feel free to comment
Server : irc.winmoportal.com
Channel : #winmoportal
Click to expand...
Click to collapse
Change Log:
Server updates as of 1/26/09 below in post 2
1.5.1: Bug fixes. Fixed transparency issues with buttons. Added the option to remove fullscreen (just delete the file called fullscreen.txt from the application directory)
1.5: Speed Boost incorperated
1.5 Beta 3: Fullscreen. Added a "menu" to the program itself. The menu is Skinable. Start button and "terms" are now located locally. (read more here)
1.5 Beta 2: Private Testing 2/11/09
1.5 Beta 1: Private testing 2/10/09
Update 1.4: Cabbed it up, changed the Form's name (was K&J portal, now JAK Portal)
Update 1.3: Graphics Fully Implemented!
Update 1.2: Fixed some errors server side, and noticed that files are actually being opened sometimes instead of downloading..... working on a fix.
Update 1.1:
We went ahead and changed the program name to JAK Portal. Mainly this update is just a little bit nicer graphical interface.
We would love your feedback, you can leave it here in the thread or contact one of your dedicated xda developers as follows
JOEL2009
KAREEM9NBA
ATHER90
If you like our work, consider donating something for the cause
(Donation links were attached to names above)
The New layout frees up space to allow us to add links for both vga and qvga downloads. If you find a download that is not compatible with vga, Let us know and we will look for a vga version or mark the file as qvga only. ​
-----IMPORTANT-----
Pie6 is not very kind to JAK Portal and nearlly renders it useless. We recommend using a different version.
Download Jak Portal Here
Get the new skin Here or get it through jak portal in the themes section.
Server updates:
[Jan 26, 2009] Text Problem fixed! Cabs should now download normally, please report any broken links if you find them.
[Jan 26, 2009] Several More Program and Games added.
[Jan 27, 2009] Games Section Now has a Details page with screenshots attached (just missing a few)
[Jan 27, 2009] Several Games Added, and Some Links fixed
[Jan 28, 2009] winmoportal.com domain setup (provided by who-m3, please thanks him)
[Jan 28, 2009] Back to main menu Buttons for "details" pages where changed to just go back to previous page in games section (themes will be next)
[Jan 28, 2009] Back buttons fixed in themes section
[Jan 29, 2009] Coding Streamlined to be database dependent instead of host dependent. This will help make the project more open source, contact us if you are interested in creating a "ui" around our database.
[Jan 29, 2009] At 6:30 Central Standard Time (US) We will be switching to the new server, Hang with us!
[Jan 29, 2009] Transfer finished. Please Report any problems You encounter.
[Jan 30, 2009] Games added
[Jan 31, 2009] Font Changed (tell us if you find something we missed) and other section added
[Jan 31, 2009] Fixed another download problem (force download command is case sensitive and some files were capitalized where others were not)
[Feb 1, 2009] Fixed some problems in the game section as well as updating the font. I also further streamlined the code to hopefully help faster load times.
[Feb 1, 2009] You may have noticed little blue lines around some of the buttons, they aren't there anymore
[Feb 1, 2009] Games section updated with new layout, New programs added along with some info.
[Feb 2, 2009] Downloads should now begin faster. Also updated some download links.
[Feb 2, 2009] Programs Added
[Feb 4, 2009] Added a cab to others and updated Yota dialer and contacts
[Feb 14, 2009] Server Speed Boost implement started (programs and directory page updated) A new skin will be released soon to match
[Feb 15, 2009] Games Section finished
[Feb 16, 2009] Programs Section completed with "details" pages. Programs updated.
[Feb 17, 2009] "Other" section has been changed over
[Feb 18, 2009] "Other" details pages complete
[Feb 22, 2009] AP Bilbo's "throttle" software added
PREVIOUS VERSIONS:
Pictures were removed so that this page's loading time wasn't bogged down, You can find them here:
http://winmoportal.com/history.html
sick.. will def give it a try!
lol kareem, i take no credit
anyways, nice
SWEEEEET Nice Kareem, Congrats!
so it's basicly an embedded browser (PIE) window that goes to a certain (opendir) url?
my feedback:
* no landscape support, i get double scrollbars.
* it doesn't ask to download a file, but instead displays it's contentsad as plain text. this makes the program totally useless
will wait for a fixed version.
I assume the games/apps are demo's or freeware apps?
Star-Lite said:
so it's basicly an embedded browser (PIE) window that goes to a certain (opendir) url?
my feedback:
* no landscape support, i get double scrollbars.
* it doesn't ask to download a file, but instead displays it's contentsad as plain text. this makes the program totally useless
will wait for a fixed version.
I assume the games/apps are demo's or freeware apps?
Click to expand...
Click to collapse
Obviously all are freeware and a few demos. I tested the program out on my ROM and it works perfectly. I used to have a text problem and then it was fixed.
Great app!!!
Is this device specific?
Works good for me with opera on fuze. Will you be adding more cabs? Or have a way for others to add cabs? Maybe by submitting to you for approval/adding?
showaco said:
Works good for me with opera on fuze. Will you be adding more cabs? Or have a way for others to add cabs? Maybe by submitting to you for approval/adding?
Click to expand...
Click to collapse
I'll defintely add more cabs as they accumulate. If there was a way to have people add cabs without giving out the username and password (know some might want to jack or abuse the account), i'd be more than happy to.
So did you just create a program that would parse information from what ever server you are using? (basically an internet browser)
joel2009 said:
So did you just create a program that would parse information from what ever server you are using? (basically an internet browser)
Click to expand...
Click to collapse
Indeed, it was a little thing me and ather discussed. I gave him what was needed and he worked his magic.
I think it would be cool to have it parse information into images (instead of the dead text) Kind of like pocketcm does with sms, overlay the text on images. If You or ather are up to te code for it i would be more than happy to create the images.
...it would also be cool do be able to access several different "portals." This could also solve the issue of abuse vs opening it up for all to post.
showaco said:
Works good for me with opera on fuze. Will you be adding more cabs? Or have a way for others to add cabs? Maybe by submitting to you for approval/adding?
Click to expand...
Click to collapse
did u copy paste url in opera or did u set it up to open opera by default? if so, how?
nice work kareem... great steps toward excellence! cant wait for v2
itsallsubliminal said:
did u copy paste url in opera or did u set it up to open opera by default? if so, how?
nice work kareem... great steps toward excellence! cant wait for v2
Click to expand...
Click to collapse
If you have Resco File Explorer, try going to the directory and opening the .exe (open with option) with Opera.
Version 1.1 posted. See post one for details.
updated first post again, forgot to mention graphic were optimized for qvga. (please report for other screen sizes.)
Fixed some server side issues things should run a little smoother now
Did notice that sometimes files are opened instead of downloaded.... working on a fix now.
kareem9nba said:
I'll defintely add more cabs as they accumulate. If there was a way to have people add cabs without giving out the username and password (know some might want to jack or abuse the account), i'd be more than happy to.
Click to expand...
Click to collapse
Yeah, I wouldn't open it for everyone to add to. I was thinking that cabs could be submitted/sent to one of 3 of you. Then after you check it/approve it, that y'all will take care of adding it. That way no one else needs access, but you can have more cabs to add. This is similiar to how Installer and Cydia work for iphone apps. I have some themes I would like to add, let me know if its possible to point you to threads/links so they can be added.

[APP] ESP Keys v1.2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The visual font glitches are from andy's rom, not the keyboard itself - that and ddms takes such lousy screenshots.
GB keyboard clone: mdpi only
Glossy black, otherwise stock aside from a few usability enhancements - see changelog for details.
Install
Install, enable in settings->keyboard, from keyboard change input method to Esp Keys.
Important: If using any version prior to 11/11/11 you must uninstall before installing later versions.
Known bugs
English only supported at this date.
Sensitivity suppression doesn't work well when plugged in.
Black themes wash out easily in sunlight - not a bug per-say, but i might yet add a contrast mode.
Changelog
11/11/11
New glossy theme.
Removed unused layouts, resources & some debug code.
Extended popup dimming to include suggestion bar.
Improved drawing routine.
Single popup characters auto insert as opposed to popup.
Iconized emoticon popup.
Settings: Last chance - Vibrate when unable to correct.
Settings->Advanced: Suppress Sensitivity - Suppress erratic sensitivity defects, unintentional key repeats etc.
07/10/11
Fixed main dictionary & FC's.
Removed excess bottom margin in portrait mode.
Increased initial repeat delay to avoid over-sensitivity.
Other trivial optimizations.
04/10/11
Side by side installation.
Looks good..Downloading..
28 Downloads, ... the verdict?
Great works well no force closes looks great to. Thank for the apk
Sent from my LG-VM670 using xda premium
Very nice, any chance of turning this into a skin for smart keyboard pro?
oldmanmoz said:
I know there are a few keyboard skins floating around xda but none were quite what i wanted so i designed this to compliment andy's rom.
It looks slightly flatter on the phone due to viewing angle differences (intentionally).
To install: backup then remove /system/app/LatinIME.apk and /system/app/LatinIME.odex and adb push attatched apk in it's place - you'll also need to open the keyboard settings before it will be loaded.
Click to expand...
Click to collapse
Nicely done, maybe i include this inside my ROM...
DaxElectro Nicely done, maybe i include this inside my ROM...
Click to expand...
Click to collapse
Thanks and sure you're welcome to.
Mellexx Very nice, any chance of turning this into a skin for smart keyboard pro?
Click to expand...
Click to collapse
Sorry but unlikely as i'd have to purchase skp.
Thanks for the feedback - I don't like that the outlines almost disappear in bright sunlight but the alternative would look chunky in dim light.
Would this work if I used a root explorer instead?
Edit: root explorer doesn't work. I'm not surprised. Pushed the apk, looks good but it doesn't match my overall theme. Tried reversing to backed-up apk and odx but the phone can't see Android Keyboard after that. Is it because I copied the original using root explorer instead of pulling it via adb?
Sent from my LG-P500 using XDA App
Would this work if I used a root explorer instead?
Edit: root explorer doesn't work. I'm not surprised. Pushed the apk, looks good but it doesn't match my overall theme. Tried reversing to backed-up apk and odx but the phone can't see Android Keyboard after that. Is it because I copied the original using root explorer instead of pulling it via adb?
Click to expand...
Click to collapse
I'm not sure really, I've not tried to return to the original, merely saw no reason why it wouldn't revert. If your apk/odex are in the right place and have the correct permissions the only other thing i can think is to boot into recovery, clear the dalvik app cache and reboot.
Thinking out loud - When you backed up via root explorer were the odex/apk there? your sig says cynogen rom, is that deodexed already? if they weren't perhaps the keyboard is named something else, devoids was aime.apk if i remember correctly - and i did read somewhere having two gb-based keyboards causes conflicts, if so - try just removing LatinIME.apk then reopening settings etc.
No. They were both Latin apk and odex. I'll try clearing later, thanks.
On hindsight, what should the permissions be?
Edit: Nah, just pushing it back and correcting permissions then rebooting worked. Didn't clear. Thanks!
Sent from my LG-P500 using XDA App
No problem, glad you fixed it.
Great skin, I like it very much!
But could you please share some more detailed information about how I can install it?
I don't know how to access /system folder and remove the files. Is it the "pull" command on adb, and if yes how can I backup the file?
I really don't know how to use adb so I would appreciate some more details.
First post updated to fix outstanding issues.
New version uploaded - see first post.
Also, am i the only one plagued by an over-sensitive touchscreen? - eg: keys unintentionally repeating. I figure it's an optimus one issue, but i might be the only one. That being said, my sister's samsung i5503 suffers from a similar problem but heat/static related as opposed to continually.
oldmanmoz said:
The visual font glitches are from andy's rom, not the keyboard itself - that and ddms takes such lousy screenshots.
GB keyboard clone: mdpi only
Glossy black, otherwise stock aside from a few usability enhancements - see changelog for details.
Install
Install, enable in settings->keyboard, from keyboard change input method to Esp Keys.
Important: If using any version prior to 11/11/11 you must uninstall before installing later versions.
Known bugs
English only supported at this date.
Sensitivity suppression doesn't work well when plugged in.
Black themes wash out easily in sunlight - not a bug per-say, but i might yet add a contrast mode.
Changelog
11/11/11
New glossy theme.
Removed unused layouts, resources & some debug code.
Extended popup dimming to include suggestion bar.
Improved drawing routine.
Single popup characters auto insert as opposed to popup.
Iconized emoticon popup.
Settings: Last chance - Vibrate when unable to correct.
Settings->Advanced: Suppress Sensitivity - Suppress erratic sensitivity defects, unintentional key repeats etc.
07/10/11
Fixed main dictionary & FC's.
Removed excess bottom margin in portrait mode.
Increased initial repeat delay to avoid over-sensitivity.
Other trivial optimizations.
04/10/11
Side by side installation.
Click to expand...
Click to collapse
u want help translating to swedish, ill be there
Looks ok, but the `english only` makes it useless to me.
NO0B said:
Looks ok, but the `english only` makes it useless to me.
Click to expand...
Click to collapse
It ought to still work in other languages - with caveats: no settings translations, and i deleted some language specific layouts in order to make it easier for me to adapt.
SWEATTAIMI said:
u want help translating to swedish, ill be there
Click to expand...
Click to collapse
Sure, that'd be great thanks - will pm you some files soonish if you like, just need to get a few things sorted first.
oldmanmoz said:
It ought to still work in other languages - with caveats: no settings translations, and i deleted some language specific layouts in order to make it easier for me to adapt.
Sure, that'd be great thanks - will pm you some files soonish if you like, just need to get a few things sorted first.
Click to expand...
Click to collapse
Ok i will be waiting
Sent from my Transformer TF101 using xda premium

How to change lock screen text on Snapdragon S2 rom

A lot of you have being asking me how to change the text on the lock screen of my rom (Snapdragon S2) and im here to show you how. First download the files to begin.
Downloads
View attachment template.psd
View attachment textchanger.zip
View attachment Cooljazz.zip
1. un-zip and Install the cool jazz font to your computer
2. Open the template in Photoshop
3. Next we need to make a new layer than select the horizontal text tool and change the text size to 72 pt. Now write what text you want on the lock screen. (you have to write what text you want for the lock screen in the rectangle box or the text wont be on the right spot on the lock screen. also if you have a long text you can change the font size until it fits in the box)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4. now we need to put a shadow on our text. right click on the text layer and go blending options, a window should pop up and then go to drop shadow. now in drop shadow customize the opacity, angle, distance, spread and size until you like it then press ok. (these are the values i used for my text opacity: 82, angle: 135, distance: 7, spread: 7 and size: 5)
5. now you can remove the rectangle layer and save the image as "jog_dial_bg.png" and change the format to png
6. open the textchanger.zip with 7-zip (or something similar) as a archive.
7. now navigate to vrtheme\system\framework\framework-res.apk\res\drawable-hdpi\ and place your image in here
8. place the textchanger.zip onto your phone
9. now boot into recovery and flash the textchanger.zip
10. reboot your phone and the text should have changed
Thank you mate for your guide :beer:
I tried and it worked
Sent using my Zanpakutō (斬魄刀) powered by my Shinigami soul ◣_◢
Will this work in NeatRom Full?
iPr0Hacker said:
A lot of you have being asking me how to change the text on the lock screen of my rom (Snapdragon S2) and im here to show you how. First download the files to begin.
Downloads
View attachment 2110222
View attachment 2110223
View attachment 2110226
1. un-zip and Install the cool jazz font to your computer
2. Open the template in Photoshop
3. Next we need to make a new layer than select the horizontal text tool and change the text size to 72 pt. Now write what text you want on the lock screen. (you have to write what text you want for the lock screen in the rectangle box or the text wont be on the right spot on the lock screen. also if you have a long text you can change the font size until it fits in the box)
4. now we need to put a shadow on our text. right click on the text layer and go blending options, a window should pop up and then go to drop shadow. now in drop shadow customize the opacity, angle, distance, spread and size until you like it then press ok. (these are the values i used for my text opacity: 82, angle: 135, distance: 7, spread: 7 and size: 5)
5. now you can remove the rectangle layer and save the image as "jog_dial_bg.png" and change the format to png
6. open the textchanger.zip with 7-zip (or something similar) as a archive.
7. now navigate to vrtheme\system\framework\framework-res.apk\res\drawable-hdpi\ and place your image in here
8. place the textchanger.zip onto your phone
9. now boot into recovery and flash the textchanger.zip
10. reboot your phone and the text should have changed
Click to expand...
Click to collapse
How can i make the time to be "bold" like here on the picture?
cloneme said:
Will this work in NeatRom Full?
Click to expand...
Click to collapse
I think it should work .
Take a look at my post
http://forum.xda-developers.com/showpost.php?p=43518996&postcount=65476
100janov said:
How can i make the time to be "bold" like here on the picture?
Click to expand...
Click to collapse
You need to replace in framework-res the pngs for the numbers .
I'll try tomorrow to make a vrtheme for you and post it in my link typed earlier
Thanks Christian it worked ok. I used one of yours with the guy and ballons then used mine to put text in lock screen. Would like to know how to put text on image in one go. Is it the same as say using Paint Shop Pro puting text on image and saving as png?
Christian Nothing said:
You need to replace in framework-res the pngs for the numbers .
I'll try tomorrow to make a vrtheme for you and post it in my link typed earlier
Click to expand...
Click to collapse
Thank you for the answer. I made it. Here it is the flashable file if someone wants to flash it. It changes the time font.
View attachment textchanger100janov.zip
cloneme said:
Thanks Christian it worked ok. I used one of yours with the guy and ballons then used mine to put text in lock screen. Would like to know how to put text on image in one go. Is it the same as say using Paint Shop Pro puting text on image and saving as png?
Click to expand...
Click to collapse
kinda of
i used the guide + psd template posted earlier by iProHacker
but you could do this in other editing programs .
just make an transparent background and you need to centre your text then create shadows
---------- Post added at 01:02 PM ---------- Previous post was at 01:00 PM ----------
100janov said:
Thank you for the answer. I made it. Here it is the flashable file if someone wants to flash it. It changes the time font.
View attachment 2117531
Click to expand...
Click to collapse
crap
this morning i've finished my job as promised
http://forum.xda-developers.com/showpost.php?p=43611484&postcount=65638
lock screen
i want to know how to show a whatsapp massages on lock screen ( Like Iphone ) ?
abdoh77 said:
i want to know how to show a whatsapp massages on lock screen ( Like Iphone ) ?
Click to expand...
Click to collapse
There is an app in store which shows your notifications like iphone. I belive that its called iphone notification.
Edit:here is the link: https://play.google.com/store/apps/details?id=com.nlucas.iphonenotificationslite
Sent from my GT-I9100 using xda app-developers app
lockscreen
I wanna find a way can do it on random phones , not only S2 is that possible for you ?
Can someone make a zip for me plz .
Whit no text .
THX and sorry bad english
I dont have photoshop and I want to change lockscreen name is there any other way to change this name.....can you I want "Farooque" on my lockscreen so can you please make this for me.
Thanks, Good guide
thankssss... :good:
good guide "request"
iPr0Hacker said:
A lot of you have being asking me how to change the text on the lock screen of my rom (Snapdragon S2) and im here to show you how. First download the files to begin.
Downloads
View attachment 2110222
View attachment 2110223
View attachment 2110226
1. un-zip and Install the cool jazz font to your computer
2. Open the template in Photoshop
3. Next we need to make a new layer than select the horizontal text tool and change the text size to 72 pt. Now write what text you want on the lock screen. (you have to write what text you want for the lock screen in the rectangle box or the text wont be on the right spot on the lock screen. also if you have a long text you can change the font size until it fits in the box)
4. now we need to put a shadow on our text. right click on the text layer and go blending options, a window should pop up and then go to drop shadow. now in drop shadow customize the opacity, angle, distance, spread and size until you like it then press ok. (these are the values i used for my text opacity: 82, angle: 135, distance: 7, spread: 7 and size: 5)
5. now you can remove the rectangle layer and save the image as "jog_dial_bg.png" and change the format to png
6. open the textchanger.zip with 7-zip (or something similar) as a archive.
7. now navigate to vrtheme\system\framework\framework-res.apk\res\drawable-hdpi\ and place your image in here
8. place the textchanger.zip onto your phone
9. now boot into recovery and flash the textchanger.zip
10. reboot your phone and the text should have changed
Click to expand...
Click to collapse
plzz make a file of my name "Fazi sHeikH"
i do really hope that the rom s2 rom like s4 could support Chinese.
Amazing, thanks you alot. Nice tutorial
i hope the rom could support chinese,please. sorry for my bad english

[GUIDE] The right Soft Keyboard (+adding a CustomKeyboard)

Hi devs,
During development of my app (see my signature), I researched a bit and finally found a quite nice way to implement a custom keyboard which is only shown in your app easily.
Much of this is taken from Maarten Pennings' awesome guide here, thanks to him and feel free to read it as well.
So I thought I'd extend his work with this guide which also takes a look at why you'd want to use one or the other keyboard. Enjoy! :victory:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Limits of the Android IME
Any kind of text input (password, number, address, etc.) is usually handled very nicely using the android:inputType attribute (or the corresponding setter in java) on the EditText field.
But as soon as you have to deny some characters, for instance you want the user to insert a file name, it gets more complicated since there is no inputType for that.
The way to achieve that would be to implement your own KeyListener like this:
Java:
import android.text.method.NumberKeyListener;
//...
// set a new KeyListener onto your desired EditText, overriding the default one:
EditText edit = findViewById(R.id.edittext);
edit.setKeyListener(new NumberKeyListener(){
@Override
public int getInputType() {
// should be the same as android:inputType, for all numbers including decimal and negative:
return (InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL | InputType.TYPE_NUMBER_FLAG_SIGNED);
}
@Override
protected char[] getAcceptedChars() {
// declare your desired chars here, ONLY those will be accepted!
// for instance numbers:
char [] res = {'1', '2', '3',
'4', '5', '6',
'7', '8', '9',
'0', '+', '-', '*', '/',
'(', ')', '.', ',', ' ', '^', '!',
// alphabet:
'a', 'b', 'c', 'd', 'e',
'f', 'g', 'h', 'i', 'j',
'k', 'l', 'm', 'n', 'o',
'p', 'q', 'r', 's', 't',
'u', 'v', 'w', 'x', 'y',
'z'
};
return res;
}
});
The problem is that the keys are still present and therefore distracting and irritating to the user, because nothing happens on click.
And also, there might be a much easier and better accessible layout for your set of keys. In the following I will tell you how to integrate such a custom layout using the KeyboardView class, but first let's take a look at the advantages of both keyboards:
Android IME or KeyboardView???
The answer to this question is tightly depending on the task you want the user to fulfil, and also on how much freedom you want to give him. The high customizablility and its theming options are a strong point for the KeyboardView, but be warned that since this View was added in API level 3 (and never updated I think) there are a couple of bugs which you have to workaround.
A standard keyboard is more familiar to the user and is often also a third-party keyboard and therefore more customizable. But this also has its downsides since there is no guarantee that the IME will display the characters you need.
Note that you will not be able to get a working cursor image easily with the KeyboardView (though the cursor works as it should, just the blue arrow below it won't be displayed).
For simple tasks where just a few buttons will be useless, such as when asking for a filename the normal IME is recommended. But for various operations you'll find the KeyboardView to be much cleaner.
If you decided to try the KeyboardView, here's how it works:
Adding a CustomKeyboard
NOTE: I will only cover how to implement such a Keyboard, if you want to know how it works in detail check out the third chapter in Maarten Pennings' guide.
First, since it is a view, you will need to manually insert the following to the xml layout file of all activities where you want to use it:
Code:
<android.inputmethodservice.KeyboardView
android:id="@+id/keyboardview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:visibility="gone" />
Put it in a relative layout container, though it should also work in other ones. Most important is that it is the topmost container in the view hierarchy.
Second, you need an xml file where all the keys and their layout are stored for the KeyboardView to inflate. For a start, you can take the one Maarten Pennings has posted or download mine here: View attachment keyboard_layout.txt (xda doesn't support .xml files, so just rename it to keyboard_layout.xml!)
Move that file to your res/xml/ folder, you can create other layouts for landscape using res/xml-land/
You have to play around with that file a bit to get your desired layout, here are some tips:
Start by designing it on paper, then write it as a comment (ASCII-Art‎?) so you have it properly lined up and always at your hand while coding
Including gaps of half a key or so to separate different areas works nicely
Highlight important keys either with a different android:keyBackground or by making them larger than the others.
Leave the android:horizontalGap attribute untouched on Keyboard level, this will probably break the key lineup
Calculate the key width like so: width = 100/(keysPerRow + numberOfGaps)
Set the android:keyHeight on Keyboard level to something that rows*keyHeight is about 40%-50%.
For every key label which is longer a single character, use the corresponding ASCII-integer as key code (android:codes), otherwise pick a negative number or one that's higher than 256
Use android:isRepeatable="true" for keys to press and hold for multiple clicks like the delete key
If you want to display a popup keyboard on hold, you should rather make a popup window yourself or use a dialog rather than using the androidopupKeyboard attribute.
For inserting more than one char on click, use the android:keyOutputText on key level or override the specific keycode in the onKey() method in CustomKeyboard.java
As I said, you will need some patience doing this since there is neither help nor documentation on the xml namespaces.
Third, there are a couple of icons required for some keys like the delete key. You can either use the ones provided in the guide, but I suggest downloading the original holo android icons from the different drawable folders here.
Take the sym_keyboard_... files that you think you'll need and place them in the respective res/drawable-ydpi folder. Set the android:keyIcon attribute to @drawable/sym_keyboard_... for those special keys.
Fourth, we need a java class to process the clicks and provide the methods for showing and hiding the keyboard. Luckily, you take mine here: View attachment CustomKeyboard.txt (again, rename it to CustomKeyboard.java)
Copy that file into your src/com/package/name and change the package to your app.
This class is heavily based of the one Maarten Pennings has come up with, but with an actually working cursor, so that you can tap or drag to move the cursor. I included haptic feedback (set it using enableHapticFeedback(true)) and an easy way to add chooser dialogs if you want to have multiple insertions in one key (see the onClick(...) method); This looks like this:
If you are using any special keys or dialogs as popups, you will need to edit the onKey() or the onClick() method like I did.
Fifth, in your onCreate() method after setContentView(...) you just need to register every EditText that you want to use the keyboard on like so:
Java:
// initialize the instance variable customKeyboard
customKeyboard = new CustomKeyboard(this, R.id.keyboardview, R.xml.keyboard_layout);
// register the edittext
customKeyboard.registerEditText(R.id.edittext);
For a hiding keyboard if you press the Back key, add the following to your activity:
Java:
@Override
public void onBackPressed() {
if(customKeyboard!=null && customKeyboard.isCustomKeyboardVisible() ) customKeyboard.hideCustomKeyboard(); else super.onBackPressed();
}
Click to expand...
Click to collapse
Congrats, you have finished adding a CustomKeyboard and can now test and further improve it :good:
Read on if you want to theme it further (let's face it, the default theme is still from the first versions of android).
Theming your Keyboard
Theming the KeyboardView
To make your newly created keyboard fit more to the overall style of your app, it is crucial to theme it.
Here are some attributes which you'll want to customize:
Code:
<!-- on KeyboardView level: (in android.inputmethodservice.KeyboardView in your activity) -->
android:keyBackground
android:keyTextColor
android:keyTextSize
android:background
<!-- on Key level: -->
android:isSticky
<!-- for toggle keys like shift or ALT only -->
android:isModifier
These are all pretty self-explanatory, the most important one being the keyBackground.
You will need different drawables for each of the keys states including normal, pressed, active, popup and either light or dark theme.
As an example, here's how I made the holo style: Basically I took the holo drawables from source and added android:keyBackground="@drawable/btn_keyboard_key_ics" in our KeyboardView (not Keyboard!).
Download those icons from here.
Specifically, you need the btn_keyboard_key_ics.xml file in the drawable folder and all the btn_keyboard_key_... from the xhdpi, hdpi and mdpi folder that you need, at least btn_keyboard_key_dark_normal_holo and btn_keyboard_key_dark_pressed_holo.
The btn_keyboard_key_ics.xml goes into your res/drawable folder and all the others should be dumped into their respective res/drawable-ydpi folder.
From the key_ics file delete all items where you didn't download the .9.pngs so they don't give compilation errors.
Click to expand...
Click to collapse
I hope you found this helpful and I could save you a bit of work. If you have any questions or suggestions, feel free to post them here!
This guide was featured on the portal on 26th October (thanks Will Verduzco!)
Wow. Really cool guide. :good:
Can we edit the third party stock keyboards....
SimplicityApks said:
Theming the KeyboardView
To make your newly created keyboard fit more to the overall style of your app, it is crucial to theme it.
I hope you found this helpful and I could save you a bit of work. If you have any questions or suggestions, feel free to post them here!
This guide was featured on the portal on 26th October (thanks Will Verduzco!)
Click to expand...
Click to collapse
Since i like the stock keyboard of htc one ... just wanted to know if i replace the resources of stock keyboard of AOSP with that of keyboard from
htc one will it work or do i nedd to do some modding....
anurag.dev1512 said:
Since i like the stock keyboard of htc one ... just wanted to know if i replace the resources of stock keyboard of AOSP with that of keyboard from
htc one will it work or do i nedd to do some modding....
Click to expand...
Click to collapse
You mean you want to have a KeyboardView in your app with the layout files from the HTC keyboard? Sure, that'll work, you only need to get the resources (decompile keyboard app?). Some layout adjustments might be needed of course...
reply
SimplicityApks said:
You mean you want to have a KeyboardView in your app with the layout files from the HTC keyboard? Sure, that'll work, you only need to get the resources (decompile keyboard app?). Some layout adjustments might be needed of course...
Click to expand...
Click to collapse
no bro i m saying to mod the stock keyboard of jellybean with that of stock keyboard of htc one...
anurag.dev1512 said:
no bro i m saying to mod the stock keyboard of jellybean with that of stock keyboard of htc one...
Click to expand...
Click to collapse
OK, sorry, I didn't read the title of your post...
That should be possible, although I have no idea about decompiling and modding. From what I understand, you could try making an XPosed module, that should work and is better since it can be applied at runtime.
SimplicityApks said:
Hi devs,
During development of my app (see my signature), I researched a bit and finally found a quite nice way to implement a custom keyboard which is only shown in your app easily.
Much of this is taken from Maarten Pennings' awesome guide here, thanks to him and feel free to read it as well.
So I thought I'd extend his work with this guide which also takes a look at why you'd want to use one or the other keyboard. Enjoy! :victory:
View attachment 2347941
Congrats, you have finished adding a CustomKeyboard and can now test and further improve it :good:
Read on if you want to theme it further (let's face it, the default theme is still from the first versions of android).
Click to expand...
Click to collapse
Nice
FunctionCapture
I just released my app to the Play Store, so if you want to see how the CustomKeyboard feels in action, download it here:
FunctionCapture
You might want to leave a review or +1 as well, that helps a lot, thanks!
SimplicityApks said:
Theming the KeyboardView
To make your newly created keyboard fit more to the overall style of your app, it is crucial to theme it.
I hope you found this helpful and I could save you a bit of work. If you have any questions or suggestions, feel free to post them here!
This guide was featured on the portal on 26th October (thanks Will Verduzco!)
Click to expand...
Click to collapse
hi... I am not able to download resources for custom keyboard... please help me
tejal said:
hi... I am not able to download resources for custom keyboard... please help me
Click to expand...
Click to collapse
Well I can still download it, might be a problem with either your browser or xda where you live...
Thanks for the tutorial, really helped me with my project as I need a custom keyboard. But I would like to ask, how do I add a second page to the keyboard as I need more entries to it. Is there a way to add like a small button in the keyboard 1/2 and when you press it, it'll go to the 2nd page of it.
misleading93 said:
Thanks for the tutorial, really helped me with my project as I need a custom keyboard. But I would like to ask, how do I add a second page to the keyboard as I need more entries to it. Is there a way to add like a small button in the keyboard 1/2 and when you press it, it'll go to the 2nd page of it.
Click to expand...
Click to collapse
Mmmmh didn't think about that so far... Have you tried wrapping 2 keyboardviews in a viewpager?
SimplicityApks said:
Mmmmh didn't think about that so far... Have you tried wrapping 2 keyboardviews in a viewpager?
Click to expand...
Click to collapse
I think I got it somehow.
I made a small key in the current keyboard. An example maybe like SYM which represents Symbol, so if you press it, it'll go to the view on keyboard full of symbols. Just had to repeat actually.
Edit: It seems like I can't post the code or part of it. Says that my post was flagged by the system and was blocked from submitting. I want to show how, but it seems it doesn't allow me haha.
misleading93 said:
I think I got it somehow.
I made a small key in the current keyboard. An example maybe like SYM which represents Symbol, so if you press it, it'll go to the view on keyboard full of symbols. Just had to repeat actually.
Edit: It seems like I can't post the code or part of it. Says that my post was flagged by the system and was blocked from submitting. I want to show how, but it seems it doesn't allow me haha.
Click to expand...
Click to collapse
Lol sometimes the system is against us..., well nice you figured it out
I am lost/stuck
First off I would like to thank Simplicity for such a simple guide and tutorial on how to set the custom keyboard up. Secondly even if it was very simple I obviously cannot follow directions and have done something wrong and even though my custom keyboard pops up and I am able to press the button, I am not able to get the edittext field to register the onclicks of the keys thus resulting in the buttons doing nothing. I have pmed Simplicity and was requested by him to post this question in the thread for others in case anyone else runs into this issue.
I have attached both the xml and java file to the post.
Hope someone can help and also hope this problem I ran into will help others if they are stuck at the same place.
Once again a big big big Thanks to SimplicityApks.
kva123 said:
First off I would like to thank Simplicity for such a simple guide and tutorial on how to set the custom keyboard up. Secondly even if it was very simple I obviously cannot follow directions and have done something wrong and even though my custom keyboard pops up and I am able to press the button, I am not able to get the edittext field to register the onclicks of the keys thus resulting in the buttons doing nothing. I have pmed Simplicity and was requested by him to post this question in the thread for others in case anyone else runs into this issue.
I have attached both the xml and java file to the post.
Hope someone can help and also hope this problem I ran into will help others if they are stuck at the same place.
Once again a big big big Thanks to SimplicityApks.
Click to expand...
Click to collapse
Had a look at your class and the xml keyboard layout again and everything seems fine to me so far... Question is how you implemented the keyboard in your activity layout and what happens when you register your text field in the onCreate(). It would be helpful if you could show us these parts of your code.
Other than that, does your onKey() method in the CustomKeyboard get called when you press a key? (Put a Log.d(..) statement or debug stopped in there to find out)
SimplicityApks said:
Had a look at your class and the xml keyboard layout again and everything seems fine to me so far... Question is how you implemented the keyboard in your activity layout and what happens when you register your text field in the onCreate(). It would be helpful if you could show us these parts of your code.
Other than that, does your onKey() method in the CustomKeyboard get called when you press a key? (Put a Log.d(..) statement or debug stopped in there to find out)
Click to expand...
Click to collapse
Hey sorry for the late response I just figured out what the problem was but now I have no idea how to fix it. The problem is here
Code:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="10dp"
android:padding="10dp"
android:descendantFocusability="beforeDescendants"
[COLOR="Red"]android:focusableInTouchMode="true" //This Right here is the problem[/COLOR]
android:weightSum="6" >
<TextView
android:id="@+id/billtotalTV"
android:layout_width="0dp"
android:paddingLeft="25dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:text="Bill Amount:"
android:textColor="#B34F6675"
android:textSize="25sp" />
<EditText
android:id="@+id/et"
android:layout_width="0dp"
android:paddingRight="25dp"
android:layout_height="wrap_content"
android:hint="Enter Total"
android:gravity="center_horizontal"
android:textColor="#049C7A"
android:textColorHint="#B3049C7A"
android:inputType="numberDecimal"
android:imeOptions="actionDone"
android:maxLength="7"
android:textSize="30sp"
android:layout_weight="3"/>
</LinearLayout>
The Reason I have that is because I am trying to avoid my app from setting my EditText as a focus as soon as the activity starts. As far as I am aware I do not know of any other methods that can work around that. Let me know what you think I should do.
kva123 said:
Hey sorry for the late response I just figured out what the problem was but now I have no idea how to fix it. The problem is here
Code:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="10dp"
android:padding="10dp"
android:descendantFocusability="beforeDescendants"
[COLOR="Red"]android:focusableInTouchMode="true" //This Right here is the problem[/COLOR]
android:weightSum="6" >
<TextView
android:id="@+id/billtotalTV"
android:layout_width="0dp"
android:paddingLeft="25dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:text="Bill Amount:"
android:textColor="#B34F6675"
android:textSize="25sp" />
<EditText
android:id="@+id/et"
android:layout_width="0dp"
android:paddingRight="25dp"
android:layout_height="wrap_content"
android:hint="Enter Total"
android:gravity="center_horizontal"
android:textColor="#049C7A"
android:textColorHint="#B3049C7A"
android:inputType="numberDecimal"
android:imeOptions="actionDone"
android:maxLength="7"
android:textSize="30sp"
android:layout_weight="3"/>
</LinearLayout>
The Reason I have that is because I am trying to avoid my app from setting my EditText as a focus as soon as the activity starts. As far as I am aware I do not know of any other methods that can work around that. Let me know what you think I should do.
Click to expand...
Click to collapse
So you mean it works perfectly without the focusableInTouchMode="true"? Strange... Then just leave the focus there and hide the softkeyboard in your onCreate() or is there any other reason you don't to have it in focus except for the soft keyboard popping up? (Then set the focus to another view might be the easiest ).
SimplicityApks said:
So you mean it works perfectly without the focusableInTouchMode="true"? Strange... Then just leave the focus there and hide the softkeyboard in your onCreate() or is there any other reason you don't to have it in focus except for the soft keyboard popping up? (Then set the focus to another view might be the easiest ).
Click to expand...
Click to collapse
I tried hiding the softkeyboard but for some reason it wont hide it just keeps popping up. And he main reason I do not want a focus is because I have a drawerlayout on the app and it contains 3 edit texts so everytime I open the drawer layout it invokes the keyboard to pop up and it selects the edit text which I do not want because its a feature where users may customize the value which they dont need to if they dont want too. As of setting focus to another view I believe I tried that but the edit text still receives the focus for some reason. Mind giving me an example of setting focus on something else? So i can make sure I am doing it right. Maybe a Linear or Relative Layout .
I just tried to hide the keyboard and just realized I am already hiding the keyboard but I am only hiding the default keyboard not the custom keyboard. So my question for you would be how would I hide the Custom Keyboard from showing oncreate?(tried this but no luck customKeyboard.hideCustomKeyboard(); ) it still shows but it does work because i tried it with an onlclick just not working on start. Not sure if you need to edit the customkeyboard java file. If you want I can post the test code im working with right now if you dont mind looking at it.

[ROM] Hydrogen OS

I AM NOT THE DEV OR A BETA TESTER!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screenshots :
Code:
[url]http://imgur.com/a/iIvVi[/url]
5.1.1 Tutorial:
Code:
-The Rom : [url]http://yunpan.cn/cdgrdxLXAgmYk[/url]
pw : 8678
-1st Recovery that you need to flash the rom :[url]http://pan.baidu.com/share/init?shareid=646799585&uk=1997324420[/url]
pw : x169
-Gapps : [url]https://www.androidfilehost.com/?fid=24052804347757015[/url]
-Chinese TWRP : [url]http://www50.zippyshare.com/v/tiO50fva/file.html[/url]
Make a backup before trying anything
After downloading all those 4 things, copy the rom on your phone, extract the 1st recovery, plugg in your phone while it's on and click on install-recovery.bat, this will allow you to install the rom( wipe data and everything).
-After installing the ROM and booting, you will be asked to put a code :0528-0728-0528-0728
Congratz you finished
-Now copy the gapps on your phone, flash the chinese TWRP, and then flash the gapps
you're done
Download:
Code:
[B][COLOR="Red"]Version 8:[/COLOR][/B]
[url]https://drive.google.com/file/d/0Bxcgc0zDvoqXRVZWUkJySmdVdVU/view?usp=sharing[/url]
[B][COLOR="Red"]Version 7:[/COLOR][/B]
[url]https://mega.co.nz/#!ZIwUzLbK!jh2FlXZ1mC6m_0_-5tj_zTn7KEqfcMRm1vMyvtoSOK4[/url]
or
[url]https://drive.google.com/file/d/0Bxcgc0zDvoqXa0ZyTHFZZXhhekU/view[/url]
[B][COLOR="Red"]Version 6:[/COLOR][/B]
[url]https://drive.google.com/file/d/0Bxcgc0zDvoqXVFRudFdhMVMzWUE/view?usp=sharing[/url]
or
[url]https://mega.co.nz/#!hJA1AAiR!IsEGQStjfdz7krqAljno3GBky8V-QKvLILO3zBZ10Jo[/url]
Changelog:
Code:
[COLOR="Red"][B]Version 8[/B][/COLOR]
Hydrogen Windows comprehensive upgrade again! Animation more fluid, more immersive!
Card-type messages back! More powerful!
[Settings] Modify Click generic sound being given BUG
[Settings] To modify the alarm list of audio list
[System Update] System Update to increase the network status prompt
[System Update] To adjust the system to update the interface and dynamic efficiency
[ System Update] Download front display 2G / 3G / 4G network Tips
[hydrogen Desktop] Repair switch language card package load failures cause problems
[hydrogen Desktop] Change default wallpaper
[hydrogen Desktop] Icon to go to solve the problem of hydrogen window
[Calendar] Fix calendar reminder Click to go after retraction problem
[Contact] Fix new 2G-SIM card contacts crashes
[Contact] Contact details page, the call duration is zero, the display does not turn on
[Contact] Press dial pad repair Number pop-up copy, cut issue
[Contact] Fix duplicate pages Permissions dialog pop-up problem
[Contact] Repair SIM card contacts editor crashes
[Contact] Repair emergency dial pad and positioning information overlap problem
[Message] Fix phone Number Identification not correct the problem
[Message] Press and MMS can not be selected repair problems
[Note] Fixes the problem has been read status and notification bar unsynchronized
[OnePlus weather] Fix a problem plus weather stopped
[Gallery] Fix batch delete Photos during the start multitasking or call other interactive operation resulted Gallery question of error
Improvements
[COLOR="Red"][B]Version 7[/B][/COLOR]
1, hydrogen Windows fully upgraded! Cards come! Tickets, movie tickets, boarding passes and other information storage.
2, a comprehensive revision of the desktop dynamic efficiency, smoother and more immersive.
Optimization:
[hydrogen Desktop] table error repair switch languages ​​cause problems
[hydrogen Desktop] Applications folder within the folder can not be set aside, you can not drag and drop
[hydrogen Desktop] to replace a plus camera icon
[Album] fixes playback of the video screen and then put out the light Timeline screen issue back to 0
[Album] browse the top right corner to enlarge garbled repair
time and preview the video frame overlap [Album] fix batch editing
[Album] Press does not vibrate modify problem
[Album] fix to enter the camera, and then a black screen only display interface problems
[Album] Recovery from the camera into the library does not display the bottom toolbar problem
[Album] fix delete the picture does not refresh problem
[Album] Fix Photo words flashed problem
[Album] fix into the gallery crash
[clock] modifications added ribbon interface right scroll bar
[clock] [weekend] does not appear to solve the problem of traditional
[clock] fix animation is not smooth conversion World Clock
[calendar] fix the same event multiple reminders only the first bell of the problem
[Locker] Optimization Unlock Animation fluency
[Locker] is set to lock screen wallpaper screenshots will lead to stop running
[note] modify the MMS download is not successful, the message list to show
[text] fix SMS tone playback error problem
[contact] fix import contact Phone number format exception
[Control Center] on the WiFi connection, the control center does not show WiFi name
[Settings] adjust advanced settings layout
[system] to adjust the brightness of the background becomes transparent when
a lot of detail as well as other improvements -
[COLOR="Red"][B]Version 6[/B][/COLOR]
Fix menu key FC
You can use OxygenOS kernels with this rom!
You can use Xposed Framework with this rom!
Thanks @natheux for mirror.
Thanks @jbejaranogarcia for mirror.
Thanks @alex.inthi for mirrors.
Thanks @NisseCool for base.
Thanks @Chinaroad for tutorial.
​
Seriosly? Crack? WTF
Edit:
Sorry for that post.. Thx a lot for your contribution.
I am long in android but never heard of any crack on ROM XD
gerciolisz said:
Seriosly? Crack? WTF
Click to expand...
Click to collapse
There is a security code for rom, which given to beta testers. Crack will let us baypass this code.
LOL first time hear About this XD ill give it a try when i got home thx
The Crack could be a virus or something sinister. From when did android need a Crack?
Don't try it out Or do it with a great risk!
kn8wolf said:
The Crack could be a virus or something sinister. From when did android need a Crack?
Don't try it out Or do it with a great risk!
Click to expand...
Click to collapse
Jesus no, check this thread.
https://forums.oneplus.net/threads/hydrogen-os-releasing-28th-may.309642/page-11
It is working pretty well But gestures not working and music app ain't there neither
@YudmudTR
Hi, checked the thread. I know what a hydrogen os is.. But even that thread is not indicating what is the purpose of the Crack...
Do you know what it does?
YudmudTR said:
There is a security code for rom, which given to beta testers. Crack will let us baypass this code.
Click to expand...
Click to collapse
kn8wolf said:
@YudmudTR
Hi, checked the thread. I know what a hydrogen os is.. But even that thread is not indicating what is the purpose of the Crack...
Do you know what it does?
Click to expand...
Click to collapse
I already explained.
kn8wolf said:
@YudmudTR
Hi, checked the thread. I know what a hydrogen os is.. But even that thread is not indicating what is the purpose of the Crack...
Do you know what it does?
Click to expand...
Click to collapse
Every beta tester gets a unique code to use at the startup of the rom. The crack bypasses that.
That's something unique, a new information for me.
Thanks @UnknownGeek for indicating this.
Well as long as it is harmless, it is fine.
I'd Just been a bit doubtful since a lot of sites would have Crack with Trojans in many sites. That's all
Screenshots : http://imgur.com/a/iIvVi
It is very smooth and minimal, not many apps installed. But most important is that it is Multirom compatible. It had MiUI type horizontal launcher, permissions manager, custom UC styled browser, Baidu IME, a custom market, Google play store and some chinese app I couldn't guess at. I havent installed many apps so its is quite responsive. And there is no quick settings in the notification drop down.
UnknownGeek said:
It is working pretty well But gestures not working and music app ain't there neither
Click to expand...
Click to collapse
I know dumb to ask about the battery life but how's the discharge rate? I am traveling tomorrow so need a solid rom
Sent from my A0001 using XDA Free mobile app
mucinch said:
It is very smooth and minimal, not many apps installed. But most important is that it is Multirom compatible. It had MiUI type horizontal launcher, permissions manager, custom UC styled browser, Baidu IME, a custom market, Google play store and some chinese app I couldn't guess at. I havent installed many apps so its is quite responsive. And there is no quick settings in the notification drop down.
Click to expand...
Click to collapse
notification pull up
check out some videos
---------- Post added at 21:21 ---------- Previous post was at 21:15 ----------
is it heating the phone?
CBpbxEcmecmBeH said:
notification pull up
check out some videos
is it heating the phone?
Click to expand...
Click to collapse
Oh, I didn't realize that, these Chinese OEMs and their need to mimic fruits. The "pull up" gesture is a bit glitchy. I haven't stressed the phone yet, but doesn't seem to heat up much.
---------- Post added at 01:05 AM ---------- Previous post was at 01:04 AM ----------
No double tap to wake
I made a mirror (mega.co.nz) https://goo.gl/ZqwRKV
is this rom using camera2 API? long exposure seems broken. try lots of apps but the longest expose time is 1sec. also default camera app is missing.
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
YudmudTR said:
I AM NOT THE DEV OR A BETA TESTER!
I found a link on Chinese OPO forum, but unable to download it. So asked someone for a mirror and he uploaded it. So here you go, all credits goes to @NisseCool from Oneplus forums.
https://drive.google.com/file/d/0Bxcgc0zDvoqXbDNCa1BiSUJnQnc/view?usp=sharing
This includes crack and gapps.
I haven't tested it, I am not responsible for bricked devices or lost data. But I would be happy if you try it and share your thoughts.
Click to expand...
Click to collapse
well all oxygen OS kernels work with this alongwith xposed
can anyone find music player or camera for hydrogen OS?

Categories

Resources