My own ScreenLocker - Java for Android App Development

I want to made my own lock screen , but i don't know how to do it , i have a few notion in java dev , but i don't know how to do a lockscreen app ( i know there is many lockscreen app on the market , but i want my app ), could someone help me or get some source .
Thank's and sorry for my bad english
EDIT : I have the disgn of my app no probleme , but i got 9 button and i want that the user register his code , and then he have to do this code for unlock the phone .

I want too
but i dont know how to ?? Is there any one to tell us plz ?

Well i'm not alone ^^
If u want we can work together ? As i said i have a very basic visual that i can show you ^^

hello, for enabling or disabling lock screen in Android, we need to get the instance of keyBoard Manager, using getSystemService(). The syntax is as,
Code:
KeyguardManager keyguardManager = (KeyguardManager)getSystemService(Activity.KEYGUARD_SERVICE);
KeyguardLock lock = keyguardManager.newKeyguardLock(KEYGUARD_SERVICE);
For locking the screen use,
Code:
lock.reenableKeyguard();
and for disabling the lock use,
Code:
lock.disableKeyguard();
Source : http://smartandroidians.blogspot.com/2010/03/enabling-and-disabling-lock-screen-in.html

Thanks you i will try it when i can

Related

Regarding The Dialing Ability of XDA2s(Urgent Help needed)

Hi
I am new into this ...having a bit of problem what i m trying to do .
what i m trying to do is cancel / override the dial functionality of the xd2s .
so that it cant dial any number either form dial button or clicking on the screen without effecting the other dial abilities used in other application like RAS etc.
I have downloaded the wince 5.0 shared source code. and i have been trying to dig out things .but its a sea of code to me . :shock: What i gussed that
Tapi does the call for the xda2s .
Secondly i m using the plat form builder to create a customize image of OS to run in my XDA but i m unable to download it to the Visual Studio emulator ....
PLease help me how can i check that the exactly what XDA is doing at the back to dial a number like which tapi function or what ,
ans please let me know how can i download the image on simulator to test .
Thanks in Advance ...
Any advice will be highly apprecited.
Regards
Tabish

Cab file for Slide to Answer / Reject / Lock / Unlock

Hello
Does anybody have a cab file to add the slide to answer / reject / lock / unlock?!?!?
I can not update my ROM because I will lose Arabic Feature...and and the latest Arabic ROM doesn't have Slide Feature...
I will be thankful if anybody provide me a link....!
Thank you in advance
S2U2?
Have you tried S2U2? Just google for it. It does all of what you asked for
Thank you dear...
This is the site ..... :
s2u2.eqvipage.dk
go to setting....at the end of the list turn off all of the delays...
it works fantastic!
buddy use any type of rom that might interests u and dont worry about any of the arabic added apps or even the arabic support for ur set as u can always use mobivid ( comes with 2 versions 1 that supports full arabic interface ( though smtimes it messes with cocked roms) , 2 english interface with full arabic support as read and write)
and i think u can find mobivid here on the forum
cheers

Change Android 2.3 AS you want

Hello every body,
the good new today i see the Android 2.3 Gingerbread Released!
the bad news somebody said this release not support for arabic
This is what we go through I and thousands of people in the Middle East
But when I check Google for developers I found some ways to play Arabic with a few moments
in this class we can found text proprieties :
Bidi Class
we need to set Constants something like this:
##
(int) DIRECTION_DEFAULT_RIGHT_TO_LEFT = 1
## Indicates whether the text is from right to left, that is, both the base direction and the text direction is from right to left.
isRightToLeft()
We can change Unicode from this file:
Character.UnicodeBlock
The Question how change this constant and vaules ??!!
the google android found solution for you "API Levels"
"I THINK "
we can update the constant via The AndroidManifest.xml File
change the constant and send to system via this XML file
I want some help from the developers here :
Q-1 : how to add this value correctly into AndroidManifest.xml
Q-2: how to attach the AndroidManifest.xml into system to be active
i'm looking in many site and someone said we can embede the file with an apk APP with this tool android-apktool
this is all I know, please we need your help
eng.hany alsamman
iam not an expert but i think this my help u
http://forum.xda-developers.com/showthread.php?t=854864
freepal08 said:
iam not an expert but i think this my help u
http://forum.xda-developers.com/showthread.php?t=854864
Click to expand...
Click to collapse
thanks alot man
but i need more tutorial about that
Please any Developer can help ?
Did you check out this files for Arabic support:
ardoid.com/?p=21
androlib.com/android.developer.ayman-alsanad-Cz.aspx

How do lock screen work ?

I am starting with android app development . I was thinkjng may be I can make a lock screen app .. I am confused how does the pattern/password/pin unlock works .. like is it some database that stores the password and then checks it when the user enters the password for it being wrong or right ????
If so then what database is it using ??? MySQL or oracle or what ??
Cuz if it uses any of those .. I will have to learn how dbms works and their codes right ??
Thanks..
I asked in Q&A of general section .. even bumped it once .. no one knew.. so aSking here if Nyone knows ..

[Q][SELF SOLVED] android.os.Build.MANUFACTURER is an empty String

Hello all programmers,
My app is supposed to display the device name so I used this to get the device name:-
Code:
String x = android.os.Build.MANUFACTURER + " " android.os.Build.MODEL;
x=x.toUpperCase();
TextView a = (TextView)findViewById(R.id.devicemodel);
a.setText("DEVICE:- " + x);
It works very well on my Samsung Galaxy Tab 2 P3100 and all my Xperia Phones too (even on the virtual emulator), but the only problem is with Samsung Galaxy Y phones. The String appears empty and all that is displayed is DEVICE:-
Any ideas why this is happening? I think that the build.prop doesn't contain these values or something like that.
Thanks,
abcdjdj
can you do for me ths fever or just tell me how to do it
Hello everybody
i have two firmware for two Chinese tablets they have the same possessor ram all things is same ,just a camera and the screen is not the same ...
the first firmware (rom ) is good and much better than the original firmware for my android tablet .... and i try to install it and it s working well .. but i have two problems the camera and touch screen didn't work ....
so how can do to fix this problems .. ... what i should take from the original ROM to make it on the other ROM ?
or can you do it for me ?? i can send the two roms...
please tell me what i should do for any questions i am here to answer thanks ....
edd-1988 said:
Hello everybody
i have two firmware for two Chinese tablets they have the same possessor ram all things is same ,just a camera and the screen is not the same ...
the first firmware (rom ) is good and much better than the original firmware for my android tablet .... and i try to install it and it s working well .. but i have two problems the camera and touch screen didn't work ....
so how can do to fix this problems .. ... what i should take from the original ROM to make it on the other ROM ?
or can you do it for me ?? i can send the two roms...
please tell me what i should do for any questions i am here to answer thanks ....
Click to expand...
Click to collapse
Create your own thread for that!
Bump. Anyone please??
Solved it myself. The device name should have been set in onCreate instead of the menu inflating function.
Sent from my GT-P3100 using xda app-developers app

Categories

Resources