Coder Social home page Coder Social logo

android-lockpattern's People

Watchers

 avatar

android-lockpattern's Issues

Enhancement Request in a Way that Library can support Fragments

What steps will reproduce the problem?
1. It is Enhancement Request

What is the expected output? What do you see instead?
A new class presents beside PatternLockActivity in Pattern Lock main package. 
This class say PatternLockFragment extends Fragment can be used in user 
projects and send feedback to users Host Fragment Activity.

What version of the product are you using? On what operating system?
3.0.3 on 4.4.2

Please provide any additional information below.
In Tablets and latest android versions it is advised to use Fragments. So Is it 
possible that you make some enhancements to PatternLockActivity and produce its 
new version beside it LIKE a Fragment e.g "PatternLockFragment extends 
Fragment" and user can easily use it with Fragment-adapter. :) 

Original issue reported on code.google.com by [email protected] on 11 Jan 2014 at 9:46

Draw the path when the first Cell was selected and move to next.

Awesome project! I integrate it in my App.

What steps will reproduce the problem?
1.When I select first Cell and move to next Cell, the path won't display until 
the second Cell be selected.My English is poor, so I upload a picture to 
explain it.

What is the expected output? What do you see instead?
I think change one number will make it better.
LockPatternView.java 
lineNumber 1169

 if ((mPatternInProgress || mPatternDisplayMode == DisplayMode.Animate)
                    && anyCircles && count > 1) {
                currentPath.lineTo(mInProgressX, mInProgressY);
            }

"count > 1" --> "count > 0"

I had a testing, and it works well.


Original issue reported on code.google.com by [email protected] on 12 Apr 2014 at 3:10

Attachments:

The IContentView inteface dont exist.

What steps will reproduce the problem?
1. import the library to your project in android studio as explained by Adarsha 
in the "Cannot get this working in Android Studio" issue.
2. add the dependencie of LockPattern module to your app.
3. build

What is the expected output? What do you see instead?
 i expect no errors in building...
 instead im getting the error "IContentView cannot be resolved"

What version of the product are you using? On what operating system?
  in readme file says * Version: 3.1.1 beta (#44)
  im on windows 8.


  well, since i cant find this interface into de files i download here, i proceed to delete the implementation of this interface in LockPatternActivity.
  the error is resolved and the build is susscesful as no override methods from that interface in LockPatternActivity.

but,

 when i launch the LockPatternActivity for create pattern and as a user click confirm at the end od the pattern creation, im not getting a result in my loginActivity implementation of onActivityResult(). it just close the app. to confirm im not getting the result im doing Log.d in the first line of onActivityResult() and nothing gets print on logcat.. so... i just beleave is not returnig the result... 

Sorry for my poor english and thanks for any help you guys can give me on 
this... 


Original issue reported on code.google.com by [email protected] on 11 Sep 2014 at 3:23

Cyanogen Configurable 6x6 dot model pattern

Hello,

The Cyanogen version permit to choose the number of dot in the pattern model
4x4
5x5
6x6

See 
https://github.com/CyanogenMod/android_frameworks_base/blob/cm-10.2/policy/src/c
om/android/internal/policy/impl/keyguard/KeyguardPatternView.java 

mLockPatternView.setLockPatternSize


This feature is very interesting for increase the security of the pattern model.


Original issue reported on code.google.com by [email protected] on 15 Nov 2013 at 9:50

as per you wiki i have implemented the code but each time it asks for new pattern and then save it as rule it should not ask for new pattern again, but the already set one to unlock.

What steps will reproduce the problem?
1.add lib
2.follow wiki
3.run and get new app pattern each time

What is the expected output? What do you see instead?
expected output is asking for already saved pattern to unlock, but it asks for 
new pattern

What version of the product are you using? On what operating system?
win 7 android 17

Please provide any additional information below.

import and open the encryptmessage project

Original issue reported on code.google.com by [email protected] on 17 Jul 2013 at 8:03

Attachments:

InflateException

Hello Hai,

How are you ?

I am getting a lot of crash reports coming from lock pattern lib, i am using 
latest version from the lib,

Here is the stacktrace,

java.lang.RuntimeException: Unable to start activity 
ComponentInfo{com.lock.appslocker/com.lock.appslocker.activities.lock.LockPatter
nActivity}: android.view.InflateException: Binary XML file line #18: Error 
inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2263)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5212)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #18: Error 
inflating class <unknown>
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:816)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:745)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at 
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:294
)
at android.app.Activity.setContentView(Activity.java:1929)
at 
android.support.v7.app.ActionBarActivity.superSetContentView(ActionBarActivity.j
ava:216)
at 
android.support.v7.app.ActionBarActivityDelegateICS.setContentView(ActionBarActi
vityDelegateICS.java:110)
at 
android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:7
6)
at 
com.lock.appslocker.activities.lock.LockPatternActivity.initContentView(LockPatt
ernActivity.java:365)
at 
com.lock.appslocker.activities.lock.LockPatternActivity.onCreate(LockPatternActi
vity.java:288)
at android.app.Activity.performCreate(Activity.java:5240)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2227)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
... 27 more
Caused by: java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:587)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:422)
at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:445)
at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:475)
at 
group.pals.android.lib.ui.lockpattern.widget.LockPatternView.getBitmapFor(LockPa
tternView.java:319)
at 
group.pals.android.lib.ui.lockpattern.widget.LockPatternView.<init>(LockPatternV
iew.java:303)
at 
group.pals.android.lib.ui.lockpattern.widget.LockPatternView_v14.<init>(LockPatt
ernView_v14.java:42)
... 30 more

