[android-developers] Please go 2 link and give ur ideas about java.

2012-07-30 Thread Siva Kumar
Dear All,

  Please go 2 link and give ur ideas about java.

http://stackoverflow.com/q/9546188

-- 
*Thanks  Regards,
Sivakumar.J*

-- 
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] Please go 2 link and give ur ideas about java.

2012-07-30 Thread Kristopher Micinski
why?

That question is quite old and this has nothing to do with Android..

kris

On Mon, Jul 30, 2012 at 2:14 AM, Siva Kumar j.sivakumar...@gmail.com wrote:


 Dear All,

   Please go 2 link and give ur ideas about java.

 http://stackoverflow.com/q/9546188

 --
 Thanks  Regards,
 Sivakumar.J


 --
 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] Requesting Gmail atom feed with auth token from AccountManager

2012-07-30 Thread Nikolay Elenkov
On Mon, Jul 30, 2012 at 2:32 PM, JP joachim.pfeif...@gmail.com wrote:
 I am trying to authenticate with the Gmail atom feed using the
 authentication token of the Gmail account, obtained from AccountManager.

 I have no problem pulling the authentication token for a Google Account
 registered on the device, using AccountManagergetAuthToken() with the
 authTokenType mail, but the authentication token does not register with
 the atom feed. I've played with a few variations, but all I get is a 401 /
 Unauthorized response from Google.
 Basically, I've tried to GET https://mail.google.com/mail/feed/atom/unread
 adding in a Authorization header item with Bearer authentication
 token, but that didn't work.

Unless there is an official API, this may or may not work.

What you are getting from AccountManager is a ClientLogin token, but
you are trying to use is as if it were an OAuth token, that's probably
why you get an error. For ClientLogin you need something like:

Authorization: GoogleLogin auth=token

Again, this may or may not work, especially since ClientLogin is deprecated.
I am also not sure whether the 'mail' token will work for the RSS feed.

To get an OAuth token, you need to use 'oauth2:scope' where scope
is the scope for the particular service, you need to find out what it is
for this feed.

-- 
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] Solution for Find the android device is mobile or tablet

2012-07-30 Thread kalandar
Dear friends , I got a solution to find the android device is mobile or 
tablet in programetically, 
i just  want to share this with all of you 

Find device is mobile or 
tablethttp://kalandarandroid.blogspot.in/2012/07/find-device-is-mobile-or-tablet.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] EditText focus problem in Linear layout

2012-07-30 Thread Muhammad Rashid
I am using four EditText in two Linearlayout with horizontal orientation. 
Each linearlayout has 2 edittext. if edittext1 has focus and I press enter 
key, the focus goes to edittext3 instead of edittext2.

Here is my code;
   LinearLayout 
 android:orientation=horizontal
 android:layout_height=wrap_content 
 android:layout_width=fill_parent 
 EditText 
android:id=@+id/editText1 
android:layout_width=fill_parent  
android:layout_height=wrap_content 
android:inputType=textPassword 
android:layout_weight=1.0 
/EditText
  
 
EditText...This
 
edit text does not receive focus
android:id=@+id/ editText2  
android:layout_width=fill_parent  
android:layout_height=wrap_content 
android:inputType=textPassword 
android:layout_weight=1.0 
/EditText
/LinearLayout
LinearLayout 
 android:orientation=horizontal
 android:layout_height=wrap_content 
 android:layout_width=fill_parent 
 EditText 
android:id=@+id/ editText3 
android:layout_width=fill_parent  
android:layout_height=wrap_content 
android:inputType=textPassword 
android:layout_weight=1.0 
/EditText
   EditText
android:id=@+id/ editText4  
android:layout_width=fill_parent  
android:layout_height=wrap_content 
android:inputType=textPassword 
android:layout_weight=1.0 
/EditText
/LinearLayout

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

[android-developers] Re: Media Player full screen like youtube

2012-07-30 Thread master


On Friday, July 6, 2012 10:54:51 AM UTC+5:30, master wrote:

 Hi All,

 I am creating a library for a custom player, which contains mediaplayer to 
 play video. The media player should toggle between fullscreen and normal 
 screen like youtube.

 I there any API to make full screen mediaplayer. There is a method 
 (setFullScreen()) of player in IOS to make full screen video.

  

 Thanks,
 Revanth


-- 
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] Fragments Bitmap Recycling + a bunch of bitmap oriented questions.

2012-07-30 Thread Dianne Hackborn
On Sun, Jul 29, 2012 at 5:45 PM, bob b...@coolfone.comze.com wrote:

 Worried about memory?  Try this:
 application android:largeHeap=true


No.

First of all, this only helps you on higher-end devices that have lots of
memory to give you.  So you still need to look at the memory available and
make sure you don't exceed it, and the limit may not be any more than you
have now.  So this actually requires that you do *more* work on memory
management.

Second, let's look at the documentation:
http://developer.android.com/guide/topics/manifest/application-element.html#largeHeap


In particular: Most apps should not need this and should instead focus on
reducing their overall memory usage for improved performance.

And if you follow the link to getLargeMemoryClass():
http://developer.android.com/reference/android/app/ActivityManager.html#getLargeMemoryClass()

We'll further emphasize this: This is the space available for
memory-intensive applications; most applications should not need this
amount of memory, and should instead stay with the getMemoryClass() limit.

This API does not solve your memory problems.  You are programming for a
mobile, battery-powered, memory-constrained device.  Part of that is tight
memory management.  You don't get to shove an attribute in your manifest
and abdicate on that responsibility.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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] Take photo and get detail according to the captured photo

2012-07-30 Thread Rajan
Concept : 

 Take one photo of any place via your Android Phone (for example : 
Eiffel Tower)
 Now, when i clicked for capturing the picture at that time, that 
picture is searched on google and get back some detail about the captured 
picture.


My Question is :  

1. Is it possible?
2. If Yes, then which query i have to fire on google, so i get the detail 
about the captured image.


What i know is:
---
1. How to take a photo.
2. How to upload a photo.
3. I also know about parsing


-- 
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] Programatically changing the screen brightness

2012-07-30 Thread Dianne Hackborn
I can't follow your question, but the code your posted has problems.

First, please don't set Settings.System.SCREEN_BRIGHTNESS.  This is the
global brightness set by the user.  It should not be changed by the
application.  It is not intended to be changed by the application;
generally there are other things you need to poke to have the system pick
up the new value, and this is all in the realm of implementation details
that you shouldn't rely on and almost certainly will not work consistently
across devices and platform versions.

Second, you also have some code that is setting
WindowManager.LayoutParams.screenBrightness.
 If you set this on your full-screen window, then while it is displayed on
the user it will force the screen brightness to the value you set here.
 You do need to make sure your activity is full-screen.  If it is, and your
activity is in the foreground, it will cause the brightness to change.  In
this case you are immediately starting another activity and finishing the
current one, so it will only very briefly impact the screen brightness (if
it all) for however long that activity remains visible to the user.

On Sun, Jul 29, 2012 at 2:55 PM, Cythes cytheshic...@gmail.com wrote:

 I'm now for sure 99% of the way complete on my code... I need to know one
 last thing. How do I programatically dim the of the android.

 I have tried making a set of intent groups. One loads the code for the
 dimmer then intents into the actual program and that runs with little issue
 other then the screen did not dim after the screen flipped over.
 Here is the code I am using:
 import android.app.Activity;
 import android.content.Intent;
 import android.os.Bundle;
 import android.provider.Settings;
 import android.view.WindowManager;

 public class bright extends Activity {
  @Override
 protected void onCreate(Bundle savedInstanceState) {
  // TODO Auto-generated method stub
 super.onCreate(savedInstanceState);
 Settings.System.putInt(this.getContentResolver(),
 Settings.System.SCREEN_BRIGHTNESS, 20);
 WindowManager.LayoutParams lp = getWindow().getAttributes();
 lp.screenBrightness =0.0f;// 100 / 100.0f;
 getWindow().setAttributes(lp);
 Intent i = new Intent(this, gateBridge.class);
 i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
 startActivity(i);
 finish();
 }
 }

 Since I know brightness settings can only be used after the screen has
 been reset or changed.

 So the question, how do I get this done?

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




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Fwd: [android-developers] Communication between two android emulators located on two PCs connected via LAN(wired)

2012-07-30 Thread jibin v p
I need to test calling to a emulator which is located another machine in my
LAN(wired) from my P's emulator.

Any help on this?

thanks for help 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] Google Play vs. Android 4.0.3

2012-07-30 Thread Dianne Hackborn
Well I would say the second problem (not being able to connect to the
internet) is probably the cause of the first problem (Google Play not being
able to download or update applications).  Since I am pretty positive the
base 4.0.3 platform does connect to the internet, I think you are going to
need to talk with your manufacturer about your problem.

On Fri, Jul 27, 2012 at 11:56 PM, Jary Novak jaryen...@gmail.com wrote:

 Downloading apps in Android 4.0.3
 After installing 4.0.3 to Android htc evo 3d, you can not download
 applications or update existing ones, will not connect to the Internet
 (waiting for the network), although the internet or run?

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




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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] how to run a service in background when the user is out of android application

2012-07-30 Thread Vijay Krishnan
Hi all,
 In my case,i want to update the user latitude and longitude in
background when he is out of the application.

Thanks,
vijay.k

-- 
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 position imageview in linear layout with respect to screen size

2012-07-30 Thread Vijay Krishnan
Thank U Justin for your kind help

On Fri, Jul 27, 2012 at 11:31 PM, Justin Anderson magouyaw...@gmail.comwrote:

 How to position the image view with respect to screen size.Any one help on
 this?

 You don't want to do that...


  In my application,i used to customize the position of image view in
 linear layout.First,i position the first image view at the centre of the
 screen and then i try to position the second image view above the first
 image view.But i couldn't do that because the second image view is
 positioned with respect to first image view.


 Use a RelativeLayout...
 On the first image, set android:layout_centerInParent=true
 On the second image, set android:layout_above=@id/id_of_first_image

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Fri, Jul 27, 2012 at 3:49 AM, Vijay Krishnan 
 vijay.vijay...@gmail.comwrote:

 Hi all,
In my application,i used to customize the position of image view
 in linear layout.First,i position the first image view at the centre of the
 screen and then i try to position the second image view above the first
 image view.But i couldn't do that because the second image view is
 positioned with respect to first image view.How to position the image view
 with respect to screen size.Any one help on this?

 Thanks,
 vijay.k

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

[android-developers] Idle Actvity

2012-07-30 Thread Rahul Kaushik
Hi,

If my activity stay idle for Sometime, it shows (Activity is not responding
and i ahve two option Force Close Wait)
how i can avoid this

Thanks
RK

-- 
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: Idle Actvity

2012-07-30 Thread Jonathan S
Look in logcat like red font

On Monday, July 30, 2012 2:53:45 AM UTC-4, rahul kaushik wrote:

 Hi,

 If my activity stay idle for Sometime, it shows (Activity is not 
 responding and i ahve two option Force Close Wait) 
 how i can avoid this

 Thanks
 RK


-- 
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] Extract traffic information from mapview

2012-07-30 Thread VGNU Linux
Hi All,

I am new to android and followed a tutorial to display mapview. (
https://developers.google.com/maps/documentation/android/hello-mapview)
The mapview also displays traffic information using the a method
mapview.setTraffic(true).
The map view displays traffic information as lines red,green and yellow.
My question here is it possible to extract this traffic information ?

I am trying to capture this traffic information and then convert it as
audio and relay it to the user.

Regards,
VGNU

-- 
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] Creating Tab Control in android

2012-07-30 Thread |-NK-|
Hi
I am developing an application in android, where I need to create a
Tab control containing variable no of tabs.

I need to know how to create tab control dynamically.

I have seen some examples where they have used tabhost as root element
in an xml layout file.
I need to have some controls such as buttons and textviews on screen
and below these controls I need a tab control.

I am confused as I have seen different examples.

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] Re: Goiogle Play - Dev Console not updating since July 25

2012-07-30 Thread Zsolt Vasvari
The OP said he had no stats since the 25th.  I looked at my app had stats 
for 25, not for 26, but had stats again for 27.  That's all I stated.

