[android-developers] Re: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread Zsolt Vasvari
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

Re: [android-developers] Re: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread Jeff Davies
Are you deliberately mischaracterizing my comment? I posted the date. 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.

On Sat, Jul 28, 2012 at 11:29 PM, Zsolt Vasvari zvasv...@gmail.com wrote:

 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: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-29 Thread Pent
Great to see you in the Android world Alex.

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

2012-07-29 Thread Dmitriy F
I've written a simple test where I have:
FragmentManager fm = getSupportFragmentManager();
FragmentTransaction ft = fm.beginTransaction();
ft.hide(_sv);
ft.commit();
When the fragment gets hidden - onPause doesn't get fired. However, system 
fires a chain of callbacks up to onDestroyView when I use a replace method. 
So, I guess, I should be performing memory-recycling operations in 
onDestroyView method.

I've also noticed that when I hide the ViewPager component with 
setVisibility(GONE) its' fragments dont fire onPause callback. Is there any 
workaround to tell all the  fragments inside the ViewPager to clean 
themselves with onDestroyView ?

I still think I should use fragments since in a Tablet version those pages 
are implemented as tabs.

Thanks again and I was wondering whether you could point out or give some 
links on implementing the memory management process. I have a lousy 
knoweledge about WeakReferences, recycle(), System.gc() features but I 
guess they are somewhat mutually-excluding. Probably, I should stick to 
Weak/Soft references approach, should I ? If so - could you share some 
insights/give link on the whole process of instantiating bitmap down to the 
recycling.

On Sunday, July 29, 2012 12:28:08 AM UTC+3, Dianne Hackborn wrote:

 If you have a fragment that holds on to a lot of memory in its view 
 hierarchy and are concerned about this, then use 
 FragmentTransaction.remove() to make it no longer visible -- that will 
 remove it from its parent view and destroy its view hierarchy, so it 
 doesn't hold on to any references.  (If you are manually loading bitmaps in 
 the fragment, in onDestroyView() you can clear the references there.)  Of 
 course this means a bit more overhead when the user returns to the 
 fragment, since its view hierarchy needs to be re-inflated and initialized 
 again.  But it won't be any worse than the first time the user visited it, 
 and you need that to be fast as well.

 It is true that FragmentTransaction.hide() does not remove and the destroy 
 the fragment's view hierarchy, just doing View.setVisibility().  But that 
 is not all -- it takes care of managing the fragment lifecycle so that 
 fragment will be paused and stopped (since it is no longer visible).  You 
 can implement the lifecycle to free up resources if you need to.  This will 
 also result in them being freed when the entire activity is stopped, which 
 is probably what you want as well.

 You shouldn't be directly hiding the view associated with a fragment. 
  That is what FragmentTransaction.hide/show() is for.  There is no need to 
 directly hide the view owned by it, and doing so means that you are letting 
 the correct fragment semantics execute.  (And for what it's worth, if you 
 have no reason to use fragments with ViewPager, there is nothing forcing 
 you to -- you can write your own adapter that directly manages raw views 
 and doesn't use fragments at all.)

 On Sat, Jul 28, 2012 at 1:45 PM, Dmitriy F midnight@gmail.com wrote:

 Thanks for the answers! Would you mind to suggest on the part about 
 fragments, bitmaps and memory management ? I decided to implement the app 
 with 3 activities and about 8 fragments. The fragment number might slightly 
 increase yet I think it's not the fragments but their bitmaps that gonna 
 cause troubles with memory. 

 For displaying the fragments I have two containers: a ViewPager(rotates 
 3-4 fragments) element and a FrameLayout(displays strictly one fragment) 
 element. Right now I'm simply hiding one type of container and showing 
 another - setVisibility or fragmentTransaction.hide (I haven't figured out 
 what is the difference between these two apart from the latest gives an 
 ability of adding to activity's backstack). Is their any better way of 
 switching between the containers ?

 Additionally, even if those fragments might not hold much memory by 
 themselves - should I wrap those objects with SoftReference ?

 Could you tell any precautions/advices for implementing an app with such 
 structure ? Thanks.


 On Saturday, July 28, 2012 9:36:27 PM UTC+3, Romain Guy (Google) wrote:

 1) Does ImageView.SetImageResource applied against the same id twice or 
 thrice consumes memory for the same bitmap or uses a separate range for 
 every imageview element ?


 I don't quite understand your question. When a Bitmap is loaded as a 
 Drawable (which is what ImageView does), it gets cached by the system 
 (using weak references.) This means that if do this:

 Drawable d1 = loadDrawable(R.drawable.**myImage);
 Drawable d2 = loadDrawable(R.drawable.**myImage);
  
 you will get 2 different instances of Drawable, but the underlying 
 Bitmap will be loaded in memory only once.

 2) same as 1. but for BitmapFactory.decodeResource


 Every time you call this method you will load a new instance of a Bitmap 
 object, which means you will use more memory.
  

 3) What part of Bitmap object consumes the most memory. If it's 
 backbone memory object 

[android-developers] Use of weak password to protect Android keystore

2012-07-29 Thread howa


Are there any drawback in using weak password to protect Android keystore?

Seems even someone stole my keystore file, they can't login into my Android 
developer console. they can't anything with it,

e.g. provide an update for my app

Right?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Use of weak password to protect Android keystore

2012-07-29 Thread Raghav Sood
Provided it is signed with the same key, the app could be side loaded and
made to overwrite the one downloaded from the Play Store.

On Sun, Jul 29, 2012 at 3:23 PM, howa howac...@gmail.com wrote:

 Are there any drawback in using weak password to protect Android keystore?

 Seems even someone stole my keystore file, they can't login into my
 Android developer console. they can't anything with it,

 e.g. provide an update for my app

 Right?

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




-- 
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: Using eclipse with the NDK?

2012-07-29 Thread Jim Graham
On Sat, Jul 28, 2012 at 09:24:19PM -0700, SChaser wrote:
 Thanks to you and Nikolay for the help - I had missed the how to although 
 I pieced it together from stackoverflow. I had tried that before posting, 
 unfortunately.  I'll take my future discussion to the ndk group so spooky 
 won't embarrass himself further.

Embarrass myself for pointing you in the right direction and away from
the wrong list?  I can't imagine any normal, sane person thinking that's
a bad thing.

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)  |  There it was, right in the title bar:
spooky1...@gmail.com  |   Microsoft Operations POS.
 Running Mac OS X Lion  | 
ICBM / Hurricane: | Never before has a TLA been so appropriately
   30.44406N 86.59909W|  mis-parsed. (alt.sysadmin.recovery)

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] ADB Multi-phone Connection Reliability

2012-07-29 Thread soynerdito soynerdito
Same situation here. My experience I got disconnected from adb from time to 
time. When multiple devices is worst but with one device it happens at least 
once or twice a day. That is with windows. On ubuntu i usually use the emulator 
so.don't see it much.
When happens. Sometimes with adb kill-server then adb devices it shows. Other I 
just physically unplug an plug back in. 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] running into an NPE error on a setText();

2012-07-29 Thread Cythes
I'm working on a piece of code that is a settings activity for an app 
widget. Right now I have the code set up that if takes the saved value of 
the number and enters it into the text view of another activity via shared 
settings. The issue I am running into is that when press the load button it 
fires an NPE at me on the given line of code which is: Line 48 
AKA: dataResults.setText(dataReturned); I will post the whole code for this 
setting as well as its related logcat below:

import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class WWSettings extends Activity implements OnClickListener {

EditText sharedData;
Context c;
TextView dataResults;
public static String filename = sharedString;
SharedPreferences someData;

@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.widgetconfig);
Button b = (Button) findViewById(R.id.btnwidgetconfig);
Button b1 = (Button) findViewById(R.id.loadBtnWidgetConfig);
c = WWSettings.this;
b.setOnClickListener(this);
b1.setOnClickListener(this);
sharedData = (EditText)findViewById(R.id.etwidgitconfig);
dataResults = (TextView)findViewById(R.id.userNum);
someData = getSharedPreferences(filename, 0);
}

public void onClick(View v) {
// TODO Auto-generated method stub
switch (v.getId()){
case R.id.btnwidgetconfig:
String stringData = sharedData.getText().toString();
SharedPreferences.Editor editor = someData.edit();
editor.putString(sharedString, stringData);
editor.commit();
break;
case R.id.loadBtnWidgetConfig:
someData = getSharedPreferences(filename, 0);
String dataReturned = someData.getString(sharedString, Can't 
LoadSorry!);
dataResults.setText(dataReturned);
break;
}
}
}

And the logcat:

