[android-developers] Re: protected static boolean

2012-05-20 Thread Kristoffer
I dident mean that i should change context.getPackageManager();

but beffore i did send null so context = null but now i send self so
context = self.

Iam running the code now and it works great.
Thanks again

On 19 Maj, 22:49, Jason Teagle teagle.ja...@gmail.com wrote:
 and then it will be PackageManager manager =
 this.getPackageManager();

 Not quite. In a static method, there is no 'this' because the method does
 not belong to an instance of the class - but to the class as a whole. You
 will find that it won't compile.

 Inside your isProInstalled() method, using 'context' was correct.

-- 
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: Import Contacts from .vcf file in Android 2.1

2012-05-20 Thread SamuelSpring
Hi there. Was there any solution for this? 'Cause I have a same problem.

On Friday, November 26, 2010 9:11:40 AM UTC+4, Prateek Jain wrote:

 Hi All, 

 I am able to retrieve all contacts from android in .vcf file using 
 following code. 

 ContentResolver cr = getContentResolver(); 
 Cursor cur = cr.query(ContactsContract.Contacts.CONTENT_URI,null, 
 null, null, null); 
 String lookupKey = 
 cur.getString(cur.getColumnIndex(ContactsContract.Contacts.LOOKUP_KEY)); 
 Uri uri = 
 Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_VCARD_URI, 
 lookupKey); 
 System.out.println(The value is  + 
 cr.getType(uri)); 
 AssetFileDescriptor fd = 
 this.getContentResolver().openAssetFileDescriptor(uri, r); 
 FileInputStream fis = fd.createInputStream(); 


 I don't know how to use this .vcf file to import all these contacts 
 using code. The .vcf file contains all the details of all contacts 
 including photos etc. 

 Cheers, Prateek 


-- 
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: Import Contacts from .vcf file in Android 2.1

2012-05-20 Thread Jason Teagle

I don't know how to use this .vcf file to import all these contacts
using code. The .vcf file contains all the details of all contacts
including photos etc.


Please try to use search engines to find what you need before asking. A 
Google search took 5 seconds:


http://en.wikipedia.org/wiki/VCard

It lists the applicable RFC files.


And the same question asked by the OP at the same time on StackOverflow:

http://stackoverflow.com/questions/4144193/import-contacts-from-vcf-file-in-android-2-1


--
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] Bluetooth Peer to Peer network in Android..

2012-05-20 Thread sudheesh ap
Thanks for your reply. I will consider WiFi for the chord implementation.


With regards,
sudheesh

-- 
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] Packaging On-Device With Aapt

2012-05-20 Thread Pent
I'm trying to (on-device) unzip my apk, decode the manifest to plain
xml, remove some permissions from the manifest, and then package it
again.

The problem is at the repackaging stage (aapt p -M
AndroidManifest.xml...) because one or two resource references in the
manifest, most importantly the application icon, are not resolvable.
If I provide the relevant drawable in a separate directory and refer
to it with -S then the icon shows up OK in the launcher but it seems
that aapt somehow messes with the existing resource IDs in
resources.arsc and so all the resource IDs referenced by classes.dex
are no longer valid.

If I remove all resource references from (the decoded)
AndroidManifest.xml before repackaging then it all works fine. But I
would quite like to have an application icon showing in the
launcher

Any tips, suggestions etc that don't involve me hacking around in the
aapt C code ?

Thanks,

Pent

p.s. apktool is not available on-device

-- 
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] TimePicker question

2012-05-20 Thread Jim Graham
Is there a variant of (or configuration for) TimePicker that sets
hours, minutes, and seconds?  Or is it just hours and minutes?  I've
seen one that does all three, but it might have been a custom job.

Thanks,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| Peter da Silva:  No, try rm -rf /
spooky1...@gmail.com| Dave Aronson:As your life flashes before
 Running FreeBSD 7.0  |  your eyes, in the unit of time known as an
ICBM / Hurricane:   |  ohnosecond (alt.sysadmin.recovery)
   30.44406N 86.59909W  |

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
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] TimePicker question

2012-05-20 Thread Mark Murphy
On Sun, May 20, 2012 at 8:40 AM, Jim Graham spooky1...@gmail.com wrote:
 Is there a variant of (or configuration for) TimePicker that sets
 hours, minutes, and seconds?  Or is it just hours and minutes?  I've
 seen one that does all three, but it might have been a custom job.

It is just hours and minutes -- any that had seconds was a custom dialog.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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] TimePicker question

2012-05-20 Thread Jim Graham
On Sun, May 20, 2012 at 09:00:07AM -0400, Mark Murphy wrote:
 On Sun, May 20, 2012 at 8:40 AM, Jim Graham spooky1...@gmail.com wrote:
  Is there a variant of (or configuration for) TimePicker that sets
  hours, minutes, and seconds? ?Or is it just hours and minutes? ?I've
  seen one that does all three, but it might have been a custom job.
 
 It is just hours and minutes -- any that had seconds was a custom dialog.