On Monday, July 30, 2012 4:53:42 AM UTC+8, Fran wrote:

 Thats not true, indeed. The original subject was clear about the starting 
 date of the problem.
 El 29/07/2012 08:31, Zsolt Vasvari zvasv...@gmail.com escribió:

 It skipped one day, the 26th.  Back on 27th.  No big deal, the OP makes 
 it sounds like it hasn't updated for weeks.

 On Sunday, July 29, 2012 1:34:53 AM UTC+8, FiltrSoft wrote:

 sorry, meant hasn't

 On Saturday, July 28, 2012 12:00:46 PM UTC-4, Kaptkaos wrote:

 I was wondering if anyone else was seeing this. When I check my dev 
 console there are now stats for my apps after July 25. Is there a problem 
 with Google Play or did I miss a memo? 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: Goiogle Play - Dev Console not updating since July 25

2012-07-30 Thread Zsolt Vasvari


 Since I've been following my apps on GPlay I have never seen it miss a 
 single day. The fact that it did miss 2 full days is remarkable.


You must not be following for long.   Up until maybe 8 months ago, it would 
have been remarkable if you did NOT miss 2 full days.  A bit exaggeration, 
but not by much...  The Dev Console was a complete mess.


-- 
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: Goiogle Play - Dev Console not updating since July 25

2012-07-30 Thread Zsolt Vasvari
I also got updated stats for the 28th, FWIW, so the problem is not 
universal.  Only missing the 26th.

On Monday, July 30, 2012 4:53:42 AM UTC+8, Fran wrote:

 Thats not true, indeed. The original subject was clear about the starting 
 date of the problem.
 El 29/07/2012 08:31, Zsolt Vasvari zvasv...@gmail.com escribió:

 It skipped one day, the 26th.  Back on 27th.  No big deal, the OP makes 
 it sounds like it hasn't updated for weeks.

 On Sunday, July 29, 2012 1:34:53 AM UTC+8, FiltrSoft wrote:

 sorry, meant hasn't

 On Saturday, July 28, 2012 12:00:46 PM UTC-4, Kaptkaos wrote:

 I was wondering if anyone else was seeing this. When I check my dev 
 console there are now stats for my apps after July 25. Is there a problem 
 with Google Play or did I miss a memo? 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] Re: htc dream g1

2012-07-30 Thread Eric Wong (hdmp4.com)
Read those threads on XDA and follow it.

Btw, you can upgrade it to Android 2.3 but expect it to run very slowly...

On Sunday, 29 July 2012 11:32:06 UTC+10, isarel wrote:

 how do i upgrade from 1.5 to 2.2 with my htc dream g1

-- 
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: sensor event and augmented reality

2012-07-30 Thread Raghav Sood

 The bit I'm struggling with is displaying anything over a camera preview.
 What is the best practice to display a graphics (that will change depending
 on sensor readings) over a camera preview. Please help, I have neen
 googling and experimenting for days with no joy! If anyone does know how to
 do this could they please post some code? Thank you!


What kind of graphic? Drawable? Bitmap? OpenGL? Canvas drawing?

Thanks

-- 
Raghav Sood
Please do not email private questions to me as I do not have time to answer
them. Instead, post them to public forums where others and I can answer and
benefit from them.
http://www.appaholics.in/ - Founder
http://www.apress.com/9781430239451 - Author
+91 81 303 77248

-- 
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: Idle Actvity

2012-07-30 Thread Rahul Kaushik
Hi,

Am getiing this


[2012-07-30 12:39:21 - ddms] null
java.lang.NullPointerException
at com.android.ddmlib.Client.sendAndConsume(Client.java:573)
at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
at com.android.ddmlib.Client.getJdwpPacket(Client.java:672)
at
com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

[2012-07-30 12:39:21 - ddms] null
java.lang.NullPointerException
at com.android.ddmlib.Client.sendAndConsume(Client.java:573)
at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
at com.android.ddmlib.Client.getJdwpPacket(Client.java:672)
at
com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

[2012-07-30 12:43:07 - ddms] null
java.lang.NullPointerException
at com.android.ddmlib.Client.sendAndConsume(Client.java:573)
at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
at com.android.ddmlib.Client.getJdwpPacket(Client.java:672)
at
com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

[2012-07-30 12:43:07 - ddms] null
java.lang.NullPointerException
at com.android.ddmlib.Client.sendAndConsume(Client.java:573)
at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
at com.android.ddmlib.Client.getJdwpPacket(Client.java:672)
at
com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)



Thanks
RK

On Mon, Jul 30, 2012 at 12:29 PM, Jonathan S xfsuno...@gmail.com wrote:

 Look in logcat like red font


 On Monday, July 30, 2012 2:53:45 AM UTC-4, rahul kaushik wrote:

 Hi,

 If my activity stay idle for Sometime, it shows (Activity is not
 responding and i ahve two option Force Close Wait)
 how i can avoid this

 Thanks
 RK

  --
 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] Debugging a complex native application (shared libs)

2012-07-30 Thread Fabien R
On 29/07/2012 21:25, Cyril CHAMPIER wrote:
 I really don't know what do to, does anybody already tried this kind of 
 things ?

 Thanks

   
Maybe this:
http://lmgtfy.com/?q=android+how+to+debug+jni


-- 
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 THREADS NOT WORKING

2012-07-30 Thread Fabien R
On 29/07/2012 06:55, Rasika Perera Govinnage wrote:
 Hi I am writing application to get all information from a url. Parser is 
 working well. but it takes some time about 2 sec to decode all.Till it 
 decode and enter into listView Page/View is not shown. 
 What i want is show the page loading icon(progress bar) before call url, 
 and then hide it after loaded from url.

   
Your post is mis-titled. There are no threads in your code.
Your problem stands between your chair and your keyboard ;-)
You should use an AsyncTask.
-
Fabien

-- 
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] Binding service from Simple Java Class

2012-07-30 Thread MMM
HI,

I am developing an android application. In this application, I want to
bind a service from a java class which is not derived from any android
component. Is it possible?

I tried but its giving error.

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


[android-developers] Multiple e-mail attachments of arbitrary files.

2012-07-30 Thread Put_tiMe
Surprisingly, this topic seems to be still in it's infancy. There are very 
few posts, and those who have given it a shot have given up since it didn't 
work.

I need to attach multiple files of different types in a single e-mail. File 
types could be image, audio, video, zip, doc, and so on.
I did give it a shot. 


// ListString filePaths;

Intent emailIntent = new 
Intent(android.content.Intent.ACTION_SEND_MULTIPLE);