07-29 08:42:00.360: E/AndroidRuntime(9249): FATAL EXCEPTION: main
07-29 08:42:00.360: E/AndroidRuntime(9249): java.lang.NullPointerException
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
lionsimage.com.onClick(Settings.java:48)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
android.view.View.performClick(View.java:2485)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
android.view.View$PerformClick.run(View.java:9080)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
android.os.Handler.handleCallback(Handler.java:587)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
android.os.Handler.dispatchMessage(Handler.java:92)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
android.os.Looper.loop(Looper.java:130)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
android.app.ActivityThread.main(ActivityThread.java:3683)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
java.lang.reflect.Method.invokeNative(Native Method)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
java.lang.reflect.Method.invoke(Method.java:507)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
07-29 08:42:00.360: E/AndroidRuntime(9249): at 
dalvik.system.NativeStart.main(Native Method)

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

Re: [android-developers] running into an NPE error on a setText();

2012-07-29 Thread Mark Murphy
First, clean your project (Project  Clean from Eclipse main menu, or
ant clean from the command line). Then rebuild and try again.
Sometimes, the R values get a bit out of sync with other precompiled
Java code, and cleaning the project clears that up.

If the error persists, then apparently res/layout/widgetconfig.xml
does not have a widget named @+id/userNum, which is why dataResults
would be null.

On Sun, Jul 29, 2012 at 8:50 AM, Cythes cytheshic...@gmail.com wrote:
 I'm working on a piece of code that is a settings activity for an app
 widget. Right now I have the code set up that if takes the saved value of
 the number and enters it into the text view of another activity via shared
 settings. The issue I am running into is that when press the load button it
 fires an NPE at me on the given line of code which is: Line 48 AKA:
 dataResults.setText(dataReturned); I will post the whole code for this
 setting as well as its related logcat below:

 import android.app.Activity;
 import android.content.Context;
 import android.content.SharedPreferences;
 import android.os.Bundle;
 import android.view.View;
 import android.view.View.OnClickListener;
 import android.widget.Button;
 import android.widget.EditText;
 import android.widget.TextView;

 public class WWSettings extends Activity implements OnClickListener {

 EditText sharedData;
 Context c;
 TextView dataResults;
 public static String filename = sharedString;
 SharedPreferences someData;

 @Override
 protected void onCreate(Bundle savedInstanceState) {
 // TODO Auto-generated method stub
 super.onCreate(savedInstanceState);
 setContentView(R.layout.widgetconfig);
 Button b = (Button) findViewById(R.id.btnwidgetconfig);
 Button b1 = (Button) findViewById(R.id.loadBtnWidgetConfig);
 c = WWSettings.this;
 b.setOnClickListener(this);
 b1.setOnClickListener(this);
 sharedData = (EditText)findViewById(R.id.etwidgitconfig);
 dataResults = (TextView)findViewById(R.id.userNum);
 someData = getSharedPreferences(filename, 0);
 }

 public void onClick(View v) {
 // TODO Auto-generated method stub
 switch (v.getId()){
 case R.id.btnwidgetconfig:
 String stringData = sharedData.getText().toString();
 SharedPreferences.Editor editor = someData.edit();
 editor.putString(sharedString, stringData);
 editor.commit();
 break;
 case R.id.loadBtnWidgetConfig:
 someData = getSharedPreferences(filename, 0);
 String dataReturned = someData.getString(sharedString, Can't
 LoadSorry!);
 dataResults.setText(dataReturned);
 break;
 }
 }
 }

 And the logcat:

 07-29 08:42:00.360: E/AndroidRuntime(9249): FATAL EXCEPTION: main
 07-29 08:42:00.360: E/AndroidRuntime(9249): java.lang.NullPointerException
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 lionsimage.com.onClick(Settings.java:48)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 android.view.View.performClick(View.java:2485)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 android.view.View$PerformClick.run(View.java:9080)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 android.os.Handler.handleCallback(Handler.java:587)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 android.os.Handler.dispatchMessage(Handler.java:92)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 android.os.Looper.loop(Looper.java:130)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 android.app.ActivityThread.main(ActivityThread.java:3683)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 java.lang.reflect.Method.invokeNative(Native Method)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 java.lang.reflect.Method.invoke(Method.java:507)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
 07-29 08:42:00.360: E/AndroidRuntime(9249): at
 dalvik.system.NativeStart.main(Native Method)

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



-- 
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] running into an NPE error on a setText();

2012-07-29 Thread Cythes
The error is fixed, but now when I go to use the settings its not showing 
what I have set. Should I open a thread for this?

On Sunday, July 29, 2012 8:59:23 AM UTC-4, Mark Murphy (a Commons Guy) 
wrote:

 First, clean your project (Project  Clean from Eclipse main menu, or 
 ant clean from the command line). Then rebuild and try again. 
 Sometimes, the R values get a bit out of sync with other precompiled 
 Java code, and cleaning the project clears that up. 

 If the error persists, then apparently res/layout/widgetconfig.xml 
 does not have a widget named @+id/userNum, which is why dataResults 
 would be null. 

 On Sun, Jul 29, 2012 at 8:50 AM, Cythes cytheshic...@gmail.com wrote: 
  I'm working on a piece of code that is a settings activity for an app 
  widget. Right now I have the code set up that if takes the saved value 
 of 
  the number and enters it into the text view of another activity via 
 shared 
  settings. The issue I am running into is that when press the load button 
 it 
  fires an NPE at me on the given line of code which is: Line 48 AKA: 
  dataResults.setText(dataReturned); I will post the whole code for this 
  setting as well as its related logcat below: 
  
  import android.app.Activity; 
  import android.content.Context; 
  import android.content.SharedPreferences; 
  import android.os.Bundle; 
  import android.view.View; 
  import android.view.View.OnClickListener; 
  import android.widget.Button; 
  import android.widget.EditText; 
  import android.widget.TextView; 
  
  public class WWSettings extends Activity implements OnClickListener { 
  
  EditText sharedData; 
  Context c; 
  TextView dataResults; 
  public static String filename = sharedString; 
  SharedPreferences someData; 
  
  @Override 
  protected void onCreate(Bundle savedInstanceState) { 
  // TODO Auto-generated method stub 
  super.onCreate(savedInstanceState); 
  setContentView(R.layout.widgetconfig); 
  Button b = (Button) findViewById(R.id.btnwidgetconfig); 
  Button b1 = (Button) findViewById(R.id.loadBtnWidgetConfig); 
  c = WWSettings.this; 
  b.setOnClickListener(this); 
  b1.setOnClickListener(this); 
  sharedData = (EditText)findViewById(R.id.etwidgitconfig); 
  dataResults = (TextView)findViewById(R.id.userNum); 
  someData = getSharedPreferences(filename, 0); 
  } 
  
  public void onClick(View v) { 
  // TODO Auto-generated method stub 
  switch (v.getId()){ 
  case R.id.btnwidgetconfig: 
  String stringData = sharedData.getText().toString(); 
  SharedPreferences.Editor editor = someData.edit(); 
  editor.putString(sharedString, stringData); 
  editor.commit(); 
  break; 
  case R.id.loadBtnWidgetConfig: 
  someData = getSharedPreferences(filename, 0); 
  String dataReturned = someData.getString(sharedString, Can't 
  LoadSorry!); 
  dataResults.setText(dataReturned); 
  break; 
  } 
  } 
  } 
  
  And the logcat: 
  
  07-29 08:42:00.360: E/AndroidRuntime(9249): FATAL EXCEPTION: main 
  07-29 08:42:00.360: E/AndroidRuntime(9249): 
 java.lang.NullPointerException 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  lionsimage.com.onClick(Settings.java:48) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  android.view.View.performClick(View.java:2485) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  android.view.View$PerformClick.run(View.java:9080) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  android.os.Handler.handleCallback(Handler.java:587) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  android.os.Handler.dispatchMessage(Handler.java:92) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  android.os.Looper.loop(Looper.java:130) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  android.app.ActivityThread.main(ActivityThread.java:3683) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  java.lang.reflect.Method.invokeNative(Native Method) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  java.lang.reflect.Method.invoke(Method.java:507) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
  

  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) 
  07-29 08:42:00.360: E/AndroidRuntime(9249): at 
  dalvik.system.NativeStart.main(Native Method) 
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Android Developers group. 
  To post to this group, send email to android-developers@googlegroups.com 
  To unsubscribe from this group, send email to 
  android-developers+unsubscr...@googlegroups.com 
  For more options, visit this group at 
  http://groups.google.com/group/android-developers?hl=en 



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

Re: [android-developers] Storing an array of floats in SD Card

