Re: [android-developers] How to animate the height of a view?

2014-06-19 Thread Παύλος-Πέτρος Τουρνάρης
https://stackoverflow.com/questions/4946295/android-expand-collapse-animation




On Thu, Jun 19, 2014 at 11:07 AM, Sheng-Dean littledot5...@gmail.com
wrote:

 Hello,

 I would like to animate the height of a View to make it look like it is
 expanding.

 My current implementation involves a custom Animation class that invokes
 getLayoutParams() and changes the height variable in the
 applyTransformation() method. It looks like this:

 @Override
 protected void applyTransformation(float interpolatedTime,
 Transformation t) {
 super.applyTransformation(interpolatedTime, t);

 LayoutParams layout = mActor.getLayoutParams();

 int newHeight = fromHeight + (int) ((toHeight-fromHeight) *
 interpolatedTime);
 layout.height = newHeight;

 mActor.requestLayout();
 }

 However, animations are choppy because whenever I invoke requestLayout(),
 it layouts the entire view hierarchy, which is expensive, resulting in
 choppy animations (eg 10fps). I have tried forceLayout(), hoping that it
 would only layout a portion of the view hierarchy, however it seems to do
 nothing...

 Please give me some advice on how I can implement this sort of animations
 correctly.

 Thank you.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
*Παύλος-Πέτρος Τουρνάρης (Pavlos-Petros Tournaris)*
*Android Developer  Software Engineer*
http://about.me/pavlospt

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Rating Hijacking !

