Hello everyone,
can I generate strings as if typed from the keyboard?
what I mean is if i can develop a code capable of generating strings, making them believe the system type on the keyboard of the device.
Help me pls...
Related
Hi.
I'm trying to hack aapt to generate for each layout named xxx_layout.xml an extra num in R named R.id.xxx_layout_max_id which will contain the max id for that layout (since each id is an in num and each layout has several id's in it i assume one of them is the biggest).
I need it for adding custom components dynamically in runtime but for layouts like RelativeLayout which requires ID's.
Did anyone hacked appt before to know which file in aapt directory contains the code to genereate ids ?
10x.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
I don't mean 12/24 hr format. I mean HH:mm:ss format. I want my status bar clock to display something like 23:59:59, I want the "seconds counter" included. How do I do this? Are there any app that can do this or I need to modify some system files (SystemUI.apk perhaps)? My phone is xperia mini pro (rooted). Thanks.
You would need to edit a bunch of files including xmls and smalis. I have looked and you may need to edit it on a source code level as the entry for the seconds is not present.
Thanks for your feedback. Do I really need to change the source that much? Is it possible to just change the value of the variable containing mm (HH:mm) to "mm:ss".
Ex.
HH=22
mm=39
ss=49
var hour=HH
string a="%mm%:%ss%"
string minute="%a%"
display contents of hour:minute
output = 22:39:49
I'm no programmer.
See that's the problem. The way it is written it just refs time format. Which is buried in the source code.
Dear Experts,
The file "dynamic.lm" stores the user's learnt words. I want to read the file and extract the words. What is the conversion tool or application needed to open the file in human readable language.
Note: the beginning of the file starts with "Fluency language model file;Dynamic language model created in DynamicTermModel::write()"
Regards....
Hi, i'm wondering where i can read more about /system/media/lockstyle file structure and coding language. Yeah, i know that manifest is an XML file, but if we for example have this code:
Code:
<Var name="isreached_to_pressed" expression="1" const="true"/>
<Var name="lock_state_pressed" expression="eq(#unlocker_lock.state,1)+eq(#unlocker_call.state,1)+eq(#unlocker_mess.state,1)"/>
<Var name="lock_state_normal" expression="eq(#unlocker_lock.state,0)*eq(#unlocker_call.state,0)*eq(#unlocker_mess.state,0)"/>
<Var name="lockstate" expression="#unlocker_lock.state+#unlocker_call.state+#unlocker_mess.state"/>
<VariableCommand name="camera_show_ani_end" expression="ifelse(#leftToRight,#screen_width-abs(#touch_dist),abs(#touch_dist)-#screen_width)" const="true" condition="#camera_show_ani_con"/>
Where do i get more information about all this eq, abs, ifelse expression, and Var names like lock_state_pressed, lock_state_normal, camera_show_ani_end etc. Is there any guide out there, i wasn't able to find by myself.
Oh, one more thing.
Does the lockstyle file only describes the outlook of lock screen or does it also handle the actions like how to unblock (press, swap or tap)?
!!! Discussion is for educational purpose only !!!
As we know, Android stores Lockscreen's Pin and Password in data/system/password.key
In this file appears an alphanumeric string (probably an hex string which refer to other databases).
I've made a research, but I didn't find if it's possible to know the Lockscreen's password/pin starting with this file.
Any idea?
Can anyone try to explain how does it work?