// I tried both the following lines
emailIntent.setType(*/*); 
emailIntent.setType(vnd.android.cursor.dir/email);

// has to be an ArrayList
ArrayListUri uris = new ArrayListUri();
//convert from paths to Android friendly Parcelable Uri's
for (String file : filePaths)
{
 File fileIn = new File(file);
 Uri u = Uri.fromFile(fileIn);
 uris.add(u);
}

emailIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris);
context.startActivity(Intent.createChooser(emailIntent, blah blah));


Overall, it looks like it's working. The 'createChooser' gives me a list of 
available e-mail apps.
 If I choose GMail app from the list, in the 'compose' activity, I can 
see the attachments also. I then hit 'send'.
But when I receive the mail, I find no attachments.

If I see the sent folders of Gmail, this email doesn't have attachments.

So what do I need to do?


-- 
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] Please help

2012-07-30 Thread Jadranko Bodiroga
maybee you need some permissions in ManifestWhat you app is doing?

-- 
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] Binding service from Simple Java Class

2012-07-30 Thread fahad mullaji
Hi *Moni*,

Bind a service? Please elaborate the question.
If you want to use Java packages then surely you can use them without any
compile error.
It does not have to inherit any android component.

What is the error that you are getting?

*Thanks*
Fahad Mullaji

On Mon, Jul 30, 2012 at 1:46 PM, MMM monikamit...@gmail.com wrote:

 HI,

 I am developing an android application. In this application, I want to
 bind a service from a java class which is not derived from any android
 component. Is it possible?



 I tried but its giving error.

 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




-- 
Regards
Fahad Mullaji

-- 
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] Please help

2012-07-30 Thread Rocky
Right Click Project - properties - Android -Below is library (unckeck
that one)


On Sat, Jul 28, 2012 at 9:11 PM, Abhikool abhijitkoo...@gmail.com wrote:

 Hi Guys, I am new to Android apps development..

 please help me. I am facing an error whenever i am trying to run a project
 from eclipse as android application. it is giving  me an error
 stating Android Library Projects cannot be lunch.

  I have started android apps development very recently, please forgive me
 for my ignorance or total unawareness about the topic.
 Would appreciate if any one direct me to any tutorial or any material
 related to Android apps development containing the latest
 trends and use of tools/SDK etc.

 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




-- 
Thanks  Regards

Rakesh Kumar Jha
Android Developer, Trainer and Mentor
Bangalore
Skype - rkjhaw
(O) +918050753516
(R) +919886336619

-- 
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: HTTP Post works only on port 80 when on mobile network (Galaxy Nexus)

2012-07-30 Thread Zoran Smilevski
I have done even more research. Solution is to use Proxy.NO_PROXY:

HttpURLConnection conn = (HttpURLConnection)mUrl.openConnection(Proxy.
NO_PROXY);

On Monday, July 23, 2012 10:02:02 AM UTC+2, Zoran Smilevski wrote:

 Oh yes, thanks. I don't see on Desire APN settings, but when I removed a 
 proxy from APN on Nexus, response got through.

 Thanks again, you saved me :)

 On Monday, July 23, 2012 9:45:53 AM UTC+2, Johan Appelgren wrote:

 Works fine using 3g on my Galaxy Nexus (stock, Android 4.1.1). 

 Are you testing using the same carrier and APN settings on the Desire and 
 Galaxy Nexus? I've had some issues with a bad carrier proxy that garbled 
 non-port 80 traffic, fixed by removing the proxy from APN. 

 On Sunday, July 15, 2012 12:10:02 PM UTC+2, Zoran Smilevski wrote:

 Hello!

 I have a problem with posting data when using mobile data network on a 
 port different than 80. This happens only on Galaxy Nexus. I have also 
 reported a bug with detailed description (
 http://code.google.com/p/android/issues/detail?id=34769). There is also 
 a demo app so anyone can test this.

 I was also trying to send a post using a socket, like it's described on 
 http://www.exampledepot.com/egs/java.net/PostSocket.html. In this case 
 everything works fine.

 I hope that someone will see this and tell me what the hell am I doing 
 wrong or confirm that bug :)



-- 
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] Please help

2012-07-30 Thread fahad mullaji
Hi *Abhijit,

*
http://stackoverflow.com/questions/4282552/android-library-projects-cannot-be-launched

Check above shared link.Don't know this works or not.Give it shot.

*Thanks
*Fahad Mullaji


On Sat, Jul 28, 2012 at 9:11 PM, Abhikool abhijitkoo...@gmail.com wrote:

 Hi Guys, I am new to Android apps development..

 please help me. I am facing an error whenever i am trying to run a project
 from eclipse as android application. it is giving  me an error
 stating Android Library Projects cannot be lunch.

  I have started android apps development very recently, please forgive me
 for my ignorance or total unawareness about the topic.
 Would appreciate if any one direct me to any tutorial or any material
 related to Android apps development containing the latest
 trends and use of tools/SDK etc.

 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




-- 
Regards
Fahad Mullaji

-- 
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] Please help

2012-07-30 Thread Rocky
It will work and do 1 more things while running app -

1. Clean apps
2. right click on project -Android Tools -Click on Fix project
3. then build and run the apps.


Best of Luck

On Mon, Jul 30, 2012 at 2:19 PM, fahad mullaji fahadmull...@gmail.comwrote:

 Hi *Abhijit,

 *
 http://stackoverflow.com/questions/4282552/android-library-projects-cannot-be-launched

 Check above shared link.Don't know this works or not.Give it shot.

 *Thanks
 *Fahad Mullaji


 On Sat, Jul 28, 2012 at 9:11 PM, Abhikool abhijitkoo...@gmail.com wrote:

 Hi Guys, I am new to Android apps development..

 please help me. I am facing an error whenever i am trying to run a
 project from eclipse as android application. it is giving  me an error
 stating Android Library Projects cannot be lunch.

  I have started android apps development very recently, please forgive me
 for my ignorance or total unawareness about the topic.
 Would appreciate if any one direct me to any tutorial or any material
 related to Android apps development containing the latest
 trends and use of tools/SDK etc.

 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




 --
 Regards
 Fahad Mullaji


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




-- 
Thanks  Regards

Rakesh Kumar Jha
Android Developer, Trainer and Mentor
Bangalore
Skype - rkjhaw
(O) +918050753516
(R) +919886336619

-- 
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] Debugging a complex native application (shared libs)

2012-07-30 Thread fahad mullaji
Lols...good one...

On Mon, Jul 30, 2012 at 1:11 PM, Fabien R theedge...@free.fr wrote:

 On 29/07/2012 21:25, Cyril CHAMPIER wrote:
  I really don't know what do to, does anybody already tried this kind of
  things ?
 
  Thanks
 
 
 Maybe this:
 http://lmgtfy.com/?q=android+how+to+debug+jni


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




-- 
Regards
Fahad Mullaji

-- 
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: Idle Actvity

2012-07-30 Thread fahad mullaji
Hi *Rahul*,

Have you created any runnable or handler objects projects in any of the
function that you are calling?
What is exactly your code is trying to do?

*Thanks*
Fahad Mullaji



On Mon, Jul 30, 2012 at 12:56 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote:

 Hi,

 Am getiing this


 [2012-07-30 12:39:21 - ddms] null
 java.lang.NullPointerException
 at com.android.ddmlib.Client.sendAndConsume(Client.java:573)
  at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
 at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
  at com.android.ddmlib.Client.getJdwpPacket(Client.java:672)
 at
 com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
  at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

 [2012-07-30 12:39:21 - ddms] null
 java.lang.NullPointerException
  at com.android.ddmlib.Client.sendAndConsume(Client.java:573)
 at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
  at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
 at com.android.ddmlib.Client.getJdwpPacket(Client.java:672)
  at
 com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
 at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

 [2012-07-30 12:43:07 - ddms] null
 java.lang.NullPointerException
 at com.android.ddmlib.Client.sendAndConsume(Client.java:573)
  at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
 at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
  at com.android.ddmlib.Client.getJdwpPacket(Client.java:672)
 at
 com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
  at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

 [2012-07-30 12:43:07 - ddms] null
 java.lang.NullPointerException
  at com.android.ddmlib.Client.sendAndConsume(Client.java:573)
 at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142)
  at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65)
 at com.android.ddmlib.Client.getJdwpPacket(Client.java:672)
  at
 com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317)
 at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)



 Thanks
 RK

 On Mon, Jul 30, 2012 at 12:29 PM, Jonathan S xfsuno...@gmail.com wrote:

 Look in logcat like red font


 On Monday, July 30, 2012 2:53:45 AM UTC-4, rahul kaushik wrote:

 Hi,

 If my activity stay idle for Sometime, it shows (Activity is not
 responding and i ahve two option Force Close Wait)
 how i can avoid this

 Thanks
 RK

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




-- 
Regards
Fahad Mullaji

-- 
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: How to change orientation sensor polling period in Android?

2012-07-30 Thread Goodwin
why do you want to change the orientation sensor polling period? how do you 
get the current polling period. is there some function ?

在 2012年7月29日星期日UTC+8上午5时19分14秒,Prem写道:

 I just want to change the orientation sensor polling period in android. 
 The current polling period is 40ms.

-- 
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] Debugging a complex native application (shared libs)

2012-07-30 Thread Cyril CHAMPIER
Thank you for your great help.

I indeed forgot to mention that I already read most of the tutorials on the 
net, and none of them speak about a complex project
with 1 java project using 1 jni project using 5 external pure c++ libs.


On Monday, July 30, 2012 9:41:09 AM UTC+2, the_edge123 wrote:

 On 29/07/2012 21:25, Cyril CHAMPIER wrote: 
  I really don't know what do to, does anybody already tried this kind of 
  things ? 
  
  Thanks 
  

 Maybe this: 
 http://lmgtfy.com/?q=android+how+to+debug+jni 




-- 
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: Idle Actvity

2012-07-30 Thread Asheesh Arya
try using thread in your source code!!!

-- 
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: htc dream g1

2012-07-30 Thread fahad mullaji
Hi *Andre*,

Simple link from Cyanogen-mod Developers : cm.get/

You need to find out root and mod file for your device.They have given
their own names for each device on which they work.

*Thanks*
Fahad Mullaji.


On Mon, Jul 30, 2012 at 12:47 PM, Eric Wong (hdmp4.com) 
ericwon...@gmail.com wrote:

 Read those threads on XDA and follow it.

 Btw, you can upgrade it to Android 2.3 but expect it to run very slowly...


 On Sunday, 29 July 2012 11:32:06 UTC+10, isarel wrote:

 how do i upgrade from 1.5 to 2.2 with my htc dream g1

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




-- 
Regards
Fahad Mullaji

-- 
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: htc dream g1

2012-07-30 Thread fahad mullaji
Sorry its get.cm/


On Mon, Jul 30, 2012 at 2:40 PM, fahad mullaji fahadmull...@gmail.comwrote:

 Hi *Andre*,

 Simple link from Cyanogen-mod Developers : cm.get/

 You need to find out root and mod file for your device.They have given
 their own names for each device on which they work.

 *Thanks*
 Fahad Mullaji.



 On Mon, Jul 30, 2012 at 12:47 PM, Eric Wong (hdmp4.com) 
 ericwon...@gmail.com wrote:

 Read those threads on XDA and follow it.

 Btw, you can upgrade it to Android 2.3 but expect it to run very slowly...


 On Sunday, 29 July 2012 11:32:06 UTC+10, isarel wrote:

 how do i upgrade from 1.5 to 2.2 with my htc dream g1

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




 --
 Regards
 Fahad Mullaji





-- 
Regards
Fahad Mullaji

-- 
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] Creating Tab Control in android

2012-07-30 Thread fahad mullaji
*Nirvan*,

Call function in which create new reference of tab-host. Try to position it
by assigning it properties.
Have not tried by myself but this should work according to me.
But again assigning layouts for different tabs will be bit tricky.You need
to dig this topic.
Good Luck

*Thanks*
Fahad Mullaji

On Mon, Jul 30, 2012 at 12:37 PM, |-NK-| niravnkulka...@gmail.com wrote:

 Hi
 I am developing an application in android, where I need to create a
 Tab control containing variable no of tabs.

 I need to know how to create tab control dynamically.

 I have seen some examples where they have used tabhost as root element
 in an xml layout file.
 I need to have some controls such as buttons and textviews on screen
 and below these controls I need a tab control.

 I am confused as I have seen different examples.

 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




-- 
Regards
Fahad Mullaji

-- 
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: Binding service from Simple Java Class

2012-07-30 Thread MMM
I have a simple Java class. Through this class, I am calling bindService() 
mehod for binding my service.
If I call bindService() method, its giving me error as bindService() method 
is not defined.
 
So, my question is that, do I need any class which is extended from a 
component like Activity/Service to bind my service or can I bind the 
service directly from simple Java class? 

-- 
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] number wheel

2012-07-30 Thread ala hammad
hello all,
i want to ask how to make number wheel like iphone in android ..
i found this library . https://github.com/chemalarrea/Android-wheel
but my problem is number show to 9 after that number repeat like 11 22 ...

any body have idea how to solve 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] Debugging a complex native application (shared libs)

2012-07-30 Thread Jim Graham
On Mon, Jul 30, 2012 at 02:05:48AM -0700, Cyril CHAMPIER wrote:
 Thank you for your great help.
 
 I indeed forgot to mention that I already read most of the tutorials on the 
 net, and none of them speak about a complex project
 with 1 java project using 1 jni project using 5 external pure c++ libs.

Just FYI, you are FAR more likely to get real help on this if you ask in
the correct group (this isn't it).  That would be the android-ndk group.
Stack Overflow is another.  But this group is about developing apps for
Android using the Android SDK, which does not include native//jni.

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)  | Tux (E Cat):  DS B+Wd Y 6 Y L+++ W+ C++/C++ I+++
spooky1...@gmail.com  | T++ A E H+ S V- F++ Q+++ P/P+ B++ PA+ PL SC---
 Running Mac OS X Lion  | 
ICBM / Hurricane: | Tiggerbelle:  DS W+S+Bts % 1.5 X L W C+++/C+
   30.44406N 86.59909W| I+++  T A E++ H S++ V+++ Q+++ P  B++ PA++ PL+ SC

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


[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-30 Thread Pent
I've setup a new accessibility service with the BIND permission:

service
android:label=Tasker - JB
android:name=.MyAccessibilityService
android:enabled=@bool/is_jellybean_or_higher
   android:permission=android.permission.BIND_ACCESSIBILITY_SERVICE

intent-filter
action
android:name=android.accessibilityservice.AccessibilityService /
/intent-filter
/service

I can see that this service is being used since the name in Android
accessibility settings is correct.

However, I'm still getting the problem described here:

http://code.google.com/p/android/issues/detail?id=33934

Don't see any security exceptions in the log. Are others still getting
this 'must turn accessibility off and on after a reboot' problem with
the BIND permission specified ?

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


Re: [android-developers] Extract traffic information from mapview

2012-07-30 Thread Mark Murphy
On Mon, Jul 30, 2012 at 3:03 AM, VGNU Linux vgnuli...@gmail.com wrote:
 I am new to android and followed a tutorial to display mapview.
 (https://developers.google.com/maps/documentation/android/hello-mapview)
 The mapview also displays traffic information using the a method
 mapview.setTraffic(true).
 The map view displays traffic information as lines red,green and yellow.
 My question here is it possible to extract this traffic information ?

Not really.

 I am trying to capture this traffic information and then convert it as audio
 and relay it to the user.

Then pay for some service that gives you traffic data via an API.

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

_The Busy Coder's Guide to Android Development_ Version 3.8 Available!

-- 
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 put ads in live wallpapers?

2012-07-30 Thread MobileVisuals
I see, we plan to implement the same solution that Fireflies uses with a 
transparent banner. Or do you think live wallpapers without ads will have 
better chances at getting lots of downloads and being selected for the 
best new free apps section?

I just wonder, because our live wallpapers have performed much better on 
SlideME than on Google play. One of our apps have been the most downloaded 
live wallpaper on SlideME, but not of them have ever reached the top40 most 
downloaded live wallpapers on Google Play, only the top100:(

Den måndagen den 30:e juli 2012 kl. 01:17:50 UTC+2 skrev FiltrSoft:

 lol, I can just see the headlines now, Google says apps with ads are bad 
 idea.

 I take back what I said about not building a business around live 
 wallpapers.  I didn't think people could make money with blogs when they 
 first started and a couple people got rich starting some highly successful 
 blogs, so anything is possible in this industry.

 MobileVisuals, it does sound like you answered your own question, though.

 On Sunday, July 29, 2012 2:56:14 PM UTC-4, Dianne Hackborn wrote:

 This isn't Google's opinion, it is my opinion.

 If other people have found ways to do ads that work, then great.  As I 
 said, I am not morally opposed to it, this just isn't a design goal for 
 them.

 And it sounds like you see ways to do things that you think are 
 acceptable, so what are you looking for in your original question...?

 On Sun, Jul 29, 2012 at 10:05 AM, MobileVisuals eyv...@astralvisuals.com
  wrote:

 Thanks for explaining Google's opinion on this! The free version of 
 Fireflies live wallpaper seems to have an ad solution, which works well.
 A transparent banner is shown at the top of the main screen for the live 
 wallpaper. The reviews for the app are good and I don't see any complaints 
 about the ad. I think it has been among the top40 most downloaded live 
 wallapers.

 SlideME is the other big android appstore. The purchase to download rate 
 here is almost 0%, so ad based free versions are the only solution for this 
 appstore. One option is to have one free version without ads for Google 
 play and and one version with ads for SlideME,but this would be time 
 consuming.

 A purchase to download rate of 1% can be realistic on Google play. A 
 company would get about 1$ if we the price is 1,5$. 100 000 free downloads 
 each month on Google play would then be required to earn 1000$. Much less 
 downloads would be required to
 get as much revenue if the free versions has ads.

 Could really a business model of only purchases generate as much revenue 
 as purchases+ads? Maybe if removing the ads generated much more downloads. 
 But there are a lot of live wallpapers with ads, which are getting lots of 
 downloads, like Fireflies live wallpaper.



 Den fredagen den 27:e juli 2012 kl. 23:39:20 UTC+2 skrev FiltrSoft:

 Yea, I don't think live wallpapers were meant as a thing to build a 
 business around, unless you can sell a whole lot of them for $.99, which 
 you might on iOS (if they had the functionality).

 www.filtrsoft.com

 On Friday, July 27, 2012 6:22:39 AM UTC-4, MobileVisuals wrote:

 Could you please explain why you think it is a terrible idea to mix 
 live wallpapers with advertising? 

 I have talked to several mobile advertising companies now and now one 
 has any other advertising solution for live wallpapers than push 
 notifications. Is any one else here developing live wallpapers? If so, 
 how 
 are you managing the advertising in the live wallpapers?

 Den onsdagen den 25:e juli 2012 kl. 19:10:12 UTC+2 skrev Dianne 
 Hackborn:

 Mixing live wallpapers with attempts at advertising seems like a 
 terrible idea to me.  Have you considering instead trying something like 
 in-app billing to allow users to unlock features in your app?

 On Wed, Jul 25, 2012 at 6:12 AM, MobileVisuals 
 eyv...@astralvisuals.com wrote:

 Is there any other way to advertise in live wallpapers than push 
 notifications? My company is using push notifications. This pays off 
 well, 
 but it also results in some bad reviews.I got this suggestion from 
 another 
 company:

 o Create a welcome page (name of the company, some app’s information)

 o Call for a Full screen ad with go and skip button

 o The go button will generate a click and transfer the user to the 
 add

 o The skip button will transfer the user to your app to continue the 
 app experience.

 Would this really work when the wallpaper is set as the current live 
 wallpaper? The user doesn't want to press a button every time the 
 screen is 
 woken up?

 Does anyone have any other idea of how to put ads in live 
 wallpapers? 
  
 -- 
 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 

[android-developers] Re: FileObserver not returning file changes within subfolders?

2012-07-30 Thread Alik Elzin
See an open bug:
http://code.google.com/p/android/issues/detail?id=12479

-- 
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] Extract traffic information from mapview

2012-07-30 Thread VGNU Linux
On Mon, Jul 30, 2012 at 4:07 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Mon, Jul 30, 2012 at 3:03 AM, VGNU Linux vgnuli...@gmail.com wrote:
  I am new to android and followed a tutorial to display mapview.
  (https://developers.google.com/maps/documentation/android/hello-mapview)
  The mapview also displays traffic information using the a method
  mapview.setTraffic(true).
  The map view displays traffic information as lines red,green and yellow.
  My question here is it possible to extract this traffic information ?

 Not really.





  I am trying to capture this traffic information and then convert it as
 audio
  and relay it to the user.

 Then pay for some service that gives you traffic data via an API.


Along with relaying this information as audio to the end user I also want
to show a map with their location on it.
Do you think google provides this services ? If not which other companies
or organization provides such services ?



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

 _The Busy Coder's Guide to Android Development_ Version 3.8 Available!

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


Regards,
VGNU

-- 
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: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-30 Thread Andrew Moore
I find it works, but only if declaring the settings in xml and not in code.
On 30 Jul 2012 10:57, Pent supp...@apps.dinglisch.net wrote:

 I've setup a new accessibility service with the BIND permission:

 service
 android:label=Tasker - JB
 android:name=.MyAccessibilityService
 android:enabled=@bool/is_jellybean_or_higher
android:permission=android.permission.BIND_ACCESSIBILITY_SERVICE
 
 intent-filter
 action
 android:name=android.accessibilityservice.AccessibilityService /
 /intent-filter
 /service

 I can see that this service is being used since the name in Android
 accessibility settings is correct.

 However, I'm still getting the problem described here:

 http://code.google.com/p/android/issues/detail?id=33934

 Don't see any security exceptions in the log. Are others still getting
 this 'must turn accessibility off and on after a reboot' problem with
 the BIND permission specified ?

 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


-- 
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: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-30 Thread Pent
 I find it works, but only if declaring the settings in xml and not in code.

Oh no... the user needs to be able to specify the settings...

Thanks for the info in any case.

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] is it possible to make tab on top and bottom of screen

2012-07-30 Thread Rocky
all,

is it possible to create Tab Bar on top and Bottom of screen, by any how ?

-- 
Thanks  Regards

Rakesh Kumar Jha
Android Developer, Trainer and Mentor
Bangalore
Skype - rkjhaw
(O) +918050753516
(R) +919886336619

-- 
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 it possible to make tab on top and bottom of screen

2012-07-30 Thread abhijeet tomar
i think ,it is not possible..

-- 
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 it possible to make tab on top and bottom of screen

2012-07-30 Thread Rocky
If we play with TabHost ? that is responsible for hosting tab either bottom
or top :)

I hope that it is possible, i'm trying and doing RD. If any one
know/hints, most welcome

On Mon, Jul 30, 2012 at 5:14 PM, abhijeet tomar abhijeet...@gmail.comwrote:

 i think ,it is not possible..

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




-- 
Thanks  Regards

Rakesh Kumar Jha
Android Developer, Trainer and Mentor
Bangalore
Skype - rkjhaw
(O) +918050753516
(R) +919886336619

-- 
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] Debugging a complex native application (shared libs)

2012-07-30 Thread Fabien R
On 30/07/2012 11:05, Cyril CHAMPIER wrote:
 Thank you for your great help.

 I indeed forgot to mention that I already read most of the tutorials on the 
 net, and none of them speak about a complex project
 with 1 java project using 1 jni project using 5 external pure c++ libs.
   
Did you already manage to debug a simple jni printing Hello world ?

-- 
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: Finishing ActivityGroup which combine Top and Bottom tabs together in same activity ??

2012-07-30 Thread RKJ (Android developer)
Can u post source code or send it to me. I'm also trying to create 4 tabs 
at Top and 4 tabs at bottom, but not able to do it.


On Thursday, 2 February 2012 06:18:32 UTC+5:30, AndroidGirl8 wrote:



 I made ActivityGroup which combined two activities one activity for 
 TOP tab and second one for BOTTOM tab and it works fine BUT when I 
 click in any activity on tab both tabs (top and bottom) still there 
 however this activity don't have them. 

 My question now how I finish this ActivityGroup how I get rid of it 
 when I click on any activity in this tabs i tried using finish() but i 
 throws exception . may be this a stupid question but i still beginner 
 in android and really appreciate any help 

 Here is my code : 

  public class Multi extends ActivityGroup{ 
 LinearLayout layout; 
 LinearLayout layout_s1; 
 LinearLayout layout_s2; 


 @Override 
 protected void onCreate(Bundle savedInstanceState) { 
 // TODO Auto-generated method stub 
 super.onCreate(savedInstanceState); 

 setContentView(R.layout.multiview); 

 layout = (LinearLayout) findViewById(R.id.multiview_layout); 
 layout_s1 = (LinearLayout) findViewById(R.id.my_view_1); 
 layout_s2 = (LinearLayout) findViewById(R.id.my_view_2); 

 LocalActivityManager mgr = getLocalActivityManager(); 

 layout_s1.addView((mgr.startActivity(MyOtherActivityInstance1, 
 new Intent(this, Tab1.class))).getDecorView()); 
 layout_s2.addView((mgr.startActivity(MyOtherActivityInstance2, 
 new Intent(this, Tab2.class))).getDecorView()); 


 } 
}

-- 
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] Timeout

2012-07-30 Thread Francisco Marzoa
Hi,

Could you paste the exact error message?

Regards,
El 29/07/2012 21:44, Karlos Aizpurua karlos6aizpu...@gmail.com escribió:

 Hello!

 I'm a beginner so forgive me for my lack of knowledge.

 I've done a simple App in Eclipse: However, when I run it both on the
 smulator and my phone I get timeout errors. I've changed de ADB connection
 timeout (up to 300seconds) nothing improves though.

 What can I do?

 --
 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] Beginner

2012-07-30 Thread Luiz Fernando Rodrigues
Hi Rithanya,

You should try the online documentation first:
http://developer.android.com/training/index.html

The Busy Coder's Guide to Android Develpment is also a good source.
http://commonsware.com/Android/

There several question to this group on this subject. You can search the
group for other sources.

cheers,
Luiz


2012/7/29 Rithanya 1988ritha...@gmail.com

 Hey Everyone!
 I have Samsung Nexus which uses Android 4.1.1 (Jelly Beans). I'd like to
 develop my own applications but I'm new to this and I absolutely have no
 idea.. I've installed the SDK and I've also configured Eclipse.. Please let
 me know how to code.. I'm a beginner and I need a lot of help.. 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] APKs different with the same source code

2012-07-30 Thread Francisco Marzoa
Hi,

You will need to use a different package name for each app version, so you
need to make a few changes in the code in each.

Best way to achieve this is to use a library project to share all then
common code. Read on Android Developers docs about these.

Regards,
El 29/07/2012 21:39, ansj tw ans...@gmail.com escribió:

 I have a doubt, to do to compile for different APKs with the same source?
 Example: the first is named app01 with a particular theme, and the second
 is named app02 with another theme.
 Have researched some thing in the Manifest, but could not solve ...
 Can anyone 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] Warning at hello world program

2012-07-30 Thread Francisco Marzoa
If you do not care about l10n, you can just ignore it. Also I think you can
configure lint to not warn on such issues.
El 29/07/2012 21:39, Edlialbanian edlialban...@gmail.com escribió:

 Hi guys i'm new here and i'm getting a warning i my firt app .
 I get thir error
 [I18N] Hardcoded string Welcome, should use @string resource

 what should i do ??

 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] Help please-new android app suck - the target API is empty

2012-07-30 Thread Francisco Marzoa
Send your question to a phonegap forum if any, or contact phonegap support.
El 29/07/2012 21:44, kaitama3 itamarkal...@gmail.com escribió:

 Hi,

 I start to develope app for android with phonegap.com
 I created a new project and choose new android application
 when i fill the app name i also need to choos an terget API,

 but i can't becouse its empty, what should i do ?
 i can't click in next.

 --
 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: Exception chaos using the FragmentStatePagerAdapter (support package)

2012-07-30 Thread user123
Yes, thanks, I finished doing something similar... returning empty 
parcelable. But I think the problem, in my case, was that I was using 
nested fragments and that seems not to be supported. I changed my code to 
use only 1 level of fragments and had not these exceptions anymore.


On Thursday, July 19, 2012 9:08:39 PM UTC+2, user123 wrote:

 I'm using the FragmentStatePagerAdapter in a ViewPager, in order to 
 provide mutable content (FragmentPagerAdapter didn't work, it was not 
 possible to change the content after having set it the first time).

 Mainly it works, but it crashes frequently because of 
 IllegalStateExceptions: Fragment no longer exists / No view found for 
 id 0xcf for fragment / Fragment is no longer in the fragment manager 
 (and forgot the 4th one). There's nothing directly related to my code in 
 the stack trace, all I know, is that it's somehow related with saving / 
 restoring state, and trying to access not existing fragments.

 The documentation in 
 http://developer.android.com/reference/android/support/v4/app/FragmentStatePagerAdapter.html
  doesn't 
 give my any help, the description and example is very basic and don't say 
 anything about having to care about saving / restoring fragment's state. 
 And I don't have time to study all the source.

 All the documentation says about requeriments is:

 When using FragmentPagerAdapter the host ViewPager must have a valid ID 
 set.

 Subclasses only need to implement 
 getItem(int)http://developer.android.com/reference/android/support/v4/app/FragmentStatePagerAdapter.html#getItem(int)
  and 
 getCount()http://developer.android.com/reference/android/support/v4/view/PagerAdapter.html#getCount()
  to 
 have a working adapter.

 I'm doing that. 

 Can somebody help me out of this, at least giving me a logical background 
 of these problems and what am I supposed to to? 


-- 
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] Why do I need a MotoDev login to install sdk?

2012-07-30 Thread Francisco Marzoa
Do not install those and problem solved.
El 29/07/2012 21:44, huygir huy...@gmail.com escribió:

 I was wondering the same thing (obviously I was very out of date on SDK
 updates).

 This does not really answer the question... why in the world would
 Motorola restrict access to their emulators such that apps cannot be easily
 validated for their phones?  I am not going to create yet another dev
 account just so I can download their stuff - if they want my apps to work
 on their devices then make it publicly accessible.

 Just another reason to dislike Droids... go Samsung.

 On Monday, January 16, 2012 7:16:23 AM UTC-5, Mark Murphy (a Commons Guy)
 wrote:

 That should only be needed for the emulator images and such from
 Motorola Mobility. If you do not have a MOTODEV login and do not wish
 to obtain one, uncheck those items in the SDK Manager before clicking
 the Install packages... button.

 On Fri, Jan 13, 2012 at 6:10 PM, JeffH dunde...@gmail.com wrote:
  Newbie installing sdk, running the update, I was prompted for my
  MOTODEV login and it appears that I had to have it to continue.  What
  is up with that?
 
  Best,
 
  Jeff
 
  --
  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 android-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

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

 Android Training in DC: 
 http://marakana.com/training/**android/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

-- 
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: Make SlidingDrawer's content always visible?

2012-07-30 Thread user123
I posted a solution in stackoverflow:  
http://stackoverflow.com/questions/11492311/make-slidingdrawers-contents-part-always-visible/11570919#11570919
 

On Friday, July 20, 2012 1:02:14 AM UTC+2, MagouyaWare wrote:

 I did look at the image you posted... and it didn't make sense.  Now that 
 you have explained it properly it makes more sense.

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Thu, Jul 19, 2012 at 12:29 AM, user123 wrote:

 Please look at the image I posted. I want to use it like usual 
 (open/collapse/slide) but with the difference that always a small part is 
 visible.

 It's because the drawer is containing a list view and I want that the 
 first item is always visible.


 On Monday, July 16, 2012 5:54:10 PM UTC+2, MagouyaWare wrote:

 So, you are using a sliding drawer and you never want it to collapse?

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/**magouyawarehttp://sites.google.com/site/magouyaware


 On Mon, Jul 16, 2012 at 2:56 AM, user123 ivanschu...@gmail.com wrote:

 Hi golf oo, your answer is empty.


 On Sunday, July 15, 2012 5:02:25 PM UTC+2, user123 wrote:

 I'm using android:bottomOffset to make the drawer stick out 100dip 
 from the bottom. That works fine, but my content is not visible. It's 
 only 
 visible when I touch the drawer. How can I make that its always visible 
 (the 100dip show the content)?

 I first thought it's a visibility issue, because the visibility of the 
 content is set to GONE in onFinishInflate(), prepareContent(), 
 closeDrawer()... copied the SlidingDrawer and removed these lines, 
 didn't solve it. It seems that it is a position issue, currently I'm 
 playing with the numbers but still don't find how to make the view appear 
 where it should be... and don't have more time for this... any help is 
 greatly appreciated.

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




-- 
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: What is the best way to handle out of memory, because of bitmaps, on devices pre-honeycomb with low memory limit

2012-07-30 Thread user123
Yes, applying these techniques already... bitmap recycling has to be 
improved although. Thanks.

On Monday, July 16, 2012 3:54:15 AM UTC+2, smith wrote:

Is your app needs bitmaps as many as Gallery ?  My way is that,  

 1. re-use all the Manage Object which contains the reference of the 
 Bitmaps to avoid gc to collection this structures.
 2. manually recycle bitmaps when not needed 
 3. multi-thread decode bitmap and insert 

 2012/7/15 user123 ivanschu...@gmail.com

 I don't understand why it's not just possible to (easily) say, please, 
 free all the memory in the native heap *now* - I don't care if I have to 
 wait a bit, for garbage collection and so on. But this is not possible and 
 I have just to rely on the system and see how my app keeps crashing...


 On Sunday, July 15, 2012 12:35:44 AM UTC+2, user123 wrote:

 My app has a lot static images (backgrounds, buttons, etc.) and a lot of 
 small images, which loads from the web. These images are shown in a list 
 view, for example.

 I'm looking for a strategy to avoid out of memory errors. In the devices 
 with less than 25 mb it runs out of memory very soon and crashes.

 What I have done:

 - Put the static images with the correct resolution in the correct 
 folder (in this specific case it's hdpi).
 - Create a singleton class which caches the dynamically loaded images.

 Even if I disable the caching in the singleton class, I'm running out of 
 memory. I logged the native usage with Debug.**getNativeHeapAllocatedSize() 
 and I know that bitmaps are the cause of the problem.

 I can't lose quality of the images.

 I would take in account slower loading speed, as long as the app doesn't 
 crash! But calling System.gc() doesn't seem to be reliable, even less with 
 native heap, and recycle manually the bitmaps at the end of each activity 
 is a pain, because first, I have to initialize all the backgrounds in code, 
 in order to get a reference to the bitmap, then I have to use some data 
 structure, to hold all the bitmaps, and at the end of each activity call 
 recycle on all, and then I have also to manage, that, in the next activity, 
 I don't try to use the same bitmap instances, because I'll get exception 
 trying to use a recycled bitmap.

 So what do I have to do? Please 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




-- 
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: Memory issues in list view with bitmaps

2012-07-30 Thread user123
hm, well, I'm not allowed to change the design of the app here. So this 
will not be applyable. But what I'm doing not, still not perfect, is 
getting how much memory the device has available and load pic with 
different resolution accordingly. The number is limited and the size is 
already not that-big, so these measures are enough for me.

On Sunday, July 15, 2012 5:52:39 PM UTC+2, RichardC wrote:

 Some options:

- load thumbnails only and let the user click one to see it large
- use a scrolling thumbnail image bar which and show its centre image 
above it as large as possible. On a phone imaging a small bar (full width) 
at the bottom of the screen with 3 or 5 thumbnails.  You would show the 
centre thumbnail above the bar filling the rest of the screen and the user 
would swipe left/right on the thumbnails to change image.
- only show 1 large image and make the user swipe to scroll to the 
next.

 In all of the above options there is only ever 1 large image loaded at any 
 time. Thumbnails should be re-sampled as they are loaded so as to only use 
 a few KB.

 On Sunday, July 15, 2012 11:00:57 AM UTC+1, user123 wrote:

 I forgot to say, I'm targeting API 7.



-- 
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] Android pics inverted when taking with front camera (started via intent)

2012-07-30 Thread user123


I have the same problem described here: Android Front Facing Camera Taking 
Inverted 
Photoshttp://stackoverflow.com/questions/10283467/android-front-facing-camera-taking-inverted-photos

What's different in my case is that I'm starting the camera app via intent, 
not implementing it myself. So probably no way to use CameraInfo or the 
like. How can I solve this?

In order to summarize: When starting camera via intent and take the picture 
using front camera, the returned bitmap is rotated by 180°.

-- 
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 put ads in live wallpapers?

2012-07-30 Thread FiltrSoft
That's probably a better question for a marketing forum than a developer 
forum.

On Monday, July 30, 2012 6:48:10 AM UTC-4, MobileVisuals wrote:

 I see, we plan to implement the same solution that Fireflies uses with a 
 transparent banner. Or do you think live wallpapers without ads will have 
 better chances at getting lots of downloads and being selected for the 
 best new free apps section?

 I just wonder, because our live wallpapers have performed much better on 
 SlideME than on Google play. One of our apps have been the most downloaded 
 live wallpaper on SlideME, but not of them have ever reached the top40 most 
 downloaded live wallpapers on Google Play, only the top100:(

 Den måndagen den 30:e juli 2012 kl. 01:17:50 UTC+2 skrev FiltrSoft:

 lol, I can just see the headlines now, Google says apps with ads are bad 
 idea.

 I take back what I said about not building a business around live 
 wallpapers.  I didn't think people could make money with blogs when they 
 first started and a couple people got rich starting some highly successful 
 blogs, so anything is possible in this industry.

 MobileVisuals, it does sound like you answered your own question, though.

 On Sunday, July 29, 2012 2:56:14 PM UTC-4, Dianne Hackborn wrote:

 This isn't Google's opinion, it is my opinion.

 If other people have found ways to do ads that work, then great.  As I 
 said, I am not morally opposed to it, this just isn't a design goal for 
 them.

 And it sounds like you see ways to do things that you think are 
 acceptable, so what are you looking for in your original question...?

 On Sun, Jul 29, 2012 at 10:05 AM, MobileVisuals 
 eyv...@astralvisuals.com wrote:

 Thanks for explaining Google's opinion on this! The free version of 
 Fireflies live wallpaper seems to have an ad solution, which works well.
 A transparent banner is shown at the top of the main screen for the 
 live wallpaper. The reviews for the app are good and I don't see any 
 complaints about the ad. I think it has been among the top40 most 
 downloaded live wallapers.

 SlideME is the other big android appstore. The purchase to download 
 rate here is almost 0%, so ad based free versions are the only solution 
 for 
 this appstore. One option is to have one free version without ads for 
 Google play and and one version with ads for SlideME,but this would be 
 time 
 consuming.

 A purchase to download rate of 1% can be realistic on Google play. A 
 company would get about 1$ if we the price is 1,5$. 100 000 free downloads 
 each month on Google play would then be required to earn 1000$. Much less 
 downloads would be required to
 get as much revenue if the free versions has ads.

 Could really a business model of only purchases generate as much 
 revenue as purchases+ads? Maybe if removing the ads generated much more 
 downloads. But there are a lot of live wallpapers with ads, which are 
 getting lots of downloads, like Fireflies live wallpaper.



 Den fredagen den 27:e juli 2012 kl. 23:39:20 UTC+2 skrev FiltrSoft:

 Yea, I don't think live wallpapers were meant as a thing to build a 
 business around, unless you can sell a whole lot of them for $.99, which 
 you might on iOS (if they had the functionality).

 www.filtrsoft.com

 On Friday, July 27, 2012 6:22:39 AM UTC-4, MobileVisuals wrote:

 Could you please explain why you think it is a terrible idea to mix 
 live wallpapers with advertising? 

 I have talked to several mobile advertising companies now and now one 
 has any other advertising solution for live wallpapers than push 
 notifications. Is any one else here developing live wallpapers? If so, 
 how 
 are you managing the advertising in the live wallpapers?

 Den onsdagen den 25:e juli 2012 kl. 19:10:12 UTC+2 skrev Dianne 
 Hackborn:

 Mixing live wallpapers with attempts at advertising seems like a 
 terrible idea to me.  Have you considering instead trying something 
 like 
 in-app billing to allow users to unlock features in your app?

 On Wed, Jul 25, 2012 at 6:12 AM, MobileVisuals 
 eyv...@astralvisuals.com wrote:

 Is there any other way to advertise in live wallpapers than push 
 notifications? My company is using push notifications. This pays off 
 well, 
 but it also results in some bad reviews.I got this suggestion from 
 another 
 company:

 o Create a welcome page (name of the company, some app’s 
 information)

 o Call for a Full screen ad with go and skip button

 o The go button will generate a click and transfer the user to the 
 add

 o The skip button will transfer the user to your app to continue 
 the app experience.

 Would this really work when the wallpaper is set as the current 
 live wallpaper? The user doesn't want to press a button every time the 
 screen is woken up?

 Does anyone have any other idea of how to put ads in live 
 wallpapers? 
  
 -- 
 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] how to run a task in background,eventhough i am out of the application

2012-07-30 Thread Vijay Krishnan
Hi all,
 I want to run a task in background,eventhough i am out of the
application.

Thanks,
vijay.k

-- 
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: how to run a task in background,eventhough i am out of the application

2012-07-30 Thread bob
 

I would try creating a Service instead of an Activity.

On Monday, July 30, 2012 8:38:37 AM UTC-5, Vijay Krishnan wrote:

 Hi all,
  I want to run a task in background,eventhough i am out of the 
 application.

 Thanks,
 vijay.k


-- 
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: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility

2012-07-30 Thread Andrew Moore
I know it's not ideal for my app either and means there's lots of
additional activity taking place because I can't restrict the package
monitoring as much as i would like.
On 30 Jul 2012 12:30, Pent supp...@apps.dinglisch.net wrote:

  I find it works, but only if declaring the settings in xml and not in
 code.

 Oh no... the user needs to be able to specify the settings...

 Thanks for the info in any case.

 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


-- 
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 pics inverted when taking with front camera (started via intent)

2012-07-30 Thread bob
 

Rotated 180 degrees or flipped horizontally?  The latter seems more 
probable.

On Monday, July 30, 2012 7:59:02 AM UTC-5, user123 wrote:

 I have the same problem described here: Android Front Facing Camera 
 Taking Inverted 
 Photoshttp://stackoverflow.com/questions/10283467/android-front-facing-camera-taking-inverted-photos

 What's different in my case is that I'm starting the camera app via 
 intent, not implementing it myself. So probably no way to use CameraInfo or 
 the like. How can I solve this?

 In order to summarize: When starting camera via intent and take the 
 picture using front camera, the returned bitmap is rotated by 180°.


-- 
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: Memory issues in list view with bitmaps

2012-07-30 Thread bob
Are you positive it's crashing with an OutOfMemoryError?

Sounds like it could be something else.



On Sunday, July 15, 2012 4:59:27 AM UTC-5, user123 wrote:

 What is the best way to handle a very long list view with bitmaps in a low 
 memory device? I'm getting crashes after I scroll a bit... I don't want to 
 loose image quality... I was thinking about loading only the number of 
 items which is possible for the available memory, but this is obviously a 
 bad solution. Do I have to recycle manually the bitmaps, in getView(), 
 according to the position...? Is this the way to handle this?

 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

[android-developers] Re: Help please-new android app suck - the target API is empty

2012-07-30 Thread bob
 

Sounds like you need to install the Android SDK and tell phone gap where 
you put it.



On Friday, July 27, 2012 7:54:29 PM UTC-5, kaitama3 wrote:

 Hi,

 I start to develope app for android with phonegap.com
 I created a new project and choose new android application
 when i fill the app name i also need to choos an terget API,

 but i can't becouse its empty, what should i do ?
 i can't click in next.


-- 
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 pics inverted when taking with front camera (started via intent)

2012-07-30 Thread user123
Uhm... don't remember. Is there a solution for any of the cases? I'll check 
it again.


On Monday, July 30, 2012 3:50:52 PM UTC+2, bob wrote:

 Rotated 180 degrees or flipped horizontally?  The latter seems more 
 probable.

 On Monday, July 30, 2012 7:59:02 AM UTC-5, user123 wrote:

 I have the same problem described here: Android Front Facing Camera 
 Taking Inverted 
 Photoshttp://stackoverflow.com/questions/10283467/android-front-facing-camera-taking-inverted-photos

 What's different in my case is that I'm starting the camera app via 
 intent, not implementing it myself. So probably no way to use CameraInfo or 
 the like. How can I solve this?

 In order to summarize: When starting camera via intent and take the 
 picture using front camera, the returned bitmap is rotated by 180°.



-- 
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 it possible to make tab on top and bottom of screen

2012-07-30 Thread Larry Meadors
It is possible. Not perfect, but adequate.

?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:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent
android:padding=5dp
FrameLayout
android:id=@android:id/tabcontent
android:layout_width=fill_parent
android:layout_height=wrap_content
android:padding=3dp
android:layout_weight=1/
TabWidget
android:id=@android:id/tabs
android:layout_width=fill_parent
android:layout_height=45dp
android:layout_weight=0
android:layout_gravity=bottom/
/LinearLayout
/TabHost

Larry

-- 
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 it possible to make tab on top and bottom of screen

2012-07-30 Thread Larry Meadors
Aw crap - sorry misread your question - that's JUST at the bottom. :-/

Larry


On Mon, Jul 30, 2012 at 8:20 AM, Larry Meadors larry.mead...@gmail.com wrote:
 It is possible. Not perfect, but adequate.

 ?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:orientation=vertical
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:padding=5dp
 FrameLayout
 android:id=@android:id/tabcontent
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:padding=3dp
 android:layout_weight=1/
 TabWidget
 android:id=@android:id/tabs
 android:layout_width=fill_parent
 android:layout_height=45dp
 android:layout_weight=0
 android:layout_gravity=bottom/
 /LinearLayout
 /TabHost

 Larry

-- 
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: Zooming on a custom overlay

2012-07-30 Thread Todd Bennett
Hey Igor,
 
I am trying to subclass the Overlay class so that I can pull tiles 
(generated from MapTiler) from a website and put them on top of Google Maps 
that are showing.  I am tryng to do this in Android.  Could you provide 
some sample code that might help?
 
Any and all help is appreciated.
 
Thanks,
 
Todd

On Wednesday, November 17, 2010 2:16:22 PM UTC-5, Igor Prilepov wrote:

 I used the Overlay class for this purpose. 
 Here is the main part of the MyOverlay::Draw() method: 
 // convert bitmap's bounding box into pixels 
 Point top_left = new Point(); 
 mapView.getProjection().toPixels(min, top_left); 
 Point bottom_right = new Point(); 
 mapView.getProjection().toPixels(max, bottom_right); 

 // Prepare two rectangles (pixels) 
 Rect src = new Rect( 0,0,bmp.getWidth() - 1, bmp.getHeight() - 1 
 ); 
 Rect dst = new Rect( top_left.x, bottom_right.y, 
 bottom_right.x,top_left.y ); 

 // draw bitmap 
 canvas.drawBitmap( bmp, src, dst, null); 

 Since it uses current mapView then zooming and panning are supported 
 automatically. 

 Obviously you need to now left top (GeoPoint min in the code above) 
 and right bottom (GeoPoint max) coordinates for your picture (I used 
 Google Earth for this purpose). 

 Good luck. 
 Igor 

 On Nov 17, 7:52 am, Allan Valeriano allvaleri...@gmail.com wrote: 
  Hi all, 
  
  does anybody knows if it is possible to zoom in and out on a custom 
  overlay and enlarge the image? 
  I'd like to do something like that:
 http://geoserver.nima.puc-rio.br/puc-rio/ 
  
  If you zoom in, you'll notice that the image gets bigger.

-- 
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: Regarding Application is not installed alert

2012-07-30 Thread Dan
Don't do the permission check in the child application manifest. Use:

http://developer.android.com/reference/android/app/Activity.html#startActivityForResult%28android.content.Intent,%20int%29

from your launcher, and in the child apps use:

http://developer.android.com/reference/android/app/Activity.html#getCallingActivity%28%29

or

http://developer.android.com/reference/android/app/Activity.html#getCallingPackage%28%29

Do some application/package manager gyrations to get the UID/PID of the 
calling app and look for your permission with:

http://developer.android.com/reference/android/content/ContextWrapper.html#checkPermission%28java.lang.String,%20int,%20int%29

If there is no permission, or getCallingActivity returns null, put up your 
use my launcher screen (or even better, just
launch your launcher if it was called by somebody else and let them start 
from there), otherwise, do your stuff.  

 Dan S.


On Thursday, July 26, 2012 12:31:32 AM UTC-4, Bunty syed wrote:

  
 Hi All,

 Actually I have one launcher with some child apps.

 I have given permission in all child apps so that only my launcher can 
 launch them as follows
 permission 
 android:name=android.permission.LAUNCH_KONY_POLICYINJECTED_APPS 
 android:protectionLevel=signature/

 Tat is working fine. So with above, if any other application not signed 
 with same keystore of child apps  not having required permission will get 
 Permission denial exception while trying to launch the child apps .

 Now my doubt is when I click any of  installed child Apps in the phone 
 application menu, I am getting Alert saying that Application is not 
 installed..
  Tat is a expected behavior.
 But is there any way to customize that Alert message instead I want to 
 display my alert message like Plz launch from my launcher app.






-- 
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] Set bounds for one layer of LayerDrawable?

2012-07-30 Thread Jonathan Koren
I'm creating a custom View that looks like a horizontal ProgressBar but 
doesn't always have to touch the left edge. My approach is to use a 
LayerDrawable in which one layer uses different bounds (computed at run 
time). The attachement shows expected (top) versus actual (bottom) results.

From what I can tell, setting the bounds for one layer also sets the bounds 
for the entire LayerDrawable. The code in the custom View is essentially 
this:

int left, top, right, bottom;
/*... do some math ... */
Drawable d = mDrawable.findDrawableByLayerId(R.id.custom_layer_id);
d.setBounds(left, top, right, bottom);


Meanwhile, the xml for the drawable is this:

layer-list xmlns:android=http://schemas.android.com/apk/res/android; 

item

shape android:shape=rectangle 

solid android:color=#ff99 /

/shape

/item

item

android:id=@id/custom_layer_id

android:drawable=@drawable/test_gradient/

/layer-list 


Can I set bounds for an individual layer without affecting the other 
layers? If not, what can I do to get around this issue?

-- 
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=enattachment: layer_problem.png

Re: [android-developers] Byte [] image

2012-07-30 Thread Jim Graham
On Mon, Jul 30, 2012 at 07:12:52AM -0700, Numair Qadir wrote:
 I'm working on an app, in which i convert the byte[] image to bitmap, but 
 it showed me some weird image, (in attachment), here is my code

No need to look at the attached image...I can already see the errors.


   int width = parameters.getPreviewSize (). width;
   int height = parameters.getPreviewSize (). height;

Ok, why are you bothering with the preview size?  You aren't dealing with
the preview here---you're dealing with the PHOTO image now.  But that's
not important, as you don't even NEED the width or height here.  So
remove the above two lines.

   ByteArrayOutputStream outStr = new ByteArrayOutputStream ();
   Rect rect = new Rect (0, 0, width, height); 
   YuvImage yuvimage = new YuvImage (arg0, ImageFormat.NV21, width,
  height, null);
   yuvimage.compressToJpeg (rect, 100, outStr);

Ok, what's all this junk for?  Toss it all into the bin

   Bitmap bmp = BitmapFactory.decodeByteArray (outstr.toByteArray (), 0,
outstr.size ());

Ok, now we're where we should be...except what you have about should look
more like this:

public void onPictureTaken(final byte[] data, final Camera camera) {
   .
   Bitmap bmp = BitmapFactory.decodeByteArray(data, 0, data.length, options);
   .
}

And then you have your bitmap.  Be careful, however...anything over about
3 MP is going to cause an Out Of Memory Error when you exceed the amount
of heap the Java side allows you to use (which may be higher for devices
with higher-resolution cameras).  I suggest using try/catch to avoid
locking the camera and forcing the user to reboot to reset the camera.
Then you can at least exit gracefully.

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)MiSTie #49997   Running Mac OS X Lion 
spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W

   Saw something on TV about Psych-os.
 H, Psych OS.  Perhaps the next freeware OS   --me

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] Re: Binding service from Simple Java Class

