Re: [android-developers] Can't able to install google play billing

2012-06-19 Thread TreKing
On Mon, Jun 18, 2012 at 11:19 PM, Sandeep Venkat sand...@believecreative.in
 wrote:

 I can't able to install Google play billing in android4.0 through SDK
 manager.Can anyone help me out!!!


You need to provide a little more information so we know what you're actual
problem is. Like *why* you can't.

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

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

Re: [android-developers] Login screen in offline mode

2012-06-19 Thread TreKing
On Mon, Jun 18, 2012 at 11:52 PM, Sandeep Venkat sand...@believecreative.in
 wrote:

 could anyone tell me how to store user details entered in registration
 screen in offline mode into sqlite?


Take the data the user entered then put it in a SQLite database (possibly
encrypted).

If you want a more specific answer, you need to ask a more specific
question.

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

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

Re: [android-developers] reading pdf in android emulator

2012-06-19 Thread asheesh arya
just go through this link
http://stackoverflow.com/questions/3831019/how-to-read-a-pdf-in-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] Re: Example on how to use Scroller in an activity

2012-06-19 Thread kishore
Hey Guys...
You must have a look at the below link :
http://stackoverflow.com/questions/5495855/android-scroller-animation 

Thanks,
Kishore

On Thursday, 21 January 2010 14:49:46 UTC+5:30, Sonic.. wrote:

 Hello

 I tried googling for any example on how to use Scroller for doing
 manual handling of scrolling, but couldn't came across one.

 I would be grateful if anyone could please help me out in this, on how
 to use a Scroller in an activity.

 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

Re: [android-developers] image format for android games

2012-06-19 Thread F.Stein
 realh,

This book is old enough to be a carrier of facts. Facts in this book is 
simply old.
There are many devices support 32bit RGBA pixel format. Only old or 
very-low-end devices can't support RGBA_ pixel format. Use this 
linkhttp://developer.android.com/reference/android/graphics/PixelFormat.htmlto
 learn about PixelFormat class.

You may use a 32bit TGA or PNG format. But it will more better to use 
compressed texture formats.
Compressed texture formats is a wide theme, you may learn about it 
herehttp://developer.sonymobile.com/wp/2011/06/21/texture-compression-tips-for-sony-ericssons-xperia(tm)-phones/,
 
for example. It will be useful if you use OpenGL/ES.

понедельник, 18 июня 2012 г., 17:44:24 UTC+7 пользователь realh написал:

 On Sat, 9 Jun 2012 02:13:34 -0700 (PDT) 
 EDan wrote: 

  I have a problem with images in android games. I bought a book 1 month 
  ago Beginning Android 4 Games Development and I already write the 
  framework for develop game that the book explain, so the problem is 
  not in the code. The problem is that I don't know how built with 
  photoshop a picture that goes very well on android (I know that I have 
  to use .bng but I don't know the other settings like RGB565 or other). 
  So I need someone that explain me wich format I have to use, or if I 
  have to use another software for this purpose. 

 I have a book called Beginning Android Games which says that nearly 
 all Android device screens are 16-bit, but that could have changed since 
 more tablets etc came on the market. 

 For maximum simplicity, good performance across as many devices as 
 possible, and space saving, you should load them as RGB565 or ARGB 
 depending on whether you need alpha (transparency), and save them from 
 Photoshop in that format. But to make your game look better on high-end 
 devices you could save the files in 24-bit/32-bit depth and choose 
 whether to load them into Android in that format or in a 16-bit format 
 depending on what the device supports at run-time. 

 ISTR reading that devices might not truly report whether their screen is 
 really 32-bit (or at least more than 16), so it might be better to have 
 a user option than try to work it out from API functions. 


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

2012-06-19 Thread kampy

stack trace :



06-04 11:15:55.934: D/dalvikvm(333): GC_EXTERNAL_ALLOC freed 48K, 53% free 
2549K/5379K, external 1625K/2137K, paused 70ms
06-04 11:15:56.244: D/dalvikvm(333): GC_EXTERNAL_ALLOC freed 1K, 53% free 
2548K/5379K, external 2988K/3732K, paused 63ms
06-04 11:16:01.585: E/dalvikvm(333): Could not find class 
'org.apache.pdfbox.pdfparser.PDFParser', referenced from method 
com.pdf.parser.TextToSpeechActivity$1.onClick
06-04 11:16:01.585: W/dalvikvm(333): VFY: unable to resolve new-instance 51 
(Lorg/apache/pdfbox/pdfparser/PDFParser;) in 
Lcom/pdf/parser/TextToSpeechActivity$1;
06-04 11:16:01.585: D/dalvikvm(333): VFY: replacing opcode 0x22 at 0x0018
06-04 11:16:01.585: D/dalvikvm(333): VFY: dead code 0x001a-0073 in 
Lcom/pdf/parser/TextToSpeechActivity$1;.onClick (Landroid/view/View;)V
06-04 11:16:01.994: I/TextToSpeech.java(333): initTts() successfully bound 
to service
06-04 11:16:12.535: D/AndroidRuntime(333): Shutting down VM
06-04 11:16:12.535: W/dalvikvm(333): threadid=1: thread exiting with 
uncaught exception (group=0x40015560)
06-04 11:16:12.555: E/AndroidRuntime(333): FATAL EXCEPTION: main
06-04 11:16:12.555: E/AndroidRuntime(333): java.lang.NoClassDefFoundError: 
org.apache.pdfbox.pdfparser.PDFParser
06-04 11:16:12.555: E/AndroidRuntime(333): at 
com.pdf.parser.TextToSpeechActivity$1.onClick(TextToSpeechActivity.java:64)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
android.view.View.performClick(View.java:2485)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
android.view.View$PerformClick.run(View.java:9080)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
android.os.Handler.handleCallback(Handler.java:587)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
android.os.Handler.dispatchMessage(Handler.java:92)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
android.os.Looper.loop(Looper.java:123)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
android.app.ActivityThread.main(ActivityThread.java:3683)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
java.lang.reflect.Method.invokeNative(Native Method)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
java.lang.reflect.Method.invoke(Method.java:507)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-04 11:16:12.555: E/AndroidRuntime(333): at 
dalvik.system.NativeStart.main(Native Method)
06-04 11:17:21.545: D/dalvikvm(373): GC_EXTERNAL_ALLOC freed 50K, 53% free 
2549K/5379K, external 1625K/2137K, paused 68ms
06-04 11:17:21.815: D/dalvikvm(373): GC_EXTERNAL_ALLOC freed 1K, 53% free 
2548K/5379K, external 2988K/3732K, paused 52ms
06-04 11:17:27.144: E/dalvikvm(373): Could not find class 
'org.apache.pdfbox.pdfparser.PDFParser', referenced from method 
com.pdf.parser.TextToSpeechActivity$1.onClick
06-04 11:17:27.144: W/dalvikvm(373): VFY: unable to resolve new-instance 51 
(Lorg/apache/pdfbox/pdfparser/PDFParser;) in 
Lcom/pdf/parser/TextToSpeechActivity$1;
06-04 11:17:27.144: D/dalvikvm(373): VFY: replacing opcode 0x22 at 0x0018
06-04 11:17:27.144: D/dalvikvm(373): VFY: dead code 0x001a-0073 in 
Lcom/pdf/parser/TextToSpeechActivity$1;.onClick (Landroid/view/View;)V
06-04 11:17:27.334: I/TextToSpeech.java(373): initTts() successfully bound 
to service
06-04 11:17:32.754: D/AndroidRuntime(373): Shutting down VM
06-04 11:17:32.754: W/dalvikvm(373): threadid=1: thread exiting with 
uncaught exception (group=0x40015560)
06-04 11:17:32.775: E/AndroidRuntime(373): FATAL EXCEPTION: main
06-04 11:17:32.775: E/AndroidRuntime(373): java.lang.NoClassDefFoundError: 
org.apache.pdfbox.pdfparser.PDFParser
06-04 11:17:32.775: E/AndroidRuntime(373): at 
com.pdf.parser.TextToSpeechActivity$1.onClick(TextToSpeechActivity.java:64)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
android.view.View.performClick(View.java:2485)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
android.view.View$PerformClick.run(View.java:9080)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
android.os.Handler.handleCallback(Handler.java:587)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
android.os.Handler.dispatchMessage(Handler.java:92)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
android.os.Looper.loop(Looper.java:123)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
android.app.ActivityThread.main(ActivityThread.java:3683)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
java.lang.reflect.Method.invokeNative(Native Method)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
java.lang.reflect.Method.invoke(Method.java:507)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
06-04 11:17:32.775: E/AndroidRuntime(373): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
06-04 11:17:32.775: E/AndroidRuntime(373): at 

Re: [android-developers] Using custom Content Providers

2012-06-19 Thread Per-Jarle Sæther
Thank you for good explanation

Best regards
Per-Jarle

On Mon, Jun 18, 2012 at 5:01 PM, Mark Murphy mmur...@commonsware.comwrote:

 If the ContentProvider has an android:permission,
 android:readPermission, or android:writePermission attribute in its
 provider element in the manifest, then the consumer needs to have
 the corresponding uses-permission element.

 On Mon, Jun 18, 2012 at 9:02 AM, Per-Jarle Sæther
 per.jarle.saet...@gmail.com wrote:
  Hello, and thank you for replying
 
  I was looking at a tutorial that used Contacts which is a ContentProvider
 
  That app had the following tag in AndroidManifest:
 
   uses-permission
 android:name=android.permission.READ_CONTACTS
 
   /uses-permission
 
 
 
  I thought maybe I would need something like that to access a custom
  ContentProvider
 
  Best regards
  Per-Jarle
 
 
  On Mon, Jun 18, 2012 at 12:29 PM, Mark Murphy mmur...@commonsware.com
  wrote:
 
  You do not need to have a uses-permission element to use that
  ContentProvider. I do not know what other uses tag you might be
  concerned with.
 
  On Mon, Jun 18, 2012 at 5:09 AM, Per-Jarle Sæther
  per.jarle.saet...@gmail.com wrote:
   Hello all
   Do I need to specify an uses tag in AndroidManifest if I shall use a
   custom
   Content provider?
  
   Example:
   Provider tag in Content Provider:
  
provider android:name=BooksProvider
  
android:authorities=net.learn2develop.provider.Books /
  
  
   What uses tag do I need to have in a client app that use this
 provider?
  
   Best regards
   Per-Jarle
  
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, 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.7 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
 
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, 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.7 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


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

2012-06-19 Thread pushpa nc
Hi all,

I am developing an application, where i need to capture the timestamp of
music starts and ends. For that have used OnAudioFocusChangeListener, and
request for AUDIO_GAIN event. Below is my code.

public class AudioManagerExample extends Activity implements
 OnAudioFocusChangeListener{

   public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.main);

AudioManager am = (AudioManager) getSystemService(AUDIO_SERVICE);

int result = am.requestAudioFocus(this,AudioManager.STREAM_MUSIC
,AudioManager.AUDIOFOCUS_GAIN);

if(result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED)

Log.d(AudioManager, Request Granted);

  }

  @Override

   public void onAudioFocusChange(int focusChange) {

 if(focusChange == AudioManager.AUDIOFOCUS_GAIN)

Log.d(AudioManager, Inside on audio focus gained  );

else if(focusChange == AudioManager.AUDIOFOCUS_LOSS)

Log.d(AudioManager, Inside on audio focus lossed );

 }

}
onAudioFocusChange function get called when i play the music, am getting
audio focus lossed message instead of gain message and I checked the
focusChange value it is -1. Also listener will be called only once i.e when
i opened the music first time. Listener is not called If music player is
closed and opened again.  Why is this so?  Do i need to add any permission?
I had surfed a lot but not get the proper solution Please anybody could
explain?