Thanks for confirming that.

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)MiSTie #49997   Running FreeBSD 7.0 
spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

sigh, once upon a time T-1 was fast
   --seen in alt.sysadmin.net-abuse.email

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
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] Bluetooth Peer to Peer network in Android..

2012-05-20 Thread Kristopher Micinski
Wifi for the cord implementation?

How?

Wifi is infrastructure mode, did you mean wifi direct?

Otherwise anything you're doing is necessarily just an emulated
overlay of p2p on top of an standard socket.

kris

On Sun, May 20, 2012 at 4:29 AM, sudheesh ap hellosud...@gmail.com wrote:
 Thanks for your reply. I will consider WiFi for the chord implementation.


 With regards,
     sudheesh

 --
 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] Bluetooth Peer to Peer network in Android..

2012-05-20 Thread Kristopher Micinski
It just seems like using chord in this case would be a tad forced, is
it a requirement for a class project or something?

kris

On Sun, May 20, 2012 at 11:29 AM, Kristopher Micinski
krismicin...@gmail.com wrote:
 Wifi for the cord implementation?

 How?

 Wifi is infrastructure mode, did you mean wifi direct?

 Otherwise anything you're doing is necessarily just an emulated
 overlay of p2p on top of an standard socket.

 kris

 On Sun, May 20, 2012 at 4:29 AM, sudheesh ap hellosud...@gmail.com wrote:
 Thanks for your reply. I will consider WiFi for the chord implementation.


 With regards,
     sudheesh

 --
 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] default color space in android !

2012-05-20 Thread abdelbar nasri
hi ; 
i use opecv to convert an image stored in the sd card to the gray scale 
format using the function 

   Imgproc.cvtColor(src, dest, Imgproc.COLOR_BGR2GRAY);

  ; but i have this error !!!

E/AndroidRuntime(19363): java.lang.RuntimeException: Failure delivering 
result ResultInfo{who=null, request=1, result=-1, data=null} to activity 
{com.emsir.BarCodeV12.app/com.emsir.BarCodeV12.cam.TakePictureActivity}: 
CvException [org.opencv.core.CvException: 
/home/andreyk/OpenCV2/trunk/opencv_2.3.1.b2/modules/imgproc/src/color.cpp:2789: 
error: (-215) scn == 3 || scn == 4 in function void cv::cvtColor(const 
cv::_InputArray, const cv::_OutputArray, int, int)

so probablly that the src color space in android app is not BGR !!! 

waht is the color space in android systems ?? 
thank you 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

Re: [android-developers] Bluetooth Peer to Peer network in Android..

2012-05-20 Thread sudheesh ap
 Yes, it's for a class project. The aim is to make a p2p overlay
network in android platform to  support p2p android applications such as
multiplayer games.I was asking about the possibility to make it over the
bluetooth/wifi connection. Waiting for your valuable suggestions.

Regards,
sap

-- 
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] Bluetooth Peer to Peer network in Android..

2012-05-20 Thread Kristopher Micinski
You basically, can't do it for Bluetooth, with more than two / three
(max usually) nodes.

You can look into wifi direct.

You can also put a p2p overlay on top of a standard java socket.  But
that makes this no more interesting than any desktop java app.  I.e.,
there is absolutely nothing that makes it Android specific.

http://www.zeromq.org/build:android

There's a 0MQ build on Android, but it's using the NDK, and I haven't
seen Java bindings, so it's probably going to a real pain to use.
(Though in real apps, a message queue like 0mq would be a real
lifesaver, since you're basically going to emulate that anyway!)

kris

On Sun, May 20, 2012 at 12:41 PM, sudheesh ap hellosud...@gmail.com wrote:
      Yes, it's for a class project. The aim is to make a p2p overlay network
 in android platform to  support p2p android applications such as multiplayer
 games.I was asking about the possibility to make it over the bluetooth/wifi
 connection. Waiting for your valuable suggestions.

 Regards,
 sap

 --
 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] Google's rules on copyright and account suspension...

2012-05-20 Thread Sy
Sometime ago I had my account suspended, no specific reason was given, and 
despite my many attempts to get a response from Google, I've had nothing 
and my account remains suspended.

My applications were wall-paper rotators.  I didn't believe I was doing 
anything different from what Google does everytime you search for images.  
Since then I've seen numerous applications in the market which use 
copyrighted images and material, for example, search for Avengers, they're 
are lots of applications using Marvel content, 99% of these are unofficial 
and are using the images illegally, it seems pot luck if Google does 
anything about it tho.

I would have thought that a more sensible approach and one that doesn't 
result in accounts being suspended is to go down the Apple route, where 
Apple vets the applications before allowing them to be marketed.

-- 
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] Google's rules on copyright and account suspension...