2014-01-06 Thread Παύλος-Πέτρος Τουρνάρης
That's where machine learning comes in handy when people can't afford going
over millions of millions comments!
Στις 6 Ιαν 2014 7:28 μ.μ., ο χρήστης Kevin Duffey andjar...@gmail.com
έγραψε:

 I am wondering why they don't require comments? There should be like a
 minimum of 2 or 3 words (and checked so that they are real words) before
 the comment pushes. Also, there should absolutely be a way to contact a
 commenter.. at the very least, the ability to reply to a comment and have a
 gmail like conversation tree layout for more comments. They should have
 some sort of option to report a bad review.. like if someone posts 'your
 app sux.. this one is way better'.. it's not a constructive post nor is it
 possible to tell if they are just friends of the author of the other app
 and trying to promote it or being jerks. I suppose thought with millions of
 apps it would be impossible to monitor comments and I am sure there would
 be way too many reports of bad posts to handle. Maybe they can come up with
 some sort of comment AI to rule out useless comments.. heck they can make
 cars drive by themselves and avoid people and stuff!


 On Mon, Dec 30, 2013 at 1:04 AM, Tolriq tol...@gmail.com wrote:

 Well for low or normal rated app this can be only half bad or good.

 For very high rated apps the result is catastrophic when a 4.9 rating 5
 star rating is the only way to get known over competition this change that
 generate lot's of false rating is just killing some apps.

 Google have to do something quick because the effects of this are really
 important and the more they wait the more it will impact some devs :(


 On Sunday, December 29, 2013 10:52:35 AM UTC+1, Ifor wrote:

 That explains why I am getting more reviews the last few weeks.  I had
 seen the increase in activity but was not aware of the cause.  Personally
 it's not having a detrimental affect on my numbers more the opposite in
 fact as my average is slowly going up.

 Hi,

 My app rating is being hijacked by competitors and I don't know what to
 do :(
 I've tried to contact Google but there's no category for that and they
 don't answer from the other category contact :(

 My app is 4.9 rating since a very very very long time and all very very
 few bad rating always had comments.
 Since 14 days I start to have lot's of 1 or 2 stars rating without any
 comments and without having released a new version or the app having
 problems.
 There's still the same amount of 4 / 5 star rating coming every day.

 This graph for the 6 last months from Play Store console :
 http://postimg.org/image/i2bpm94vt/ shows the problem clearly and
 proves without a doubt the hijacking action :(

 What are the possible actions against that ?
 This is a shame that years of work can be attacked so easily :(

 How to contact some Google representative to have this investigated ?

 Regards,
 Tolriq

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Android xml2class tool

2014-01-02 Thread Παύλος-Πέτρος Τουρνάρης
Great work guys! I would like to see it as a plugin for Android Studio too!
Keep up!



On Thu, Jan 2, 2014 at 2:48 PM, Dinesh kumar dragonfir...@gmail.com wrote:

 Great,but if you give that as eclipse plugin ...

 All Developers will thank you,for reducing their work..




 On Tue, Dec 31, 2013 at 3:40 PM, Göksel Güren goksel7...@gmail.comwrote:

 Hi everybody,

 We released a tool for generating Activity Class with only pasting your
 xml source code to tool. Maybe somebody can use it
 http://lab.mobillium.com/ http://lab.mobillium.com/xml2class/step1

 Thanks.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - http://about.me/pavlospt
   - *http://acschedule.org http://acschedule.org*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Re: ViewPager and ListFragments with onLongClick listener problem

2013-12-21 Thread Παύλος-Πέτρος Τουρνάρης
/bump
Στις 20 Δεκ 2013 6:10 μ.μ., ο χρήστης Παύλος-Πέτρος Τουρνάρης 
p.tourna...@gmail.com έγραψε:

 Hello to everyone! I tried asking this in StackOverflow and had to no luck
 so you are my last hope!


 http://stackoverflow.com/questions/20681055/viewpager-and-listfragment-with-onlongclick-strange-behaviour

 The problem is clearly described in the above link! If you want me to
 clarify anything more please feel free to tell me and i will answer asap!

 Thank you in advance!

 --
 *Παύλος-Πέτρος Τουρνάρης*
 *Android   Software Developer*

- http://about.me/pavlospt
- *http://acschedule.org http://acschedule.org*



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] ViewPager and ListFragments with onLongClick listener problem

2013-12-20 Thread Παύλος-Πέτρος Τουρνάρης
Hello to everyone! I tried asking this in StackOverflow and had to no luck
so you are my last hope!

http://stackoverflow.com/questions/20681055/viewpager-and-listfragment-with-onlongclick-strange-behaviour

The problem is clearly described in the above link! If you want me to
clarify anything more please feel free to tell me and i will answer asap!

Thank you in advance!

-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - http://about.me/pavlospt
   - *http://acschedule.org http://acschedule.org*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Re: AudioRecord.getMinBufferSize hangs on KitKat

2013-11-10 Thread Παύλος-Πέτρος Τουρνάρης
Maybe the new way that Nexus 5 uses to tunnel the Audio causes this problem!


On Sun, Nov 10, 2013 at 2:54 PM, skooter500 skooter...@gmail.com wrote:

 Follow up... All audio record API's cause this!

 For example, this call also hangs:

 audioRecord = new AudioRecord(MediaRecorder.AudioSource.MIC, sampleRate,
 AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT,
 totalBytes);

 Is there something special Im supposed to do on Android 4.4??

 Bryan

 On Sunday, 10 November 2013 12:19:41 UTC, skooter500 wrote:

 Hi

 My Nexus 5 arrived today, however I have noticed a bug that causes my app
 (Tunepal) to hang. It is very simple to reproduce. Just call:

 AudioRecord.getMinBufferSize(22050, AudioFormat.CHANNEL_CONFIGURATION_MONO,
 AudioFormat.ENCODING_PCM_16BIT);

 Changing the sample ate has no effect either

 What the hell Google?! Dont you test stuff before you release it?

 Here is the full code for a simple app to reproduce this:

 https://github.com/skooter500/MinBufferSizeBug

 BTW This code does not cause a hang on my Galaxy Nexus, Nexus 7, HTC
 Desire, HTC Desire HD etc etc.

 I'm investigating a workaround

 Bryan

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u http://goo.gl/TsJ8u*
   - *http://acschedule.org http://acschedule.org*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Re: Random IllegalStateException on some phone

2013-10-03 Thread Παύλος-Πέτρος Τουρνάρης
Well this is not random! While in the summer me and a friend developed a
game with Play Services this occured when we added the game-id i think
directly to the AndroidManifest! You have to add it in strings.xml and call
it as a resource for example: @string/game-id, in your Manifest file!



On Thu, Oct 3, 2013 at 5:19 PM, Nobu Games dev.nobu.ga...@gmail.com wrote:

 That crash message says that there is further information in some
 additional log output. What does it say?


 On Thursday, October 3, 2013 5:21:44 AM UTC-5, Davide Moriello wrote:

 Hi, some testers are reporting me this error on some smartphone and I
 really don't know what it is and how to fix it. Someone has an idea?

 Thank you


 java.lang.**IllegalStateException: A fatal developer error has occurred.
 Check the logs for further information.
 at com.google.android.gms.**internal.p$f.a(Unknown Source)
 at com.google.android.gms.**internal.p$f.a(Unknown Source)
 at com.google.android.gms.**internal.p$b.p(Unknown Source)
 at com.google.android.gms.**internal.p$a.handleMessage(**Unknown Source)
 at android.os.Handler.**dispatchMessage(Handler.java:**99)
 at android.os.Looper.loop(Looper.**java:130)
 at android.app.ActivityThread.**main(ActivityThread.java:3687)
 at java.lang.reflect.Method.**invokeNative(Native Method)
 at java.lang.reflect.Method.**invoke(Method.java:507)
 at com.android.internal.os.**ZygoteInit$**MethodAndArgsCaller.run(**
 ZygoteInit.java:867)
 at com.android.internal.os.**ZygoteInit.main(ZygoteInit.**java:625)
 at dalvik.system.NativeStart.**main(Native Method)

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Nested JSON Parsing with Volley

2013-09-05 Thread Παύλος-Πέτρος Τουρνάρης
Please share the stack trace too..!



On Thu, Sep 5, 2013 at 10:04 PM, Raza Rahil Hussain razara...@gmail.comwrote:

 Hello everyone,
 I'm trying to parse Nested JSON with Volley Library but i'm getting
 problem somewhere catching object. Any can please look up the code -
 https://gist.github.com/razarahil/6149775

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] want to be a game programmer.

2013-08-17 Thread Παύλος-Πέτρος Τουρνάρης
There are no programmers who dont know how to use Google!!



On Sat, Aug 17, 2013 at 11:14 AM, Johnny ask2iq...@gmail.com wrote:

 Is it necessary to learn NDK for game programming. if yes , How do I
 start?  where can i get the resources and sample programmer? .
 Please suggest me.
 Thanks in advance.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Webscokets

2013-08-13 Thread Παύλος-Πέτρος Τουρνάρης
OMG i came to post the same links Kristopher :P !! Υou got me :P



On Tue, Aug 13, 2013 at 4:47 PM, Kristopher Micinski krismicin...@gmail.com
 wrote:

 I can point you at:


 http://stackoverflow.com/questions/16675450/support-for-websockets-on-android
 http://autobahn.ws/
 https://github.com/koush/android-websockets

 But don't have any personal experience with either.

 Kris


 On Tue, Aug 13, 2013 at 9:37 AM, Gink Labrev gink.lab...@gmail.comwrote:

 Thanks. Could you suggest a third party alternative ?
 I have searched for it without success.
 I am developing a chat. I have a Node.js Socket.io server implementation.

 Regards,


 2013/8/12 Kristopher Micinski krismicin...@gmail.com

 Not in the SDK to my knowledge.  But what are you trying to do?  There
 are a lot of third party providers that offer good / sane Android
 alternatives to Websockets, depending on your use case.

 Kris


 On Mon, Aug 12, 2013 at 2:21 PM, Gink Labrev gink.lab...@gmail.comwrote:

 Hello everyone.

 Does Android implement the Java API for WebSocket (JSR-356) ?

 http://docs.oracle.com/javaee/7/tutorial/doc/websocket.htm
 http://jcp.org/aboutJava/communityprocess/final/jsr356/index.html

 If not, is there a component that allows to use Websockets in Android ?

 Regards,

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Creating active html links in a dialog

2013-08-13 Thread Παύλος-Πέτρος Τουρνάρης
((TextView) 
aDialog.findViewById(android.R.id.message)).setMovementMethod(LinkMovementMethod.getInstance());


replace aDialog with your dialogs name!



On Tue, Aug 13, 2013 at 7:46 PM, dashman erjdri...@gmail.com wrote:

 I've got a Dialog sub-class with a textview - the view contains html with
 weburls.

 the links are not working - here's my code

 My class is derived from android.app.Dialog - in the constructor i have:

 TextView textView1 = (TextView)findViewById(
 R.id.about_about_textview );
 textView1.setText( Html.fromHtml( context.getString(
 R.string.about_notes ) ) );
 Linkify.addLinks(textView1, Linkify.WEB_URLS);
 textView1.setMovementMethod(LinkMovementMethod.getInstance());


 from my main activity - i do:

 AboutDialog dialog = new AboutDialog(this);
 dialog.show();


 The links show up - but they're not clickable.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] Dealing with 1000's of different devices, each one with its own bugs

2013-07-31 Thread Παύλος-Πέτρος Τουρνάρης
I really dont get any of your points Daniele! Every developer that till now
sent an email in this discussion has already stated his/her opinion in
order to answer at Omer's first question...

We can bring Google's attetntion at this problem but we should be focused
on it! If you don't create any workarounds for the buggy devices and just
ban them from your app, imagine what could happen for those devices..They
would only be able to download 4-5 apps (just saying...)...


On Wed, Jul 31, 2013 at 4:12 PM, Daniele Segato daniele.seg...@gmail.comwrote:

 On 07/31/2013 03:10 PM, Kristopher Micinski wrote:

 I think various people outlined possible solutions if you'd read the
 previous messages. One possible solution is stricter certification
 requirements.


 That's something Google can do, and is probably doing.

 I asked what WE can do. If we don't talk about this this whole discussion
 can be trashed, will not be of any help to anyone.


 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-developers@**googlegroups.comandroid-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en
 --- You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to 
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 .
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .





-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Dealing with 1000's of different devices, each one with its own bugs

2013-07-26 Thread Παύλος-Πέτρος Τουρνάρης
 from this group and stop receiving emails from it,
 send
   an
   email to android-developers+**unsubscr...@googlegroups.com.
   For more options, visit 
   https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out.

  
  
 
  --
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-d...@**googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+**unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en
  ---
  You received this message because you are subscribed to the Google
 Groups
  Android Developers group.
  To unsubscribe from this group and stop receiving emails from it, send
 an
  email to android-developers+**unsubscr...@googlegroups.com.
  For more options, visit 
  https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out.

 
 

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: switch widget reseting styles on inflating

2013-07-22 Thread Παύλος-Πέτρος Τουρνάρης
Show us your code mate ...


On Mon, Jul 22, 2013 at 5:20 PM, Nikolay Konstantinov 
ntkonstanti...@gmail.com wrote:

 my problem is something like this -
 http://stackoverflow.com/questions/14925743/androd-switch-widget-texton-and-textoff-not-working-as-expected.
 But I'm 100% sure that I use a theme extending Holo.Light ...

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Looking for Android developer

2013-07-12 Thread Παύλος-Πέτρος Τουρνάρης
Development from distance or you want a dedicated developer to your area?


On Fri, Jul 12, 2013 at 6:12 AM, Ali S. Rangwala aliwor...@gmail.comwrote:

 Hello All,

 We are looking for Android developer to work with us. Interested members
 can forward us your brief profile and links on Google play for review.

 This is consultant based role to start with (project wise work allocation)
 and eventually grow into permanent role.

 Regards,
 Ali

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Looking for Android developer

2013-07-12 Thread Παύλος-Πέτρος Τουρνάρης
Yeap that's what i mean



On Fri, Jul 12, 2013 at 8:56 PM, diptendu das diptendu...@gmail.com wrote:

 onsite development or offshore development ?


 On Fri, Jul 12, 2013 at 5:29 PM, Παύλος-Πέτρος Τουρνάρης 
 p.tourna...@gmail.com wrote:

 Development from distance or you want a dedicated developer to your area?


 On Fri, Jul 12, 2013 at 6:12 AM, Ali S. Rangwala aliwor...@gmail.comwrote:

 Hello All,

 We are looking for Android developer to work with us. Interested members
 can forward us your brief profile and links on Google play for review.

 This is consultant based role to start with (project wise work
 allocation) and eventually grow into permanent role.

 Regards,
 Ali

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 *Παύλος-Πέτρος Τουρνάρης*
 *Android   Software Developer*

- *http://goo.gl/TsJ8u*
- *http://acschedule.org*

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 --
 Thanks  Regards
 Diptendu Das

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Horizontal ListView Adapter

2013-06-30 Thread Παύλος-Πέτρος Τουρνάρης
If you are so smartass then Google before asking here!



On Sun, Jun 30, 2013 at 9:51 AM, Piren gpi...@gmail.com wrote:

 Ironically, your own reply also answers your question... obviously, others
 have missed it as well.


 On Saturday, June 29, 2013 10:52:54 AM UTC+3, Charx wrote:

 http://bit.ly/11TLSqW

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Horizontal ListView Adapter

2013-06-28 Thread Παύλος-Πέτρος Τουρνάρης
What do you mean by horizontal?



On Fri, Jun 28, 2013 at 6:49 PM, Charx evertvdbr...@gmail.com wrote:


 Am i the only one that is missing a horizontal ListView adapter that has
 the ability to recycle views?

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] get the current item position from custom view pager

2013-06-26 Thread Παύλος-Πέτρος Τουρνάρης
You will get the currentItem position from the View Pager and not from your
Custom Adapter.


On Thu, Jun 27, 2013 at 5:22 AM, julia kyawswaaun...@gmail.com wrote:

 Hello,

   I tried to use infinite view pager from this 
 linkhttps://github.com/antonyt/InfiniteViewPager.
 Is there anyone to know that how to get the current item from the infinite
 view pager? I have tried a lot of way.

 Thanks.
 julia

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Fwd: What is the proccess for updating ABS 4.2 to 4.3.1?

2013-06-10 Thread Παύλος-Πέτρος Τουρνάρης
-- Forwarded message --
From: Παύλος Τουρνάρης p.tourna...@gmail.com
Date: 10 June 2013 16:32
Subject: What is the proccess for updating ABS 4.2 to 4.3.1?
To: actionbarsherl...@googlegroups.com


Hello guys. In my main app i am using ABS 4.2 and now i checked the site
and i see 4.3.1 available. What steps should i follow to do a proper update
of it?

-- 
You received this message because you are subscribed to the Google Groups
ActionBarSherlock group.
To unsubscribe from this group and stop receiving emails from it, send an
email to actionbarsherlock+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Google Play Game Services - loadPlayerCenteredScores not behaving as expected

2013-05-30 Thread Παύλος-Πέτρος Τουρνάρης
I guess that by the time you are calling the leaderboard scores arent
loaded yet

onLeaderboardScoresLoadedhttps://developer.android.com/reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html#onLeaderboardScoresLoaded(int,
com.google.android.gms.games.leaderboard.LeaderboardBuffer,
com.google.android.gms.games.leaderboard.LeaderboardScoreBuffer)(int
statusCode, 
LeaderboardBufferhttps://developer.android.com/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html
 leaderboard, 
LeaderboardScoreBufferhttps://developer.android.com/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html
 scores)