Thanks
Pushpa

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

2012-06-19 Thread Alessandro Pellizzari
Hi all,

I am looking for a library to use in my Android app that reads (and 
optionally writes) only the PDF metadata (author, title, publisher, year, 
etc.)

I don't need parsing or rendering of the PDF contents. Only the metadatas.

Is there something small or must I use a full-featured library?

Thank you very much.

Bye.


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

2012-06-19 Thread İsacan Akkoca
Hi everyone,
Are you know or have andengine tutorial,template or any assets.?

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] refresh list

2012-06-19 Thread Live Happy
i have list based on cursor adapter but the problem is when i add new item
to the database i cant refresh the  list,  i try many way re-query the
cursor  and then notifyDataSetChanged.but not work so how i can refresh the
list

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Fwd: گزارش عملكرد-109

2012-06-19 Thread hosein bitaraf
-- Forwarded message --
From: خيريه همت hemmat1...@gmail.com
Date: 2012/6/19
Subject: گزارش عملكرد-109
To:




-- 
*
_*
*بسم الله الرحمن الرحیم*
*

* گزارش عملكرد-109 http://sandoghhemat.ir/post-161.aspx
اللهم صل علي محمد و آل محمد و عجل فرجهم

سلام و صبح بخير

خداقوت

با لطف خداي متعال و همت عزيزان و دوستان بزرگوار خيريه همت، هزينه تهيه بسته
كامل جهيزيه به ارزش 3 ميليون تومان جهت اهداي به خانواده بزرگواري كه شرح آن
قبلا منتشر شد http://sandoghhemat.ir/post-160.aspx، جمع آوري گرديد.

بسته جهيزيه درنظر گرفته شده شامل همان موارد گزارش
107http://sandoghhemat.ir/post-159.aspxاست.

الحمدلله

*



شيوه واريز كمكها به صندوق
شماره حساب:**008**-**2396820**-**010**
شماره كارت:**7825**-4471-**9914**-**6037**
*
* IR94 0170  0010 2396 8200 08:شماره شبا *
*به نام مهدي قمصريان
__
لینک واریز اینترنتی کارت به کارت بانک
ملیhttps://epayment3.bmi.ir/MoneyTransfer
**
__
*
شماره پیامک خیریه: 30007227005300
http://sandoghhemat.ir

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

2012-06-19 Thread kampy
hi 

 i tried this one also but didnt get the appliation executed 

On Tuesday, June 19, 2012 11:34:36 AM UTC+5:30, asheesh arya wrote:

 just go through this link
 http://stackoverflow.com/questions/3831019/how-to-read-a-pdf-in-android


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

Re: [android-developers] Question about AccountManager and OAuth authentication with Google App Engine

2012-06-19 Thread Francois Masurel
Hi Nokolay,

Thanx for your answer.

I'm already using OAuth 1.0 with my Android/GAE app.

I guess I'll have to go back to ClientLogin until GAE becomes OAuth 2.0 
compatible.

François

On Tuesday, June 19, 2012 5:58:51 AM UTC+2, Nikolay Elenkov wrote:

 On Tue, Jun 19, 2012 at 12:57 PM, Nikolay Elenkov 
 nikolay.elen...@gmail.com wrote: 
  On Mon, Jun 18, 2012 at 7:33 PM, Francois Masurel wrote: 
  Hi Mukesh, 
  
  Have you found a solution on this? 
  
  I'm desperately trying to implement it on my Android app without 
 success. 
  
  
  It seems GAE doesn't currently support OAuth2 for authentication, so you 
 have 
  to use ClientLogin. You can get an admin token with this tokenType, but 
 that's 
  not useful for authenticating users (that's what GAE command line tools 
 use to 
  upload, etc. apps). 
  
  oauth2:https://www.googleapis.com/auth/appengine.admin; 

 BTW, it does support OAuth 1.0, here's an article describing how to set it 
 up: 


 http://ikaisays.com/2011/05/26/setting-up-an-oauth-provider-on-google-app-engine/
  


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

2012-06-19 Thread David Olsson
How did you add the library to your project?

On Tue, Jun 19, 2012 at 10:17 AM, kampy narasimha1...@gmail.com wrote:

 hi

  i tried this one also but didnt get the appliation executed

 On Tuesday, June 19, 2012 11:34:36 AM UTC+5:30, asheesh arya wrote:

 just go through this link
 http://stackoverflow.com/**questions/3831019/how-to-read-**
 a-pdf-in-androidhttp://stackoverflow.com/questions/3831019/how-to-read-a-pdf-in-android

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


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

Re: [android-developers] reading pdf in android emulator

2012-06-19 Thread kampy

i added to the jar file to the build path and added the jar file to the lib 
folder in the project .

   but both didnt work for me 

On Tuesday, June 19, 2012 1:51:06 PM UTC+5:30, David wrote:

 How did you add the library to your project?

 On Tue, Jun 19, 2012 at 10:17 AM, kampy narasimha1...@gmail.com wrote:

 hi 

  i tried this one also but didnt get the appliation executed 

 On Tuesday, June 19, 2012 11:34:36 AM UTC+5:30, asheesh arya wrote:

 just go through this link
 http://stackoverflow.com/**questions/3831019/how-to-read-**
 a-pdf-in-androidhttp://stackoverflow.com/questions/3831019/how-to-read-a-pdf-in-android

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




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

Re: [android-developers] How to get view for selected item in a ListView

2012-06-19 Thread praveenb
Thank you somuch. That solved my issue with listview.

On Saturday, 10 March 2012 01:38:03 UTC+5:30, MagouyaWare wrote:

 Nope... you've got it backwards.

 It would be:
 getListView().getChildAt(50 - getListView().getFirstVisiblePosition()))

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


 On Fri, Mar 9, 2012 at 1:03 PM, RedBullet scottedchap...@gmail.comwrote:

 Really?

 So, if I have 100 items in my ListView, and I want to be monkeying around 
 with item #50 I would do:
 getListView().getChild(getListView().getFirstVisiblePosition() - 50)) ?

 that doesn't seem right...


 On Friday, March 9, 2012 2:42:29 PM UTC-5, MagouyaWare wrote:

 Didn't mean to send that yet...

 You can calculate the correct index by using this:
 http://developer.android.com/**reference/android/widget/**
 AdapterView.html#**getFirstVisiblePosition%28%29http://developer.android.com/reference/android/widget/AdapterView.html#getFirstVisiblePosition%28%29

 You subtract the position in the adapter from the first visible position.

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


 On Fri, Mar 9, 2012 at 12:41 PM, Justin Anderson  wrote:

  Try using this:
 http://developer.android.com/**reference/android/view/**
 ViewGroup.html#getChildAt%**28int%29http://developer.android.com/reference/android/view/ViewGroup.html#getChildAt%28int%29

 However, beware that the child index is not necessarily the same as the 
 position of the item in the ArrayAdapter due to view recycling.  But you 
 can get the correct index 

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



 On Fri, Mar 9, 2012 at 12:32 PM, RedBullet  wrote:

 So, I have a class that implements ListActivity, and it loads up a a 
 list of turns for turn-by-turn navigation.

 Essentially I want to decorate the item that is the next waypoint in 
 the list, and when you arrive, de-decorate and decorate the next waypoint 
 in the list.

 So, I have been noodling this, but haven't figured out how to do this 
 yet. 

 I know I can call setSelected(int) to say which item is the current 
 one, but I don't see how I can get the view associated with the currently 
 selected item.

 I don't think getView is right since I am not populating the ListView.

 Any ideas?

 -- 



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