2012-05-20 Thread Kristopher Micinski
On Sun, May 20, 2012 at 1:27 PM, Sy simonaplat...@gmail.com wrote:
 Sometime ago I had my account suspended, no specific reason was given, and
 despite my many attempts to get a response from Google, I've had nothing and
 my account remains suspended.

 My applications were wall-paper rotators.  I didn't believe I was doing
 anything different from what Google does everytime you search for images.
 Since then I've seen numerous applications in the market which use
 copyrighted images and material, for example, search for Avengers, they're
 are lots of applications using Marvel content, 99% of these are unofficial
 and are using the images illegally, it seems pot luck if Google does
 anything about it tho.

 I would have thought that a more sensible approach and one that doesn't
 result in accounts being suspended is to go down the Apple route, where
 Apple vets the applications before allowing them to be marketed.


So basically what you're saying is that you're mad because you got
caught for doing something wrong and other people haven't been caught
yet?

And, by the way, what you were doing *was* infringing copyright, as...
hopefully you've figured 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


Re: [android-developers] Google's rules on copyright and account suspension...

2012-05-20 Thread Sy
Yes, I do, but what I still don't understand is why Google can show images 
from any site it wishes without first asking permission?


-- 
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] Google's rules on copyright and account suspension...

2012-05-20 Thread Kristopher Micinski
On Sun, May 20, 2012 at 1:37 PM, Sy simonaplat...@gmail.com wrote:
 Yes, I do, but what I still don't understand is why Google can show images
 from any site it wishes without first asking permission?


This isn't the place to ask for legal questions.  I believe the short
answer is that they simply show graphics provided with direct URLs.

But they *can* do that, and you *can't* grab the image and use it in
your app (*especially* for profit), it's not just something that
lawyers have overlooked for the last ten years :-)...

I understand why you're mad, but I don't see any point in saying if I
can't do this Google shouldn't be able to return results from pages
either.

kris

-- 
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] Google's rules on copyright and account suspension...

2012-05-20 Thread Sy
I don't disagree with you, however there are literally hundreds / thousands 
of apps available on the market doing exactly that...using copyrighted 
material and charging for it.

I know what I did was wrong, thats clear, but I don't see Google doing 
anything that prevents it apart from suspending the odd account, which is 
why I prefer Apple's model.

-- 
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] Google's rules on copyright and account suspension...

2012-05-20 Thread Kristopher Micinski
On Sun, May 20, 2012 at 1:47 PM, Sy simonaplat...@gmail.com wrote:
 I don't disagree with you, however there are literally hundreds / thousands
 of apps available on the market doing exactly that...using copyrighted
 material and charging for it.


And those apps should also be suspended.  If you are upset, report
every one of them.

 I know what I did was wrong, thats clear, but I don't see Google doing
 anything that prevents it apart from suspending the odd account, which is
 why I prefer Apple's model.


Then you're not asking a question, you're a voicing an opinion.. This
isn't a blog.

-- 
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] Pre- and post-HONEYCOMB: bitmap heap?

2012-05-20 Thread Tamás Kovács
I'm developing a graphics-intensive application for Android 2.2 and
above.

I know that starting with Honeycomb, bitmaps are stored on VM_HEAP
instead of their native bitmap heap.

Does this influence the effective memory usage of my application? I
mean, e.g., if my app for pre-Honeycomb devices uses X MB of the VM
heap, and has Y MB bitmaps (stored on native heap), then I hope it
won't start using X+Y MB from the VM heap if it's installed on a
Honeycomb or newer device.

This does not sound logical. Instead, I guess that bitmap size is
counted against the VM limits even prior to Honeycomb, otherwise why
would bitmap size exceeds VM budget errors appear? So they're stored
on their native heap but still counted against VM_HEAP size maximum).

-- 
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: Pre- and post-HONEYCOMB: bitmap heap?

2012-05-20 Thread Tamás Kovács
Just for the information of readers here, the question was answered by
Romain Guy on the other mailing list. The answer is that the app will
use the same amount of memory both on pre-Honeycomb and on Honeycomb
and above.


On máj. 20, 20:10, Tamás Kovács falcon.firebre...@gmail.com wrote:
 I'm developing a graphics-intensive application for Android 2.2 and
 above.

 I know that starting with Honeycomb, bitmaps are stored on VM_HEAP
 instead of their native bitmap heap.

 Does this influence the effective memory usage of my application? I
 mean, e.g., if my app for pre-Honeycomb devices uses X MB of the VM
 heap, and has Y MB bitmaps (stored on native heap), then I hope it
 won't start using X+Y MB from the VM heap if it's installed on a
 Honeycomb or newer device.

 This does not sound logical. Instead, I guess that bitmap size is
 counted against the VM limits even prior to Honeycomb, otherwise why
 would bitmap size exceeds VM budget errors appear? So they're stored
 on their native heap but still counted against VM_HEAP size maximum).