Called when leaderboard scores have been loaded.

The leaderboard scores that were requested. This is guaranteed to be
non-null, though it may be empty. The listener must close this object when
finished.


On Thu, May 30, 2013 at 3:34 PM, Guillermo Andrades loko...@gmail.comwrote:

 Hi,

 I'm in the middle of the integration of GPGS on my game and I'm facing a
 problem.

 I have two scoreboards registered in the dashboard and I've sent some
 scores for one. I'm trying to get the scores for the current player in all
 the scoreboards.

 When calling the method 
 loadPlayerCenteredScoreshttp://developer.android.com/reference/com/google/android/gms/games/GamesClient.html#loadPlayerCenteredScores(com.google.android.gms.games.leaderboard.OnLeaderboardScoresLoadedListener,%20java.lang.String,%20int,%20int,%20int)
  it
 should give me the Leaderboard object (in the LeaderboardBuffer) and one
 LeaderboardScore object (in the LeaderboardScoreBuffer) but the
 LeaderboardScoreBuffer is empty instead. Code:

 gamesHelper.getGamesClient().loadPlayerCenteredScores(new
 OnLeaderboardScoresLoadedListener() {
  @Override
 public void onLeaderboardScoresLoaded(int arg0, LeaderboardBuffer arg1,
 LeaderboardScoreBuffer arg2) {
  System.out.println(Count1:  + arg1.getCount());
 System.out.println(Count2:  + arg2.getCount());
  for(LeaderboardScore jarl : arg2){
 System.out.println(This is never shown);
  }
 }
 }, localScore.id, LeaderboardVariant.TIME_SPAN_ALL_TIME,
 LeaderboardVariant.COLLECTION_PUBLIC, 1);


  The result:

 Count1: 1
 Count2: 0


  If I try to retrieve the data using the variants 
 (getVariants()http://developer.android.com/reference/com/google/android/gms/games/leaderboard/Leaderboard.html#getVariants())
 it works OK and I can retrieve the score for the current player. Code:

 Leaderboard serverScore = ...
 ArrayListLeaderboardVariant scoresVariant = serverScore.getVariants();
 for(LeaderboardVariant scoreVariant : scoresVariant){
 if(scoreVariant.getCollection() == LeaderboardVariant.COLLECTION_PUBLIC 
 scoreVariant.getTimeSpan() == LeaderboardVariant.TIME_SPAN_ALL_TIME){
  System.out.println(Score:  + scoreVariant.getRawPlayerScore());
 }
 }


 Is there anything that I'm doing wrong?

 Greetings

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Google Play Game Services - loadPlayerCenteredScores not behaving as expected

2013-05-30 Thread Παύλος-Πέτρος Τουρνάρης
Havent tried my way with GPGS yet, i will do it in Summer after exams so i
am sorry that i can't answer you!



On Fri, May 31, 2013 at 12:53 AM, Guillermo Andrades loko...@gmail.comwrote:

 So how can I get the info in a reliable way?


 On Thursday, May 30, 2013 2:55:28 PM UTC+2, Paul-Peter Tournaris wrote:


 I guess that by the time you are calling the leaderboard scores arent
 loaded yet

 onLeaderboardScoresLoadedhttps://developer.android.com/reference/com/google/android/gms/games/leaderboard/OnLeaderboardScoresLoadedListener.html#onLeaderboardScoresLoaded(int,+com.google.android.gms.games.leaderboard.LeaderboardBuffer,+com.google.android.gms.games.leaderboard.LeaderboardScoreBuffer)(int
 statusCode, 
 LeaderboardBufferhttps://developer.android.com/reference/com/google/android/gms/games/leaderboard/LeaderboardBuffer.html
  **leaderboard, 
 LeaderboardScoreB**ufferhttps://developer.android.com/reference/com/google/android/gms/games/leaderboard/LeaderboardScoreBuffer.html
  scores)
 Called when leaderboard scores have been loaded.

 The leaderboard scores that were requested. This is guaranteed to be
 non-null, though it may be empty. The listener must close this object when
 finished.


 On Thu, May 30, 2013 at 3:34 PM, Guillermo Andrades lok...@gmail.comwrote:

  Hi,

 I'm in the middle of the integration of GPGS on my game and I'm facing a
 problem.

 I have two scoreboards registered in the dashboard and I've sent some
 scores for one. I'm trying to get the scores for the current player in all
 the scoreboards.

 When calling the method 
 loadPlayerCenteredScore**shttp://developer.android.com/reference/com/google/android/gms/games/GamesClient.html#loadPlayerCenteredScores(com.google.android.gms.games.leaderboard.OnLeaderboardScoresLoadedListener,%20java.lang.String,%20int,%20int,%20int)
  it
 should give me the Leaderboard object (in the LeaderboardBuffer) and one
 LeaderboardScore object (in the LeaderboardScoreBuffer) but the
 LeaderboardScoreBuffer is empty instead. Code:

 gamesHelper.getGamesClient().**loadPlayerCenteredScores(new
 OnLeaderboardScoresLoadedListe**ner() {
  @Override
 public void onLeaderboardScoresLoaded(int arg0, LeaderboardBuffer arg1,
 LeaderboardScoreBuffer arg2) {
  System.out.println(Count1:  + arg1.getCount());
 System.out.println(Count2:  + arg2.getCount());
  for(LeaderboardScore jarl : arg2){
 System.out.println(This is never shown);
  }
 }
 }, localScore.id, LeaderboardVariant.TIME_SPAN_**ALL_TIME,
 LeaderboardVariant.COLLECTION_**PUBLIC, 1);


  The result:

 Count1: 1
 Count2: 0


  If I try to retrieve the data using the variants 
 (getVariants()http://developer.android.com/reference/com/google/android/gms/games/leaderboard/Leaderboard.html#getVariants())
 it works OK and I can retrieve the score for the current player. Code:

 Leaderboard serverScore = ...
 ArrayListLeaderboardVariant scoresVariant = serverScore.getVariants();
 for(LeaderboardVariant scoreVariant : scoresVariant){
 if(scoreVariant.getCollection(**) == LeaderboardVariant.COLLECTION_**PUBLIC
  scoreVariant.getTimeSpan() == LeaderboardVariant.TIME_SPAN_**
 ALL_TIME){
  System.out.println(Score:  + scoreVariant.**getRawPlayerScore());
 }
 }


 Is there anything that I'm doing wrong?

 Greetings

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**googlegroups.com

 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+**unsubscr...@googlegroups.com.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .






 --
 *Παύλος-Πέτρος Τουρνάρης*
 *Android   Software Developer*

- *http://goo.gl/TsJ8u*
- *http://acschedule.org*

   --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org

Re: [android-developers] App for college website

2013-05-22 Thread Παύλος-Πέτρος Τουρνάρης
What do you want your app to do exactly?



On Wed, May 22, 2013 at 10:19 PM, TreKing treking...@gmail.com wrote:


 On Wed, May 22, 2013 at 9:34 AM, Vignesh pandian 
 thekoolvic...@gmail.comwrote:

 i donno where to start


 http://developer.android.com/training/index.html


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Error installing Android Studio Preview version

2013-05-16 Thread Παύλος-Πέτρος Τουρνάρης
Basically it's the bat configuration that they use on Android Studio. If
you check it (inside the bin folder of Android Studio) you will see where
it checks for JDKs and you will be able to solve the problem!


On Fri, May 17, 2013 at 3:56 AM, jtoolsdev brianjto...@gmail.com wrote:

 So what might break if the Java configuration is changed?  Changing Java
 configurations is not something that developers do everyday.  There
 probably needs to be more complete instructions.  Eclipse works fine with
 my current configuration.  I may wait on Studio until I see what problems
 and solutions others have.


 On Thursday, May 16, 2013 12:50:29 PM UTC-7, Matt Kevins wrote:

 I am following the instructions for installing Android Studio Preview on
 Linux. I am running Ubuntu 12.10 64 bit. This is the specific message I got:

 'tools.jar' is not in the Android Studio classpath.
 Please ensure JAVA_HOME points to JDK rather than JRE.


 I then tried:

 export JAVA_HOME=/usr/lib/jvm/**default-java


 based on advice on askubuntu.com, to no avail. Does anyone know what the
 issue might be, or how I can go resolving this? I would really like to try
 out Android Studio, since it looks really cool based on the presentation
 during the IO keynote.

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: How to add a footer to each list item dynamically?

2013-05-04 Thread Παύλος-Πέτρος Τουρνάρης
Create a custom ListView adapter and attach a second listview on every
item, where the last one should be the footer



On Sat, May 4, 2013 at 2:00 PM, Vishal Pawale vishalpawale...@gmail.comwrote:

 You can create one listview per Item  add it to UI.

 eg.

 Create listView for Item1, then add that listview to UI. Immediately after
 this listview add More Items... button.
 Now for Item2, create listView, append More Items.. button then add it
 to UI.

 Iterate over all the Items, create listview, append More Items... button
 and finally add it UI.
 You can do this process in loop.


 Other way can be append More Items... as a listItem in item list.
 Like append More Items... as a listItem after Item1 list.
 And in onItemClickListener detect whether clicked item is More Item...
 or not.

 On Friday, April 19, 2013 11:41:37 PM UTC+5:30, robhic wrote:

 Hello, I need help with the following, I need to do something like this:

 https://lh3.googleusercontent.com/-VnI5tq7Q-dg/UXGHwpfHMeI/AAs/j3IrUfMfWbg/s1600/app1.PNG
 achieved do everything but I lack the foot (More items...) per item,
 which when selected, to obtain the other items:


 https://lh4.googleusercontent.com/-pQ0bIL3rh3Q/UXGIDwUTStI/AA0/jl7RyCMwhP0/s1600/app2.PNG

 I failed to do, and I wonder if someone can help me with this, please...

 Regards, Robert


  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: SQLite Frustration

2013-05-01 Thread Παύλος-Πέτρος Τουρνάρης
-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: How to offer new app to existing user base?

2013-04-17 Thread Παύλος-Πέτρος Τουρνάρης
You could add a changelog in the existing app and suggest them to download
your new app!


On Wed, Apr 17, 2013 at 10:57 AM, dnk dnkou...@gmail.com wrote:

 Not as far as I know of. Your best bet is update the old app and point
 them to the new one.


 On Tuesday, April 16, 2013 9:25:15 PM UTC-7, Jungle Jim wrote:

 I have written a new app that I want to publish this week.

 I have a number of existing users who have active installs of another
 app. The new app is likely to be of interest to them, but I don't want to
 make it an upgrade to the existing app.

 Is there some facility in Google Play to enables me to offer the new app
 to my existing user base?

 Thanks.

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Παύλος-Πέτρος Τουρνάρης*
*Android   Software Developer*

   - *http://goo.gl/TsJ8u*
   - *http://acschedule.org*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Action Bar TAB Context Menu

2013-02-24 Thread Παύλος-Πέτρος Τουρνάρης
I dont think that you can achieve something like this!



On Sat, Feb 23, 2013 at 11:18 PM, Jim Duda j...@duda.tzo.com wrote:

 I have the Action Bar working properly with a Tab Listener and multiple
 tabs as described in the API Demos package.
 This piece is working well.

 I would like to add a Context Menu (long click listener) to the Action BAR
 Tab button itself.  I know how to add the longClickListener to the
 ListFragment attached to the tab.  I want a Context listener on the TAB
 button itself to update the list or delete the TAB, etc.

 I don't understand how to get the View assigned to the TAB Button itself.

 The API allows me to set a custom view to the TAB button.
  ActionBar.Tab.setCustomView( ).  This might work.  To use setCustomView I
 assume I would clone the view definition for the TAB button and assign an
 ID to it.  I don't understand where to find the TAB view to clone.

 Might the ActionBar.Tab button have an android.id I might use?  If so,
 where do I find what that ID might be?

 Thanks for any help/pointers you can offer.

 Regards,

 Jim


 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] login screen

2013-02-20 Thread Παύλος-Πέτρος Τουρνάρης
Trim those edittexts and use userName.equals(userName1) for Strings!


On Sun, Feb 3, 2013 at 10:20 PM, broc.hask...@us.army.mil wrote:

 I am trying to create a login screen for your basic hello world program. I
 do not need a database for this so I hard coded the username and password
 directly into the code. The problem I am having is when I enter the correct
 username and password, I get my error message stating that either one is
 wrong. Here is the code I have, any help would be greatly appreciated.

 public void welcomeScreen(View view){
 String userName1 = student;
 String password1 = school;
 Intent intent = new Intent(this, WelcomeScreen.class);
 EditText editText1 = (EditText) findViewById(R.id.editText1);
 String userName = editText1.getText().toString();

 EditText editText2 = (EditText) findViewById(R.id.editText2);
 String password = editText2.getText().toString();

 if(userName != userName1 || password != password1){
 Context context = getApplicationContext();
 CharSequence text = Incorrect Username or Password!;
 int duration = Toast.LENGTH_SHORT;

 Toast toast = Toast.makeText(context, text, duration);
 toast.show();
 }

 else startActivity(intent);
 }

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Is Android OS supports RLE (Run Length Encoding) compression and decompression?

2013-02-20 Thread Παύλος-Πέτρος Τουρνάρης
http://www.oocities.org/morris_hirsch/java/RLE.java

http://www.oocities.org/morris_hirsch/java/compression.html




On Thu, Feb 21, 2013 at 8:36 AM, Mars P marugene...@gmail.com wrote:

 I am developing Android application for my embedded project. In that my
 android application receiving Data packet which contains JPEG image + 150
 characters from the input stream (from TCP Socket). Is it possible to
 receive and decompress the RLE format images from the input stream.

 And is there any specified classes for RLE in android or RLE algorithms
 for Java.

 Thanks in advance... :)

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Ratings Reviews SDK???

2013-02-14 Thread Παύλος-Πέτρος Τουρνάρης
I have already done this in my app but keeping it hidden from users cause
the server side is not yet ready! Looking forward to your server side code
if you are gonna open source it!



On Thu, Feb 14, 2013 at 11:08 PM, pawpaw17 georgefraz...@yahoo.com wrote:

 I want to implement ratings  reviews in my app, and I'm about to write
 some server side code to do it. Does anyone know of a decent
 ratings/reviews SDK that is restful and appropriate for use in a native
 app? Just wondered if anyone else is in this boat?

 Would love to hear from anyone on this topic.

 Best!

 pawpaw17

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: how to check value of edittext input in gridview

2013-02-08 Thread Παύλος-Πέτρος Τουρνάρης
What do you mean by validate?



On Sat, Feb 9, 2013 at 2:16 AM, Lew lewbl...@gmail.com wrote:

 Prabu Siabuabu wrote:

 hallo android [sic] developers! i want to ask how to check the value of
 edittext [sic] input in gridview[sic]? ok, let me explain a lil bit about
 the context. i have a gridview layout and have some images in there, then
 when i click each of them, the alert pop up with the edittext on alert.
 then i should to input the name of the images, when i input the name of the
 first image, it works to validate. but, when i input the second image's
 name, it failed. so, how i can achieve to validate the input the second and
 so on of the image's name? thanks in advance.


 Instead of talking about code, show us code.
 http://sscce.org/

 Your error is in the part of the code you did not show us.

 Your English is sufficient, but you are misspelling Java types, and that
 means your Java is bad.

 --
 Lew


 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] How to lock android phone with pin from code??? (screen lock)

2013-02-01 Thread Παύλος-Πέτρος Τουρνάρης
http://stackoverflow.com/questions/5167958/lock-the-screen-programmatically-on-android

check it!


On Fri, Feb 1, 2013 at 12:02 PM, Remo crajesh2...@gmail.com wrote:

 Hi Everyone,

 How to do screen lock with PIN number from code???

 Can anyone help me. Thx on advance

 Thanks,
 Remo

 --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Add TextViews to Widget Dynamically

2013-01-14 Thread Παύλος-Πέτρος Τουρνάρης
Hello guys! I decided to make a widget for my application but i got stucked
in something!

I want to add  multiple textviews on the widget based on the size of an
arrayList, but after searching Google and StackOverflow i finally found out
that this isn't possible.

Although i tried a lot of workarounds nothing seemed to work!

So i want to ask you for your help! Is it possible to do so even with
predefined xml files and how to do so?

Thanks in advance for your help!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Add TextViews to Widget Dynamically

2013-01-14 Thread Παύλος-Πέτρος Τουρνάρης
Anyone?


On Mon, Jan 14, 2013 at 9:34 PM, Παύλος-Πέτρος Τουρνάρης 
p.tourna...@gmail.com wrote:

 Hello guys! I decided to make a widget for my application but i got
 stucked in something!

 I want to add  multiple textviews on the widget based on the size of an
 arrayList, but after searching Google and StackOverflow i finally found out
 that this isn't possible.

 Although i tried a lot of workarounds nothing seemed to work!

 So i want to ask you for your help! Is it possible to do so even with
 predefined xml files and how to do so?

 Thanks in advance for your help!




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to identify be setText Button with String Name from string.xml

2012-12-05 Thread Παύλος-Πέτρος Τουρνάρης
The String with the name btnButton is accessible through
R.string.btnButton, for example: String myButtonText =
getApplicationContext().getString(R.string.btnButton);

The  Button component is accessible through R.id.btnButton, for example:
Button myButton = (Button) findViewById(R.id.btnButton);


On Wed, Dec 5, 2012 at 6:24 AM, Tai Pham phv...@gmail.com wrote:

 I declare in string.xml file string name=btnButton Button / string
 and a setText Button = @ string / btnButton
 Now in the code, I want to know which button was setText, how to determine
 is btnButton?
 Please get help.
 Thanks!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] PlusOneButton activity result

2012-12-05 Thread Παύλος-Πέτρος Τουρνάρης
Where are these things you are talking about?
And what exactly do you want to do?


On Wed, Dec 5, 2012 at 1:09 PM, A.F. trik...@gmail.com wrote:

 When user click on a PlusOneButton it starts a new activity for result.

 +1 is actually saved, but button still display a rotating progressbar
 forever.

 1) What result is used for? I guess to do a custom action on +1 action by
 user
 2) How can I refresh plusonebuttons status?

 I can't find any documentation about it...

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] hi friends

2012-12-05 Thread Παύλος-Πέτρος Τουρνάρης
Maybe setPaintFlags to null...
Στις 5 Δεκ 2012 2:02 μ.μ., ο χρήστης sree android 
android.sreeni...@gmail.com έγραψε:

  TextView tv=(TextView) v.findViewById(android.R.id.text1);

 tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);

 using the above line of code we can strike the text,but how can i remove the 
 strike on the text.like reverse of above.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I pass an ArrayList SherlockFragment type between SherlockFragment's?

2012-12-04 Thread Παύλος-Πέτρος Τουρνάρης
Make the ArrayList public and static or use an Intent if you are about to
start a new activity and send the ArrayList to it!


On Wed, Dec 5, 2012 at 3:40 AM, Guilherme Bernardi gui.bernard...@gmail.com
 wrote:

 Hi

 Some days ago, I'm post here about a problem to control Tabs at the
 SherlockActivityFragment.
 Because I have 3 Tab (SherlockFragment) inside an SherlockActivityFragment
 and all of them made one object, and I need to have the control about the 3
 tabs and doesn't lose the data and change or replace the tabs.
 Well anyway I solved this problem with a Adapter and
 ArrayListSherlockFragment, but now my Tab's(2 and 3) use the same kind of
 data.

 And how can I pass this ArrayList to another SherlockActivityFragment when
 I change the tab?

 Thanks in advance.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: When can every developer reply to reviews?

2012-12-04 Thread Παύλος-Πέτρος Τουρνάρης
Hahahahaha nice bullet list up there! Well i don't have this feature yet,
but i think i really need because of the kind of my Apps, i need to reply,
let's say immediately,  to users!



On Wed, Dec 5, 2012 at 2:27 AM, Keith Wiley kbwi...@gmail.com wrote:

 On Tuesday, December 4, 2012 4:07:47 PM UTC-8, TreKing wrote:

 On Tue, Dec 4, 2012 at 4:51 PM, Keith Wiley kbw...@gmail.com wrote:

 Hmm ... it might be better for my business if I don't get this feature ...
 :D


 Don't respond to comments:

- Within an hour of first noticing them.
- When you're rushed for time.
- Late at night.
- Buzzed/drunk.
- After fighting with your wife about the dish washer and your cat
scratched up one of the good chairs and your mother-in-law called to say
she'll be dropping in the next day and your boss gave you hard time and
your check engine light just turned on.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] findViewById() problem

2012-12-03 Thread Παύλος-Πέτρος Τουρνάρης
Can you please post the code and the xml for the TextView you mentioned?



On Mon, Dec 3, 2012 at 4:53 PM, dashman erjdri...@gmail.com wrote:


 I've got a findViewById(id) returning a TextView from the current layout -

 My app works fine under platform 11 emulator.

 But under platform 15 emulator, the same code returns
 a null.

 What could the problem be?

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Connection of Androids via Bluetooth

2012-12-03 Thread Παύλος-Πέτρος Τουρνάρης
http://developer.android.com/guide/topics/connectivity/bluetooth.html


On Mon, Dec 3, 2012 at 5:13 PM, Ivoney Borges ivoneybor...@gmail.comwrote:

 How can I do the connection of Androids via Bluetooth using java? Can
 Someone help-me?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: When can every developer reply to reviews?

2012-12-02 Thread Παύλος-Πέτρος Τουρνάρης
What is the link to your blog TreKing?



On Sun, Dec 2, 2012 at 7:48 PM, TreKing treking...@gmail.com wrote:

 On Sun, Dec 2, 2012 at 11:39 AM, Kristopher Micinski 
 krismicin...@gmail.com wrote:

 I believe TreKing does exactly that on his blog?


 lol, I do. Completely unofficial of course, but rating users on a scale
 I make up quite satisfying. Nothing like giving a douchebag commenter a 0 /
 15 star rating. At least it was until this stupid change. I can't very well
 respond to A Google User, now can I. *shakes fist* I'm hoping the rest of
 us get this reply feature soon.



 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] sqllite database with data

2012-12-01 Thread Παύλος-Πέτρος Τουρνάρης
Either you will create a custom .slite db and add it to your assets and on
the first install you will copy it (programmatically) to a new SQLite
Database, or you will use web services and download the sqlite content only
once, or when the text is updated. It is pretty easy and fast.


On Sat, Dec 1, 2012 at 3:01 PM, Salih Gündüz gunduz.sa...@gmail.com wrote:

 Web service is a good solution.But I want user can read the text when they
 are offline. My apllication will show some text and user can search in this
 text.

 On Sat, Dec 1, 2012 at 2:11 PM, sree android 
 android.sreeni...@gmail.comwrote:

 will maintain server


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] sqllite database with data

2012-12-01 Thread Παύλος-Πέτρος Τουρνάρης
Mario check this out. String versionName = getPackageManager().
getPackageInfo(getPackageName(), 0).versionName;

You will programmatically check for the equality of this and an old one
that you have saved either using sharedpreferences or any other way you
would like.


On Sat, Dec 1, 2012 at 4:22 PM, Mário César Mancinelli de Araújo 
mandaproma...@gmail.com wrote:

 Something I forgot: there are two xml with the data for each language, of
 course. And, for now, it's only Portuguese and English.
 Em 01/12/2012 12:20, Mário César Mancinelli de Araújo 
 mandaproma...@gmail.com escreveu:

 I'm developping an app where I need it too. It's a basic quotes app, so it
 has two tables: quotes and authors.

 What I did: created two xml with the data and, when I create the
 database, I read the xml and populate it. Just simple.

 Now I have to discover some way to discover if the app was updated and,
 then, delete and recreate the database. ;-)

 Best regards.
 Em 01/12/2012 11:08, Salih Gündüz gunduz.sa...@gmail.com escreveu:

 Web service is a good solution.But I want user can read the text when
 they are offline. My apllication will show some text and user can search in
 this text.

 On Sat, Dec 1, 2012 at 2:11 PM, sree android 
 android.sreeni...@gmail.com wrote:

 will maintain server


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: When can every developer reply to reviews?

2012-12-01 Thread Παύλος-Πέτρος Τουρνάρης
Someone should make a blog post with all that faulty users' behaviour!!!



On Sat, Dec 1, 2012 at 11:02 PM, b0b pujos.mich...@gmail.com wrote:



 On Friday, 30 November 2012 18:17:52 UTC+1, TreKing wrote:

 On Fri, Nov 30, 2012 at 8:31 AM, Piren gpi...@gmail.com wrote:

 my personal favorites are the i want the app to have feature X, you get
 1 star until you add it... bastards lol


 Even better: feature X already exists.


 Classic that one.

 My favorite example is a random  user asking for a search function while
 the
 app have an in your face magnifying glass icon in every screen. WTF.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: When can every developer reply to reviews?

2012-11-30 Thread Παύλος-Πέτρος Τουρνάρης
Sometimes it is vital to answer at comments, because people will check the
reviews and might see the stupid comments mentioned above and decide not to
download it, which leads in less downloads and money lose in cases.


On Fri, Nov 30, 2012 at 12:05 PM, Techni neotec...@gmail.com wrote:

 Yup, that's exactly what I'm talking about. I had hoped switching to
 google plus accounts would help, but they haven't done that. They just hid
 the names making it even harder to contact them (sometimes you'd get lucky
 and the name/date would coincide with someone in the purchase history) now
 they have no reason at all to behave

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] herbew text

2012-11-30 Thread Παύλος-Πέτρος Τουρνάρης
Google is your friend! Try searching a bit before posting.

http://stackoverflow.com/questions/6302221/android-setting-problem-with-textview-for-hebrew-text

Check the above link for an answer at your problem.


On Fri, Nov 30, 2012 at 2:06 PM, Ratheesh Valamchuzhy
android...@gmail.comwrote:

 Dear all,

 In My app i need to show the herbew text in text view . it workimg in
 android OS 4 text view but not in the OS 2 textview . is any solution for
 solving this issue.please help

 i have use the vweb view intead of text view but it shows gibberish text
 in LG device please find any solution
 --
 --
 ωιтн яєgαя∂ѕ
 Ratheesh * *...


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Persistence 3 Tabs (TabNavigation) in action of ActionBar Sherlock.

2012-11-30 Thread Παύλος-Πέτρος Τουρνάρης
As for the state of the tabs i think you should use the saveInstanceState
method or something like this. It will most likely retain the data on it
while you are on the TabActivity.

Also make your variables public so that when you click the save button you
can access them and save them on the way you would like to save them.


On Fri, Nov 30, 2012 at 2:30 PM, Guilherme Bernardi 
gui.bernard...@gmail.com wrote:

 Hi

 I'm using the lastest ActionBar Sherlock version and I'm developing an
 application with layout with ActionBar and 3 Tabs for the navigation.

 These tabs will load two attribute classes:

 *1st Tab - (Dados): Class Cliente.*
 *2nd and 3rd Tabs - (Entrega, Cobrança): Class ClienteEndereco.*

 Could I start the whole save of three tabs by the action of Save on the
 actionBar?
 And Could I fill the 1st Tab for example and when I change to the 2nd Tab,
 the 1st doesn't lose the data?

 More information about the structure:

 I'd structured the tabs and activities this way:

 I have a SherlockFragmentActivity (*CadastroCliente*) where I implemented
 the ActionBar and the Menu with Save, Cancel (You can see at the print
 below).

 And I have three SherlockFragment for each Tab:

 *CadastroClienteDados*
 *CadastroClienteEntrega*
 *CadastroClienteCobranca*

 I've made the layout with 4 xm layout:

 One for the SherlockFragmentActivity with a FrameLayout inside that will
 be inflate.
 One for each SherlockFragment with components(EditText, CheckBox...)

 I'm working with a Persistence Class with a overridable method grava(),
 this method will be override on attribute classes to persist the objects in
 a SQLite databases.


 https://lh5.googleusercontent.com/-FdScOx8GzfY/ULieweRT2VI/Aiw/Du9SmKV7RE4/s1600/tabDados.png


 https://lh5.googleusercontent.com/-LUvbCEaMVCE/ULiezrViBMI/Ai4/0Xc-Xv9GkYA/s1600/tabEntrega.png


 https://lh3.googleusercontent.com/-akSpw289j1U/ULie3q_o9oI/AjA/YmImPD-HmZM/s1600/tabCobranca.png

 Thanks in advance.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: When can every developer reply to reviews?

2012-11-30 Thread Παύλος-Πέτρος Τουρνάρης
So true. And they stop checking for updates after that.
Στις 30 Νοε 2012 4:34 μ.μ., ο χρήστης Piren gpi...@gmail.com έγραψε:

 my personal favorites are the i want the app to have feature X, you get 1
 star until you add it... bastards lol



 On Friday, November 30, 2012 4:58:09 AM UTC-5, qkx wrote:

 Yeah, it's totally irritating - my app has fantastic review, but many
 idiots posted 1-star rating with comments like cant buy it in my country
 asshole or so. It's false, unobjective, and I have nothing to do with that
 - I would banned comments like this...Another slow thinking people post
 1-star rating like xyz function dont work after update even I wrote
 expicitely what to do when updating, and if they have problem I expicitely
 wrote in 2-3 places in description, that it's better to send mails so I can
 help them. I have even button in my app to send me mail with 1 click, but
 no - still writing stupid comments. Some people are just stupid :)

 Dňa piatok, 30. novembra 2012 10:44:51 UTC+1 b0b napísal(-a):



 On Friday, 30 November 2012 07:31:00 UTC+1, Techni wrote:

 I am getting some really STUPID comments and it's infuriating that I
 can do nothing about them



 Good question. I hope Developer comments will not stay in perpetual
 beta, with approved developers and second class developers.

 I also get a fair share of user comments that prompts a reply:

 - user making totally false and misleading claim (and I'm not talking
 about not agreeing with personal opinion of user here)
 - user making support request



  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] GCMBroadcast Receiver Enable/Disable

2012-11-30 Thread Παύλος-Πέτρος Τουρνάρης
Stopped working = stopped receiving notifications even though the GCM
Receiver was enabled.

I have to register the receiver class in the Manifest in order to work.


On Fri, Nov 30, 2012 at 7:58 PM, TreKing treking...@gmail.com wrote:

 On Wed, Nov 28, 2012 at 10:53 AM, Παύλος-Πέτρος Τουρνάρης 
 p.tourna...@gmail.com wrote:

 Although at first it worked like a charm, in the Preferences Screen, when
 i restarted the App it stopped working.


 You should clarify stopped working.


 Is there any appropriate way to enable/disable such a Receiver across the
 Application?


 Don't know a ton about Receivers, but maybe instead of registering it in
 the manifest, you enable it in code if your preference is set?


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] extend class and constructors

2012-11-29 Thread Παύλος-Πέτρος Τουρνάρης
No you don't need do. But if you want to call the base constructors you
just call super with the appropriate parameters.Also you can create new
constructors for your new class that extends the base one! For example!

public class base {
public base(){
   int i = 0;
}
}


public class newBase extends base {

public newBase(){
  super();//if you want to call the mother constructor
  int i=0;
}

}


On Thu, Nov 29, 2012 at 7:34 PM, Simon Giddings mr.s.giddi...@gmail.comwrote:

 This may seem a bit basic, but I come from a C++ background and it is
 confusing me a little.

 When I extend a base class, do I need to create a constructor for each
 base class constructor ?
 What I mean is this. Given :

 public class base
 {
 protected int m_iValue;

 public base()
 {
 m_iValue = 0;
 }

 public base(int iVal)
 {
 m_iValue = iVal;
 }
 }

 If I want to create a new class based on this base class, will I need to
 declare the two constructors again for them to be visible ?
 The following seems to hide the second constructor of the base class.

 public class Derived extends base
 {
 public Derived()
 {
 super();
 }
 }

 What is the correct way to do this ?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] GCMBroadcast Receiver Enable/Disable

2012-11-29 Thread Παύλος-Πέτρος Τουρνάρης
/BUMP

Anyone Please???


On Wed, Nov 28, 2012 at 7:53 PM, Paul-Peter Tournaris p.tourna...@gmail.com
 wrote:

 Hello guys. In my application i have a gcmbroadcast receiver registered,
 so that i can receive PushNotifications.

 It is the Basic GCMReceiver Class provided by Google and i have an element
 receiver in my Manifest for it.

 I added a CheckBox in my Preferences Screen in order to enable/disable it
 but i had issues with it. The behaviour i want is to enable and disable the
 Receiver based on the value of the CheckBox.

 So when the App starts i added a new method to check the value and trigger
 it as needed using the ComponentName object and its methods.

 Although at first it worked like a charm, in the Preferences Screen, when
 i restarted the App it stopped working.

 Is there any appropriate way to enable/disable such a Receiver across the
 Application?

 Thank you in advance.

 receiver android:name=com.**google.android.gcm.**GCMBroadcastReceiver
  android:**permission=com.google.**android.c2dm.permission.SEND **
 android:enabled=true

 Receivers registration inside Manifest.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Top Developer?

2012-11-29 Thread Παύλος-Πέτρος Τουρνάρης
How do you request it ?


On Thu, Nov 29, 2012 at 8:46 PM, Piren gpi...@gmail.com wrote:

 google now allows you to do that without being a top developer, you need
 to request it.


 On Thursday, November 29, 2012 11:59:14 AM UTC-5, John Coryat wrote:

 Can you reply to comments now? (you do this in the developer console)

 -John Coryat

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Kudos to ADT package developers

2012-11-28 Thread Παύλος-Πέτρος Τουρνάρης
I had the exact same experience and i was so happy too, to find that budle.
Also made the Eclipse response faster and the emulator run more smooth, in
my opinion.

Congratulations guys. You did it once again.

P.S.: The only thing that's missing from Eclipse at the moment is a NICE
GUI Designer!


On Wed, Nov 28, 2012 at 3:00 PM, Doug Gordon gordo...@gmail.com wrote:

 Having just bought a new PC, I wasn't particularly looking forward to
 installing my Eclipse/Android development environment yet once again and
 could only hope to find my old notes on what to install, what settings to
  make, etc. So I was pleasantly surprised to find that this has been
 packaged into a single download that almost instantly gets me back to being
 productive. I think the only thing I needed to do was to tell it where the
 SDK was and download some earlier platforms.

 So thanks to whoever it was that did this work -- greatly appreciated!

 Doug Gordon
 GHCS Software

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-developers@**googlegroups.comandroid-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Παύλος-Πέτρος Τουρνάρης
http://developer.android.com/sdk/index.html

Where it says Download Android SDK - ADT Bundle for Windows!!


On Wed, Nov 28, 2012 at 6:08 PM, bob b...@coolfone.comze.com wrote:

 Where is this single download you speak of?

 On Wednesday, November 28, 2012 7:00:45 AM UTC-6, Doug Gordon wrote:

 Having just bought a new PC, I wasn't particularly looking forward to
 installing my Eclipse/Android development environment yet once again and
 could only hope to find my old notes on what to install, what settings
 to  make, etc. So I was pleasantly surprised to find that this has been
 packaged into a single download that almost instantly gets me back to
 being productive. I think the only thing I needed to do was to tell it
 where the SDK was and download some earlier platforms.

 So thanks to whoever it was that did this work -- greatly appreciated!

 Doug Gordon
 GHCS Software

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Παύλος-Πέτρος Τουρνάρης
Below it there is for Linux and Mac too!



On Wed, Nov 28, 2012 at 6:36 PM, Παύλος-Πέτρος Τουρνάρης 
p.tourna...@gmail.com wrote:

 http://developer.android.com/sdk/index.html

 Where it says Download Android SDK - ADT Bundle for Windows!!


 On Wed, Nov 28, 2012 at 6:08 PM, bob b...@coolfone.comze.com wrote:

 Where is this single download you speak of?

 On Wednesday, November 28, 2012 7:00:45 AM UTC-6, Doug Gordon wrote:

 Having just bought a new PC, I wasn't particularly looking forward to
 installing my Eclipse/Android development environment yet once again and
 could only hope to find my old notes on what to install, what settings
 to  make, etc. So I was pleasantly surprised to find that this has been
 packaged into a single download that almost instantly gets me back to
 being productive. I think the only thing I needed to do was to tell it
 where the SDK was and download some earlier platforms.

 So thanks to whoever it was that did this work -- greatly appreciated!

 Doug Gordon
 GHCS Software

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] GCMBroadcast Receiver Enable/Disable

2012-11-28 Thread Παύλος-Πέτρος Τουρνάρης
Hello guys. In my application i have a gcmbroadcast receiver registered, so
that i can receive PushNotifications.

It is the Basic GCMReceiver Class provided by Google and i have an element
receiver in my Manifest for it.

I added a CheckBox in my Preferences Screen in order to enable/disable it
but i had issues with it. The behaviour i want is to enable and disable the
Receiver based on the value of the CheckBox.

So when the App starts i added a new method to check the value and trigger
it as needed using the ComponentName object and its methods.

Although at first it worked like a charm, in the Preferences Screen, when i
restarted the App it stopped working.

Is there any appropriate way to enable/disable such a Receiver across the
Application?

Thank you in advance.

receiver android:name=com.google.android.gcm.GCMBroadcastReceiver
android:permission=com.google.android.c2dm.permission.SEND android:enabled
=true

Receivers registration inside Manifest.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Παύλος-Πέτρος Τουρνάρης
The AutoCompletion is up to you to make it better or up to the Eclipse guys?


On Thu, Nov 29, 2012 at 12:42 AM, Tor Norbye tnor...@google.com wrote:

 You don't need to install the ADT bundle; we also continue to distribute
 the plugins so you can add them to your existing IDEs. The goal for the
 bundle is to make first time setup much simpler; in addition to the IDE
 with the plugins preconfigured, it also bundled the SDK tools, and finally
 makes the IDE aware of where to find the SDK tools such that everything
 works without any complicated setup.

 -- Tor


 On Wed, Nov 28, 2012 at 2:07 PM, Piren gpi...@gmail.com wrote:

 My only issue with such a bundle is that it means that i have multiple
 instances of Eclipse on my computer, each of them needs to be configured
 from 0 to match my preferred style... the Android bundle, Motodev,
 SpringSource, JBOSS Studio and the list goes on...


 On Wednesday, November 28, 2012 8:00:45 AM UTC-5, Doug Gordon wrote:

 Having just bought a new PC, I wasn't particularly looking forward to
 installing my Eclipse/Android development environment yet once again and
 could only hope to find my old notes on what to install, what settings
 to  make, etc. So I was pleasantly surprised to find that this has been
 packaged into a single download that almost instantly gets me back to
 being productive. I think the only thing I needed to do was to tell it
 where the SDK was and download some earlier platforms.

 So thanks to whoever it was that did this work -- greatly appreciated!

 Doug Gordon
 GHCS Software

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Kudos to ADT package developers

2012-11-28 Thread Παύλος-Πέτρος Τουρνάρης
In Java!



On Thu, Nov 29, 2012 at 1:01 AM, Tor Norbye tnor...@google.com wrote:

 Autocompletion in Java or in XML?


 On Wed, Nov 28, 2012 at 2:51 PM, Παύλος-Πέτρος Τουρνάρης 
 p.tourna...@gmail.com wrote:

 The AutoCompletion is up to you to make it better or up to the Eclipse
 guys?


 On Thu, Nov 29, 2012 at 12:42 AM, Tor Norbye tnor...@google.com wrote:

 You don't need to install the ADT bundle; we also continue to distribute
 the plugins so you can add them to your existing IDEs. The goal for the
 bundle is to make first time setup much simpler; in addition to the IDE
 with the plugins preconfigured, it also bundled the SDK tools, and finally
 makes the IDE aware of where to find the SDK tools such that everything
 works without any complicated setup.

 -- Tor


 On Wed, Nov 28, 2012 at 2:07 PM, Piren gpi...@gmail.com wrote:

 My only issue with such a bundle is that it means that i have multiple
 instances of Eclipse on my computer, each of them needs to be configured
 from 0 to match my preferred style... the Android bundle, Motodev,
 SpringSource, JBOSS Studio and the list goes on...


 On Wednesday, November 28, 2012 8:00:45 AM UTC-5, Doug Gordon wrote:

 Having just bought a new PC, I wasn't particularly looking forward to
 installing my Eclipse/Android development environment yet once again
 and
 could only hope to find my old notes on what to install, what settings
 to  make, etc. So I was pleasantly surprised to find that this has
 been
 packaged into a single download that almost instantly gets me back to
 being productive. I think the only thing I needed to do was to tell it
 where the SDK was and download some earlier platforms.

 So thanks to whoever it was that did this work -- greatly appreciated!

 Doug Gordon
 GHCS Software

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Auto refresh data from webserver to activity

2012-11-23 Thread Παύλος-Πέτρος Τουρνάρης
You should try to use an AlarmManager isntead and create a Broadcast
Receiver to update the data when the Alarm is fired!


On Fri, Nov 23, 2012 at 1:36 PM, Antonis Kanaris ant...@in.gr wrote:



 ok i look it betterthanks

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Auto refresh data from webserver to activity

2012-11-23 Thread Παύλος-Πέτρος Τουρνάρης
Search the Google there are a lot of tutorials for it even in the official
Google Developers site!


On Fri, Nov 23, 2012 at 2:51 PM, Antonis Kanaris ant...@in.gr wrote:



 Τη Παρασκευή, 23 Νοεμβρίου 2012 2:06:11 μ.μ. UTC+2, ο χρήστης Paul-Peter
 Tournaris έγραψε:

 You should try to use an AlarmManager isntead and create a Broadcast
 Receiver to update the data when the Alarm is fired




  Please send me a link with a good tutorial for convert my code with
 AlarmManager?

   Paul-Peter Tournaris your email?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Get data from the web on android with AsyncTask....

2012-11-21 Thread Παύλος-Πέτρος Τουρνάρης
Καλησπέρα Αντώνη :P !!!

private class RetrieveJsonInfo extends AsyncTaskString, Void, Object {

public String finalContent;
@Override
protected Boolean doInBackground(String... params) {
 }

public void getInfo() {
StringBuilder builder = new StringBuilder();
HttpParams httpParameters = new BasicHttpParams();
int timeoutConnection = 2000;
HttpConnectionParams.setConnectionTimeout(httpParameters,
timeoutConnection);
HttpClient client = new DefaultHttpClient(httpParameters);
HttpGet httpGet = new HttpGet(http://schedule.aueb.gr/mobile/index.php;);
try {
HttpResponse response = client.execute(httpGet);
StatusLine statusLine = response.getStatusLine();
int statusCode = statusLine.getStatusCode();
if (statusCode == 200) { // success!
HttpEntity entity = response.getEntity();
InputStream content = entity.getContent();
BufferedReader reader = new BufferedReader(
new InputStreamReader(content));
String line;
while ((line = reader.readLine()) != null) {
builder.append(line);
}
 finalContent = builder.toString();
} else {
Log.i(error, Failed to download file);
}
} catch (ClientProtocolException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} catch (JSONException e) {
e.printStackTrace();
}

}
 }

Try using this code inside your Activity. The finalContent will be the
content of your file!


On Wed, Nov 21, 2012 at 2:31 PM, Antonis Kanaris ant...@in.gr wrote:


  Hello.I am new developer and i want a good simple and analytical
 example for get data from my website.net/ledstate.txt
  with AsyncTaski try without asynctask and no workthis
 code...with permissions internet

 public class GetDataWeb extends Activity {

 @Override
 public void onCreate(Bundle savedInstanceState) {

 try{

 super.onCreate(savedInstanceState);
 setContentView(R.layout.activity_get_data_web);

 TextView t = (TextView)findViewById(R.id.netResult);

 try{

 HttpClient httpclient = new DefaultHttpClient();

 HttpPost httppost = new HttpPost(
 http://www.power7.net/LEDstate.txt;);

 HttpResponse response = httpclient.execute(httppost);

 HttpEntity entity = response.getEntity();

 InputStream webs = entity.getContent();

   try{

   BufferedReader reader = new BufferedReader(new
 InputStreamReader(webs,iso 8859-1),8);

   t.setText(reader.readLine());

   webs.close();

   }catch(Exception e){
   Log.e(log_tag,Error converting result+e.toString());

   }

 }catch(Exception e){
 Log.e(log_tag,Error in http connection+e.toString());
 }

 }catch(Exception e){
 Log.e(ERROR,ERROR IN CODE: +e.toString());
 e.printStackTrace();
 }

 Thanks.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Get data from the web on android with AsyncTask....

2012-11-21 Thread Παύλος-Πέτρος Τουρνάρης
You will have to change the url to your personal url!


On Wed, Nov 21, 2012 at 2:41 PM, Παύλος-Πέτρος Τουρνάρης 
p.tourna...@gmail.com wrote:

 Καλησπέρα Αντώνη :P !!!

 private class RetrieveJsonInfo extends AsyncTaskString, Void, Object {

 public String finalContent;
  @Override
 protected Boolean doInBackground(String... params) {
  }

 public void getInfo() {
 StringBuilder builder = new StringBuilder();
  HttpParams httpParameters = new BasicHttpParams();
 int timeoutConnection = 2000;
 HttpConnectionParams.setConnectionTimeout(httpParameters,
 timeoutConnection);
  HttpClient client = new DefaultHttpClient(httpParameters);
 HttpGet httpGet = new HttpGet(http://schedule.aueb.gr/mobile/index.php;);
  try {
 HttpResponse response = client.execute(httpGet);
 StatusLine statusLine = response.getStatusLine();
  int statusCode = statusLine.getStatusCode();
 if (statusCode == 200) { // success!
 HttpEntity entity = response.getEntity();
  InputStream content = entity.getContent();
 BufferedReader reader = new BufferedReader(
 new InputStreamReader(content));
  String line;
 while ((line = reader.readLine()) != null) {
 builder.append(line);
  }
  finalContent = builder.toString();
  } else {
 Log.i(error, Failed to download file);
 }
  } catch (ClientProtocolException e) {
 e.printStackTrace();
 } catch (IOException e) {
  e.printStackTrace();
 } catch (JSONException e) {
 e.printStackTrace();
  }

 }
  }

 Try using this code inside your Activity. The finalContent will be the
 content of your file!


 On Wed, Nov 21, 2012 at 2:31 PM, Antonis Kanaris ant...@in.gr wrote:


  Hello.I am new developer and i want a good simple and analytical
 example for get data from my website.net/ledstate.txt
  with AsyncTaski try without asynctask and no workthis
 code...with permissions internet

 public class GetDataWeb extends Activity {

 @Override
 public void onCreate(Bundle savedInstanceState) {

 try{

 super.onCreate(savedInstanceState);
 setContentView(R.layout.activity_get_data_web);

 TextView t = (TextView)findViewById(R.id.netResult);

 try{

 HttpClient httpclient = new DefaultHttpClient();

 HttpPost httppost = new HttpPost(
 http://www.power7.net/LEDstate.txt;);

 HttpResponse response = httpclient.execute(httppost);

 HttpEntity entity = response.getEntity();

 InputStream webs = entity.getContent();

   try{

   BufferedReader reader = new BufferedReader(new
 InputStreamReader(webs,iso 8859-1),8);

   t.setText(reader.readLine());

   webs.close();

   }catch(Exception e){
   Log.e(log_tag,Error converting result+e.toString());

   }

 }catch(Exception e){
 Log.e(log_tag,Error in http connection+e.toString());
 }

 }catch(Exception e){
 Log.e(ERROR,ERROR IN CODE: +e.toString());
 e.printStackTrace();
 }

 Thanks.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Get data from the web on android with AsyncTask

2012-11-21 Thread Παύλος-Πέτρος Τουρνάρης
i already answered you on the other one!



On Wed, Nov 21, 2012 at 2:45 PM, Antonis Kanaris ant...@in.gr wrote:

 I am new developer and i want a good simple and analytical example for get
 data from my website.net/ledstate.txt with AsyncTaski try without
 asynctask and no workthis code...with permissions internet



  public class GetDataWeb extends Activity {

 @Override
 public void onCreate(Bundle savedInstanceState) {

 try{

 super.onCreate(savedInstanceState);
 setContentView(R.layout.activity_get_data_web);

 TextView t = (TextView)findViewById(R.id.netResult);

 try{

 HttpClient httpclient = new DefaultHttpClient();

 HttpPost httppost = new HttpPost(http://www.mysite.net/LEDstate.txt;);

 HttpResponse response = httpclient.execute(httppost);

 HttpEntity entity = response.getEntity();

 InputStream webs = entity.getContent();

   try{

   BufferedReader reader = new BufferedReader(new 
 InputStreamReader(webs,iso 8859-1),8);

   t.setText(reader.readLine());

   webs.close();

   }catch(Exception e){
   Log.e(log_tag,Error converting result+e.toString());

   }

 }catch(Exception e){
 Log.e(log_tag,Error in http connection+e.toString());
 }

 thanks...

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Rating Bar bug?

2012-11-19 Thread Παύλος-Πέτρος Τουρνάρης
Hello guys. I have implemented a rating bar in one of my activities and
added 5 stars to it. Although i tried that programmatically and through the
XML nothing seems to work right. Both  ways show only 4,5 stars. The rating
bar's width is wrap_content as it must be and also i treid to put the
rating bar inside a linear layout that would contain only the bar. The
layout also had wrap_content value in its layout_width attribute.

Any other workarounds on it maybe?


P.S. : It's not a screen size problem, i've tested it on the emulator too
with a big enough screen setting to fit more than 5 stars.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] TinCan

2012-11-12 Thread Παύλος-Πέτρος Τουρνάρης
http://tincanapi.com/ if you mean this



On Tue, Nov 13, 2012 at 12:33 AM, TreKing treking...@gmail.com wrote:

 On Mon, Nov 12, 2012 at 6:50 AM, Sadhna Upadhyay 
 sadhna.braah...@gmail.com wrote:

  can some one tell me something about TinCan,what is this and how to do
 code for this in android.


 http://justfuckinggoogleit.com/


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: getSherlockActivity throwing Nullpointer Exception

2012-11-07 Thread Παύλος-Πέτρος Τουρνάρης
Diogo i have already tried that with no success!



On Mon, Nov 5, 2012 at 3:11 PM, Diogo Henrique diogj...@gmail.com wrote:

 why you don't try...

 progressDisplay.show(getAplicationConext(),
 LoadingDialog);






 Em segunda-feira, 5 de novembro de 2012 10h28min12s UTC-2, vani escreveu:


 HI friends,
 I am using Sherlock library for android

 progressDisplay = new LoadingDialog();
 progressDisplay.setCancelable(**false);
  progressDisplay.show(**getSherlockActivity().**
 getSupportFragmentManager(),
  LoadingDialog);

 LoadingDialog is the class which extends  SherlockDialogFragment.
 When i click on home button and close it, and again relaunch it on long
 press of home press app is force closing in the below line:

 progressDisplay.show(**getSherlockActivity().**
 getSupportFragmentManager(),
 LoadingDialog);

 Any clues why it is happeneing??
 Please give me ideas how to solve it.


 --
 Regards,
 Vani Reddy

   --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] getSherlockActivity throwing Nullpointer Exception

2012-11-05 Thread Παύλος-Πέτρος Τουρνάρης
I had the exact same issue. Tried to give the Context of my Activity to the
dialog too, but no luck either. If anyone knows a solution will be of great
help.


On Mon, Nov 5, 2012 at 2:24 PM, vani reddy vani.reddy.bl...@gmail.comwrote:


 HI friends,
 I am using Sherlock library for android

 progressDisplay = new LoadingDialog();
 progressDisplay.setCancelable(false);
  progressDisplay.show(getSherlockActivity().getSupportFragmentManager(),
  LoadingDialog);

 LoadingDialog is the class which extends  SherlockDialogFragment.
 When i click on home button and close it, and again relaunch it on long
 press of home press app is force closing in the below line:

 progressDisplay.show(getSherlockActivity().getSupportFragmentManager(),
 LoadingDialog);

 Any clues why it is happeneing??
 Please give me ideas how to solve it.


 --
 Regards,
 Vani Reddy

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] getSherlockActivity throwing Nullpointer Exception

2012-11-05 Thread Παύλος-Πέτρος Τουρνάρης
 The ProgressDialog itself returns a bad token exception!


On Mon, Nov 5, 2012 at 8:17 PM, TreKing treking...@gmail.com wrote:

 On Mon, Nov 5, 2012 at 6:24 AM, vani reddy vani.reddy.bl...@gmail.comwrote:

 When i click on home button and close it, and again relaunch it on long
 press of home press app is force closing in the below line:

 progressDisplay.show(getSherlockActivity().getSupportFragmentManager(),
 LoadingDialog);

 Any clues why it is happeneing??


 First, showing the full stack trace and confirming which of those methods
 is returning null would help.
 Second, if this is a problem with a third-party library, you're probably
 best serve asking in whatever support forum they offer.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Is this a bug at TabHost / TabActivity?

2012-10-23 Thread Παύλος-Πέτρος Τουρνάρης
Set it at the activity in Manifest! Add the FULLSCREEN option there!

On Tue, Oct 23, 2012 at 10:24 AM, Perry168 perry...@gmail.com wrote:

 Hi all,
 Following is my testing tabHost and activity.

  Layout
 

 ?xml version=1.0 encoding=utf-8?
 TabHost xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@android:id/tabhost
android:layout_width=fill_parent
android:layout_height=fill_parent

LinearLayout
 android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:padding=0dp
  android:orientation=vertical

   FrameLayout
  android:id=@android:id/tabcontent
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:layout_weight=1 
   /FrameLayout

 TabWidget
   android:id=@android:id/tabs
   android:layout_weight=0
 android:layout_width=fill_parent
 android:layout_height=wrap_content /
 /LinearLayout
 /TabHost


 

 ---TabActivity
 -

 public class tabtest extends TabActivity {
 private TabHost tabHost;

 public Context thisContext;
 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 requestWindowFeature(Window.FEATURE_NO_TITLE);
 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
 WindowManager.LayoutParams.FLAG_FULLSCREEN);
 setContentView(R.layout.tabgroup);

 if (this.tabHost == null){
   tabHost = getTabHost();
   tabHost.setup();
   tabHost.bringToFront();


 TabSpec tab1 = tabHost.newTabSpec(Tab1);
 TabSpec tab2 = tabHost.newTabSpec(Tab2);
 TabSpec tab3 = tabHost.newTabSpec(Tab3);
 TabSpec tab4 = tabHost.newTabSpec(Tab4);
 TabSpec tab5 = tabHost.newTabSpec(Tab5);
 TabSpec tab6 = tabHost.newTabSpec(Tab6);



  
 tab1.setIndicator(Tab1,getResources().getDrawable(R.drawable.first)).setContent(new
 Intent(this,IntentGroup1.class));

  
 tab2.setIndicator(Tab2,getResources().getDrawable(R.drawable.second)).setContent(new
 Intent(this,IntentGroup1.class));

  
 tab3.setIndicator(Tab3,getResources().getDrawable(R.drawable.third)).setContent(new
 Intent(this,IntentGroup1.class));

  
 tab4.setIndicator(Tab4,getResources().getDrawable(R.drawable.first)).setContent(new
 Intent(this,IntentGroup1.class));

  
 tab5.setIndicator(Tab5,getResources().getDrawable(R.drawable.second)).setContent(new
 Intent(this,IntentGroup1.class));

  
 tab6.setIndicator(Tab6,getResources().getDrawable(R.drawable.third)).setContent(new
 Intent(this,IntentGroup1.class));


 tabHost.addTab(tab1);
 tabHost.addTab(tab2);
 tabHost.addTab(tab3);
 tabHost.addTab(tab4);
 tabHost.addTab(tab5);
 tabHost.addTab(tab6);

 }
 }
 }


 -


 https://lh4.googleusercontent.com/-DkProfjgRdQ/UIZBDCwNAEI/AOc/g0JYvOaWR3s/s1600/pq2.jpg

  The IntentGroup1.class just a Hello,world activity, so I not post it
 on here.

 Does anyone know how to solve the black spacing problem? This problem
 wasted me much days.

 I had try to test many times. Following is my observed information:

 1) If it
 deleted getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
 WindowManager.LayoutParams.FLAG_FULLSCREEN). It will not have shifted down
 problem. Also I found that the black spacing size is similar to status bar
 size.

 2) when running the activity in Emulator (API 7  10) , they have same
 problem. But if running  in API 14, It will not have this problem.

 Unfortunately, the apps is running for API 7 or above. Does anyone give me
 some help? Does any other method to change full screen?

 Thanks.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en