2012-06-19 Thread David Olsson
Have you really followed all steps in:
http://stackoverflow.com/a/3643015/824914 ? The folder should be called libs

On Tue, Jun 19, 2012 at 10:28 AM, kampy narasimha1...@gmail.com wrote:


 i added to the jar file to the build path and added the jar file to the
 lib folder in the project .

but both didnt work for me

 On Tuesday, June 19, 2012 1:51:06 PM UTC+5:30, David wrote:

 How did you add the library to your project?

 On Tue, Jun 19, 2012 at 10:17 AM, kampy narasimha1...@gmail.com wrote:

 hi

  i tried this one also but didnt get the appliation executed

 On Tuesday, June 19, 2012 11:34:36 AM UTC+5:30, asheesh arya wrote:

 just go through this link
 http://stackoverflow.com/**quest**ions/3831019/how-to-read-**a-**
 pdf-in-androidhttp://stackoverflow.com/questions/3831019/how-to-read-a-pdf-in-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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en


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


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

Re: [android-developers] refresh list

2012-06-19 Thread Narendra Singh Rathore
On Tue, Jun 19, 2012 at 1:38 PM, Live Happy livehap...@gmail.com wrote:

 i have list based on cursor adapter but the problem is when i add new item
 to the database i cant refresh the  list,  i try many way re-query the
 cursor  and then notifyDataSetChanged.but not work so how i can refresh the
 list


Why don't you refresh your activity at that moment? Please try that.

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

2012-06-19 Thread Felipe Monteiro de Carvalho

On Monday, June 18, 2012 7:26:47 PM UTC+2, MagouyaWare wrote:

 I need it to be 100% pure code, without any kind of XML


 Just out of curiosity, why?  From my experience it is much much easier to 
 use XML layouts unless there is a really really good reason not to...  


I am not writing a Java Android App, I am writing a framework which allows 
other developers to write Pascal applications for Android using Free Pascal 
and Lazarus.

In this case I want to provide a dialog with the native ListView so that 
the user can click in a button for example, then we execute Pascal code and 
this Pascal code can call this dialog via JNI.

So everything is dynamic, nothing is pre-set. My entire code base so far 
has very few Java code and zero XML, and I would like to keep it that way. 
The vast majority of the work is in Pascal.
 
 As far as your error, I did a simple Google search and came up with this:
 
http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/CloneNotSupportedException.html

thanks, but that is a run-time error, for me it is very wierd that a 
run-time error would appear at compilation time...

Maybe I need to inherit my Activity from ListActivity? So far I haven't 
done it as I couldn't see a reason for doing that, but maybe for some 
obscure reason I need to.

thanks,
Felipe 

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

2012-06-19 Thread Felipe Monteiro de Carvalho
On Tuesday, June 19, 2012 4:43:10 AM UTC+2, TreKing wrote:

 You don't know Java or how to use your IDE well enough.


I am not using any Java IDE, I am using a script to compile the project and 
I don't plan on changing that.

Yes, I am not familiar enough with Java to use those complicated things 
that Android APIs use. If they just used simple methods it would be so much 
easier... I could just call them all from JNI in Pascal and never use Java. 
But Google forces developers to use these complicated APIs...

But I would be thankful if anyone could help me getting working.
 
 You could, at the very least, post the errors you're getting if you want 
anyone to help you.

But I did ... I posted a link to pastebin with the error because if I just 
copy the text here it will loose the fixed-width font and it won't show 
anymore where exactly it is pointing too, but since you ask, I will post 
the error message in raw text here too:

[loading android\R.class(android:R.class)]
[loading android\R$layout.class(android:R$layout.class)]
[loading android\R$id.class(android:R$id.class)]
src\com\pascal\lcltest\LCLActivity.java:676: cannot find symbol
symbol : constructor 
SimpleAdapter(com.pascal.lcltest.LCLActivity,java.util.Lis
tcom.pascal.lcltest.LCLActivity.LCL_ListViewItem,int,java.lang.String[],int[])
location: class android.widget.SimpleAdapter
SimpleAdapter listAdapter = new SimpleAdapter(this,
^
[loading 
java\lang\CloneNotSupportedException.class(java\lang:CloneNotSupportedException.class)]
[loading java\util\Map$Entry.class(java\util:Map$Entry.class)]
[loading java\util\Set.class(java\util:Set.class)]
src\com\pascal\lcltest\LCLActivity.java:719: cannot find symbol
symbol : constructor SimpleAdapter()
location: class android.widget.SimpleAdapter

Source code:

// This method allows us to use the native Android ListView in a dialog
// It is nice for choosing a line in a table with multiple columns of 
information
// The extra columns appear as sub-info in the Android ListView
//
// output: Calls LCLOnMessageBoxFinished
public void LCLDoShowListViewDialog(String ATitle, String[] AItems, 
String[] ASubItems)
{
ListView lListView = new ListView(this);
ListLCL_ListViewItem listItems = new ArrayListLCL_ListViewItem();
for (int i = 0; i  AItems.length; i++)
{
listItems.add(new LCL_ListViewItem(AItems[i], ASubItems[i]));
};
SimpleAdapter listAdapter = new SimpleAdapter(this,
listItems,
android.R.layout.simple_list_item_2,
new String[] { title, description },
new int[] { android.R.id.text1, android.R.id.text2 });
lListView.setAdapter(listAdapter);

Dialog dialog = new Dialog(this);
dialog.setTitle(ATitle);
dialog.setContentView(lListView);
dialog.show();
}

//
// Classes for the ListView
//

//
// ListView item
//
public class LCL_ListViewItem extends HashMap
{
public String Title;
public String Description;

public LCL_ListViewItem(String ATitle, String ADescription)
{
this.Title = ATitle;
this.Description = ADescription;
}

@Override public String get(Object k)
{
String key = (String) k;
if (key.equals(title)) return Title;
else if (key.equals(description)) return Description;
return null;
}
}


thanks,

Felipe

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

2012-06-19 Thread Deepa M
Please add your PDFbox Library by Creating new folder called libs and put
those library jar in to that and then  build so all jar file ka classes
will be found

On Tue, Jun 19, 2012 at 2:04 PM, David Olsson zooklu...@gmail.com wrote:

 Have you really followed all steps in:
 http://stackoverflow.com/a/3643015/824914 ? The folder should be called
 libs


 On Tue, Jun 19, 2012 at 10:28 AM, kampy narasimha1...@gmail.com wrote:


 i added to the jar file to the build path and added the jar file to the
 lib folder in the project .

but both didnt work for me

 On Tuesday, June 19, 2012 1:51:06 PM UTC+5:30, David wrote:

 How did you add the library to your project?

 On Tue, Jun 19, 2012 at 10:17 AM, kampy narasimha1...@gmail.com wrote:

 hi

  i tried this one also but didnt get the appliation executed

 On Tuesday, June 19, 2012 11:34:36 AM UTC+5:30, asheesh arya wrote:

 just go through this link
 http://stackoverflow.com/**quest**ions/3831019/how-to-read-**a-**
 pdf-in-androidhttp://stackoverflow.com/questions/3831019/how-to-read-a-pdf-in-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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en


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


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




-- 
Thanks Regards
Deepa M

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

2012-06-19 Thread Narendra Singh Rathore
 Just use this, where you want to refresh your list/activity.

finish();
startActivity(getIntent());

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

2012-06-19 Thread Live Happy
refresh activity is not good solution coz i update the database from the
same activity and i want the databe to be refreshed after a button clicked
not all the acitvity

On Tue, Jun 19, 2012 at 11:34 AM, Narendra Singh Rathore 
nsr.curi...@gmail.com wrote:



 On Tue, Jun 19, 2012 at 1:38 PM, Live Happy livehap...@gmail.com wrote:

 i have list based on cursor adapter but the problem is when i add new
 item to the database i cant refresh the  list,  i try many way re-query the
 cursor  and then notifyDataSetChanged.but not work so how i can refresh the
 list


 Why don't you refresh your activity at that moment? Please try that.

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

2012-06-19 Thread Narendra Singh Rathore
On Tue, Jun 19, 2012 at 2:27 PM, Live Happy livehap...@gmail.com wrote:

 refresh activity is not good solution coz i update the database from the
 same activity and i want the databe to be refreshed after a button clicked
 not all the acitvity


All right, then you must use notifydatasetChanged on list adapter,
and *make sure*, you have again set the adapter on the list, after being
refreshed.

I guess, this will help you out.

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

Re: [android-developers] Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
Basically, putting my problem into simpler words I need the following: A 
ListView created completely programmatically (no XML at all) and which can 
display items with a Title and a smaller Description.

I have found lots of examples for programatically creating a ListView, but 
they all use ArrayAdapter, which means that they cannot handle the Title 
and Description, they handle only the Title =( I haven't found any example 
for using SimpleAdapter completely programmatically.

thanks,

Felipe

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

2012-06-19 Thread ala hammad
hello all ,
i want to get feed back from user and set it in app page in google play ..
any idea to do that ...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: i need control users my app ??

2012-06-19 Thread raju
cdan anyone give or rather provide docs for junit testing in andriod and
how to test activities migratin test cases

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

2012-06-19 Thread Harri Smått
Use proper email and ask people to use it? Ask (beg) for ratings with
comments? Beyond these at least I'm not aware of other options.

--
H
On Jun 19, 2012 12:53 PM, ala hammad 3la2.7am...@gmail.com wrote:

 hello all ,
 i want to get feed back from user and set it in app page in google play ..
 any idea to do that ...

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

2012-06-19 Thread ala hammad
thank you for your response but i want to get feed back about app is it 
good or bad ..
and need to post it in user review in google play ..

On Tuesday, 19 June 2012 12:53:50 UTC+3, ala hammad wrote:

 hello all ,
 i want to get feed back from user and set it in app page in google play ..
 any idea to do that ...


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

2012-06-19 Thread Harri Smått
Did you check AndEngine forums already? There seems to be some discussions
on this topic.

--
H
On Jun 19, 2012 11:05 AM, İsacan Akkoca www.isacan@gmail.com wrote:

 Hi everyone,
 Are you know or have andengine tutorial,template or any assets.?

 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] A very strange issue, while launching an activity.

2012-06-19 Thread Put_tiMe
I have two activities, A and B.
By default, A shows up, and upon pressing a button, B is shown.

What happens sometimes is that, in A, when I press the button to bring up 
B, the transition happens, I even see the B's title.
But it immediately exits.

I don't do any code changes. I just reinstall the APK file, by using *adb 
install -r c:\ABC.apk*.

And it works. 
I've connected to logcat, but no messages there also.

What could be happening?

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

2012-06-19 Thread Harri Smått
Do you mean you want to ask user review within your application and send it
as a rating to Google Play? In this case I think closest you can get is
opening Google Play for the user.

--
H
On Jun 19, 2012 2:13 PM, ala hammad 3la2.7am...@gmail.com wrote:

 thank you for your response but i want to get feed back about app is it
 good or bad ..
 and need to post it in user review in google play ..

 On Tuesday, 19 June 2012 12:53:50 UTC+3, ala hammad wrote:

 hello all ,
 i want to get feed back from user and set it in app page in google play ..
 any idea to do that ...

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

2012-06-19 Thread Saurav
There has to be some log, with some error. (I do not mean stack trace).
Look into logcat more carefully.
Are you doing very heavy processing work in Activity B? Does any of you
activities involve Camera?

Please be more explicit.

Try logging from both the activities. Find out which part/function of the
Activity cycle it is exiting from.


Regards,
Saurav Mukherjee.


On Tue, Jun 19, 2012 at 4:53 PM, Put_tiMe putt...@gmail.com wrote:

 APK

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: A very strange issue, while launching an activity.

2012-06-19 Thread Put_tiMe
Ok, I got the logcat output: What do the highlighted lines mean?


D/dalvikvm( 4163): GC_CONCURRENT freed 455K, 43% free 4646K/8071K, external 
0K/0K, paused 6ms+8ms
D/dalvikvm( 4163): GC_CONCURRENT freed 619K, 43% free 4637K/8071K, external 
0K/0K, paused 5ms+7ms
D/dalvikvm( 4163): GC_CONCURRENT freed 725K, 45% free 4518K/8071K, external 
0K/0K, paused 6ms+7ms
I/ActivityManager(  145): Starting activity: Intent { flg=0x10a0 cmp=*
com.myapp/.activity.A.Dash_A* } from pid 4163
*D/InputManagerService(  145): Window already focused, ignoring focus gain 
of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4093a4e8
D/InputManagerService(  145): Window already focused, ignoring focus gain 
of: com.android.internal.view.IInputMethodClient$Stub$Proxy@409e36e8*
D/dalvikvm( 4163): GC_CONCURRENT freed 301K, 41% free 4785K/8071K, external 
0K/0K, paused 6ms+9ms
D/dalvikvm( 4163): GC_CONCURRENT freed 779K, 43% free 4662K/8071K, external 
0K/0K, paused 5ms+8ms
D/dalvikvm( 4163): GC_CONCURRENT freed 670K, 43% free 4606K/8071K, external 
0K/0K, paused 5ms+7ms
D/StatusBarPolicy(  236): onSignalStrengthsChanged
D/StatusBarService(  236): updateIcon slot=phone_signal index=20 
viewIndex=13 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d4 
level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui 
id=0x7f0200d2 level=0 visible=true num=0 )