-- 
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] Android ObjectAnimator not rotating view, even though getCurrentPlayTime in onAnimationUpdate is returning changing values.

2012-05-20 Thread Romain Guy
You can animate final objects. Reading your code by email is a bit
difficult but from glancing at it, it looks like you set a duration of
0ms. You initialize the circumference field only after the first
layout, but you start the animation immediately. Remove the
setDuration() call to the ObjectAnimator to see if it helps (there is
a default duration if you don't call setDuration()).

On Sun, May 20, 2012 at 11:19 AM, duadinam somethingcleve...@gmail.com wrote:
 I'm new to Android development, and I've run into a problem with a personal
 project I'm working on.  I'm making a rotary dialer app, and I've opted to
 implement it using PropertyAnimation. (Specifically, the ObjectAnimator). I
 chose this over drawing with matrices because I wanted to add a 'snap back
 animation' for ACTION_UP events, and I want to be able to stop the user from
 making a full 360 rotation. Touch events are translated into frames of the
 ObjectAnimators animation. For some reason, the dailer just doesn't spin.
  However, values from my Logcat messages look pretty good.  I've posted my
 code, and some sample values from my Logcat, and I'll gladly send more
 Logcats if you like.  My Logcat just had a litter of kittens and I can't
 keep them all!


 (You'll notice that I've instainted the 'wheel view' twice.  I need to
 declare the wheelview as final for the ViewTreeObserver.  I thought maybe
 you couldn't do property animation on a final object; so I declared one for
 sizing and the other for animating. Also, something seems to be a bit off
 with my spin values; the circumference of the circle is 169DIP, but the the
 maximum play time I'm seeing is around 139.  Still all the values are
 positive so I should be seeing animation).

 Thank you in advance for your help

 package com.david.ozersky.wheel;

 import android.animation.ObjectAnimator;
 import android.animation.ValueAnimator;
 import android.animation.ValueAnimator.AnimatorUpdateListener;
 import android.app.Activity;
 import android.graphics.Point;
 import android.graphics.Rect;
 import android.os.Bundle;
 import android.util.Log;
 import android.view.Display;
 import android.view.MotionEvent;
 import android.view.View;
 import android.view.View.OnTouchListener;
 import android.view.ViewTreeObserver;
 import android.view.ViewTreeObserver.OnGlobalLayoutListener;
 import android.widget.ImageView;
 import android.widget.LinearLayout;


 public class RotaryDialerActivity extends Activity implements
 OnTouchListener, AnimatorUpdateListener {

 private static final String TAG = RotaryDialerActivity;
 private float wheel_center_y;
 private float wheel_center_x;
 //density of pixels per dot of length
 private float SCALE;
 //ImageView of dialer;

 private int wheel_width;
 private int wheel_height;
 private double circumference;
 private ObjectAnimator animator;
 private float angleOffset;
 private int radius;

 private ImageView dialer;

 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.main);

 SCALE = this.getResources().getDisplayMetrics().density;

 init();

 }

 private void init() {

 // final ImageView wheel_to_measure = (ImageView) findViewById(R.id.wheel);
 final ImageView dialer_dims = (ImageView) findViewById(R.id.wheel);
 dialer = (ImageView) findViewById(R.id.wheel);
 ViewTreeObserver dialer_obs = dialer_dims.getViewTreeObserver();
 dialer_obs.addOnGlobalLayoutListener(new OnGlobalLayoutListener() {
             @Override
             public void onGlobalLayout() {

             setWheel_width((int) (dialer_dims.getWidth()/SCALE));
         setWheel_height((int) (dialer_dims.getHeight()/SCALE));
         setRadius(getWheel_width()/2);
         setCircumference(getRadius() * 2 * Math.PI);

                 ViewTreeObserver obs = dialer_dims.getViewTreeObserver();
                 obs.removeGlobalOnLayoutListener(this);
             }
         });


 final LinearLayout touch_pad = (LinearLayout)
 findViewById(R.id.layout_touch_capture);
 touch_pad.setOnTouchListener(this);
 touch_pad.requestFocus();

 //touch_pad covers the entire width of the display, and the height of the
 image. The center of the dailer is in the center of the touchpad.
         ViewTreeObserver tp_obs = touch_pad.getViewTreeObserver();
         tp_obs.addOnGlobalLayoutListener(new OnGlobalLayoutListener() {
             @Override
             public void onGlobalLayout() {

         setWheel_center_y(touch_pad.getMeasuredHeight()/2/SCALE);
         setWheel_center_x(touch_pad.getMeasuredWidth()/2/SCALE);

                 ViewTreeObserver obs = touch_pad.getViewTreeObserver();
                 obs.removeGlobalOnLayoutListener(this);
             }
         });

         Log.d(TAG, circumference =  + circumference);

 animator = ObjectAnimator.ofFloat(dialer, rotation, 0f,
 270f).setDuration((long) circumference * 100);
 animator.addUpdateListener(this);
 animator.start();

 }

 /**
 * @return the circumference
 */
 public double 