2012-07-30 Thread TreKing
On Mon, Jul 30, 2012 at 4:43 AM, MMM monikamit...@gmail.com wrote:

 If I call bindService() method, its giving me error as bindService()
 method is not defined.


It is defined, but in the Context class. If you don't understand why you
can't arbitrarily call a method defined in another class from another
unrelated class, you need to spend some more time learning Java.


  So, my question is that, do I need any class which is extended from a
 component like Activity/Service to bind my service or can I bind the
 service directly from simple Java class?


You either extend Activity, Service or another Context-derived class
yourself or you pass an instance of a Context to this simple Java class.

-
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] Fragments Bitmap Recycling + a bunch of bitmap oriented questions.

2012-07-30 Thread bob
 

*“640K ought to be enough for anyone”*

On Monday, July 30, 2012 1:30:46 AM UTC-5, Dianne Hackborn wrote:

 On Sun, Jul 29, 2012 at 5:45 PM, bob b...@coolfone.comze.com wrote:

 Worried about memory?  Try this:
 application android:largeHeap=true


 No.

 First of all, this only helps you on higher-end devices that have lots of 
 memory to give you.  So you still need to look at the memory available and 
 make sure you don't exceed it, and the limit may not be any more than you 
 have now.  So this actually requires that you do *more* work on memory 
 management.

 Second, let's look at the documentation: 
 http://developer.android.com/guide/topics/manifest/application-element.html#largeHeap
  

 In particular: Most apps should not need this and should instead focus on 
 reducing their overall memory usage for improved performance.

 And if you follow the link to getLargeMemoryClass(): 
 http://developer.android.com/reference/android/app/ActivityManager.html#getLargeMemoryClass()

 We'll further emphasize this: This is the space available for 
 memory-intensive applications; most applications should not need this 
 amount of memory, and should instead stay with the getMemoryClass() limit.

 This API does not solve your memory problems.  You are programming for a 
 mobile, battery-powered, memory-constrained device.  Part of that is tight 
 memory management.  You don't get to shove an attribute in your manifest 
 and abdicate on that responsibility.

 -- 
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to 
 provide private support, and so won't reply to such e-mails.  All such 
 questions should be posted on public forums, where I and others can see and 
 answer them.