2012-07-29 Thread Francisco Marzoa
You can use Float.toString to convert these values into strings so you can
write them into a regular text file, one by line or using some separator
(i.e. 1.13:3.1416:8:...) You can load them further and convert again to
float using Float.parseFloat.

If you care a lot about speed and storing space, then you will need to dump
the raw array to a file using a binary steam.
El 26/07/2012 08:38, sterva7 esther.vasi...@gmail.com escribió:

 Hi,

 I'd like to save an array of floats to the sdcard so later I can add it to
 my resource files to read it on my [other] application. Let's say it will
 be an array of 5000 floats. Can I do this? How? Is there any example I can
 use?

 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] Shared Pref data passing is not working.

2012-07-29 Thread Cythes
right now I'm still working on the same code I posted from before I just 
fixed the mentioned NPE, now the data I enter and load is not loading up 
properly in another class. It saves with in the setting activity but as 
soon as I call it into something else. It calls improper data into the area 
I am trying to set it to. On top of all of this I'm building this as I 
widget so after the Settings window is up I have to press home to get out 
of it. How do I set this so it loads up the widget after I set the details 
(I think this might be where the issue is coming from.). Its kinda like 
burner on a stove. One ring goes out the whole burner is shot.

Either way here is the code(again)
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class Settings extends Activity implements OnClickListener {

EditText sharedData;
Context c;
TextView dataResults;
public static String filename = sharedString;
SharedPreferences someData;

@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.widgetconfig);
Button b = (Button) findViewById(R.id.btnwidgetconfig);
Button b1 = (Button) findViewById(R.id.loadBtnWidgetConfig);
c = Settings.this;
b.setOnClickListener(this);
b1.setOnClickListener(this);
sharedData = (EditText)findViewById(R.id.etwidgitconfig);
dataResults = (TextView)findViewById(R.id.emsSetWidgetConfig);
someData = getSharedPreferences(filename, 0);
}

public void onClick(View v) {
// TODO Auto-generated method stub
switch (v.getId()){
case R.id.btnwidgetconfig:
String stringData = sharedData.getText().toString();
SharedPreferences.Editor editor = someData.edit();
editor.putString(sharedString, stringData);
editor.commit();
break;
case R.id.loadBtnWidgetConfig:
someData = getSharedPreferences(filename, 0);
String dataReturned = someData.getString(sharedString, Can't 
LoadSorry!);
dataResults.setText(dataReturned);
break;
}
}
}

And there is no error to speak of in this case... I'm just wondering how I 
glue this all together... 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] What method gets called when a fatal exception occurs

2012-07-29 Thread Jim Morris
This seems to be the simplest of questions, but I have not been able
to find a suitable answer on Google or this forum.

I am surprised to find that Android apparently does not call
onDestroy, onStop, or onPause after a fatal exception occurs (e. g. a
null pointer fatal exception). I have put the following code into two
activities that are around when a fatal exception occurs. None of this
code gets executed in either activity when a fatal exception occurs in
one of the activities.

public void onStop() {  Log.i(JIM,CALL ONSTOP); super.onStop();  }

public void onDestroy() { Log.i(JIM,CALL ONDESTROY);
super.onDestroy();  }

public void onPause() { Log.i(JIM,CALL ONPAUSE);
super.onPause();  }

So this begs the question: What method is called that will allow me
to, for example, close the database so the database does not get
destroyed when a fatal exception occurs?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] What method gets called when a fatal exception occurs

2012-07-29 Thread Mark Murphy
On Sun, Jul 29, 2012 at 11:24 AM, Jim Morris jim.mor...@lecere.com wrote:
 I am surprised to find that Android apparently does not call
 onDestroy, onStop, or onPause after a fatal exception occurs (e. g. a
 null pointer fatal exception). I have put the following code into two
 activities that are around when a fatal exception occurs. None of this
 code gets executed in either activity when a fatal exception occurs in
 one of the activities.

 public void onStop() {  Log.i(JIM,CALL ONSTOP); super.onStop();  }

 public void onDestroy() { Log.i(JIM,CALL ONDESTROY);
 super.onDestroy();  }

 public void onPause() { Log.i(JIM,CALL ONPAUSE);
 super.onPause();  }

 So this begs the question: What method is called that will allow me
 to, for example, close the database so the database does not get
 destroyed when a fatal exception occurs?

The database will not be destroyed when a fatal exception occurs.

You can wrap whatever code you want of yours in try/catch blocks for
any RuntimeExceptions that you fear. This is standard Java.

You can use setUncaughtExceptionHandler() and
setDefaultUncaughtExceptionHandler() on Thread to get control on an
unhandled exception. This too is standard Java.

-- 
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] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-29 Thread Kristopher Micinski
On Sun, Jul 29, 2012 at 1:35 AM, Chris Stratton cs07...@gmail.com wrote:
 On Jul 29, 12:18 am, Alex Pruss arpr...@gmail.com wrote:

 These kinds of things can provide a lot of value to users, and disabling
 log access forces users to have to root their devices to do these things.

 That's not the real problem though.  Reading the logs was never the
 right way to customize the behavior of the device to the current
 running activity - it was at most a crude workaround.

 The real problem is that android is designed with the idea that apps
 should not alter the system's behavior on each other, and has
 extremely limited mechanisms for recognizing special apps that would
 be permitted to do so.

 While a real solution for that is long overdue, it's also a much more
 complicated design conversation than the topic at hand.


I would agree with Chris' assessment on this.  Moreover, forgoing a
more involved and specialized solution for secure system extensions,
having the logs as a workaround is a dangerous and hacky solution.
Why?
  -- the log structure could change, breaking apps.
  -- forcing developers to parse logs in this way is a horrible and
taxing design strategy.
  -- there's no refined access to the logs, you either get everything
or nothing.
  -- it's fairly well  recognized that you can do a whole lot of
inference about the device and its users with log access..
  -- not to mention dumb apps that dump things like passwords and the
like.. (it's also been shown that most apps use http rather than
https..)
  -- polling the logs like this really sucks for battery life, and
encourages the everlasting service antipattern.

kris

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


Re: [android-developers] How to put ads in live wallpapers?

2012-07-29 Thread MobileVisuals
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
 To unsubscribe from this group, 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.

  
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 

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-29 Thread Nikolaus Fischer
While I agree that it's not a resource-friendly or good solution, it's
the only one - as long as no better solution (for the various things that
can be done with logs) is implemented on an SDK-level.

Also,
  -- there's no refined access to the logs, you either get everything
or nothing.
isn't true - you can use a lot of switches and filters to get only what
you're interested in (e.g. -I for only the Information-level logs.)

If you mean this from a permissions-point of view, it could be implemented
with e.g. READ_SYSTEM_LOGS, etc. for a more fine-grained access model.
On Jul 29, 2012 7:02 PM, Kristopher Micinski krismicin...@gmail.com
wrote:

 On Sun, Jul 29, 2012 at 1:35 AM, Chris Stratton cs07...@gmail.com wrote:
  On Jul 29, 12:18 am, Alex Pruss arpr...@gmail.com wrote:
 
  These kinds of things can provide a lot of value to users, and disabling
  log access forces users to have to root their devices to do these
 things.
 
  That's not the real problem though.  Reading the logs was never the
  right way to customize the behavior of the device to the current
  running activity - it was at most a crude workaround.
 
  The real problem is that android is designed with the idea that apps
  should not alter the system's behavior on each other, and has
  extremely limited mechanisms for recognizing special apps that would
  be permitted to do so.
 
  While a real solution for that is long overdue, it's also a much more
  complicated design conversation than the topic at hand.
 

 I would agree with Chris' assessment on this.  Moreover, forgoing a
 more involved and specialized solution for secure system extensions,
 having the logs as a workaround is a dangerous and hacky solution.
 Why?
   -- the log structure could change, breaking apps.
   -- forcing developers to parse logs in this way is a horrible and
 taxing design strategy.
   -- there's no refined access to the logs, you either get everything
 or nothing.
   -- it's fairly well  recognized that you can do a whole lot of
 inference about the device and its users with log access..
   -- not to mention dumb apps that dump things like passwords and the
 like.. (it's also been shown that most apps use http rather than
 https..)
   -- polling the logs like this really sucks for battery life, and
 encourages the everlasting service antipattern.

 kris

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


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-29 Thread Kristopher Micinski
  -- there's no refined access to the logs, you either get everything
 or nothing.
 isn't true - you can use a lot of switches and filters to get only what
 you're interested in (e.g. -I for only the Information-level logs.)

 If you mean this from a permissions-point of view, it could be implemented
 with e.g. READ_SYSTEM_LOGS, etc. for a more fine-grained access model.


Yes, I meant from the permissions point of view (since the post mainly
concerned security).