Re: [android-developers] Problem with windowSoftInputMode=adjustResize in landcape mode

2012-05-20 Thread Miha Valencic
Although I still have not checked the browser sources, I have created a
simple repro here:
https://github.com/skyflyer/SoftKeyboard

I've also added a binary here:
https://github.com/skyflyer/SoftKeyboard/blob/master/build/KeyboardDemo.apk

What I don't really get is why is this working as it is supposed to be in
portrait mode as opposed to landscape mode?

Thanks,
 Miha.

On Fri, May 18, 2012 at 5:36 PM, Miha Valencic miha.valen...@gmail.comwrote:

 :) tnx. I'll have a look.

 Miha

 On May 18, 2012 5:33 PM, Kostya Vasilyev kmans...@gmail.com wrote:
 
  I'm not Dianne, but will point out that Browser sources are available in
 the public repository.


-- 
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] Problem with Dialogs and WebViews

2012-05-20 Thread Bas Verhoog
Hello everyone,

Does anyone know of a problem regarding the cooperation of a Dialog and a 
WebView?

I have an ActionBarSherlock project with tabs (Fragments), and one of the 
tabs has a couple of Buttons. One Button starts a custom Dialog with a List 
(DialogFragment), from which you can choose to be sent to a number of 
Facebook accounts.

However, once the WebView is started and I press the Back button on the 
phone, the app FC's. This was tested on ICS and GB (2.3.3 and 4.0.3). The 
WebView is still a normal Activity (SherlockActivity).

I don't think I have any code that is causing this, except for some 
clearing of the WebView cache when the Back button is pressed. Removing 
that code didn't help.

Thanks,

Bas

-- 
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: Problem with Dialogs and WebViews

2012-05-20 Thread Bas Verhoog
Forgot to paste the FC LogCat output:

05-20 19:28:35.279: E/AndroidRuntime(493): FATAL EXCEPTION: main

 05-20 19:28:35.279: E/AndroidRuntime(493): java.lang.RuntimeException: 
 Failure delivering result ResultInfo{who=null, request=262144, result=0, 
 data=null} to activity 
 {bas.sie.Antonius/bas.sie.Antonius.AntoniusActivity}: 
 java.lang.NullPointerException

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.deliverResults(ActivityThread.java:2532)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.handleSendResult(ActivityThread.java:2574)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.access1,570.11€(ActivityThread.java:117)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:961)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.os.Handler.dispatchMessage(Handler.java:99)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.os.Looper.loop(Looper.java:123)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.main(ActivityThread.java:3683)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 java.lang.reflect.Method.invokeNative(Native Method)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 java.lang.reflect.Method.invoke(Method.java:507)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 dalvik.system.NativeStart.main(Native Method)

 05-20 19:28:35.279: E/AndroidRuntime(493): Caused by: 
 java.lang.NullPointerException

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:152)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.Activity.dispatchActivityResult(Activity.java:3908)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.deliverResults(ActivityThread.java:2528)

 05-20 19:28:35.279: E/AndroidRuntime(493): ... 11 more



On Sunday, May 20, 2012 9:26:21 PM UTC+2, Bas Verhoog wrote:

 Hello everyone,

 Does anyone know of a problem regarding the cooperation of a Dialog and a 
 WebView?

 I have an ActionBarSherlock project with tabs (Fragments), and one of the 
 tabs has a couple of Buttons. One Button starts a custom Dialog with a List 
 (DialogFragment), from which you can choose to be sent to a number of 
 Facebook accounts.

 However, once the WebView is started and I press the Back button on the 
 phone, the app FC's. This was tested on ICS and GB (2.3.3 and 4.0.3). The 
 WebView is still a normal Activity (SherlockActivity).

 I don't think I have any code that is causing this, except for some 
 clearing of the WebView cache when the Back button is pressed. Removing 
 that code didn't help.

 Thanks,

 Bas


-- 
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] LVL suddently stopped working - returns only timeouts

2012-05-20 Thread andrew android
I have had LVL (licensing validation) in my apps ever since it was first 
available and suddenly in the past few weeks, without any changes made by 
me, I have only received timeout errors - even when I increase the timeout 
set in licenseChecker.java.  I have checked and rechecked all of my codes 
and my key.  

I have the problem on both my Samsung Galaxy Nexus (running 4.0.2) and my 
WiFi XOOM (running 4.0.4)

Has anybody else been having a problem lately?  I have users with these 
issues as well, it seems.

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

Re: [android-developers] LVL suddently stopped working - returns only timeouts

2012-05-20 Thread Kostya Vasilyev
Recent thread:

https://groups.google.com/d/topic/android-developers/X6mcgBReUCA/discussion

-- K