-- 
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] SlidingDrawer backgrounds

2012-07-30 Thread Ken H
This may be a stupid question (I just started getting into SlidingDrawers), 
but I have some buttons at the bottom of my drawer in a LinearLayout, and I 
want to set the background area around the buttons to a solid color -- the 
draw slides over a map and I can see the map behind the buttons...I don't 
want to see the map behind the buttons.

I know this should be simple, but simple things elude me.

Ken

-- 
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] Receive sms

2012-07-30 Thread Ehsan Sadeghi
I write this code in manifest file :
uses-sdk
android:minSdkVersion=8
android:targetSdkVersion=15 /

application
android:icon=@drawable/ic_launcher
android:label=@string/app_name
android:theme=@style/AppTheme 
activity
android:name=.MainActivity
android:label=@string/title_activity_main 
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
activity
android:name=.Realstate
android:exported=false 
   android:label=@string/title_activity_main 
intent-filter
action android:name=ir.smspeik.sms.realstate /
category android:name=android.intent.category.DEFAULT /
/intent-filter
/activityreceiver android:name=.ReceiveSms 
android:exported=false
intent-filter
action 
android:name=android.provider.Telephony.SMS_RECEIVED/action
/intent-filter
/receiver
   /application
uses-permission android:name=android.permission.SEND_SMS /
uses-permission  android:name=android.permission.RECEIVE_SMS /
 
