872409 / android-lockpattern

Automatically exported from code.google.com/p/android-lockpattern
Apache License 2.0
0 stars 0 forks source link

The IContentView inteface dont exist. #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 jerryfar...@gmail.com on 11 Sep 2014 at 3:23

GoogleCodeExporter commented 9 years ago
Hello jerryfar...@,

Thanks for entering the issue.

=== IContentView ===

I'm very sorry that I haven't added IContentView.java into the repository. It 
still contains unstable code (even it's not usable as a draft). You can clone 
this project at revision e4784c6b427321f2ab70b39d685ad66762a77f6a (stable 
release v3.1), for instance:

    hg clone https://code.google.com/p/android-lockpattern/ -r e4784c6b427321f2ab70b39d685ad66762a77f6a

And then, please replace this file:

    res/values/strings.xml (it's a symbolic link in Linux)

with this one:

    res/values-en/strings.xml

=== Usage ===

Would you please try the demo app 
(https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpat
tern.demo) on your device to see if it works or not?

I hope the Quick Use will be useful: 
https://code.google.com/p/android-lockpattern/wiki/QuickUse

If you still can't make the library work, please post more info, I'll try to 
help.

Sincerely,
Hai

Original comment by haibison...@gmail.com on 11 Sep 2014 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by haibison...@gmail.com on 11 Sep 2014 at 8:21

GoogleCodeExporter commented 9 years ago
hi, thanks for the answer. 

 i still have the doubt, that iterface is necesary in order to use the lybrary? i check some clones and averyone does the same i did, they just eliminate the implementation... 

 do you think my problem to get the result  of the activity is related to the icontentview interface issue?

Thanks for your time.

Original comment by jerryfar...@gmail.com on 13 Sep 2014 at 6:28

GoogleCodeExporter commented 9 years ago
Well im doing Log.d at lifeclicle methods on my login activity and it gets 
destroy just when i click "confirm" in the create pattern layout, my 
loginActivity never do onRestart and thats why onActivityResult never 
execute...  dont know why this happend....

Original comment by jerryfar...@gmail.com on 13 Sep 2014 at 7:53

GoogleCodeExporter commented 9 years ago
=== IContentView ===

I don't think your issue is related to that interface IContentView. It is not 
good (actually it's just a mess), so I don't add it to the repository yet. I 
know this is not a good way to participate in a common project, but I'm 
sorry... (I *accidentally* committed some files which imported that interface.)

Now I confirmed that the interface was my fault, please just ignore it.

Latest stable revision is e4784c6b427321f2ab70b39d685ad66762a77f6a, which you 
can clone it via this command:

    hg clone https://code.google.com/p/android-lockpattern/ -r e4784c6b427321f2ab70b39d685ad66762a77f6a

and then, please replace this symbolic link res/values/strings.xml with this 
real file res/values-en/strings.xml.

Last some days I had to update the demo app on Google Play Store. What I did 
was: I made an update to that revision to be able to compile the demo project.

=== Usage ===

Would you please try the demo app 
(https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpat
tern.demo) on your device to see if it works or not?

And please *confirm* if the demo app works or not, by posting here. If it 
works, please follow the Quick Use again. If it does not work, please post here 
these information:

- Your declaration of your activity *and* LockPatternActivity in manifest.
- Your Java code to call/handle result of LockPatternActivity.

With those info, I hope I can help.

Original comment by haibison...@gmail.com on 13 Sep 2014 at 10:19

GoogleCodeExporter commented 9 years ago
Closed as the author seems to not participate in this issue anymore.

Original comment by haibison...@gmail.com on 26 Sep 2014 at 2:07