On Tuesday, June 19, 2012 4:53:46 PM UTC+5:30, Put_tiMe wrote:

 I have two activities, A and B.
 By default, A shows up, and upon pressing a button, B is shown.

 What happens sometimes is that, in A, when I press the button to bring 
 up B, the transition happens, I even see the B's title.
 But it immediately exits.

 I don't do any code changes. I just reinstall the APK file, by using *adb 
 install -r c:\ABC.apk*.

 And it works. 
 I've connected to logcat, but no messages there also.

 What could be happening?



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

2012-06-19 Thread ala hammad
need to redirect to user review when user select rate my app ...

On Tuesday, 19 June 2012 12:53:50 UTC+3, ala hammad wrote:

 hello all ,
 i want to get feed back from user and set it in app page in google play ..
 any idea to do that ...


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Applying animation on a LinearLayout and really move its childs (side navigation pattern)

2012-06-19 Thread lionel Lioninho
Hi developers,

I have a problem I need to realise this :
http://android.cyrilmottier.com/medias/making_of_prixing/3/fading_parallax_large.png

Create a side navigation as the image above shows it. I have a
frameLayout containing 2 LinearLayout (L1 and L2), I also have

a button in the layout L1 and I set an onClickListener on this to use
a translateAnimation to move its parent L1 from left side to

right side until 75% of the layout L2. The animation work but the
button stay in its first position, it hasn't really moved. I search

to find a solution and I read a article told that it normal 'cause the
layout has just been drawn in other position without having really

move. But I can't know how to solve this. If anybody, know another way
to to this, please It will be kind.

Thanks a lot in advance …

Lionel

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: A very strange issue, while launching an activity.

2012-06-19 Thread Saurav
Are both activities A and B declared in the Manifest?




Regards,
Saurav Mukherjee.


On Tue, Jun 19, 2012 at 5:06 PM, Put_tiMe putt...@gmail.com wrote:

 Window already focused, ignoring focus gain of:

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: A very strange issue, while launching an activity.

2012-06-19 Thread Saurav
Also please search thoroughly before you post in the forum.
This is the thread I found the same group.

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

Regards,
Saurav Mukherjee.


On Tue, Jun 19, 2012 at 5:23 PM, Saurav to.saurav.mukher...@gmail.comwrote:

 Are both activities A and B declared in the Manifest?




 Regards,
 Saurav Mukherjee.



 On Tue, Jun 19, 2012 at 5:06 PM, Put_tiMe putt...@gmail.com wrote:

 Window already focused, ignoring focus gain of:




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

2012-06-19 Thread Sandeep Venkat
Finally i got of it buddy thank you for your concern..I am new to android
development could you tell me the career growth in android at the level of
+2 years experiance..

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

2012-06-19 Thread Sandeep Venkat
Hello folks i am new to android development please anyone tell me the
career growth for an android developer at the level of +2years
experiance..What is the salary structure for an android developer..

Please help me out friends

-- 
ThanksRegards

*Sandeep MNVVB*
*
*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: A very strange issue, while launching an activity.

2012-06-19 Thread Put_tiMe
Both activities are declared in the manifest. I saw the post, but it does 
not give me any clues, except the 'requestFocus'. Is that the issue?

The point is, if I reinstall the APK file, it works.


On Tuesday, June 19, 2012 4:53:46 PM UTC+5:30, Put_tiMe wrote:

 I have two activities, A and B.
 By default, A shows up, and upon pressing a button, B is shown.

 What happens sometimes is that, in A, when I press the button to bring 
 up B, the transition happens, I even see the B's title.
 But it immediately exits.

 I don't do any code changes. I just reinstall the APK file, by using *adb 
 install -r c:\ABC.apk*.

 And it works. 
 I've connected to logcat, but no messages there also.

 What could be happening?



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

2012-06-19 Thread rde8026
The ListView is not that difficult to use once you understand it.  Also, 
what your trying to do is not that complicated.  You might want to look 
into creating your own adapter and not using a SimpleAdapter in this case 
- this will provide you some flexibility in the UI and the ability to step 
through the creation of the adapter and determine your problems.  This can 
easily be done via code and not xml.  It doesn't look like the ListView 
is the thing you are struggling with it looks like the adapter is the 
thing giving you the issue - so you might want to start there.

http://www.ezzylearning.com/tutorial.aspx?tid=1763429 - This shows you how 
to create a custom adapter. It uses XML so you'll have to adapt it for your 
needs.  I might also suggest you get it working with XML first then port it 
to be all native code.

On Monday, June 18, 2012 11:07:16 AM UTC-4, Felipe Monteiro de Carvalho 
wrote:

 Hello,

 I am trying to create a ListView where each item has a Title (bigger text) 
 and a Description (smaller text under the other one), and I need it to be 
 100% pure code, without any kind of XML, but I am having a lot of 
 difficulty as ListView seams to be an absurdely hard to use class.

 Ok, so, I read some tutorials and here is the code that I have so far: 
 http://pastebin.com/ifHEb7Mk

 But it fails to compile: http://pastebin.com/ZYhaNsaQ

 Any ideas where am I getting it wrong? I am 100% lost here at why it 
 refuses to accept my list =(

 thanks for any help,

 Felipe Monteiro de Carvalho




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

2012-06-19 Thread asheesh arya
r u serious??

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

2012-06-19 Thread Sandeep Venkat
ofcourse i am a b.tech 2011 passout from the background of DOTNET
development..Till now i don't know anything about android but my firm wants
me to get into android department..I want to put all my efforts in
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] email attachment is not working !

2012-06-19 Thread Jags
i am trying to follow this link,