and this code in ReceiveSms : 
*

package
*

ir.smspeik.sms;

**
*

import
*

android.content.BroadcastReceiver;
**
*

import
*

android.content.Context;
**
*

import
*

android.content.Intent;
**
*

import
*

android.os.Bundle;
**
*

import
*

android.telephony.SmsMessage;
**
*

import
*

android.widget.Toast;

**
*

public
*

*class* ReceiveSms *extends* BroadcastReceiver{

@Override

*public* *void* onReceive(Context context, Intent intent)

{

//---get the SMS message passed in---

Bundle bundle = intent.getExtras();

SmsMessage[] msgs = 

*null*;

String str = 

;

*if* (bundle != *null*)

{

//---retrieve the SMS message received---

Object[] pdus = (Object[]) bundle.get(

pdus);

msgs = 

*new* SmsMessage[pdus.length];

*for* (*int* i=0; imsgs.length; i++){

msgs[i] = SmsMessage.*createFromPdu*((

*byte*[])pdus[i]);

str += 

SMS from  + msgs[i].getOriginatingAddress();

str += 

 :;

str += msgs[i].getMessageBody().toString();

str += 

\n;

}

//---display the new SMS message---

Toast.*makeText*(context, str, Toast.

*LENGTH_LONG*).show();

}

}

}