2012/5/21 andrew android ahmgold...@hotmail.com

 I have had LVL (licensing validation) in my apps ever since it was first
 available and suddenly in the past few weeks, without any changes made by
 me, I have only received timeout errors - even when I increase the timeout
 set in licenseChecker.java.  I have checked and rechecked all of my codes
 and my key.

 I have the problem on both my Samsung Galaxy Nexus (running 4.0.2) and my
 WiFi XOOM (running 4.0.4)

 Has anybody else been having a problem lately?  I have users with these
 issues as well, it seems.

 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] Re: Problem with Dialogs and WebViews

2012-05-20 Thread Kostya Vasilyev
Looking at the method in question:

https://github.com/android/platform_frameworks_support/blob/master/v4/java/android/support/v4/app/FragmentActivity.java#L137

I would guess that you are not using the latest version of the compat
library, because the latest source contains a check for fragment being null
(line 148).

The latest commit's comment is Fix NPE in `onActivityResult` when target
fragment no longer exists..

https://github.com/android/platform_frameworks_support/commit/72bf9301f2914d15c6432dbe1c68e2a930f33c17

You might want to debug into the compat library,
first startActivityFromFragment to check the synthetic request code (which
is built to include the fragment index), and then onActivityResult to
follow the fragment lookup logic.

-- K

2012/5/20 Bas Verhoog basverhoo...@gmail.com

 Forgot to paste the FC LogCat output:

 05-20 19:28:35.279: E/AndroidRuntime(493): FATAL EXCEPTION: main

 05-20 19:28:35.279: E/AndroidRuntime(493): java.lang.RuntimeException:
 Failure delivering result ResultInfo{who=null, request=262144, result=0,
 data=null} to activity
 {bas.sie.Antonius/bas.sie.Antonius.AntoniusActivity}:
 java.lang.NullPointerException

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.app.ActivityThread.deliverResults(ActivityThread.java:2532)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.app.ActivityThread.handleSendResult(ActivityThread.java:2574)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.app.ActivityThread.access**1,570.11€**(ActivityThread.java:117)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:961)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.os.Handler.dispatchMessage(Handler.java:99)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.os.Looper.loop(Looper.java:123)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.app.ActivityThread.main(ActivityThread.java:3683)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 java.lang.reflect.Method.invokeNative(Native Method)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 java.lang.reflect.Method.invoke(Method.java:507)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 dalvik.system.NativeStart.main(Native Method)

 05-20 19:28:35.279: E/AndroidRuntime(493): Caused by:
 java.lang.NullPointerException

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:152)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.app.Activity.dispatchActivityResult(Activity.java:3908)

 05-20 19:28:35.279: E/AndroidRuntime(493): at
 android.app.ActivityThread.deliverResults(ActivityThread.java:2528)

 05-20 19:28:35.279: E/AndroidRuntime(493): ... 11 more



 On Sunday, May 20, 2012 9:26:21 PM UTC+2, Bas Verhoog wrote:

 Hello everyone,

 Does anyone know of a problem regarding the cooperation of a Dialog and a
 WebView?

 I have an ActionBarSherlock project with tabs (Fragments), and one of the
 tabs has a couple of Buttons. One Button starts a custom Dialog with a List
 (DialogFragment), from which you can choose to be sent to a number of
 Facebook accounts.

 However, once the WebView is started and I press the Back button on the
 phone, the app FC's. This was tested on ICS and GB (2.3.3 and 4.0.3). The
 WebView is still a normal Activity (SherlockActivity).

 I don't think I have any code that is causing this, except for some
 clearing of the WebView cache when the Back button is pressed. Removing
 that code didn't help.

 Thanks,

 Bas

  --
 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] default color space in android !

2012-05-20 Thread Yaron Reinharts

Hi,

I'm using Imgproc.COLOR_RGBA2GRAY.

BTW, there is an Android OpenCV group:
 android-ope...@googlegroups.com.

Hope this helps
/Yaron

--
Yaron Reinharts
Smart Drive Applications
http://www.poncho.co.il/gateaway.php
https://market.android.com/details?id=com.poncho.gsm.gate.activities





On 05/20/2012 07:26 PM, abdelbar nasri wrote:

hi ;
i use opecv to convert an image stored in the sd card to the gray 
scale format using the function


   Imgproc.cvtColor(src, dest, Imgproc.COLOR_BGR2GRAY);

  ; but i have this error !!!