This is the same as any other API, you can make most permissions finer
grained, but not always sensibly, as mapping APIs to permissions isn't
trivial already, but it's even more hazy how to segment the system
logs permission.

kris

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


Re: [android-developers] How to put ads in live wallpapers?

2012-07-29 Thread Dianne Hackborn
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.comwrote:

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




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


 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 

Re: [android-developers] What method gets called when a fatal exception occurs

2012-07-29 Thread Dianne Hackborn
You don't need to do anything, the process will be killed but the database
exists in persistent storage so whatever you had last committed to it is
still there and will be there the next time you open and need it.

On Sun, Jul 29, 2012 at 8:24 AM, Jim Morris jim.mor...@lecere.com wrote:

 This seems to be the simplest of questions, but I have not been able
 to find a suitable answer on Google or this forum.

 I am surprised to find that Android apparently does not call
 onDestroy, onStop, or onPause after a fatal exception occurs (e. g. a
 null pointer fatal exception). I have put the following code into two
 activities that are around when a fatal exception occurs. None of this
 code gets executed in either activity when a fatal exception occurs in
 one of the activities.

 public void onStop() {  Log.i(JIM,CALL ONSTOP); super.onStop();  }

 public void onDestroy() { Log.i(JIM,CALL ONDESTROY);
 super.onDestroy();  }

 public void onPause() { Log.i(JIM,CALL ONPAUSE);
 super.onPause();  }

 So this begs the question: What method is called that will allow me
 to, for example, close the database so the database does not get
 destroyed when a fatal exception occurs?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Beginner

2012-07-29 Thread Rithanya
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

[android-developers] Why suddenly no one download my app?

2012-07-29 Thread goBeepit Developoer
Hi,
I launched an app few months ago, but only in the last 2 months I started 
to publish it a bit. In the last month I got between 5-17 downloads per day 
(still now a lot, but it is the start), the average was 10 downloads per 
day.
Those statistics where pretty solid for over a month now, with constant 
tendency of growth (In the last month, there wasn't even 1 day with less 
than 5 downloads.
Then, 5 days ago (The last update was 17 days ago) there was a huge 
decline, and I have only 0-1 downloads per day.

Till now my rating is:

   - 5 stars - 17
   - 2 stars - 1
   - 1 stars - 1

I got the 2 star rating a while ago, but I got the 1 star rating 5 days 
ago, since then I got another two 5 stars rating

Is it possible that this one review impact is so big?
I know that those statistics are only about short period, so is it 
just coincidence?
Is there something else that can impact on my application in that way?

I didn't see a big impact on my place in the search result after the 1 star 
rating.
Is there anything that I can do in order to change it?

About the answer, please don't say the obvious (It is important, but I 
already did all of that) like:

   - Pay attentions to users reviews
   - Fix bugs when you get users reviews or logs
   
My app is good but not perfect, as any other app, so I constantly working 
on improving it.

I'll very appreciate any help,
Thanks

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

[android-developers] Re: Timeout error when tryin to do REST

2012-07-29 Thread Stefano G. Rago
If you can use ALWAYS HttpURLConnection, from 3.0 is the best solution.

On Monday, July 23, 2012 4:50:58 PM UTC+2, Fernando Juarez wrote:

 Hi I need some help:

 I´m developing an Android app with Eclipse and ADT, It´s a very simple 
 app. The app connects to a server via POST, it works fine when I set my IP 
 o my localhost IP and execute on the emulator, but when I run the app in 
 the Android Device (my cellphone) It can´t connect, throws an Timeout 
 error, I tried with a different web service and the error it´s the same. 
 This is  my code:

 public class MainActivity extends Activity {

 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

 this.httpCall();

 }


 public void httpCall(){

 try{

 String name = null;
 String pass = null;
 String options = null;

 HttpParams httpParameters = new BasicHttpParams();
 HttpConnectionParams.setConnectionTimeout(httpParameters, 2);
 HttpConnectionParams.setSoTimeout(httpParameters, 2);
 ConnManagerParams.setTimeout(httpParameters, 2);

 DefaultHttpClient client = new DefaultHttpClient(httpParameters);

 UsernamePasswordCredentials creds = new 
 UsernamePasswordCredentials(restuser, restbpm);
 client.getCredentialsProvider().setCredentials(new 
 AuthScope(AuthScope.ANY_HOST, AuthScope.ANY_PORT), creds);
 HttpPost post = new HttpPost(
 http://10.36.0.141:8080/bonita-server-rest/API/runtimeAPI/instantiateProcess/holamundo--1.0
 );

 post.setHeader(content-type, application/x-www-form-urlencoded);

 List NameValuePair nameValuePairs = new ArrayListNameValuePair(1);
 nameValuePairs.add(new BasicNameValuePair(options, user:admin));

 post.setEntity(new UrlEncodedFormEntity(nameValuePairs));

 HttpResponse resp = client.execute(post);

 String respStr = EntityUtils.toString(resp.getEntity());


 TextView tv = new TextView(this);
 tv.setText(respStr);
 setContentView(tv);

 } catch(Exception ex){
 Log.e(ServicioRest,Error!, ex);
 }
 }

 Thanks!!!


On Monday, July 23, 2012 4:50:58 PM UTC+2, Fernando Juarez wrote:

 Hi I need some help:

 I´m developing an Android app with Eclipse and ADT, It´s a very simple 
 app. The app connects to a server via POST, it works fine when I set my IP 
 o my localhost IP and execute on the emulator, but when I run the app in 
 the Android Device (my cellphone) It can´t connect, throws an Timeout 
 error, I tried with a different web service and the error it´s the same. 
 This is  my code:

 public class MainActivity extends Activity {

 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

 this.httpCall();

 }


 public void httpCall(){

 try{

 String name = null;
 String pass = null;
 String options = null;

 HttpParams httpParameters = new BasicHttpParams();
 HttpConnectionParams.setConnectionTimeout(httpParameters, 2);
 HttpConnectionParams.setSoTimeout(httpParameters, 2);
 ConnManagerParams.setTimeout(httpParameters, 2);

 DefaultHttpClient client = new DefaultHttpClient(httpParameters);

 UsernamePasswordCredentials creds = new 
 UsernamePasswordCredentials(restuser, restbpm);
 client.getCredentialsProvider().setCredentials(new 
 AuthScope(AuthScope.ANY_HOST, AuthScope.ANY_PORT), creds);
 HttpPost post = new HttpPost(
 http://10.36.0.141:8080/bonita-server-rest/API/runtimeAPI/instantiateProcess/holamundo--1.0
 );

 post.setHeader(content-type, application/x-www-form-urlencoded);

 List NameValuePair nameValuePairs = new ArrayListNameValuePair(1);
 nameValuePairs.add(new BasicNameValuePair(options, user:admin));

 post.setEntity(new UrlEncodedFormEntity(nameValuePairs));

 HttpResponse resp = client.execute(post);

 String respStr = EntityUtils.toString(resp.getEntity());


 TextView tv = new TextView(this);
 tv.setText(respStr);
 setContentView(tv);

 } catch(Exception ex){
 Log.e(ServicioRest,Error!, ex);
 }
 }

 Thanks!!!