but when I send sms to emulator the application doesn't receive it and 
builtin messaging get sms.

-- 
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] Landscape

2012-07-30 Thread Ehsan Sadeghi
I have layout and layout-land in my app and in both have a file is named 
realstate.xml, in portrait everything is ok, but in landscape application 
stops by following error :
07-30 18:29:51.186: D/gralloc_goldfish(659): Emulator without GPU emulation 
detected.
07-30 18:29:53.757: D/InputEventConsistencyVerifier(659): KeyEvent: 
ACTION_UP but key was not down.
07-30 18:29:53.757: D/InputEventConsistencyVerifier(659):   in 
android.view.ViewRootImpl@4121ca30
07-30 18:29:53.757: D/InputEventConsistencyVerifier(659):   0: sent at 
13800500, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, 
scanCode=232, metaState=0, flags=0x8, repeatCount=0, eventTime=138005, 
downTime=137916, deviceId=0, source=0x301 }
07-30 18:30:11.055: D/dalvikvm(659): GC_CONCURRENT freed 163K, 4% free 
8251K/8519K, paused 46ms+5ms, total 280ms
07-30 18:30:12.105: I/Choreographer(659): Skipped 48 frames!  The 
application may be doing too much work on its main thread.
07-30 18:30:16.055: I/Choreographer(659): Skipped 44 frames!  The 
application may be doing too much work on its main thread.
07-30 18:30:36.579: I/Choreographer(659): Skipped 41 frames!  The 
application may be doing too much work on its main thread.
07-30 18:30:42.605: I/Choreographer(659): Skipped 30 frames!  The 
application may be doing too much work on its main thread.
07-30 18:30:55.867: I/Choreographer(659): Skipped 39 frames!  The 
application may be doing too much work on its main thread.
07-30 18:31:15.974: I/Choreographer(659): Skipped 41 frames!  The 
application may be doing too much work on its main thread.
07-30 18:31:20.456: I/Choreographer(659): Skipped 51 frames!  The 
application may be doing too much work on its main thread.
07-30 18:32:11.687: D/AndroidRuntime(659): Shutting down VM
07-30 18:32:11.687: W/dalvikvm(659): threadid=1: thread exiting with 
uncaught exception (group=0x40a13300)
07-30 18:32:11.716: E/AndroidRuntime(659): FATAL EXCEPTION: main
07-30 18:32:11.716: E/AndroidRuntime(659): java.lang.RuntimeException: 
Unable to start activity 
ComponentInfo{ir.smspeik.sms/ir.smspeik.sms.Realstate}: 
java.lang.NullPointerException
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3512)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.ActivityThread.access$700(ActivityThread.java:130)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.os.Looper.loop(Looper.java:137)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.ActivityThread.main(ActivityThread.java:4745)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
java.lang.reflect.Method.invokeNative(Native Method)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
java.lang.reflect.Method.invoke(Method.java:511)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
dalvik.system.NativeStart.main(Native Method)
07-30 18:32:11.716: E/AndroidRuntime(659): Caused by: 
java.lang.NullPointerException
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
ir.smspeik.sms.Realstate.onCreate(Realstate.java:24)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.Activity.performCreate(Activity.java:5008)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
07-30 18:32:11.716: E/AndroidRuntime(659):  ... 12 more
07-30 18:32:16.056: D/gralloc_goldfish(688): Emulator without GPU emulation 
detected.

-- 
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: Landscape

2012-07-30 Thread RichardC
07-30 18:32:11.716: E/AndroidRuntime(659): Caused by: 
java.lang.NullPointerException
07-30 18:32:11.716: E/AndroidRuntime(659):  at 
ir.smspeik.sms.Realstate.onCreate(Realstate.java:24) 
Put a breakpoint here and look at your code

On Monday, July 30, 2012 7:48:00 PM UTC+1, Ehsan Sadeghi wrote:

 I have layout and layout-land in my app and in both have a file is named 
 realstate.xml, in portrait everything is ok, but in landscape application 
 stops by following error :
 07-30 18:29:51.186: D/gralloc_goldfish(659): Emulator without GPU 
 emulation detected.
 07-30 18:29:53.757: D/InputEventConsistencyVerifier(659): KeyEvent: 
 ACTION_UP but key was not down.
 07-30 18:29:53.757: D/InputEventConsistencyVerifier(659):   in 
 android.view.ViewRootImpl@4121ca30
 07-30 18:29:53.757: D/InputEventConsistencyVerifier(659):   0: sent at 
 13800500, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, 
 scanCode=232, metaState=0, flags=0x8, repeatCount=0, eventTime=138005, 
 downTime=137916, deviceId=0, source=0x301 }
 07-30 18:30:11.055: D/dalvikvm(659): GC_CONCURRENT freed 163K, 4% free 
 8251K/8519K, paused 46ms+5ms, total 280ms
 07-30 18:30:12.105: I/Choreographer(659): Skipped 48 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:30:16.055: I/Choreographer(659): Skipped 44 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:30:36.579: I/Choreographer(659): Skipped 41 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:30:42.605: I/Choreographer(659): Skipped 30 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:30:55.867: I/Choreographer(659): Skipped 39 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:31:15.974: I/Choreographer(659): Skipped 41 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:31:20.456: I/Choreographer(659): Skipped 51 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:32:11.687: D/AndroidRuntime(659): Shutting down VM
 07-30 18:32:11.687: W/dalvikvm(659): threadid=1: thread exiting with 
 uncaught exception (group=0x40a13300)
 07-30 18:32:11.716: E/AndroidRuntime(659): FATAL EXCEPTION: main
 07-30 18:32:11.716: E/AndroidRuntime(659): java.lang.RuntimeException: 
 Unable to start activity 
 ComponentInfo{ir.smspeik.sms/ir.smspeik.sms.Realstate}: 
 java.lang.NullPointerException
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3512)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.access$700(ActivityThread.java:130)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.os.Handler.dispatchMessage(Handler.java:99)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.os.Looper.loop(Looper.java:137)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.main(ActivityThread.java:4745)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 java.lang.reflect.Method.invokeNative(Native Method)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 java.lang.reflect.Method.invoke(Method.java:511)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 dalvik.system.NativeStart.main(Native Method)
 07-30 18:32:11.716: E/AndroidRuntime(659): Caused by: 
 java.lang.NullPointerException
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 ir.smspeik.sms.Realstate.onCreate(Realstate.java:24)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.Activity.performCreate(Activity.java:5008)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
 07-30 18:32:11.716: E/AndroidRuntime(659):  ... 12 more
 07-30 18:32:16.056: D/gralloc_goldfish(688): Emulator without GPU 
 emulation detected.


-- 
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] Is it possible to reduce the variability of camera shutter lag time?

2012-07-30 Thread greg
Given a known periodic motion (e.g., walking), I'd like to take a full 
resolution snapshot at the same point in the motion (i.e., the same time 
offset within different periods). However on the Nexus S (currently running 
OS 4.1.1 but the same was true of previous OS versions), I'm seeing so much 
variability in the shutter lag that I cannot accurately plan the timing of 
the snapshot. Is there anything I can do in the application to reduce this 
shutter lag variability? (In this application, the mean lag can be any 
duration but the standard deviation must be small ... much smaller than the 
0.5 s standard deviation I am seeing.) I'm hoping someone has a clever 
suggestion. If I don't get any suggestions, I'll post a feature request in 
the Android bug tracker.

I've posted the same question (and showing a histogram of camera shutter 
lag times) at

http://stackoverflow.com/questions/11727240/how-to-reduce-the-variability-in-android-camera-shutter-lag

Thanks! -- Greg

-- 
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] Native stack trace on ICS?

2012-07-30 Thread Kevin Kowalewski
Hi all,

It looks like there is no way to get the native stack trace on ICS...? I 
have 4 phones here all running ICS and enabling log.redirect-stdio does not 
output a native stack trace like I did on GB...

How can this be possible, Google can't be serious. How are we supposed to 
debug native applications without having GDB connected continuously. 

Thanks,
Kevin

-- 
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] In App Billing -implementation to sell subscriptions

2012-07-30 Thread David Toledo
Hi All

Exist some way from making testing with android.test.purchased for
Consts.ITEM_TYPE_SUBSCRIPTION.

The result is Item not found

When I using the right productId, all is good.
When I using android.test.purchased for Consts.ITEM_TYPE_INAPP, all good,
too

Best Regards
David

-- 
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: Is it possible to reduce the variability of camera shutter lag time?

2012-07-30 Thread RichardC
Could it be related to auto-focus? Try turning it off.