E/AndroidRuntime(19363): java.lang.RuntimeException: Failure 
delivering result ResultInfo{who=null, request=1, result=-1, 
data=null} to activity 
{com.emsir.BarCodeV12.app/com.emsir.BarCodeV12.cam.TakePictureActivity}: 
CvException [org.opencv.core.CvException: 
/home/andreyk/OpenCV2/trunk/opencv_2.3.1.b2/modules/imgproc/src/color.cpp:2789: 
error: (-215) scn == 3 || scn == 4 in function void cv::cvtColor(const 
cv::_InputArray, const cv::_OutputArray, int, int)


so probablly that the src color space in android app is not BGR !!!

waht is the color space in android systems ??
thank you 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


[android-developers] Re: [Android LVL] Sporadic false negatives on client devices

2012-05-20 Thread andrew android
I am having the same issues.  I just created another thread on this.  I 
have been using LVL for a while now and this has been getting worse the 
last few weeks.


On Monday, May 7, 2012 8:07:23 AM UTC-5, Florin wrote:

 Hello, 

 I have an Android developer account and a couple of paid apps 
 published on the Market since a while now. I have decided to use 
 Android LVL for copy protection from the start on all of my apps, I 
 found it pretty straightforward to use so I told myself why not? extra 
 security is better than no security, right? 

 However, after almost one year since my apps have been out in the 
 wild, I keep getting from time to time unsatisfied customers which 
 after purchasing one app constantly get NOT_LICENSED replies from 
 Android licensing servers. And I'm not talking only about occasional 
 NOT_LICENSED caused either by lack of network coverage etc. but about 
 clients which try for days and days(yes, there are clients like this, 
 and they are right, since they paid for their apps!) and still get 
 NOT_LICENSED. 

 Now, here goes my questions: 
 1) For Android dev and apps publishers out there: have you noticed any 
 wave of false negatives complaints from your clients lately? The above- 
 mentioned symptom occurs in my case since the beginning, but since 2 
 weeks now it happens at a much higher frequency. 
 2) For any Google representative who might see this: are there any 
 kind of License Validation statistics on the Android Licensing server 
 side? Like for instance validation attempts per application, with 
 timestamp and Android Market client version and client ID(not email 
 for security reasons but something)?  And with some extra message 
 giving a reason for NOT_LICENSED?(apart the obvious didn't buy reason, 
 could there be others?) 
 I think this should be implemented at LVL level and not at app level 
 due to permissions requirement(an app implementing statistics would 
 definitely require network access which for some apps does not 
 justify). So, can we have access to these statistics? If not now, 
 maybe sometimes in the future? 

 Florin.

-- 
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: Problem with Dialogs and WebViews

2012-05-20 Thread Bas Verhoog
Thanks for the answer. I had indeed not yet updated to the latest (v8) 
support package and ABS version (I was away, so missed the whole 
announcement a bit). 
However, now that I have updated to ABS 4.1.0, I'm having trouble getting 
it to work. 
I realize that that is off-topic here, so if you can help, please say so.

I'm going to bed in a couple of minutes, so I'll read your reply later (I'm 
in The Netherlands :)).

On Sunday, May 20, 2012 10:31:30 PM UTC+2, Kostya Vasilyev wrote:

 Looking at the method in question:


 https://github.com/android/platform_frameworks_support/blob/master/v4/java/android/support/v4/app/FragmentActivity.java#L137

 I would guess that you are not using the latest version of the compat 
 library, because the latest source contains a check for fragment being null 
 (line 148).

 The latest commit's comment is Fix NPE in `onActivityResult` when target 
 fragment no longer exists..


 https://github.com/android/platform_frameworks_support/commit/72bf9301f2914d15c6432dbe1c68e2a930f33c17

 You might want to debug into the compat library, 
 first startActivityFromFragment to check the synthetic request code (which 
 is built to include the fragment index), and then onActivityResult to 
 follow the fragment lookup logic.

 -- K

 2012/5/20 Bas Verhoog basverhoo...@gmail.com

 Forgot to paste the FC LogCat output:

 05-20 19:28:35.279: E/AndroidRuntime(493): FATAL EXCEPTION: main

 05-20 19:28:35.279: E/AndroidRuntime(493): java.lang.RuntimeException: 
 Failure delivering result ResultInfo{who=null, request=262144, result=0, 
 data=null} to activity 
 {bas.sie.Antonius/bas.sie.Antonius.AntoniusActivity}: 
 java.lang.NullPointerException

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.deliverResults(ActivityThread.java:2532)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.handleSendResult(ActivityThread.java:2574)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.access**1,570.11€**(ActivityThread.java:117)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:961)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.os.Handler.dispatchMessage(Handler.java:99)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.os.Looper.loop(Looper.java:123)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.main(ActivityThread.java:3683)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 java.lang.reflect.Method.invokeNative(Native Method)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 java.lang.reflect.Method.invoke(Method.java:507)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 dalvik.system.NativeStart.main(Native Method)

 05-20 19:28:35.279: E/AndroidRuntime(493): Caused by: 
 java.lang.NullPointerException

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:152)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.Activity.dispatchActivityResult(Activity.java:3908)

 05-20 19:28:35.279: E/AndroidRuntime(493): at 
 android.app.ActivityThread.deliverResults(ActivityThread.java:2528)

 05-20 19:28:35.279: E/AndroidRuntime(493): ... 11 more



 On Sunday, May 20, 2012 9:26:21 PM UTC+2, Bas Verhoog wrote:

 Hello everyone,

 Does anyone know of a problem regarding the cooperation of a Dialog and 
 a WebView?

 I have an ActionBarSherlock project with tabs (Fragments), and one of 
 the tabs has a couple of Buttons. One Button starts a custom Dialog with a 
 List (DialogFragment), from which you can choose to be sent to a number of 
 Facebook accounts.

 However, once the WebView is started and I press the Back button on the 
 phone, the app FC's. This was tested on ICS and GB (2.3.3 and 4.0.3). The 
 WebView is still a normal Activity (SherlockActivity).

 I don't think I have any code that is causing this, except for some 
 clearing of the WebView cache when the Back button is pressed. Removing 
 that code didn't help.

 Thanks,

 Bas

  -- 
 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, 