On Monday, July 23, 2012 4:50:58 PM UTC+2, Fernando Juarez wrote:

 Hi I need some help:

 I´m developing an Android app with Eclipse and ADT, It´s a very simple 
 app. The app connects to a server via POST, it works fine when I set my IP 
 o my localhost IP and execute on the emulator, but when I run the app in 
 the Android Device (my cellphone) It can´t connect, throws an Timeout 
 error, I tried with a different web service and the error it´s the same. 
 This is  my code:

 public class MainActivity extends Activity {

 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

 this.httpCall();

 }


 public void httpCall(){

 try{

 String name = null;
 String pass = null;
 String options = null;

 HttpParams httpParameters = new BasicHttpParams();
 HttpConnectionParams.setConnectionTimeout(httpParameters, 2);
 HttpConnectionParams.setSoTimeout(httpParameters, 2);
 ConnManagerParams.setTimeout(httpParameters, 2);

 DefaultHttpClient client = new DefaultHttpClient(httpParameters);

 UsernamePasswordCredentials creds = new 
 

[android-developers] htc dream g1

2012-07-29 Thread isarel
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

[android-developers] Re: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread Allan Kaliel
Ya it hasn't updated for me either.  

On Saturday, July 28, 2012 10:00:46 AM UTC-6, 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

[android-developers] Eclipse is closed everytime I try to drag an element of the layout developing in Android

2012-07-29 Thread shockes
Hello you all

first of all let you know that I am a complete noob developing in Android. 
It is my first week

My OS is Ubuntu 12.04 64 bits and I am using Eclipse Indigo 3.7.2. I have 
installed SDK for Android and everything seems to works fine but by the 
time I try to drag an element from the Android's Pallete to the layout, 
Eclipse get clos as well as Ubuntu does. I am not pretty sure if it can be 
a drivers problem, a JVM problem or maybe some problem with ubuntu.

Maybe it is a very basic problem so I do apologise in that case :P

Thank you very much

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] My android develpoer console has not updated

2012-07-29 Thread ken912002
My  android develpoer console has not updated  since 7/25.
Is any method to response to Google.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread cToad
Same here.

On Saturday, July 28, 2012 9:00:46 AM UTC-7, 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

[android-developers] Re: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread brandmward
Yep - same problem here... I haven't been able to find any information in 
the help center, so I sent an email to Google.

On Saturday, July 28, 2012 11:39:59 AM UTC-5, FiltrSoft wrote:

 You're right, mine has updated either.

 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

[android-developers] Re: Change the textcolor of a listview item in onCreate method.

2012-07-29 Thread Omer Firat


22 Mart 2011 Salı 19:09:10 UTC+2 tarihinde bosscoder yazdı:

 Hi dear,


Do you solve your an error oncreate method? I had an error like yours .I 
think it has possible using xml selector but there is no enough an example 
releted with 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=en

[android-developers] Re: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread Allan Kaliel
Yup, me too

On Saturday, July 28, 2012 10:00:46 AM UTC-6, 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

[android-developers] How to handle embed tag inside Android TextView

2012-07-29 Thread Alex Vainshtein
I have TextViews inside ListView, each TextView receive its text from 
Html.fromHtmlfunction, How can I handle embed tags to watch YouTube 
videos from TextView? 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] spacing of app icon title

2012-07-29 Thread Dorie Glynn
Hi.  My app icon title is not spaced correctly.  It says

MrsGlynnsCl
ass


I want it to say MrsGlynns
 Class
or
MrsGlynnsClass   but that won't fit. 

Thanks for your help. 

Dorie

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 SDK platforms-tools and faulty build.xml

2012-07-29 Thread RHE
Hi every body
I'm using RadPHP XE2 on Win 7.
Android SDK tools rev 20.0.1
Android plattform tools rev 14
Apache ant 1.8.4
JDK 1.7.05
JRE 7.0 
 
System Path and Nariables contains paths to:
D:\program\apache-ant-1.8.4\bin;
D:\program\Java\jdk1.7.0_05\bin;
D:\program\Android-sdk\platform-tools;
D:\program\Android-sdk\tools
 
AND:
 
ANT_HOME=D:\Program\apache-ant-1.8.4
JAVA_HOME=D:\Program\Java\jdk1.7.0_05
 
I've never been able to successfully build a build.xml and keep getting  
this message: build.xml:Faild to find version-tag string
And becaus of this error another error occurs too whit this message:
build.xml:46: taskdef class com.android.ant.SetupTask cannot be found
 
There is a lot of different suggestions and some of 
them recommends downgrading to Android SDK platforms-tools r12.
Is there any solution to this problem?
 
Thanks for any comment on 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=en

[android-developers] APKs different with the same source code

2012-07-29 Thread ansj tw
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

[android-developers] which default layout in new eclipse android app project

2012-07-29 Thread Albrecht Frick
Hi Developers,
I am new to this group, have just installed Eclipse(Helios), Java 6 upd 33, 
and the android sdk (on win7 64bit)
When I create an new Android Application Project in Eclipse, the generated 
Layout is RelativeLayout and not LinearLayout.
In all the code samples I read, the LinearLayout initially is created.
Any Ideas?
Thanx
Albrecht

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] disable the secreen lock

2012-07-29 Thread ahmed
after i upgrade my arc S to 4.0.3 i can not disable secreen lock
 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread Cryptopone
I'm seeing the same thing for my apps. It's good to know it's not just me.

On Saturday, 28 July 2012 12:00:46 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

[android-developers] Warning at hello world program

2012-07-29 Thread Edlialbanian
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

[android-developers] Re: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread Allan Kaliel
Hasn't updated for me either.  And I'd just pushed out a big update.  Kinda 
really want to see my numbers...

On Saturday, July 28, 2012 10:00:46 AM UTC-6, 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

[android-developers] How to trigger the call of DataSource::DrmInitialization when playing back content using StagefrightPlayer/AwesomePlayer?

2012-07-29 Thread eaglessong

During content playback AwesomePlayer (wrapped by StagefrightPlayer) 
internally creates either a FileSource or ChromiumHTTPDataSource (both of 
them derive from DataSource). The DataSource class in StageFright has a 
method named DrmInitialization that can create a DrmManagerClient to 
interface with Drm pluging maintained by drmserver.

DrmInitialization is a public method and seems to be designed to allow 
external caller to associate the DataSource instance with a particular Drm 
plugin. However when a DataSource instance is created by AwesomePlayer the 
player never call DataSource's DrmInitialization method. I just wonder what 
should be the appropriate way of triggering the call of DrmInitialization 
when playback a piece of Drm content using StagefrightPlayer/AwesomePlayer.

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

2012-07-29 Thread sparky
The Google Play people are aware of the problem.  You can review known
issues at this page:
https://support.google.com/googleplay/android-developer/bin/static.py?hl=enpage=known_issues.cs

On Jul 28, 6:00 pm, Kaptkaos kaptkao...@gmail.com 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


Re: [android-developers] How to handle embed tag inside Android TextView

2012-07-29 Thread Mark Murphy
On Sun, Jul 29, 2012 at 3:20 AM, Alex Vainshtein alex.v.2...@gmail.com wrote:
 I have TextViews inside ListView, each TextView receive its text from
 Html.fromHtmlfunction, How can I handle embed tags to watch YouTube videos
 from TextView?

You cannot embed YouTube videos in a TextView. At most, you might be
able to do that with a WebView.

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


[android-developers] Re: video streaming UDP to android

2012-07-29 Thread help991
mxplayer will do the job ;)

Am Donnerstag, 14. Juni 2012 22:53:27 UTC+2 schrieb Leonardo:

 Hi,

 I have an application that makes video stream to an internal network (192 
 ...) 
 and I need to broadcast to all connected devices in the network. Since the 
 players
 have found to only get android http stream, so does anyone know if there 
 is any
 player who receives the video stream in udp protocol?

 thankful!


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Modify android.jar error with Eclipse.

2012-07-29 Thread Jose Vigil
Hi guys,

I need to open platform android.jar file to append some classes, on several 
guides and porsts suggest best way is to open the file, edit it and close 
it. So I renamed it to a zip android.zip, then uncompress then append 
classes and re-compress and rename to original android.jar. 

When I open Eclipse I get this error while loading android.jar

*[Framework Resource Parser] Collect permissions failed, class 
android.Manifest$permission not found in 
..\android-sdk\platforms\android-15\android.jar*
*[Android Framework Parser] failed to collect preference classes.*

Am I doing it the wrong way, as far as I am concerned the jar files are 
zipped files that could be packed edited and unpack.

Thanks very much,
Jose

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Help please-new android app suck - the target API is empty

2012-07-29 Thread kaitama3
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: How to dynamically change ActionBar icon in honeycomb?

2012-07-29 Thread Lisandrop
No answer to this? I have the same issue using api level 11


On Tuesday, February 7, 2012 7:26:47 AM UTC-3, Ab wrote:

 I would like to dynamically change the home icon in the ActionBar. 
 This is easily done in v14 with ActionBar.setIcon(...), but I can't 
 find anyway to accomplish this in previous versions.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 THREADS NOT WORKING

2012-07-29 Thread Rasika Perera Govinnage
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.


package packege.cse.updates;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import java.util.ArrayList;

import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;

import packege.lottery.result.R;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.Button;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.AdapterView;
import android.widget.Toast;

public class cseWatch extends Activity  {
TextView txt1 ;
Button btnBack;
ListView listView1;
/** Called when the activity is first created. */
@Override

public void onCreate(Bundle savedInstanceState) {

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

Button btnBack=(Button) findViewById(R.id.btn_bck);
btnBack.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent MyIntent1 = new 
Intent(v.getContext(),cseWatchMain.class);
startActivity(MyIntent1);
}
});
   
ArrayListSearchResults searchResults = GetSearchResults();
   
//after loaded result hide progress bar
ProgressBar pb = (ProgressBar) findViewById(R.id.progressBar1);
pb.setVisibility(View.INVISIBLE);

final ListView lv = (ListView) findViewById(R.id.listView1);
lv.setAdapter(new MyCustomBaseAdapter(cseWatch.this, 
searchResults));
 