http://stephendnicholas.com/archives/974#comment-295

i am trying to implement this, but i get a crash saying activity 
com.google.android.gm not found are you sure declared in manifest ? i am 
testing it in simulator, what should i do ? 

in my case i am able to send attachment from my simulator using 
action_send, but in device it does not work, hence i am looking for a 
solution

if my package name is different, where should i change ?

regards

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

Re: [android-developers] email attachment

2012-06-19 Thread Jags
thanks, i know it works, but this defeats the purpose What if the user 
does not have a external storage ? If i am able to save / preview a file, i 
should be able to send it to somebody, without requiring a sdcard

On Friday, June 15, 2012 9:50:28 AM UTC+5:30, asheesh arya wrote:

 try to save your file into sd card and gave location of your file stored 
 into sd card in the source code i provided its work fine for sd card.


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

2012-06-19 Thread Narendra Singh Rathore
On Fri, Dec 23, 2011 at 6:59 AM, enes enes...@gmail.com wrote:

 I' m tring to get md5 code but the cms show me sha1. the following
 output generate when I run command

 c:\Program Files\Java\jre7\binkeytool.exe -list -alias
 androiddebugkey -keystor
 e C:\debug.keystore -storepass android -keypass android
 androiddebugkey, 16.Eki.2011, PrivateKeyEntry,
 Certificate fingerprint (SHA1): 02:24:F2:01:90:8D:CF:E5:5B:FD:
 53:09:F2:24:45:B8:
 F0:D1:2C:D3


 how to get MD5 key? help.



Just replace your command like this
keytool.exe *-v* -list -alias androiddebugkey -keystore C:\debug.keystore
-storepass android -keypass android

You will get MD5 fingerprint.

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

2012-06-19 Thread Shekhar


Hello,

I have some confusion for the NDEF messages getting transferred bewteen two 
devices. I am already aware of the fact that a NDEF message can have 
multiple NDEF records
in it and payload data allowed is maximum of 2^32-1 bytes. Also the maximum 
data that can be transferred between the two devices depends on the link 
MIU values which is by default of 128 octets.

1.Now I have a very basic question. If I have a payload data of 100 octets 
which is inside the range of default MIU, in that case should I send the 
data in one record or in a chunk of records. Which one is preferable and 
why?

2. Suppose a remote device( which is not android ) send the NDEF message in 
the group of NDEF records  then how to extract the payload from it. 

Thanks,
Shekhar

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

2012-06-19 Thread marcin kolonko
is there a way to stlye the CAB like you would style the action bar?
i'd like to change the colors...

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: Contextual Action Bar color theme

2012-06-19 Thread marcin kolonko
alex, did you find a way to change the colors of the CAB?


On Wednesday, February 8, 2012 2:56:04 PM UTC+1, Alex O. wrote:

 Hi, 

 The UI core elements for the Holo Light seem to be focused on two 
 colors - green or blue: 
 http://www.flickr.com/photos/takenbyhim/5933010235/ 

 However, the Contextual Action Bar seems to come only in green. Is 
 there any built-in style that makes it blue? Are there any easy ways 
 to theme the Contextual Action Bar? 

 Thank you, 
 Alex 


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

2012-06-19 Thread Kristopher Micinski
This is not the place to look for career advice or non development
related questions.

kris

On Tue, Jun 19, 2012 at 8:10 AM, Sandeep Venkat
sand...@believecreative.in wrote:
 ofcourse i am a b.tech 2011 passout from the background of DOTNET
 development..Till now i don't know anything about android but my firm wants
 me to get into android department..I want to put all my efforts in android..

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

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


[android-developers] Re: Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
Hello,

I asked a friend here and he found the problem =) My problem was here:

public class LCL_ListViewItem extends HashMap

It works if I changed this line to this:

public class LCL_ListViewItem extends HashMapString, String

no idea why the original tutorial didn't have the String, String in the 
end. Maybe the guy forgot it...

thanks,

Felipe Monteiro de Carvalho

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

2012-06-19 Thread Nikolay Elenkov
On Tue, Jun 19, 2012 at 10:31 PM, marcin kolonko makolo...@gmail.com wrote:
 is there a way to stlye the CAB like you would style the action bar?
 i'd like to change the colors...


Of course. Just set it to android:actionModeStyle.

You might also want to try this:

http://jgilfelt.github.com/android-actionbarstylegenerator

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Can't able to install google play billing

2012-06-19 Thread Pent
Hah, lured you in with a vaguely technical question then throws in the
career development query which didn't work as a thread starter
previously :-)

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] Re: A very strange issue, while launching an activity.

2012-06-19 Thread Aashish jawla
can u send the code of the application???

On Tue, Jun 19, 2012 at 5:34 PM, Put_tiMe putt...@gmail.com wrote:

 Both activities are declared in the manifest. I saw the post, but it does
 not give me any clues, except the 'requestFocus'. Is that the issue?

 The point is, if I reinstall the APK file, it works.



 On Tuesday, June 19, 2012 4:53:46 PM UTC+5:30, Put_tiMe wrote:

 I have two activities, A and B.
 By default, A shows up, and upon pressing a button, B is shown.

 What happens sometimes is that, in A, when I press the button to bring
 up B, the transition happens, I even see the B's title.
 But it immediately exits.

 I don't do any code changes. I just reinstall the APK file, by using *adb
 install -r c:\ABC.apk*.

 And it works.
 I've connected to logcat, but no messages there also.

 What could be happening?

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




-- 
-
Thanks  Regards
Er.Aashish Kumar Jawla
(09555865084/09910783591)

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

2012-06-19 Thread h4uw1n3


I'm really interested in android, i might be didn't have any skill in java, 
but still i want to ask about this...
according to 
http://android-developers.blogspot.de/2011/07/new-tools-for-managing-screen-sizes.html

Android will pick the resource that is closest to the device’s screen size 
or orientation...for example this layout, which only shows the folder list

https://lh6.googleusercontent.com/-2avCDWTrdBc/T9-sv0TTnXI/BEw/Nup54Y16B7Y/s1600/unnamed.png

and the other one, which shows the folder list and the items on the 
folder... 

https://lh6.googleusercontent.com/-ynOv3lsqGLM/T9-ssnDYVRI/BEo/xqV9tcqPmY4/s1600/unnamed.jpg

this layout has more than 2 listactivity, which means the java coding also 
different...

so my question is, if we have to check in main activity, whether the device 
is tablet or a phone, what's the point then using different res/layout 
folder like res/layout-small, res/layout-large, res/layout-xlarge, we 
can just make the different file in the same folder and using coding like 
this

public class MyActivity extends Activity {
@Override protected void onCreate(Bundle savedInstanceState) {
super.onCreate();

Configuration config = getResources().getConfiguration();
if (config.smallestScreenWidthDp = 600) {
setContentView(R.layout.main_activity_tablet);
*/*hier coding for different layout for tablet*/*
} else {
setContentView(R.layout.main_activity);
*/*here coding for phone's layout*/* }
}

please correct me, if i misunderstanding about this... and also... sorry about 
my english...

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

2012-06-19 Thread danny
Hello everybody,
I have a google account with two step verification activated... ( not
this one ) so I need my phone to login to my google account...
Unfortunately my brother did insert a wrong password to android too
much times... so it asks Email and Password to unlock but I can't
provide it because of two step activation because to login to
phone with two step activation I have to insert a two step activation
code instend of my password... and I can't login in a computer without
using my phone
anyone knows what can I do?

PS: sorry for my eventual bad english :)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 USB driver is so big, how can I minimize it?

2012-06-19 Thread Chen.Blake
Hello,
 
I download the Google USB Driver Rev. 4 from Android SDK Manager.
There are fews files in the folder usb_driver
1. folder amd64
2. folder i386
3. android_winusb.inf
4. androidwinusb86.cat
5. androidwinusba64.cat
6. source.propeties 
 
Both of the folders contain 
1.WdfCoInstaller01003.dll   1.4M
2.winusbcoinstaller2.dll   0.8M
3.WUDFupate_01009.dll1.8M
 
The whole driver is about 8.64M. Can I minimize the driver?
 
Thanks a lot.
 
Blake.

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

2012-06-19 Thread Nguyễn Quốc Chính
hi all,

first create TextView with attribute:
...

android:ellipsize=marquee

android:marqueeRepeatLimit=marquee_forever

android:singleLine=true
...


After user 
TextView text =  (TextView) findContentViewById(R.id.text)
text.selected(true);

goog luck

Vào 02:51:34 UTC+7 Chủ nhật, ngày 25 tháng ba năm 2012, Max918 đã viết:

 Hi everyone, 
 i am trying to add a very long message to the notification bar. 
 but it only show little word on the screen. 
 i tried to create a remote view and follow the step from the google 
 search android notification marquee 
 seems it can not fix the problem. 

 Anyone can give me some example or tutorial link to fix this problem ? 

 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 can I create my own PID/VID driver

2012-06-19 Thread Chen.Blake
Hello,
 
There are many OEM driver and google USB Driver which can be found in 
http://developer.android.com/sdk/oem-usb.html .
 
I am wondering how can I create the driver of my own PID/VID?
Do I have to download the google USB driver and modify the PID/VID in 
android_winusb.inf for my devices?
 
Thanks a lot.
 
Blake.
 

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

2012-06-19 Thread Aashish Kumar
it is not possible to play audio in to the active call dear.