Re: [android-developers] Re: Problem with Dialogs and WebViews

2012-05-20 Thread Kostya Vasilyev
2012/5/21 Bas Verhoog basverhoo...@gmail.com

 Thanks for the answer. I had indeed not yet updated to the latest (v8)
 support package and ABS version (I was away, so missed the whole
 announcement a bit).
 However, now that I have updated to ABS 4.1.0, I'm having trouble getting
 it to work.
 I realize that that is off-topic here, so if you can help, please say so.


This should help:

https://groups.google.com/forum/?fromgroups#!forum/actionbarsherlock



 I'm going to bed in a couple of minutes, so I'll read your reply later
 (I'm in The Netherlands :)).



-- 
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: Problem with Dialogs and WebViews

2012-05-20 Thread Bas Verhoog
Thought you would say that :)

I've already asked Mr. Wharton about it, and will post in this group 
tomorrow. Thanks for the help! 

On Sunday, May 20, 2012 10:52:15 PM UTC+2, Kostya Vasilyev wrote:


 2012/5/21 Bas Verhoog basverhoo...@gmail.com

 Thanks for the answer. I had indeed not yet updated to the latest (v8) 
 support package and ABS version (I was away, so missed the whole 
 announcement a bit). 
 However, now that I have updated to ABS 4.1.0, I'm having trouble getting 
 it to work. 
 I realize that that is off-topic here, so if you can help, please say so.


 This should help:

 https://groups.google.com/forum/?fromgroups#!forum/actionbarsherlock
  


 I'm going to bed in a couple of minutes, so I'll read your reply later 
 (I'm in The Netherlands :)).


  


-- 
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] Hybrid apps android

2012-05-20 Thread Huynh Ngoc Bang
Hello everybody!
I would like to create a hybird app android. Who can help me how to
create 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


Re: [android-developers] Hybrid apps android

2012-05-20 Thread Kristopher Micinski
what is a 'hybrid app android?'

kris

On Sun, May 20, 2012 at 11:30 PM, Huynh Ngoc Bang hnbang1...@gmail.com wrote:
 Hello everybody!
 I would like to create a hybird app android. Who can help me how to
 create 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


[android-developers] Accessing Front and Back Camera at the same time

2012-05-20 Thread perumal316
Hi All,

I want to access the front and back camera at the same time. Is this 
possible? From what I tested, this could not be done. It crashes if an 
application is already accessing the back camera and another app is trying 
to access the front camera.

But what I don't understand is why is there such a limitation?

Isn't front and back cameras are two different pieces of hardware?

Or can this be done and am I wrong?

Thanks In Advance,
Perumal

-- 
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: Import Contacts from .vcf file in Android 2.1

2012-05-20 Thread asheesh arya
juzz go through this link
http://eagle.phys.utk.edu/guidry/android/readContacts.html

-- 
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: [Android LVL] Sporadic false negatives on client devices

2012-05-20 Thread Pent
Lots of failed validation complaints the last few weeks here, none 
previously since LVL launched.

Pent

-- 
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] Regarding maps

2012-05-20 Thread sourabh sahu
How to draw shades in a geographical area of  map?

Thanks  Regards,
Sourabh

-- 
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] Regarding maps

2012-05-20 Thread TreKing
On Mon, May 21, 2012 at 12:46 AM, sourabh sahu souruit...@gmail.com wrote:

 How to draw shades in a geographical area of  map?


What are shades?

-
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

Re: [android-developers] Regarding maps

2012-05-20 Thread sourabh sahu
There is a map a static image, and I have display the area where wheat
grow,so I want to display that particular area as shaded one.

Sorry for bad English :)

Sourabh

On Mon, May 21, 2012 at 11:19 AM, TreKing treking...@gmail.com wrote:

 On Mon, May 21, 2012 at 12:46 AM, sourabh sahu souruit...@gmail.comwrote:

 How to draw shades in a geographical area of  map?


 What are shades?


 -
 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