lv.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView? a, View v, int position, 
long id) {
Object o = lv.getItemAtPosition(position);
SearchResults fullObject = (SearchResults)o;
Toast.makeText(cseWatch.this, You have chosen:  +   + 
fullObject.getName(), Toast.LENGTH_LONG).show();
}
});


}//end of onCreate


private ArrayListSearchResults GetSearchResults(){
ArrayListSearchResults results = new ArrayListSearchResults();

SearchResults sr;
InputStream in;
try{
txt1 = (TextView) findViewById(R.id.txtDisplay);
txt1.setText(Sending request...);
DefaultHttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet(http://myurl?reportType=CSV;);
HttpResponse response = httpclient.execute(httpget);
in = response.getEntity().getContent();

txt1.setText(parsing CSV...);
  

BufferedReader reader = new BufferedReader(new 
InputStreamReader(in));
try {
String line;
reader.readLine(); //IGNORE FIRST LINE
 
while ((line = reader.readLine()) != null) {
 String[] RowData = line.split(,);
 sr = new SearchResults();
 
 String precent = 
String.format(%.2g%n,Double.parseDouble(RowData[12])).trim();
 
 double chng=Double.parseDouble(RowData[11]);
 String c;
 if(chng  0){
 sr.setLine2Color(Color.GREEN);
 c=▲;
 }else if(chng  0){
 sr.setLine2Color(Color.rgb(255, 0, 14));
 c=▼;
 }else{
 sr.setLine2Color(Color.rgb(2, 159, 223));
 c=-;
 }
 
 sr.setName(c+RowData[2]+-+RowData[1]);

 
 DecimalFormat fmt = new 
DecimalFormat(###,###,###,###.##);
 String price = 
fmt.format(Double.parseDouble(RowData[6])).trim();
 String tradevol = 
fmt.format(Double.parseDouble(RowData[8])).trim();

 sr.setLine1(PRICE: Rs.+price+ TRADE VOL:+tradevol);
 sr.setLine2(CHANGE:+c+RowData[11]+ (+precent+%));
 results.add(sr);
 txt1.setText(Loaded...);
  

[android-developers] Re: User Agent String for Google TV

2012-07-29 Thread lihattv.com
Sony Bravia
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like 
Gecko) Chrome/5.0.375.127 Large Screen Safari/533.4 GoogleTV/ 162671
Logitech Revue
Mozilla/5.0 (X11; U: Linux i686; en-US) AppleWebKit/533.4 (KHTML, like 
Gecko) Chrome/5.0.375.127 Large Screen Safari/533.4 GoogleTV/b39389

Pada Kamis, 14 Oktober 2010 14:36:11 UTC+7, InfoSports menulis:

 Hi, 

 I was wondering if anyone knows the user agent string the Chrome 
 browser sends on Google TV.  I have a site www.vpiketv.com  that 
 formats the display on the fly according to the recommedations Google 
 documented. 

 The site looks at the user agent string to determine the type of 
 device (PC, TV) and the type of display if Google TV (720p or 1080p). 

 Thanks, 
 Al 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 Image Crop optimization

2012-07-29 Thread Borebo Banger
Hello,
aim working on a cropping Plugin what i found at the Internet.

https://github.com/biokys/cropimage#readme

My Problem is, i want to set a min Height and min Width from the drawing 
Rectangle.
I really don't know how, iam new on Android and i don't know where to set 
Min values to grow the Rectangle not smaller.

Is there anyone ho can help me out?

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

[android-developers] Recomented framwork

2012-07-29 Thread kaitama3
Hi,
im a new developer and i need some help.

What framwork do you recoment me to start develope apps?
And what framwork will make the job easy?

I heard about phonegap.com .

thanks everybody!






high-business http://www.high-business.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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-29 Thread huygir
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
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://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/



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

[android-developers] Google Play vs. Android 4.0.3

2012-07-29 Thread Jary Novak
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

[android-developers] Re: Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread Andrei maximov
Same here.

On Saturday, July 28, 2012 9:39:59 AM UTC-7, FiltrSoft wrote:

 You're right, mine has updated either.

 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

[android-developers] How To Implement A Big Memory Cache...

2012-07-29 Thread iliTheFallen
Hi Developers Of Android,

I am trying to figure out a way to implement a in-memory cache; but its 
size will be relatively big by comparison with the dvm heap size. I had 
planned to use nio and/or Parcel class to serialize my objects then store 
them on the native memory; however i cannot predict the performance of 
reconstructing those objects from their bytes indeed. Furthermore, i 
couldn't have found anything useful which teaches how to use Parcel and 
Parcelable to do some custom serialization. I know it is for IPC in 
android; and i didn't find inspecting the Parcel.cpp to understand the 
internals of the Binder protocol so fascinating and feasible. On the other 
hand,  I cannot make use of LRUCache class either due to the dvm heap size 
limit which means that i will not be able to store my java objects on the 
dvm heap as they are. According to the researches on the web i've made so 
far, the only way to exceed the dvm heap size is to tell my clients to root 
their devices before they install my application(or i misunderstood. If 
that is the case, please do correct me.) so they can modify the heap size 
option of their devices.

 I am trying to avoid NDK to implement the cache for now, since i have to 
pass my c/c++ instances to the java side eventually.

Long story short, Would any developer mind telling me the best way to 
implement an in-memory cache which may penetrate dvm heap size limit and 
run fast as well? Or At least, if you can send me some links, pdfs, ebooks, 
docs, etc for me to check them out; that woul be really great!

Thanks,
Ilker GURCAN

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Timeout

2012-07-29 Thread Karlos Aizpurua
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

[android-developers] CLEAR_TOP + start new activity. Hierarchy issue

2012-07-29 Thread Dmitriy F


I have a hierarchy consisting of 4 levels of depth. My profile has 2nd 
level of hieararchy that means that pressing back while being in profile 
must always return user to the 1st hierarchy level.

My problem is that link to the profile is available on all levels; so, for 
instance, if a user being on the 4th level clicks on the profile link his 
hierarchy position must be changed to the 2nd level - NOT to the 5th.

I suppose there must be an essential way of doing it. So far I've come up 
with combination of CLEAR_TOP to the 1st level + 
if(extra){startActivity(Profile)} but in this way the 1st level activity 
will get recreated - right ? and that's why I want you to suggest something 
better.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Apps error on load

2012-07-29 Thread Major Bob
I loaded my Application to Google Play. I see the application from my 
computer, but not on my Android phone. I get the following errors. 
 
1.  New in-app products and subscriptions cannot be added because the 
current application version does not use the BILLING permission.
2: In-App Products - There is no In-App Products for this application
3. Subscriptions - There is no aubacriptions for this aplication.
 
Thank you for your help. Major Bob

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] New in-app products and subscriptions cannot be added because the current application version does not use the BILLING permission.

2012-07-29 Thread Major Bob
Problem: I load my App onto Google Play and here are my error messages:
 
1.  New in-app products and subscriptions cannot be added because the 
current application version does not use the BILLING permission.
 
2. In-app Products - There are no in-app products for this application.
 
3. Subscriptions - There are nosubscriptions products for this application.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Debugging a complex native application (shared libs)

2012-07-29 Thread Cyril CHAMPIER
Hello,

I have a working application, with 1 android java project that calls a java 
jni project, that calls multiple native shared libraries.
I compile my lib project with ndk-build in command line, which compile all 
the other shared libraries
and I then launch the main project in eclipse, and everything is working.
BUT I'm unable to debug the native code, gdb don't want to attach:
ERROR: Non-debuggable application installed on the target device.

Of course both java projects have debugguable property set to true in the 
manifest,
I compile with ndk-build NDK_DEBUG=1 and there is a gdbserver in the 
compiled lib.

I really don't know what do to, does anybody already tried this kind of 
things ?

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

2012-07-29 Thread Nicholas Austin
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! 

Nick

On Tuesday, July 21, 2009 1:37:32 AM UTC+1, George wrote:

 Argh, late night programming wastes so much dev time! To get 360 
 degrees instead of - 180 to 180, simply add 360 to the value if its 
 negative as so. 

 if (values[0] = 0) { 
 one1 = Math.toDegrees(values[0]); 
 one1 = one1 + 360; 
 } else { 
 one1 = Math.toDegrees(values[0]); 
 } 

 George 


 On Jul 21, 12:54 am, Fuzzmonkey she...@gmail.com wrote: 
  Thanks Rud for your posts / blog entry. Helped me out allot! This may 
  be a stupid question but how do i get azimuth value returned from 
  getOrientation to go 0 - 360 degrees rather -180 to 180 degrees? Is 
  there something i'm missing? Im using code very similar to the code 
  you posted on your blog, but im using the java math.todegrees() 
  function to convert from radians and have no digital filter 
  implemented. 
  
  Tend to miss out vital bits of code when working in the early hours of 
  the morning! 
  
  Thanks, 
  
  George 
  
  On Jul 12, 6:44 am, Rud k5...@arrl.net wrote: 
  
   I did some testing on the compass direction and the results are, eh, 
   interesting. 
  
   I compared the readings I was getting with the Google Sky Map and they 
   were basically the same. Here is what I did. 
  
   With both my app and SkyMap I had the phone in camera position. I 
   positioned the phone on a piece of paper and drew a line on along the 
   side in contact with the paper. I did this for N, E, W,  S. As I 
   said, the lines from my app agreed with the ones from Sky Map. 
  
   I drew a N/S line using a physical compass. The lines for N  S were 
   rotated a bit clockwise from being right angles to the N/S line. The 
 E/ 
   W lines were both skewed even more clockwise from the N/S line. [Yeah, 
   I've calibrated the phone doing figure 8's and flipping it while 
   rotating it, etc.] It also appears that the sensors expect the phone 
   to be in camera position, i.e. left side down, because when the right 
   side is down all the compass points are even worse. 
  
   I'd be curious to see if other phones get similar results. 
  
   Rudhttp://mysticlakesoftware.blogspot.com/ 
  
 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Make my own Mail Server able to Sync with Android native mail and calendar app.

2012-07-29 Thread Santiago Trías
Hi All,

I'm starting to research a little about how works the sync between Android 
and the Mail Servers that are able to do this.
The Mail Server that I'm using is Zimbra (Open version). I know that the 
paid version has this functionality already so it is possible.
For sure the implementation is going to be in the Zimbra side, but I need 
to know how the sync on Android works so I can handle the requests (or send 
them?) in the server.

Is there any documentation on this topic?
Any other idea on where I can start looking at? Code? Other examples on 
other servers?

Any help will be very valuable for me!

Thanks,
Santiago.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 do start ROM Development

2012-07-29 Thread Shashikant
If I want to create a custom made ROM for certain device where do I Start 
from? What do I need?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: TTS / Jellybean

2012-07-29 Thread Martin Long
I'm getting the exact same issue. It's annoying, and I'm starting to get 
compaints from customers.

On Monday, 23 July 2012 15:37:53 UTC+1, Pent wrote:

 On my Nexus S European GSM 4.1, if not all possible languages are 
 installed for the 'Google Text-to-speech Engine' then checking TTS 
 data with this action... 

 TestToSpeech.Engine.ACTION_CHECK_TTS_DATA 

 ...results in immediate return in onActivityResult of result code 
 CHECK_VOICE_DATA_MISSING_DATA with no voice data extras for the 
 languages that *are* installed. 

 In other words, it's apparently impossible to get a list of available 
 voices for the engine until *all* of the possible voices are 
 installed. 

 Users aren't going to be impressed at having to download e.g. Italian, 
 Spanish, French etc before being able to say something in e.g. 
 English. 

 Logic lapse there somewhere ? 

 In 4.0.4 and prior the installed voices were returned. Other voices 
 could be downloaded via the TTS config in settings. 

 Did I miss some extra API part ? 

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

2012-07-29 Thread Rafał Roszak
I'm also experiencing the same problem.

On Saturday, July 28, 2012 6:00:46 PM UTC+2, 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

Re: [android-developers] Content Provider URIs Documented?

2012-07-29 Thread Sean O'Neil
Is this still true for the current version of Google Talk?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] scrollable screen

2012-07-29 Thread Nissim Levy
hello everyone... 
i wanted some explanation of how to use ScrollView o set horizontal scroll,
how do i set what will be the next layout when i scroll left for example 
from my launcher layout...

thank you...

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

[android-developers] how to send data over Wifi

2012-07-29 Thread Muhammad ahmed
i am developing a application in which i have to send serial data over Wifi 
... how can i do it using  api level 10 , 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 the Google Now text to speech engine available to the rest of us?

2012-07-29 Thread MandamusWrit
One of my absolute favorite features of Jelly Bean is Google's new text to 
speech engine inside Google Now. 

At first I was under the impression that the voice only sounded so good 
because it was prerecorded to match the limited set of Google Now commands 
(The weather today is...) with arbitrary words filled in by a more 
versatile yet less capable engine. However, I was surprised to find that 
Google Now is equally capable of handling arbitrary word definitions. Which 
there are simply too many to prerecord. For the most part, Google Now 
appears to have a fully featured text to speech engine.

Unfortunately, I was saddened to find that the actual text to speech engine 
available on Jelly Bean devices (while a significant improvement over 
previous iterations) is not the Google Now voice. I recall reading an 
article describing Jelly Bean as having two forms of text to speech. A more 
capable online version (the Google Now voice) and a less capable offline 
engine (the standard engine). This is apparently the case.

So far I've found that any apps making calls to the device's text to speech 
engine return only the default voice, not the Google Now voice. I would be 
absolutely thrilled if someone found a way to build apps capable of using 
Google Now's online voice engine. Or at the very least, force Google Now to 
read arbitrary text. 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 change orientation sensor polling period in Android?

2012-07-29 Thread 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

[android-developers] APKs different with the same source code

2012-07-29 Thread ansj tw
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

Re: [android-developers] Goiogle Play - Dev Console not updating since July 25

2012-07-29 Thread Francisco Marzoa
Same problem here. It seems to be solved after sending a support request,
though stats numbers for these days seems to be lost.
El 28/07/2012 18:02, Kaptkaos kaptkao...@gmail.com escribió:

 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-29 Thread Francisco Marzoa
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] Does this licensing policy have weaknesses?

2012-07-29 Thread Ted Hopp


I asked a version of the following on 
StackOverflowhttp://stackoverflow.com/questions/11693100/would-this-google-play-licensing-policy-be-safe-to-useand
 received only one response, which was off-point.

The default ServerManagedPolicy that Google provides in their License 
Verification 
Libraryhttp://developer.android.com/guide/google/play/licensing/adding-licensing.html
 relies 
on the server responses to determine the license revalidation interval. 
This results in requiring a revalidation every few days, apparently in 
perpetuity. This is not only a nuisance to users, it can be a serious 
problem for users who go extended periods with no connectivity. (We just 
had an inquiry from a user who expects to be without Internet connectivity 
for several weeks, which is what motivates this question.)

In summary, I'm looking for an algorithm that will accomplish two things: 
1) drastically reduce the connectivity requirements compared to 
ServerManagedPolicy; 2) provide the same level of anti-piracy protection.