On Thursday, February 12, 2009 12:36:30 PM UTC+5:30, Bobbie wrote:

 I am using the following code to do an automatic answer of a call, but 
 it doesn't seem to be working... 

 Intent answercall = new Intent(Intent.ACTION_ANSWER); 
 startActivity(answercall); 

 I get the call state of ringing, but it never answers... Am I doing 
 this wrong?  If so, examles of how to do it right? 

 Can anyone 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] charging paused issue on ice cream sandwitch

2012-06-19 Thread iMad Riaz
hi its iMad...
i am having problem with my galaxy note, it was working great before i
upgraded it to new firmware upgrade(ics) from kies, right after it,
the phone gives charging paused message whenever i try to connect to
to charging...
please resolve this problem, if any one knows the cure...

regards
muhammad imad riaz

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

2012-06-19 Thread Aashish Kumar
u will have give the required permision in to the mainfest file

On Thursday, February 12, 2009 12:36:30 PM UTC+5:30, Bobbie wrote:

 I am using the following code to do an automatic answer of a call, but 
 it doesn't seem to be working... 

 Intent answercall = new Intent(Intent.ACTION_ANSWER); 
 startActivity(answercall); 

 I get the call state of ringing, but it never answers... Am I doing 
 this wrong?  If so, examles of how to do it right? 

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

Re: [android-developers] A very strange issue, while launching an activity.

2012-06-19 Thread Aashish jawla
hi,
i m working on a application to play audio or prerecorded message when the
incoming call is active so some one help me give some basic idea upon this
topic.

On Tue, Jun 19, 2012 at 4:53 PM, Put_tiMe putt...@gmail.com wrote:

 I have two activities, A and B.
 By default, A shows up, and upon pressing a button, B is shown.

 What happens sometimes is that, in A, when I press the button to bring
 up B, the transition happens, I even see the B's title.
 But it immediately exits.

 I don't do any code changes. I just reinstall the APK file, by using *adb
 install -r c:\ABC.apk*.

 And it works.
 I've connected to logcat, but no messages there also.

 What could be happening?

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




-- 
-
Thanks  Regards
Er.Aashish Kumar Jawla
(09555865084/09910783591)

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

2012-06-19 Thread Gaurav Vashisth
add android:popupBackground=@null to the AutoCompleteTextView

On Wednesday, March 21, 2012 1:37:44 PM UTC+5:30, Android Developer wrote:

 Hi,

 I have autocompletetextview while tying its shows the list. how to i make 
 the list border as transparent.

 Code : 

 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:orientation=vertical 

  AutoCompleteTextView android:id=@+id/autocomplete_country
  style=@style/InputBox
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:layout_marginLeft=5dp/

 /LinearLayout


  ArrayAdapterString adapter = new ArrayAdapterString(this,
 android.R.layout.simple_dropdown_item_1line, COUNTRIES);

 i tried with :

 adapter.setDropDownViewResource(R.color.transparent);



 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] Telugu Font for Android OS

2012-06-19 Thread dineshsahoo
Does Android support Telugu, Malayalam and Kannada Font? 
 
 

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

2012-06-19 Thread Aashish jawla
hi,
you will store the file into the phone memory

On Tue, Jun 19, 2012 at 6:16 PM, Jags jag...@gmail.com wrote:

 thanks, i know it works, but this defeats the purpose What if the user
 does not have a external storage ? If i am able to save / preview a file, i
 should be able to send it to somebody, without requiring a sdcard

 On Friday, June 15, 2012 9:50:28 AM UTC+5:30, asheesh arya wrote:

 try to save your file into sd card and gave location of your file stored
 into sd card in the source code i provided its work fine for sd card.

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




-- 
-
Thanks  Regards
Er.Aashish Kumar Jawla
(09555865084/09910783591)

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

2012-06-19 Thread chunt55
Hi!
 I created an app with AppsInventor.  I want to download the app to my 
Nook Color Tablet.  What do I need to to install, drivers, or software?
 
 

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

Re: [android-developers] charging paused issue on ice cream sandwitch

2012-06-19 Thread Mark Murphy
This has nothing to do with this list. Please contact your carrier or
device manufacturer for technical support with your device.

On Tue, Jun 19, 2012 at 7:19 AM, iMad Riaz ima...@gmail.com wrote:
 hi its iMad...
 i am having problem with my galaxy note, it was working great before i
 upgraded it to new firmware upgrade(ics) from kies, right after it,
 the phone gives charging paused message whenever i try to connect to
 to charging...
 please resolve this problem, if any one knows the cure...

 regards
 muhammad imad riaz

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

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


Re: [android-developers] How can I create my own PID/VID driver

2012-06-19 Thread Mark Murphy
This has nothing to do with this list, which is for creating
applications using the Android SDK.

On Tue, Jun 19, 2012 at 2:27 AM, Chen.Blake boyofsky.c...@gmail.com wrote:
 Hello,

 There are many OEM driver and google USB Driver which can be found in
 http://developer.android.com/sdk/oem-usb.html .

 I am wondering how can I create the driver of my own PID/VID?
 Do I have to download the google USB driver and modify the PID/VID in
 android_winusb.inf for my devices?

 Thanks a lot.

 Blake.


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

2012-06-19 Thread Google Talk
---

You've been invited by vikas sharma to use Google Talk.

If you already have a Google account, login to Gmail and accept this chat
invitation:
http://mail.google.com/mail/b-61320b086e-cfaf02de94-7mgrAB9Mpn5rLPpZ5IQp0WYDSNk

To sign up for a Google account and get started with Google Talk, you can
visit:
http://mail.google.com/mail/a-61320b086e-cfaf02de94-7mgrAB9Mpn5rLPpZ5IQp0WYDSNk?pc=en-rf---a

Learn more at:
http://www.google.com/intl/en/landing/accounts/


Thanks,
The Google Team

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

2012-06-19 Thread Aashish jawla
It does not support the local langaugae...

On Tue, Jun 19, 2012 at 3:00 PM, dineshsahoo dinesh.m...@gmail.com wrote:

 Does Android support Telugu, Malayalam and Kannada Font?



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




-- 
-
Thanks  Regards
Er.Aashish Kumar Jawla
(09555865084/09910783591)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Can't able to install google play billing

2012-06-19 Thread TreKing
On Tue, Jun 19, 2012 at 6:59 AM, Sandeep Venkat
sand...@believecreative.inwrote:

 am new to android development could you tell me the career growth in
 android at the level of +2 years experiance..


I don't even know what you're asking.

On Tue, Jun 19, 2012 at 10:11 AM, Pent supp...@apps.dinglisch.net wrote:

 Hah, lured you in with a vaguely technical question then throws in the
 career development query which didn't work as a thread starter
 previously :-)


Can't believe I fell for the old Can't-able
to-install-google-play-billing-just-kidding-could-you-tell-me-the-career-growth-in-android-at-the-level-of-+2-years-experiance
switcheroo.

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

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

[android-developers] Re: In App Billing V2: Item not found, but purchase OK

2012-06-19 Thread John
Yes. Still have the problem even after the reboot. It occurs on multiple 
phones (all my phones and tablets).

On Monday, June 18, 2012 11:11:42 AM UTC-7, John wrote:

 Are you still having this problem? I found I had to reboot the phone for 
 some reason, after publishing the item for in app billing.

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

[android-developers] Re: Help with App crackers

2012-06-19 Thread Emanuel Moecklin
Hi Giuseppe

I downloaded the cracked app and tested it on a Nexus One and a Galaxy
Nexus.
It doesn't work on either of those phones and crashed with the
following exceptions:

Nexus One

E/AndroidRuntime( 1944): Caused by: java.lang.UnsatisfiedLinkError:
Cannot load library: reloc_library[1311]:   115 cannot locate
'FLAC__metadata_object_delete'...
E/AndroidRuntime( 1944):
E/AndroidRuntime( 1944):at
java.lang.Runtime.loadLibrary(Runtime.java:434)
E/AndroidRuntime( 1944):at
java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 1944):at
com.voicepro.MainApplication.clinit(SourceFile:78)


Galaxy Nexus


E/ActivityThread( 2432): Activity com.voicepro.SplashActivity has
leaked ServiceConnection com.google.android.a.a.i@416ed938 that was
originally bound here
E/ActivityThread( 2432): android.app.ServiceConnectionLeaked: Activity
com.voicepro.SplashActivity has leaked ServiceConnection
com.google.android.a.a.i@416ed938 that was originally bound here
E/ActivityThread( 2432):at android.app.LoadedApk
$ServiceDispatcher.init(LoadedApk.java:936)
E/ActivityThread( 2432):at
android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:830)
E/ActivityThread( 2432):at
android.app.ContextImpl.bindService(ContextImpl.java:1117)
E/ActivityThread( 2432):at
android.content.ContextWrapper.bindService(ContextWrapper.java:370)
E/ActivityThread( 2432):at
com.google.android.a.a.i.a(SourceFile:150)
E/ActivityThread( 2432):at
com.voicepro.SplashActivity.b(SourceFile:93)
E/ActivityThread( 2432):at
com.voicepro.SplashActivity.e(SourceFile:92)
E/ActivityThread( 2432):at com.voicepro.dm.run(SourceFile:57)
E/ActivityThread( 2432):at java.lang.Thread.run(Thread.java:
856)

Cheers
Emanuel

On Jun 18, 11:50 am, Giuseppe porcelli.giuse...@gmail.com wrote:
 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


Re: [android-developers] Re: In App Billing V2: Item not found, but purchase OK

2012-06-19 Thread johnjzhu
http://stackoverflow.com/questions/10775008/in-app-billing-item-not-found/11105814#11105814