On Monday, July 30, 2012 7:55:52 PM UTC+1, greg wrote:

 Given a known periodic motion (e.g., walking), I'd like to take a full 
 resolution snapshot at the same point in the motion (i.e., the same time 
 offset within different periods). However on the Nexus S (currently running 
 OS 4.1.1 but the same was true of previous OS versions), I'm seeing so much 
 variability in the shutter lag that I cannot accurately plan the timing of 
 the snapshot. Is there anything I can do in the application to reduce this 
 shutter lag variability? (In this application, the mean lag can be any 
 duration but the standard deviation must be small ... much smaller than the 
 0.5 s standard deviation I am seeing.) I'm hoping someone has a clever 
 suggestion. If I don't get any suggestions, I'll post a feature request in 
 the Android bug tracker.

 I've posted the same question (and showing a histogram of camera shutter 
 lag times) at


 http://stackoverflow.com/questions/11727240/how-to-reduce-the-variability-in-android-camera-shutter-lag

 Thanks! -- Greg


-- 
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 pics inverted when taking with front camera (started via intent)

2012-07-30 Thread bob
 

I believe I have seen it flipped horizontally in the camera app on my Ice 
Cream Sandwich.


If I was coding, I would just flip it again horizontally to get it back to 
normal.


Or, I would just ignore it as most people are taking pictures of their 
faces, which are usually somewhat symmetric.



On Monday, July 30, 2012 9:12:47 AM UTC-5, user123 wrote:

 Uhm... don't remember. Is there a solution for any of the cases? I'll 
 check it again.


 On Monday, July 30, 2012 3:50:52 PM UTC+2, bob wrote:

 Rotated 180 degrees or flipped horizontally?  The latter seems more 
 probable.

 On Monday, July 30, 2012 7:59:02 AM UTC-5, user123 wrote:

 I have the same problem described here: Android Front Facing Camera 
 Taking Inverted 
 Photoshttp://stackoverflow.com/questions/10283467/android-front-facing-camera-taking-inverted-photos

 What's different in my case is that I'm starting the camera app via 
 intent, not implementing it myself. So probably no way to use CameraInfo or 
 the like. How can I solve this?

 In order to summarize: When starting camera via intent and take the 
 picture using front camera, the returned bitmap is rotated by 180°.



-- 
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] Camera and Voice Search not working after install ICS 4.0.3 to XOOM

2012-07-30 Thread fan zhang
All:


I compiled  ICS 4.0.3 and installed ICS platform to XOOM  (wingray).

I found that camera does not work (Camera error CAn't connect to the
camera) .

Also Voice Search does not work.


Does anyone experience  same problems and how to resolve those issues?


Thanks


Fan

-- 
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] Warning at hello world program

2012-07-30 Thread Rafael Maas
is good practice to set the strings inside the file string.xml.
http://developer.android.com/guide/topics/resources/string-resource.html

2012/7/30 Francisco Marzoa fmmar...@gmail.com

 If you do not care about l10n, you can just ignore it. Also I think you
 can configure lint to not warn on such issues.
 El 29/07/2012 21:39, Edlialbanian edlialban...@gmail.com escribió:

 Hi guys i'm new here and i'm getting a warning i my firt app .
 I get thir error
 [I18N] Hardcoded string Welcome, should use @string resource

 what should i do ??

 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


-- 
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: Landscape

2012-07-30 Thread bob
 

Sounds like you probably named a widget differently in the landscape, so 
your findViewById is returning null.

On Monday, July 30, 2012 1:48:00 PM UTC-5, Ehsan Sadeghi wrote:

 I have layout and layout-land in my app and in both have a file is named 
 realstate.xml, in portrait everything is ok, but in landscape application 
 stops by following error :
 07-30 18:29:51.186: D/gralloc_goldfish(659): Emulator without GPU 
 emulation detected.
 07-30 18:29:53.757: D/InputEventConsistencyVerifier(659): KeyEvent: 
 ACTION_UP but key was not down.
 07-30 18:29:53.757: D/InputEventConsistencyVerifier(659):   in 
 android.view.ViewRootImpl@4121ca30
 07-30 18:29:53.757: D/InputEventConsistencyVerifier(659):   0: sent at 
 13800500, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, 
 scanCode=232, metaState=0, flags=0x8, repeatCount=0, eventTime=138005, 
 downTime=137916, deviceId=0, source=0x301 }
 07-30 18:30:11.055: D/dalvikvm(659): GC_CONCURRENT freed 163K, 4% free 
 8251K/8519K, paused 46ms+5ms, total 280ms
 07-30 18:30:12.105: I/Choreographer(659): Skipped 48 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:30:16.055: I/Choreographer(659): Skipped 44 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:30:36.579: I/Choreographer(659): Skipped 41 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:30:42.605: I/Choreographer(659): Skipped 30 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:30:55.867: I/Choreographer(659): Skipped 39 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:31:15.974: I/Choreographer(659): Skipped 41 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:31:20.456: I/Choreographer(659): Skipped 51 frames!  The 
 application may be doing too much work on its main thread.
 07-30 18:32:11.687: D/AndroidRuntime(659): Shutting down VM
 07-30 18:32:11.687: W/dalvikvm(659): threadid=1: thread exiting with 
 uncaught exception (group=0x40a13300)
 07-30 18:32:11.716: E/AndroidRuntime(659): FATAL EXCEPTION: main
 07-30 18:32:11.716: E/AndroidRuntime(659): java.lang.RuntimeException: 
 Unable to start activity 
 ComponentInfo{ir.smspeik.sms/ir.smspeik.sms.Realstate}: 
 java.lang.NullPointerException
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3512)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.access$700(ActivityThread.java:130)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.os.Handler.dispatchMessage(Handler.java:99)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.os.Looper.loop(Looper.java:137)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.main(ActivityThread.java:4745)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 java.lang.reflect.Method.invokeNative(Native Method)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 java.lang.reflect.Method.invoke(Method.java:511)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 dalvik.system.NativeStart.main(Native Method)
 07-30 18:32:11.716: E/AndroidRuntime(659): Caused by: 
 java.lang.NullPointerException
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 ir.smspeik.sms.Realstate.onCreate(Realstate.java:24)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.Activity.performCreate(Activity.java:5008)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
 07-30 18:32:11.716: E/AndroidRuntime(659):  at 
 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
 07-30 18:32:11.716: E/AndroidRuntime(659):  ... 12 more
 07-30 18:32:16.056: D/gralloc_goldfish(688): Emulator without GPU 
 emulation detected.


-- 
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: Is it possible to reduce the variability of camera shutter lag time?

2012-07-30 Thread greg
Thanks Richard. Setting the focus to Camera.Parameters.FOCUS_MODE_INFINITY 
helped as shown in the added histogram at 
http://stackoverflow.com/questions/11727240/how-to-reduce-the-variability-in-android-camera-shutter-lag

At the risk of sounding like an ingrate, do you have any ideas on how to 
reduce the variability even more? (A range of 0.2 s still covers a large 
portion of the periodic motion.)

-- Greg

On Monday, July 30, 2012 3:05:50 PM UTC-4, RichardC wrote:

 Could it be related to auto-focus? Try turning it off.

 On Monday, July 30, 2012 7:55:52 PM UTC+1, greg wrote:

 Given a known periodic motion (e.g., walking), I'd like to take a full 
 resolution snapshot at the same point in the motion (i.e., the same time 
 offset within different periods). However on the Nexus S (currently running 
 OS 4.1.1 but the same was true of previous OS versions), I'm seeing so much 
 variability in the shutter lag that I cannot accurately plan the timing of 
 the snapshot. Is there anything I can do in the application to reduce this 
 shutter lag variability? (In this application, the mean lag can be any 
 duration but the standard deviation must be small ... much smaller than the 
 0.5 s standard deviation I am seeing.) I'm hoping someone has a clever 
 suggestion. If I don't get any suggestions, I'll post a feature request in 
 the Android bug tracker.

 I've posted the same question (and showing a histogram of camera shutter 
 lag times) at


 http://stackoverflow.com/questions/11727240/how-to-reduce-the-variability-in-android-camera-shutter-lag

 Thanks! -- Greg



-- 
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] Receive sms

2012-07-30 Thread Gergely Juhász
Remove exported=false from everywhere.

On 30 July 2012 20:44, Ehsan Sadeghi esade...@gmail.com wrote:
 I write this code in manifest file :
 uses-sdk
 android:minSdkVersion=8
 android:targetSdkVersion=15 /

 application
 android:icon=@drawable/ic_launcher
 android:label=@string/app_name
 android:theme=@style/AppTheme 
 activity
 android:name=.MainActivity
 android:label=@string/title_activity_main 
 intent-filter
 action android:name=android.intent.action.MAIN /
 category android:name=android.intent.category.LAUNCHER /
 /intent-filter
 /activity
 activity
 android:name=.Realstate
 android:exported=false
android:label=@string/title_activity_main 
 intent-filter
 action android:name=ir.smspeik.sms.realstate /
 category android:name=android.intent.category.DEFAULT /
 /intent-filter
 /activityreceiver android:name=.ReceiveSms
 android:exported=false
 intent-filter
 action
 android:name=android.provider.Telephony.SMS_RECEIVED/action
 /intent-filter
 /receiver
/application
 uses-permission android:name=android.permission.SEND_SMS /
 uses-permission  android:name=android.permission.RECEIVE_SMS /

 and this code in ReceiveSms :

 package

 ir.smspeik.sms;

 import

 android.content.BroadcastReceiver;

 import

 android.content.Context;

 import

 android.content.Intent;

 import

 android.os.Bundle;

 import

 android.telephony.SmsMessage;

 import

 android.widget.Toast;

 public

 class ReceiveSms extends BroadcastReceiver{

 @Override

 public void onReceive(Context context, Intent intent)

 {

 //---get the SMS message passed in---

 Bundle bundle = intent.getExtras();

 SmsMessage[] msgs =

 null;

 String str =

 ;

 if (bundle != null)

 {

 //---retrieve the SMS message received---

 Object[] pdus = (Object[]) bundle.get(

 pdus);

 msgs =

 new SmsMessage[pdus.length];

 for (int i=0; imsgs.length; i++){

 msgs[i] = SmsMessage.createFromPdu((

 byte[])pdus[i]);

 str +=

 SMS from  + msgs[i].getOriginatingAddress();

 str +=

  :;

 str += msgs[i].getMessageBody().toString();

 str +=

 \n;

 }

 //---display the new SMS message---

 Toast.makeText(context, str, Toast.

 LENGTH_LONG).show();

 }

 }

 }

 but when I send sms to emulator the application doesn't receive it and
 builtin messaging get sms.

 --
 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] Phone can't download my app

2012-07-30 Thread Toby

My company has an app out there that clients use.  A co-worker
discovered that his Galaxy SII can't find the app in the play store.
He did put cyanogen mod 9 on it.  Could this cause a problem?

My app only requires android 2.2.  I require these permissions:

Phone calls
Network communication
Hardware Controls
Your personal information
Hardware controls.

I'm sure the SII has the features that it needs, but I wasn't
sure whether these requirements could cause an app not to show
up on certain phones.

Thanks,

Tobiah

--
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: Native stack trace on ICS?

2012-07-30 Thread bob
 

Why not just have your native code log to a file on the SD card like 
/mnt/sdcard/native.log?



On Monday, July 30, 2012 1:56:58 PM UTC-5, Kevin Kowalewski wrote:

 Hi all,

 It looks like there is no way to get the native stack trace on ICS...? I 
 have 4 phones here all running ICS and enabling log.redirect-stdio does not 
 output a native stack trace like I did on GB...

 How can this be possible, Google can't be serious. How are we supposed to 
 debug native applications without having GDB connected continuously. 

 Thanks,
 Kevin


-- 
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: Phone can't download my app

2012-07-30 Thread Chrystian Vieyra
Perhaps something on the Build.prop that CyanogenMod uses is causing the 
app not being compatible with the phone, why don't you check the build.prop 
file? 

Have you checked the android developer console to see if you have any users 
with a galaxy SII?
 


On Monday, July 30, 2012 4:33:48 PM UTC-5, Tobiah wrote:

 My company has an app out there that clients use.  A co-worker 
 discovered that his Galaxy SII can't find the app in the play store. 
 He did put cyanogen mod 9 on it.  Could this cause a problem? 

 My app only requires android 2.2.  I require these permissions: 

 Phone calls 
 Network communication 
 Hardware Controls 
 Your personal information 
 Hardware controls. 

 I'm sure the SII has the features that it needs, but I wasn't 
 sure whether these requirements could cause an app not to show 
 up on certain phones. 

 Thanks, 

 Tobiah 


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

  1   2   >