In an answer to this other 
questionhttp://stackoverflow.com/questions/5433036/what-is-a-reasonable-licensing-policy-using-android-market-licensing,
 the 
suggested policy algorithm is to ignore the times provided in the response 
from Google's server and instead to use a grace period of about a month, 
with license checks being attempted every few days (to extend the grace 
period if a LICENSED response is received).

While this approach partially addresses the first goal, it still requires 
users to be connected once a month while using the app, so it would not 
work for (at least one of) our users.

The following algorithm accomplishes the first goal, but I don't know about 
the second. Any comments pointing out weaknesses of this algorithm, or 
suggestions for another approach, would be welcome.

   1. On first run, do a license check and insist on a LICENSED response 
   before providing full functionality. Once received, set a relatively short 
   expiration period (but longer than the refund period that Google Play 
   provides, currently 15 minutes). Also register a grace period of a few days 
   beyond that.
   2. The app would start checking again after the license expiration 
   period. If it failed to connect (airplane mode, etc.), it would still 
   function until the expiration of the grace period.
   3. After expiration of the grace period, insist on a second LICENSED 
   response before allowing normal app functioning.
   4. After receiving a second LICENSED response (whether before or after 
   expiration of the grace period), permanently enable all features of the app 
   and never bother checking again.
   5. If an UNLICENSED response is received, permanently disable full 
   functionality. (The user can revert to step 1 by deleting all app data.)

Additional points:

   - A suggestion was made to forgo the first license check and simply wait 
   until the expiration of the return period before checking. The purpose of 
   insisting on the first LICENSED response is to prevent the exploit where, 
   after a license check fails, the user simply stops the app process, clears 
   the app data, and restarts the app. (The app provides value even if usable 
   for only 15 minutes at a time.)
   - The purpose of insisting on a second LICENSED response is to get 
   around the buy-run-backup-return-restore exploit.
   - I'm not asking whether call-back license checking is a good idea or 
   not. I'm also well aware that no anti-piracy protection is foolproof and 
   Google's entire licensing mechanism can be circumvented (in which case all 
   questions about design of a policy algorithm are irrelevant). The main 
   point of this question is the relative risks (to us) and benefits (to the 
   user) of the above algorithm *as compared to other policies* (such as 
   the ServerManagedPolicy).

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Programatically changing the screen brightness