On Tue, Jun 19, 2012 at 9:37 AM, John johnj...@gmail.com wrote:

 Yes. Still have the problem even after the reboot. It occurs on multiple
 phones (all my phones and tablets).


 On Monday, June 18, 2012 11:11:42 AM UTC-7, John wrote:

 Are you still having this problem? I found I had to reboot the phone for
 some reason, after publishing the item for in app billing.

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




-- 
Best Regards,
-John

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

2012-06-19 Thread Mohammad Abu Hmead
Dear Guys, 

How to create Interstitial ad in my android app, I tried many blogs but no 
one give the step by step solution.
- Should I edit something on adMob site? I created site from ad sit/app 
option under Sites  Apps tab.
-I used this code:
 interstitial = new InterstitialAd(this, MyAdMobID);
// Set Ad Listener to use the callbacks below
interstitial.setAdListener(this);
// Create ad request
AdRequest adRequest = new AdRequest();
adRequest.addTestDevice(AdRequest.TEST_EMULATOR);
// Begin loading your interstitial 
interstitial.loadAd(adRequest);
adRequest.setTesting(true);
Kind Regards 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: How to create android Ad Interstitial?

2012-06-19 Thread RichardC
https://developers.google.com/mobile-ads-sdk/docs/android/advanced 

Read the note about needing an invite unless you just running house ads.

On Tuesday, June 19, 2012 6:21:19 PM UTC+1, Mohammad Abu Hmead wrote:

 Dear Guys, 

 How to create Interstitial ad in my android app, I tried many blogs but no 
 one give the step by step solution.
 - Should I edit something on adMob site? I created site from ad sit/app 
 option under Sites  Apps tab.
 -I used this code:
  interstitial = new InterstitialAd(this, MyAdMobID);
 // Set Ad Listener to use the callbacks below
 interstitial.setAdListener(this);
 // Create ad request
 AdRequest adRequest = new AdRequest();
 adRequest.addTestDevice(AdRequest.TEST_EMULATOR);
 // Begin loading your interstitial 
 interstitial.loadAd(adRequest);
 adRequest.setTesting(true);
 Kind Regards 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] Camera doesn't ask for image confirmation before saving, but intent does

2012-06-19 Thread ProveIt ProveIt
When I take a picture with the camera app (on my Droid, or Droid Razr), the 
image is saved and I am left back ready to take another picture. In my app 
though, when I take a pic via a camera intent, I am taken to a review 
screen that wants me to accept of reject or cancel the pic.  I don't see 
any camera settings that control this. Is there a way to avoid going 
through the review screen when using a camera intent?


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

[android-developers] Re: Camera doesn't ask for image confirmation before saving, but intent does

2012-06-19 Thread RichardC
I hope not.  I would not be happy if applications could take covert 
pictures.

On Tuesday, June 19, 2012 6:40:17 PM UTC+1, ProveIt ProveIt wrote:

 When I take a picture with the camera app (on my Droid, or Droid Razr), 
 the image is saved and I am left back ready to take another picture. In my 
 app though, when I take a pic via a camera intent, I am taken to a review 
 screen that wants me to accept of reject or cancel the pic.  I don't see 
 any camera settings that control this. Is there a way to avoid going 
 through the review screen when using a camera intent?




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

[android-developers] Please Help...Android 4.0.3 WebView Crash...

2012-06-19 Thread Tommy Hartz
Hi,

 

On android 4.0.3 I have an Activity that contains a webview. This webview
loads a Google Maps webpage that is stored on our servers. The Map is
overlaid with a Radar.

 

When I double tab to zoom in on the map my app crashes. It is crashing and
gives me an error com.android.launcher/com.android.launcher2.Launcher
(server)' ~ Channel is unrecoverably broken and will be disposed!

 

Does anyone have any idea why this is happening? It seems to work fine on my
phones 2.3.3 and 2.3.4 as well as a few other devices that I have tried it
on. The table however is the one giving me the issue. It is an Acer A200

 

Thank you for your time,

 

Tommy

 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Camera doesn't ask for image confirmation before saving, but intent does

2012-06-19 Thread ProveIt ProveIt
Not sure I understand - the camera itself isn't asking me to ok the
pic I just took. So if I go through the same steps - starting the
camera via the intent and the user clicks the button to take a pic,
why does showing me a preview then overcome some security issue that
isn't there when taking a pic with the native camera?

On Tue, Jun 19, 2012 at 1:45 PM, RichardC
richard.crit...@googlemail.com wrote:
 I hope not.  I would not be happy if applications could take covert
 pictures.

 On Tuesday, June 19, 2012 6:40:17 PM UTC+1, ProveIt ProveIt wrote:

 When I take a picture with the camera app (on my Droid, or Droid Razr),
 the image is saved and I am left back ready to take another picture. In my
 app though, when I take a pic via a camera intent, I am taken to a review
 screen that wants me to accept of reject or cancel the pic.  I don't see any
 camera settings that control this. Is there a way to avoid going through the
 review screen when using a camera intent?


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

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

2012-06-19 Thread shruti gupta
Hi,

I am developing an app in which some data is stored in a file in internal 
storage of phone, i now want to acess the data in some c program whose 
binary is loaded in phone. please tell me how to access the file stored in 
the internal storage.


Thanks
Shruti

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: RenderScript: rsDebug messages not displayed with logcat

2012-06-19 Thread alex
Hi. The examples were wroking perfectly fine after updating my sdk and adt. 
But now for one of my projects it suddenly stopped working to display from 
rsDebug, whereas from the other layers its displayed on the logcat. Is 
there any solution that you have found for it?

On Friday, July 8, 2011 9:12:08 AM UTC+5:30, Neo wrote:

 Hi, 

 I'm trying to explore RenderScript examples, I could not see debug 
 statements from native renderscript layer (i.e. rsDebug from .rs 
 files) in logcat when running any of of the examples, however I can 
 see all messages from other layers, I'm printing at verbose level, Am 
 I missing something or does it go somewhere else? 

 Thanks, 
 Neo.

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

2012-06-19 Thread Nevin Johnson
Hey guys im developing an android app using android sdk and i need to apply 
a spinner widget but its not working that is that spinner is not displaying 
 through my emulator the code solid even tried using sample spinner codes 
and its the same not displaying help!!!

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

[android-developers] Users upgrading to ICS 4.0.3 get incompatible with your device on Google Play

2012-06-19 Thread Black Hatter
I have 2 apps on the market, one free, and one paid; however both apps are 
the same, the only difference is the free version has admob ads. Both are 
compiled with API 3.2, and both have the same features and manifest. The 
min SDK is set to 4.
 
However, users that have upgraded to ICS 4.0.3 are reporting that while 
they can still download the free app, the paid app is telling them 
incompatible with your device in the google play store. After I sent them 
the APK manually, they were able to install and run it just fine... and now 
I'm completely stumped as to why Google Play is refusing some people the 
right to download the app (costing me sales) even though both apps are the 
same, and both are compatible.
 
Anyone else having similar issues or know a way to work around this? The 
device tested in the above scenario was a lg nitro hd upgraded from 
gingerbread to ICS 4.0.3, and another was a CUBE U9GT 2 tablet

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 there a file which contains all crash report in andorid device

2012-06-19 Thread Deepa Manian
As my title, i need to know whether a file contains all the crash report in 
android. Let me explain in detail. In iphone developer can take all crash 
reports in iphone application by synchronizing the device into system in 
the specific directory in Mac.All the crash reports are stored in directory 
with the individual device name. 


Likewise i need to get all the crash report for android device. As i 
googled, i got some suggestion as using ACRA we can get the crash report in 
Google Doc or as email. 

Is there a single way to get crash report or any other way to get it? If so 
please guide to get the crash report. i'm in running out of time. 

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

2012-06-19 Thread mdu
Hello,

I'm working with video in my current android development. I have a 
VideoView, and have implemented custom controls for it (a fullscreen toggle 
button and a play/pause button). The VideoView plays a rtsp live stream.

My question is related to the play/pause functionality. When the video is 
playing and this button is pressed, I call myVideoView.pause(). 
This is working ok in most devices, but in a couple of phones (motorola 
defy with android 2.1 and another with android 2.2) the VideoView  is not 
paused after calling pause() and in the logs I can see:

pause denied 

this log is generated by a component/library called playerdriver.cpp

Can anyone explain why I might be getting this? 
Could it be related to the stream source? Or can it be related to the 
mediaplayer implementation on some particular phones? 

As I said before, this is happening on a motorola defy and it does not 
happen on a HTC wildfire (these are the devices I am able to test on 
currently).

Any comment or idea is appreciated.

Thanks in advance,
Maria

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Two things holding up my app. Any suggestions?

2012-06-19 Thread Shino
Hello.  I'm new here and new to Android Development.
I'm working on my first app and it was coming along really well until I ran 
into a couple of road blocks that I'm not sure what to do with.
I've done a lot of searching without any luck and I've posted questions on 
StackOverflow but they have not been answered.  I will reference them in 
the post.

First, I'm developing for 2.2.  I am not against developing for 2.3 if that 
may solve my issues.

The first one is that I have 2 spots in the app where I would like to 
launch the device's default music player and play a file (one form storage 
and one streamed from an internet location).  And that works fine, but as 
soon as I hit back or home to try and get back to my app, the music player 
closes and the playback stops.  I did notice that if I brought down the 
notification pane and clicked on the notification that is created, then hit 
back, it would continue to play in the background.  But having to go there 
each time just to keep it playing is a hassle for the user.  Is there 
anyway to launch it in the background and have it keep playing.  I tried 
starting the activity in an AsyncTask too and the same thing happens 
(Default music player shows up to the user and finishes when hitting back 
or home).
More info:
http://stackoverflow.com/questions/11040497/can-you-start-the-default-music-player-in-the-background