Could you help please ?

Regards

Original issue reported on code.google.com by [email protected] on 15 Jan 2015 at 10:46

Eclipse doesn't like the strings.xml which point to ../values-en/strings.xml ...

What steps will reproduce the problem?
1. Import project from zip file downloaded as 
"android-lockpattern-e4784c6b4273", the Mar-09-2014 release into Eclipse.
2. Eclipse doesn't like file res/values/strings.xml which has content of:
"../values-en/strings.xml"


What is the expected output? What do you see instead?
Does that way of strings.xml include/redirect supposed to work ? ...

What version of the product are you using? On what operating system?
Android 4.2.2

Please provide any additional information below.
Can't figure out how to get above to work, alternative for now is to overwrite 
it with English content first.

Original issue reported on code.google.com by [email protected] on 24 Mar 2014 at 11:12

demo

What steps will reproduce the problem?
1.Demo is not working in 2.3.3
2.
3.

What is the expected output? What do you see instead?

I want a new demo with source code
What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 24 Jul 2013 at 11:33

  • Blocked on: #6

Possible interaction with content below in dialog mode

What steps will reproduce the problem?
1. Opening lock pattern activity with Dialog style
2. It's possible to click content below the dialog
3. "Dialog" is not dismissing when clicking outside it

What is the expected output? What do you see instead?
"Dialog" should dismiss on click outside it's main content. Also it shouldn't 
be possible to interact with the content below.



Original issue reported on code.google.com by [email protected] on 11 Apr 2014 at 10:08

Pattern Lock on App Startup to validate user

What steps will reproduce the problem?
1. don't know how to use
2. this is open project where is project file
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


hello i am new to android development and don't know how to use this pattern 
lock can you help me to setup validation in my app...???


Original issue reported on code.google.com by [email protected] on 16 Mar 2014 at 7:51