2012-07-29 Thread Cythes
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

[android-developers] Re: APKs different with the same source code

2012-07-29 Thread Ted Hopp
The usual way to do this is to create a library project with the common 
elements and then to create separate projects containing only those 
elements of the app that are unique to each APK. See the docs on working 
with library 
projectshttps://developer.android.com/tools/projects/index.html#LibraryProjects
 for 
more info.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Does this licensing policy have weaknesses?

2012-07-29 Thread b0b
The thing is that regardless how complex your policy is, if your app is 
popular, it will be cracked no matter what at the LVL level.

My advice is to use a forgiving policy like the LenientPolicy that deny 
access to the app only if it is 100% sure that the app is unlicensed (eg: 
Google Play returns NOT_LICENSED). 
Otherwise (market failure, no network connectivity), is is licensed:

http://www.mail-archive.com/android-developers@googlegroups.com/msg107037.html

You can protect this policy or another policy of your choosing with 
inventive ways to CRC-check the APK
in multiple places in the code, much more difficult to find for crackers.
And do not forget string obfuscation for sensitive strings in the process.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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-29 Thread 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.comwrote:

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




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

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

 Yea, I don't think live 

[android-developers] Re: How do start ROM Development

2012-07-29 Thread lbendlin
Step 1: Go to xda-developers.com

On Saturday, July 28, 2012 3:14:20 PM UTC-4, Shashikant Rudrawadi wrote:

 If I want to create a custom made ROM for certain device where do I Start 
 from? What do I need?


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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-29 Thread bob
Worried about memory?  Try this:

application android:largeHeap=true


On Sunday, July 29, 2012 4:11:55 AM UTC-5, Dmitriy F wrote:

 I've written a simple test where I have:
 FragmentManager fm = getSupportFragmentManager();
 FragmentTransaction ft = fm.beginTransaction();
 ft.hide(_sv);
 ft.commit();
 When the fragment gets hidden - onPause doesn't get fired. However, system 
 fires a chain of callbacks up to onDestroyView when I use a replace method. 
 So, I guess, I should be performing memory-recycling operations in 
 onDestroyView method.

 I've also noticed that when I hide the ViewPager component with 
 setVisibility(GONE) its' fragments dont fire onPause callback. Is there any 
 workaround to tell all the  fragments inside the ViewPager to clean 
 themselves with onDestroyView ?

 I still think I should use fragments since in a Tablet version those pages 
 are implemented as tabs.

 Thanks again and I was wondering whether you could point out or give some 
 links on implementing the memory management process. I have a lousy 
 knoweledge about WeakReferences, recycle(), System.gc() features but I 
 guess they are somewhat mutually-excluding. Probably, I should stick to 
 Weak/Soft references approach, should I ? If so - could you share some 
 insights/give link on the whole process of instantiating bitmap down to the 
 recycling.

 On Sunday, July 29, 2012 12:28:08 AM UTC+3, Dianne Hackborn wrote:

 If you have a fragment that holds on to a lot of memory in its view 
 hierarchy and are concerned about this, then use 
 FragmentTransaction.remove() to make it no longer visible -- that will 
 remove it from its parent view and destroy its view hierarchy, so it 
 doesn't hold on to any references.  (If you are manually loading bitmaps in 
 the fragment, in onDestroyView() you can clear the references there.)  Of 
 course this means a bit more overhead when the user returns to the 
 fragment, since its view hierarchy needs to be re-inflated and initialized 
 again.  But it won't be any worse than the first time the user visited it, 
 and you need that to be fast as well.

 It is true that FragmentTransaction.hide() does not remove and the 
 destroy the fragment's view hierarchy, just doing View.setVisibility(). 
  But that is not all -- it takes care of managing the fragment lifecycle so 
 that fragment will be paused and stopped (since it is no longer visible). 
  You can implement the lifecycle to free up resources if you need to.  This 
 will also result in them being freed when the entire activity is stopped, 
 which is probably what you want as well.

 You shouldn't be directly hiding the view associated with a fragment. 
  That is what FragmentTransaction.hide/show() is for.  There is no need to 
 directly hide the view owned by it, and doing so means that you are letting 
 the correct fragment semantics execute.  (And for what it's worth, if you 
 have no reason to use fragments with ViewPager, there is nothing forcing 
 you to -- you can write your own adapter that directly manages raw views 
 and doesn't use fragments at all.)

 On Sat, Jul 28, 2012 at 1:45 PM, Dmitriy F midnight@gmail.comwrote:

 Thanks for the answers! Would you mind to suggest on the part about 
 fragments, bitmaps and memory management ? I decided to implement the app 
 with 3 activities and about 8 fragments. The fragment number might slightly 
 increase yet I think it's not the fragments but their bitmaps that gonna 
 cause troubles with memory. 

 For displaying the fragments I have two containers: a ViewPager(rotates 
 3-4 fragments) element and a FrameLayout(displays strictly one fragment) 
 element. Right now I'm simply hiding one type of container and showing 
 another - setVisibility or fragmentTransaction.hide (I haven't figured out 
 what is the difference between these two apart from the latest gives an 
 ability of adding to activity's backstack). Is their any better way of 
 switching between the containers ?

 Additionally, even if those fragments might not hold much memory by 
 themselves - should I wrap those objects with SoftReference ?

 Could you tell any precautions/advices for implementing an app with such 
 structure ? Thanks.


 On Saturday, July 28, 2012 9:36:27 PM UTC+3, Romain Guy (Google) wrote:

 1) Does ImageView.SetImageResource applied against the same id twice or 
 thrice consumes memory for the same bitmap or uses a separate range for 
 every imageview element ?


 I don't quite understand your question. When a Bitmap is loaded as a 
 Drawable (which is what ImageView does), it gets cached by the system 
 (using weak references.) This means that if do this:

 Drawable d1 = loadDrawable(R.drawable.**myImage);
 Drawable d2 = loadDrawable(R.drawable.**myImage);
  
 you will get 2 different instances of Drawable, but the underlying 
 Bitmap will be loaded in memory only once.

 2) same as 1. but for BitmapFactory.decodeResource


 Every time you call this method you will load a new instance 

[android-developers] How to hide apps in the launcher?

2012-07-29 Thread perumal316
 

Hi All,

In some of the launchers, there is an option to hide apps from the 
launcher. Any idea how this can be done?

I want to hide other apps while my apps is running.

Is this possible? Is there any other method to do this?

Thanks In Advance,

Perumal

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

Re: [android-developers] How to hide apps in the launcher?

2012-07-29 Thread Kristopher Micinski
Why do you want to do this?

Because it's not your decision, it's theirs.

I'd be interested to hear an explanation as to why you want to hide
your app, I'd be interested to hear ones that aren't my app is
malware.

I actually can think of an example: when you have something like an
app that provides services to other apps you distribute (even though
this in itself might not be the most kosher design), but you can still
make a frontend, in this case.

kris

On Sun, Jul 29, 2012 at 9:21 PM, perumal316 perumal...@gmail.com wrote:
 Hi All,

 In some of the launchers, there is an option to hide apps from the launcher.
 Any idea how this can be done?

 I want to hide other apps while my apps is running.

 Is this possible? Is there any other method to do this?

 Thanks In Advance,

 Perumal

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

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 hide apps in the launcher?

2012-07-29 Thread Varun Tewari
You may need to create a Home Screen Launcher experience for
yourself.creating a front-end  interface as suggested by
Kristopher..though its not the best design, but you may have your own
reasons or client req, we understand.

On Mon, Jul 30, 2012 at 9:19 AM, Kristopher Micinski krismicin...@gmail.com
 wrote:

 Why do you want to do this?

 Because it's not your decision, it's theirs.

 I'd be interested to hear an explanation as to why you want to hide
 your app, I'd be interested to hear ones that aren't my app is
 malware.

 I actually can think of an example: when you have something like an
 app that provides services to other apps you distribute (even though
 this in itself might not be the most kosher design), but you can still
 make a frontend, in this case.

 kris

 On Sun, Jul 29, 2012 at 9:21 PM, perumal316 perumal...@gmail.com wrote:
  Hi All,
 
  In some of the launchers, there is an option to hide apps from the
 launcher.
  Any idea how this can be done?
 
  I want to hide other apps while my apps is running.
 
  Is this possible? Is there any other method to do this?
 
  Thanks In Advance,
 
  Perumal
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Requesting Gmail atom feed with auth token from AccountManager

2012-07-29 Thread JP
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. 
Any ideas where the disconnect is?

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