The second issue is that I have an AsyncTask that downloads the file in the 
background and creates a notification.  When the user clicks on the 
notification, the Activity that goes off from the PendingIntent displays a 
dialog asking if they want to stop the download (if it's not already 
complete).  Problem here is I'm not sure how to let the AsyncTask know that 
the task should be canceled.  How do I access the AsyncTask from the 
Activity that creates the Dialog?
More info:
http://stackoverflow.com/questions/11001723/android-how-do-i-access-an-asynctask-from-a-pendingintent-created-by-a-status-b

Any assistance would be greatly appreciated.
These are the last 2 kinks I have to work out and I've been trying to get 
them figured out for over a week now.  I feel like I'm missing some easy 
solution to both.

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] AutoCompleteTextView Behavior

2012-06-19 Thread Ghanshyam Bhatt
Hi,
I have posted a question on StackOverflow. Pplease follow it here:
http://stackoverflow.com/questions/11089929/unable-to-understand-behavior-of-autocompletetextview-android
 

I am unable to understand this behavior. Please help.

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] Re: Application icon for wallpapers missing

2012-06-19 Thread Zaphod
So Peter, let me get this right.

The Android blit-bit tile/window interface thing, whatever they call it now 
days.
This thing you just talked to me about just now,
is the same thing you were asking for help with 1.5 *years* ago? 

Peter, you outdo yourself!

On Saturday, August 7, 2010 9:22:26 PM UTC+10, Peter Webb wrote:

 When I fire up an emulator using Eclipse and have a look at live 
 wallpapers, the two default wallpapers - Cube and Cube Resources - 
 show as grayed-out icons that look like the image is missing. 

 The wallpaper I have written is exactly the same, the proper image 
 doesn't show. Doesn't work on my phone either. 

 Howeever, if I go into manage services in the settings screen in the 
 emulator, the proper icon is showing. Its showing as the service icon 
 but not the application icon. 

 Ive got: 

 application 
 android:label=@string/wallpapers 
 android:debuggable=true android:icon=@drawable/foo 

 with foo.pmg, foo.jpg in drawable all being accepted by the IDE but 
 not showing as the application icon. 

 As I say, the default cube live wallpaper doesn't show its correct 
 icon either - I downloaded the source and recompiled, same thing. 

 Any ideas? 



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

2012-06-19 Thread Sergey Vakulenko
Hello

I have application, it use a usb accessory. One of my activity catch
USB_ACCESSORY_DETACHED and
USB_ACCESSORY_DETACHED  events, its works fine.

here is my AndroidManifest.xml
-
 activity
android:screenOrientation=portrait
android:name=.WSInstallatorActivity
android:exported=true
 
 intent-filter
action
android:name=android.intent.action.ACTION_POWER_CONNECTED /
action
android:name=android.hardware.usb.action.USB_ACCESSORY_ATTACHED /
action
android:name=android.hardware.usb.action.USB_ACCESSORY_DETACHED /
/intent-filter


meta-data
 
android:name=android.hardware.usb.action.USB_ACCESSORY_ATTACHED
android:resource=@xml/accessory_filter /

/activity
-

Nevertheless, i would like delegate this to my service or brodcast
receiver.

When i move intent-filter and meta-data to my broadcast receiver, i
not receive no more attach event. What is funny, i continue receive
detach event.
Its looks like USB_ACCESSORY_ATTACHED works only with activity,
despite Broadcast Action classification in documentation.

http://developer.android.com/reference/android/hardware/usb/UsbManager.html#ACTION_USB_ACCESSORY_ATTACHED



My conclusion is right? Maybe this is a bug ?



thanks in advance.
Sergey





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


[android-developers] Regarding Imageview and Gallery

2012-06-19 Thread Vijayaraj S
Please Anyone help me to explain about ImageView and Gallery 
Concept,Please and how to display Full size image on imageview.

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

2012-06-19 Thread Jesse Nave
Sorry if this is a rehash, but I cannot find a previous post on this topic. 
 I have a website that I want to open exclusively with my app.  I would 
like to redirect all other traffic to Google Play, inviting them to 
purchase the app.  Can this be done, or am I completely missing something? 
 I don't want to detect mobile devices, I need the website linked to my 
app, regardless of device type, or dpi.  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] Anyone know How can I use vold to mount mmcblk0p8 as sdcard automatically?

2012-06-19 Thread 咏勤刘
Hi, All

Now I have an sdard with the partitions like following:
$ adb shell cat /proc/partitions
major minor  #blocks  name

 17907830528 mmcblk0
 1791  53248 mmcblk0p1
 1792 991232 mmcblk0p2
 1793  65536 mmcblk0p3
 1794  1 mmcblk0p4
 17952097152 mmcblk0p5
 17962097152 mmcblk0p6
 17972097152 mmcblk0p7
 2590 420864 mmcblk0p8
$

And I add the line below into the /etc/vold.fstab file:
dev_mount sdcard /mnt/sdcard 8
/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0

but when I boot up the android, or when I run the vold command manually, I
will see the following information from logcat:
I/MemorySettings( 1652): Received storage state changed notification that
/mnt/sdcard changed state from unmounted to checking
W/MountService( 1393): Duplicate state transition (unmounted - unmounted)
for /mnt/sdcard
D/MountService( 1393): sendStorageIntent Intent {
act=android.intent.action.MEDIA_UNMOUNTED dat=file:///mnt/sdcard (has
extras) }
E/DirectVolume( 3348): Partition
'/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p8'
has a different major than its disk!
E/SocketListener( 3348): Obtaining file descriptor socket 'vold' failed: No
such file or directory
E/Vold( 3348): Unable to start CommandListener (No such file or
directory)
D/MountService( 1393): volume state changed for /mnt/sdcard (unmounted -
checking)
E/Vold( 1271): Filesystem check failed (unknown exit code 8)
E/Vold( 1271): /dev/block/vold/16777215:255 failed FS checks (I/O error)
D/Vold( 1271): Volume sdcard state changing 3 (Checking) - 1
(Idle-Unmounted)
E/DirectVolume( 1271): Partition
'/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p8'
has a different major than its disk!

Anyone know how I can mount the mmcblk0p8 partition as sdcard with vold.

BTW, the mount command works:
mount -t vfat /dev/block/vold/259:0 /mnt/sdcard

Thanks,
Yongqin Liu

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

2012-06-19 Thread Richard Nelson
When an animation plays on a ListView which is placed on top of a VideoView 
in a RelativeLayout (this happens when the ListView is placed above some 
other view types as well, but not for example, ImageView), the ListView is 
not rendered entirely. If requestLayout() is called on the listview on 
animation completion, it then becomes completely visible. Here are two 
screenshots, the second one with requestLayout() called at animation 
completion:

http://imgur.com/a/b8TVa

Here's paste of code to see this oddness: http://gist.github.com/2934018 . 
If one removes the rotationY objectAnimator, the ListView displays 
correctly. Or if the VideoView is replaced with an ImageView, the animation 
with the rotationY objectAnimator displays correctly.

Another way to see this is to place the listview in the ListFlipper 
(layout/rotation_list.xml) sample in the API demos in a relative layout 
with a VideoView, both with match_parent/match_parent layout params.

I'm unsure if this is a bug or if I'm doing something wrong - if it's a 
bug, is there a workaround? I haven't tested this with any view type other 
than ListView. I get the same behaviour on a 4.0.3 device (Samsung 
GT-N7000) and the emulator.

cheers,
-- Richard

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

2012-06-19 Thread alex
its a runtime error . use Log.i or anything similar and try to print your 
variables values to check which variable is null while running the program

On Friday, June 15, 2012 7:53:32 AM UTC+5:30, DiEla Arianto wrote:

 how to anticipate 
 unknown error : java.lang.nullpointerexception

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

2012-06-19 Thread pratik deshpande
Hi, this is my first post. forgive me if I make any mistakes.

I'm trying to implement Video streaming over the delay tolerant networks 
(An android implementation for the same Bytewalla is what im using).
For that I'm trying to implement Progressive video download and playback 
based on this tutorial : Pocket Journey 
tutorialshttp://blog.infidian.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/.
 
Here I manually download the video from the network and start playback as 
implemented in the tutorial. I'm using SurfaceHolder to display the video. 
While creating a new media player the prepare call is blocking the display. 
Is there a way to continue the display during the prepare call?

Sincerely,
Pratik

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Users upgrading to ICS 4.0.3 get incompatible with your device on Google Play

2012-06-19 Thread RichardC
AndroidManifest.xml please, or we can guess :)


On Tuesday, June 19, 2012 5:40:14 PM UTC+1, Black Hatter wrote:

 I have 2 apps on the market, one free, and one paid; however both apps are 
 the same, the only difference is the free version has admob ads. Both are 
 compiled with API 3.2, and both have the same features and manifest. The 
 min SDK is set to 4.
  
 However, users that have upgraded to ICS 4.0.3 are reporting that while 
 they can still download the free app, the paid app is telling them 
 incompatible with your device in the google play store. After I sent them 
 the APK manually, they were able to install and run it just fine... and now 
 I'm completely stumped as to why Google Play is refusing some people the 
 right to download the app (costing me sales) even though both apps are the 
 same, and both are compatible.
  
 Anyone else having similar issues or know a way to work around this? The 
 device tested in the above scenario was a lg nitro hd upgraded from 
 gingerbread to ICS 4.0.3, and another was a CUBE U9GT 2 tablet


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

  1   2   >