Newer Demo project for *** RELEASE v3.1 (#43) ***

What steps will reproduce the problem?
1. Not a problem, just wonder if there's a demo project ...
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.
The 3.1 release has the Pref removed, theme changed quite a bit, I'm wondering 
if there's any demo project that'll show how the newer code works.  Not a 
problem report, just a wondering ... Thanks !


Original issue reported on code.google.com by [email protected] on 25 Mar 2014 at 6:03

How to get Patten saved in shared preferences in decrypted form

What steps will reproduce the problem?
1.Register the CustomeEnrypter Class, which implemented the IEncrypter 
interface. version 3.0.3
2. Decrypt Method Issued Exception 
3.//My Implementation of IEncrypter 
@Override
    public List<Cell> decrypt(Context context, char[] encryptedPattern) {
        // TODO Auto-generated method stub
        Log.i("LOCK-PATERN-DECRYPTED",new String(encryptedPattern));
        return LockPatternUtils.stringToPattern(new String(encryptedPattern));

    }
    @Override
    public char[] encrypt(Context context, List<Cell> pattern) {
        // TODO Auto-generated method stub
        CRC32 c = new CRC32();
        c.update(LockPatternUtils.patternToSha1(pattern).getBytes());
        String Data = String.format("%08x", c.getValue());

        Log.i("LOCK-PATERN-ENCYPTED in LONG",c.getValue()+"");
        Log.i("LOCK-PATERN-ENCYPTED",Data);

        return Data.toCharArray();
    }

What is the expected output? What do you see instead?
I want to get the Entered pattern Lock in number format. e.g if USER make lock 
with 123654 , when user forget the pattern he has to press forget pattern 
button, that initialize ForgetPattenActivity, in this Activity i have to Find 
the SAVED pattern.

What version of the product are you using? On what operating system?
Latest Version 3.0.3
on NEXUS 4 with ANDROID 4.4.2

Please provide any additional information below.

I have also Registerd the IEncrypter . But that class give me every time 8 
digit number, 
WHAT i am thinking pattern is saving in some encypted form and i donot know how 
to decrypt it in number form that has entered by user. in other words i have to 
display the forget pattern to user 


Original issue reported on code.google.com by [email protected] on 9 Jan 2014 at 10:52

I am new to android an i want to use this in my project

i am very new to android and i want to use this in my project but i dot know 
how to use it.
i tried the quick use guide but still was not able to use it in my project 
please help me as now it is matter of my job i have to do it anyhow within 2 
days please help guys.


Original issue reported on code.google.com by [email protected] on 14 Feb 2015 at 2:07

Cannot add library to project

What steps will reproduce the problem?
1.I right click on my project(android-lockpattern)
2.I select properties
3.Under the Android tab I click on the "Add" button

What is the expected output? What do you see instead?
I expect to be able to browse to the location of the library, but the space 
where i need to browse for the location is grayed out

What version of the product are you using? On what operating system?
i am using the latest version i suppose (android-lockpattern-8039c0962216).The 
operating system is Windows 7 professional.

Please provide any additional information below.

Good day,

I am new to java developing. I Downloaded the zip file under the "Source"tab, 
and on Eclipse Luna I imported an existing project. Then I started following 
the quick use and got stuck where I need to import the Library.

Any Help is greatly appreciated.

Thank you


Original issue reported on code.google.com by [email protected] on 23 Feb 2015 at 8:34

Long "loading" dialog between first entry and confirmation

What steps will reproduce the problem?
1. Fire an intent with LockPatternActivity.ACTION_CREATE_PATTERN
2. Enter the first pattern.

What is the expected output? What do you see instead?
I would expect the confirmation to immediately appear. Instead a loading dialog 
appears which lasts for about 20 seconds, then confirmation proceeds as normal. 
This only happens the first time you create a pattern; if you cancel and retry 
the loading doesn't happen.

What version of the product are you using? On what operating system?
I'm using a clone from today on a Galaxy S4 running Android 4.2.2.

Please provide any additional information below.
I stepped through with a debugger; it appears the problem is in 
doCheckAndCreatePattern().

Original issue reported on code.google.com by [email protected] on 6 Jul 2014 at 6:40

The app crashes at start

What steps will reproduce the problem?
1. Open the app

What is the expected output? What do you see instead?
The app crashes completely. I can't open it.

What version of the product are you using? On what operating system?
v2.8 on Android 2.3.6

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Jul 2013 at 11:04

  • Blocking: #7

DisplayMode.Animate creates the pattern infinitely. How to detect if the pattern has been animated once?

What steps will reproduce the problem?
1. Create an activity
2. Add lockPatternView in the layout file
3. In the activity, use lockPatternView.setpattern(DisplayMode.Animate, pattern)

What is the expected output? What do you see instead?
I expected to see the pattern provided in the method to be animated just once. 
Instead, the pattern forms, clears and froms again infinitely. How can I detect 
that the pattern has been animated once and make it stop animating after that?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Mar 2015 at 1:03

Including it in target = 8 app

What steps will reproduce the problem?
1. I've included lockpattern into my app that has minSDK 8 and target SDK 8 
(cannot change that)


What is the expected output? What do you see instead?

I get such console output and the app won't run. 
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values-v11/styles.xml:20: error: Error 
retrieving parent for item: No resource found that matches the given name 
'@android:style/Theme.Holo'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values-v14/styles.xml:20: error: Error 
retrieving parent for item: No resource found that matches the given name 
'@android:style/Theme.DeviceDefault'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values-v11/styles.xml:27: error: Error 
retrieving parent for item: No resource found that matches the given name 
'@android:style/Theme.Holo.Light'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values-v14/styles.xml:24: error: Error 
retrieving parent for item: No resource found that matches the given name 
'@android:style/Theme.DeviceDefault.Light'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values-v11/styles.xml:34: error: Error 
retrieving parent for item: No resource found that matches the given name 
'@android:style/Theme.Holo.Dialog'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values-v14/styles.xml:22: error: Error 
retrieving parent for item: No resource found that matches the given name 
'@android:style/Theme.DeviceDefault.Dialog'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values/styles.xml:92: error: Error: No resource 
found that matches the given name: attr 'android:windowActionBar'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values/styles.xml:93: error: Error: No resource 
found that matches the given name: attr 'android:windowActionModeOverlay'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values/styles.xml:94: error: Error: No resource 
found that matches the given name: attr 'android:windowCloseOnTouchOutside'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values-v11/styles.xml:41: error: Error 
retrieving parent for item: No resource found that matches the given name 
'@android:style/Theme.Holo.Light.Dialog'.
[2013-08-12 11:53:28 - PP MyApp] /Users/user/Documents/MyApp/nPP 
Android/android-lockpattern/res/values-v14/styles.xml:26: error: Error 
retrieving parent for item: No resource found that matches the given name 
'@android:style/Theme.DeviceDefault.Light.Dialog'.

Original issue reported on code.google.com by [email protected] on 12 Aug 2013 at 9:56

Encryptor improvement

Hello, i wonder why IEncrypter use teo methods encrypt and decrypt? If use only 
encrypt and then during check encrypt user pattern and compare to supported 
encrypted string? In this case it is possible to use hash algorithms which make 
almost impossible to reverse it.


Original issue reported on code.google.com by [email protected] on 12 Apr 2014 at 6:06

How ot i add a forgot pattern button?

What steps will reproduce the problem?
1.Add a forgot pattern button when the user forgets his pattern
2.
3.

What is the expected output? What do you see instead?
a button which launches a recovery intent

What version of the product are you using? On what operating system?


Please provide any additional information below.
how do i add a forgot pattern button on the screen when the user forgets his 
pattern. in your integration notes theres this section 

case LockPatternActivity.RESULT_FORGOT_PATTERN:

when i add my intent under this section it doesn't launch..nor does a button 
show on the screen..how can achieve this feature

Original issue reported on code.google.com by [email protected] on 17 Dec 2014 at 5:34

project stopped when I click the "Create Lock Pattern"

What steps will reproduce the problem?
1. When I Click the "Create LockPattern" button.

What is the expected output? What do you see instead?
-Then app will stop and closing.

What version of the product are you using? On what operating system?
-I use the version 2.4 and demo source(using library 4.2)

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 29 May 2013 at 7:36

Attachments:

retriving the pattern saved

What steps will reproduce the problem?
1. char c=securityprefs.getPattern(this)
2. then converted it to string
3. then printed as toast but it showed a long string

What is the expected output? What do you see instead?
I was expecting some thing like numbers in for example if my pattern is like 
"Z" it will be 1235789 

What version of the product are you using? On what operating system?
2.8

Please provide any additional information below.

kindly help me out in retrieving the pattern in simple form as described above 
to use forget pattern sending via an sms or mail to receiver to enter the 
previous saved pattern again.

Original issue reported on code.google.com by [email protected] on 5 Nov 2013 at 10:58

Cannot get this working in Android Studio

What steps will reproduce the problem?
1.import module into android studio


What is the expected output? What do you see instead?
I expect to see modules to import however none are present. My guess is because 
it's missing a build.gradle file

What version of the product are you using? On what operating system?
version 2.8 on Windows 8

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Jul 2013 at 1:09

Vertical lock pattern - Not working

What steps will reproduce the problem?
1.When used this view in any custom view, it doesnot allow to draw vertical 
pattern in some devices
2.Devices are Samsung Galaxy S, Samsung Galaxy POP
3.

What is the expected output? What do you see instead?
It is expected to draw any type of pattern,
while it only allows to draw horizontal pattern,no vertical allowed.

What version of the product are you using? On what operating system?
latest version 2.8 (beta) on android version 4.0.4 and 2.2

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Jan 2014 at 12:43

No Demo Project

Where can I get a demo project?
I see it was removed in july

Original issue reported on code.google.com by [email protected] on 6 Nov 2013 at 1:03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.