Re: [android-developers] How to create a Disk space usage monitor .

2012-02-10 Thread anoop ajay
Disk space usage monitor , is just to see how much memory used in phone memory or sd card, in a pictorial way. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: How can I get the actual screen height ?

2012-02-10 Thread Seshu
Hi.. Use this function u ll get the width and height of the screens. Display display = getWindowManager().getDefaultDisplay(); int width = display.getWidth(); int height = display.getHeight(); Thanks and Regards, S.Seshu On Feb 10, 8:59 am, Wenshan renws1...@gmail.com wrote: Hi, I'm trying

[android-developers] Re: Almost nobody is rating my app.

2012-02-10 Thread Jim Andresakis
I know it wouldnt show up in the market place but you could put something in your app that allowed the users to message you directly like a form that takes a few strings and sends them to your database or email or something. Then you could at least get feed back and at that point you could offer

[android-developers] How to create pie chart in android, pls let me know

2012-02-10 Thread android developer
How to create pie chart in android, pls let me know -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] How to save application data in SD card/External storage device

2012-02-10 Thread srinivasa reddy
Hi, I want my application shall be installed in phone memory and the data which i am storing through this application shall be in External storage device. Please help me to solve this problem. BR, Srinivasa -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] How to save application data in SD card/External storage device

2012-02-10 Thread aparna rani
in your AndroidManifest.xml gile change the location. android:installLocation=preferExternal On Fri, Feb 10, 2012 at 2:49 PM, srinivasa reddy srinivasa.andr...@gmail.com wrote: Hi, I want my application shall be installed in phone memory and the data which i am storing through this

[android-developers] Re: How to create pie chart in android, pls let me know

2012-02-10 Thread Wenshan
Try achartengine, an open source chart library for Android, it provides some pie chart demos. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Need suggestion on architecture.

2012-02-10 Thread Vasudev Sharma
Solution: I am using the C++ program as a deamon and using Android LocalSocket to do the IPC between C++ Server and Java client. On Jan 25, 3:33 pm, Vasudev Sharma vasu...@azoi.com wrote: Hi All, I have experience working of with Linux platform but I am quiet new to Android, I need suggestion

[android-developers] Re: How to save application data in SD card/External storage device

2012-02-10 Thread Seshu
Hi Srinivas, Which type of data u want to save. if the data is textdata means check this link http://www.java-samples.com/showtutorial.php?tutorialid=1523 Thanks and Regards, S.Seshu On Feb 10, 2:24 pm, aparna rani indela@gmail.com wrote: in your AndroidManifest.xml gile change

[android-developers] Is there any equivalent function of requestAudioFocus in API level 7?

2012-02-10 Thread Heidi Zhou Nolan
Hello! My application needs to support Android platform 2.1.x (which is Android API level 7). I need to use requestAudioFocus and abandonAudioFocus to pause other applications (e.g. Music) to play when my application starts playing media and resume them after my application stops. However, these

[android-developers] Image button Issue

2012-02-10 Thread mark2011
Dear All : I set up the background image, it will automatically adjust to match the diffent screens of different devices. But the image set for the button is not. Is there any method that I don't need to adjust the position of the ImageButton to match the different devices? Thanks in

[android-developers] Re: In-field firmware upgrade mechanism

2012-02-10 Thread Yuvi
Hi Nitin, Have you got anything regrding you queries, Could you please share it ? Thanks BR, Pawan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Image button Issue

2012-02-10 Thread fei ji
Did you use dip when setting height and width of ImageButton? On Fri, Feb 10, 2012 at 7:19 PM, mark2011 androidmark2...@gmail.com wrote: Dear All : I set up the background image, it will automatically adjust to match the diffent screens of different devices. But the image set for the

Re: [android-developers] Need architecture guidance in reference to a social app

2012-02-10 Thread bhaskar bommala
Hi , Can anyone know how to use OpenGraph API in Android app ,like giving comments and Like features please help in this.. Thanks in Advance... On Wed, Feb 1, 2012 at 6:50 AM, leftcont...@gmail.com leftcont...@gmail.com wrote: i need to know how an actual developer might solve this

[android-developers] Re: I wanted to develop Android Apps with PDF viewer and PDF editor

2012-02-10 Thread albnok
qoppaPDF is the library you are looking for. You have the $? Good, they are selling a PDF editor license. :D On Jan 9, 2:24 pm, Rocky rkjhaw1...@gmail.com wrote: thanks to reply, is any free or paid lib is available in market to develop application. I wanted to develop and i'm ready to spend

[android-developers] dtmf query

2012-02-10 Thread jagruti
how to send dtmf in android aplication and display in asterisk. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] testing tools for android

2012-02-10 Thread Perumss Naren
Hi, what are the testing tools available for android mobile applications please send the link Thanks in advance! -- Regards, Perumal.N -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Android native implementation for force stop in setting--manage applications

2012-02-10 Thread TreKing
On Thu, Feb 9, 2012 at 11:49 PM, ashiq sayyad ashiqsay...@gmail.com wrote: I want my app to be used inside certain defined region(Location).If user gets out of the predefined region, I need to show a dailog that You are not allowed to use app in this area and on dialog action, I need to exit

Re: [android-developers] Android native implementation for force stop in setting--manage applications

2012-02-10 Thread TreKing
On Fri, Feb 10, 2012 at 12:12 AM, RAJU V kathiriraj...@gmail.com wrote: Hi this is my error getting while am running my application (The Application some of my app package name has stopped unexpectedly. Please try again) how to solve this one. pls help me Dude, don't hijack

Re: [android-developers] How to create a Disk space usage monitor .

2012-02-10 Thread TreKing
On Fri, Feb 10, 2012 at 2:37 AM, anoop ajay aries.h...@gmail.com wrote: Disk space usage monitor , is just to see how much memory used in phone memory or sd card, in a pictorial way. Go here: http://developer.android.com/index.html Now, see the little search box on the top right? Use that.

Re: [android-developers] testing tools for android

2012-02-10 Thread TreKing
On Fri, Feb 10, 2012 at 6:46 AM, Perumss Naren peru2...@gmail.com wrote: what are the testing tools available for android mobile applications please send the link http://bit.ly/xedDUt - TreKing

Re: [android-developers] Endless horizontal Scroll View

2012-02-10 Thread TreKing
On Fri, Feb 10, 2012 at 1:20 AM, parmanand deo deo.dial...@gmail.comwrote: How can i make a endless horizontal scroll view in android Add an infinite number of Views to it. plz help me.. OK. It's spelled P-L-E-A-S-E. I hope that helps.

Re: [android-developers] how to draw a line around text when pressed.......

2012-02-10 Thread TreKing
On Thu, Feb 9, 2012 at 3:27 AM, aparna rani indela@gmail.com wrote: but i want user interface feeling.. when press text draw line around textplease help me.. http://groups.google.com/group/android-developers/browse_thread/thread/a5b5501c16e3ec71

Re: [android-developers] dtmf query

2012-02-10 Thread Mark Murphy
This is not possible, unless the device is in speakerphone mode. In that case, use ToneGenerator. Otherwise, you have no access to the in-call audio stream. On Fri, Feb 10, 2012 at 6:43 AM, jagruti jagruti.sang...@inextrix.com wrote: how to send dtmf in android aplication and display in

Re: [android-developers] Removing Lock Screen

2012-02-10 Thread TreKing
On Mon, Feb 6, 2012 at 3:19 PM, mgah mholland...@gmail.com wrote: I am trying to remove the lock screen completely from the phone. My goal is start the phone in the home screen when it boots up instead of starting on the lock screen. Can you help me with this? Root your phone and install

Re: [android-developers] dtmf query

2012-02-10 Thread Jagruti Sangani
hi, Can you send me code if you have.Because i am new in this concept.I have use the sip demo exmple for sip calling.It is work perfectly for calling and receiving.It shown in asterisk when call made.plz send me reply -- You received this message because you are subscribed to the Google Groups

[android-developers] Application name two lines

2012-02-10 Thread Andrei
Helloy! How to make so that the name of the application in the system was in 2 lines ? Add strin name \n does not help, Android Market writes error -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] dialer for DTMF?

2012-02-10 Thread Juned Khan
hi all developers, i am developing one SIP application in which i want to send DTMF for that can i use inbuilt dialer or i need to create customize dialpad? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] catching event from native call screen

2012-02-10 Thread Wuffy
Hi guys, i want my applications BroadcastReceiver to catch the event, when the user pushes the mergecall-button (the button on the bottom right corner), while having one call on hold and one active call. Is it somehow possible for my receiver to catch that event from the native call screen? (or

[android-developers] ADAM ADAMOWICZ died yesterday

2012-02-10 Thread John Davis
http://www.awesome-robo.com/2012/02/farewell-adam-adamowicz-visual-mind.html -- John F. Davis 独树一帜 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread Leo
I use proguard for deploying my app to the market. But why are you asking? How is it connected with my question? On Feb 10, 11:41 am, Jonathan S xfsuno...@gmail.com wrote: Do you heard about proguard? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] SDK for Augmented Reality for real world objects Android ?

2012-02-10 Thread sagare
Is there any third party sdk for Argumented reality of real word objects ? know a few like QCAR from qualcomm and AndAR but these are tag based I am looking at an sdk which is not tag based and can find real world object. Any pointer will be appreciated. Thanks, Sagar -- You received this

Re: [android-developers] SDK for Augmented Reality for real world objects Android ?

2012-02-10 Thread Raghav Sood
Nothing like this exists for Android yet, sorry. Thanks On Fri, Feb 10, 2012 at 7:56 PM, sagare sagar.ekb...@gmail.com wrote: Is there any third party sdk for Argumented reality of real word objects ? know a few like QCAR from qualcomm and AndAR but these are tag based I am looking at

Re: [android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread Dallas Gutauckis
Is northern.captain.seabattle.SeabattleNC your main/launcher activity? On Fri, Feb 10, 2012 at 09:23, Leo leonidthek...@gmail.com wrote: I use proguard for deploying my app to the market. But why are you asking? How is it connected with my question? On Feb 10, 11:41 am, Jonathan S

[android-developers] Re: Is there any equivalent function of requestAudioFocus in API level 7?

2012-02-10 Thread Heidi Zhou Nolan
I found the answer at http://stackoverflow.com/questions/1993471/android-can-i-mute-currently-playing-audio-applications On Feb 10, 12:06 pm, Heidi Zhou Nolan heidi.z...@gmail.com wrote: Hello! My application needs to support Android platform 2.1.x (which is Android API level 7). I need to

[android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread Leo
Yes, northern.captain.seabattle.SeabattleNC is my main/launcher activity, and normally it starts without a problem. On Feb 10, 6:30 pm, Dallas Gutauckis dgutauc...@myyearbook.com wrote: Is northern.captain.seabattle.SeabattleNC your main/launcher activity? On Fri, Feb 10, 2012 at 09:23,

[android-developers] Re: How to create pie chart in android, pls let me know

2012-02-10 Thread JackN
In your ondraw, use algebraic geometry to draw your chart on the screen On Feb 10, 1:02 am, android developer android.developer4...@gmail.com wrote: How to create pie chart in android, pls let me know -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread Dallas Gutauckis
I've seen the same with one of my applications. I've not yet figured out what the issue is. Do you have a service in your application? On Fri, Feb 10, 2012 at 10:13, Leo leonidthek...@gmail.com wrote: Yes, northern.captain.seabattle.SeabattleNC is my main/launcher activity, and normally it

Re: [android-developers] Re: Invert and entire Bitmap

2012-02-10 Thread New Developer
Thanks hhenne I'm trying the following Paint invert = new Paint(); invert.setStyle(Paint.Style.FILL); invert.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.XOR)); pictCanvas.drawRect(0, 0, 1170, 800, invert); image.invalidate(); Not having any success,

[android-developers] NFC detection of tag with NDEF URL always launch browser

2012-02-10 Thread NameZero912
Hi, I'm wondering whether (with android 4.x) it is possible to change the behavior that a detected tag that contains, say, 1 NDEF message with 1 record (URI http://...) automatically launches the browser. I'm developing an application that is supposed to launch automatically when a tag that

[android-developers] Re: GPS - SMS - Mock Location

2012-02-10 Thread Hohorlan B
?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android;       android:versionCode=1       android:versionName=1.0 package=nl.cowlumbus.android.mockgps     uses-sdk android:minSdkVersion=7 /     uses-permission

[android-developers] Google Adsence And Admob

2012-02-10 Thread Josh
Im creating a simple app that launches a web page in a web view. That web page has google adsence in it on the bottom of the page already. Since its an app do I need to switch adsence to admob? Will google frown apon me using adsence instead of its app admob system? -- You received this message

Re: [android-developers] Google Adsence And Admob

2012-02-10 Thread TreKing
On Fri, Feb 10, 2012 at 10:57 AM, Josh foxvalleysoc...@gmail.com wrote: Since its an app do I need to switch adsence to admob? Will google frown apon me using adsence instead of its app admob system? These are probably questions for AdSense and / or AdMob.

[android-developers] Jerky UI due to too many calls to adapter getViews

2012-02-10 Thread Lathe26
I have a GridView and when someone scrolls down the screen and selects an item, I update the GridView with new contents and set the selection to 0 so that the first item in the updated view is being shown. For example: show the contents of a directory, scroll down, select a directory, update the

[android-developers] Re: WebView problem with youtube video

2012-02-10 Thread drenda
Hi all, any news about this problem? On 2 Feb, 13:55, drenda daniele.re...@gmail.com wrote: Hi John, I don't understand the meaning of video needs special handling. Is there a tutorial or some examples that work with youtube's videos? Thanks! Best regards Daniele On 2 Feb, 10:40, John

[android-developers] control micro-controller or any Hardware

2012-02-10 Thread abhijeet tomar
How to control micro-controller or any Hardware through Andrroid Apps using USB Cable?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

Re: [android-developers] Google Adsence And Admob

2012-02-10 Thread armors...@live.com
On 2/10/2012 8:57 AM, Josh wrote: Im creating a simple app that launches a web page in a web view. That web page has google adsence in it on the bottom of the page already. Since its an app do I need to switch adsence to admob? Will google frown apon me using adsence instead of its app admob

[android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread niko20
Same here. In fact one of my apps does not even use ProGuard and it still gets this error from time to time. -niko On Feb 10, 9:26 am, Dallas Gutauckis dgutauc...@myyearbook.com wrote: I've seen the same with one of my applications. I've not yet figured out what the issue is. Do you have a

[android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread Leo
No. I have two ordinary activities, but not a service. I'm facing this issue for a long time. Sometime I receive e-mails from users that they can't start the game. I advise them to uninstall and download the game again from the market and this helps. But this are only a few people who sent me

[android-developers] Best way to publish on market

2012-02-10 Thread Kristoffer
Hello. I have made an app that iam going to publish on Market. I wanna make this app both free and also pay. Iam going to have the exact same app for both free and pay how should i do this the best way? Could a publish the same .apk with just different names (Title when i publish), like add

[android-developers] Re: draw texture in OpenGL Android from 0,0 coordinates

2012-02-10 Thread niko20
No, you shouldn't change the vertices if you don't have to. To move an image just perform a glTranslate. So what you do is like this: glTranslate(0,0); DrawYourImage(); glTranslate(x,x); DrawYourImage(); glTranslate(x,x); DrawYourImage(); Etc. -niko On Feb 8, 12:58 am, Rikki

[android-developers] Re: Almost nobody is rating my app.

2012-02-10 Thread niko20
Some apps, like an app named Amuse, pop up a message saying that they will hide the ads for a while if you click on it. I'm not sure if that's legal or against Google's policy, but it's a brilliant strategy to get more click through, because even I will click an ad to get rid of ads for a few

Re: [android-developers] Best way to publish on market

2012-02-10 Thread TreKing
On Fri, Feb 10, 2012 at 11:43 AM, Kristoffer kris.isak.v...@gmail.comwrote: Iam going to have the exact same app for both free and pay how should i do this the best way? Free / Paid versions or one free version with in-app billing Could a publish the same .apk with just different names

[android-developers] Trying to rotate an image

2012-02-10 Thread New Developer
Hi All trying to rotate an Image pictCanvas.save(); pictCanvas.rotate(90 , pictCanvas.getWidth() / 2 , pictCanvas.getHeight() / 2 ); pictCanvas.restore(); image.invalidate(); Nothing happens calls the code, but the image stays the same ? Any ideas what could be causing this

[android-developers] Re: testing onActivityResult

2012-02-10 Thread A. Elk
I think that the reply meant that you need to write a test harness that monitors your activity and the destination activity. However, what you're trying to do is not a unit test, and ActivityInstrumentationTestCase2 is a unit/functional test case class, not a generic testing class. It will

[android-developers] Re: Trying to rotate an image

2012-02-10 Thread skink
New Developer wrote: Hi All trying to rotate an Image pictCanvas.save(); pictCanvas.rotate(90 , pictCanvas.getWidth() / 2 , pictCanvas.getHeight() / 2 ); pictCanvas.restore(); image.invalidate(); Nothing happens calls the code, but the image stays the same ? Any

[android-developers] Re: NFC Secure Element

2012-02-10 Thread malls
When the card emulation is detected, the call is routed to nfc_jni_transaction_callback() of SecureElement. From here the event is posted to NfcService for example AID_SELECTED events are all posted to NfcService. I was wondering if there is way to communicate to SecureElement through this

[android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread Jonathan S
proguard can strip classes that can lead to ClassNotFoundException. I am wondering about your proguard configuration. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

Re: [android-developers] Re: Trying to rotate an image

2012-02-10 Thread New Developer
Thanks but what am I missing ? On 02/10/2012 02:40 PM, skink wrote: New Developer wrote: Hi All trying to rotate an Image pictCanvas.save(); pictCanvas.rotate(90 , pictCanvas.getWidth() / 2 , pictCanvas.getHeight() / 2 ); pictCanvas.restore(); image.invalidate();

[android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-10 Thread Subba
Issue create here. http://code.google.com/p/android/issues/detail?id=25387 On Feb 9, 9:33 pm, Zsolt Vasvari zvasv...@gmail.com wrote: If that's the case, it's a bug.  Report it on b.android.com On Feb 10, 7:19 am, Subba raochoud...@gmail.com wrote: It seem like there is no way to

Re: [android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread Dallas Gutauckis
I'm not using proguard. On Fri, Feb 10, 2012 at 14:53, Jonathan S xfsuno...@gmail.com wrote: proguard can strip classes that can lead to ClassNotFoundException. I am wondering about your proguard configuration. -- You received this message because you are subscribed to the Google Groups

[android-developers] Android ProgressBar with threads

2012-02-10 Thread Isuru Madusanka
I am working on ProgressBar class in android, but I can't make it progress through 5 seconds and load the application. Everything works but the progress bar not progressing. Here is the code. public class StartPoint extends Activity{ ProgressBar progressBar; private int progressBarStatus = 0;

Re: [android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-10 Thread Dianne Hackborn
This isn't a bug, this is working as intended. The new UI model for Android is to show the menu button in your UI, not relying on a separate menu button. If you do this (and in other ways are compatible with 4.0+), then you use android:targetSdkVersion to say so and the old compatibility menu

[android-developers] Re: App in production: java.lang.RuntimeException: Unable to instantiate activity

2012-02-10 Thread Leo
Proguard does not strip classes that implements certain public android interfaces. And definitely proguard does not strip my main activity class, otherwise how can I have 100.000+ active installs? On Feb 10, 11:53 pm, Jonathan S xfsuno...@gmail.com wrote: proguard can strip classes that can lead

Re: [android-developers] Re: Trying to rotate an image

2012-02-10 Thread skink
New Developer wrote: Thanks but what am I missing ? if you are creating a custom view you have to draw everythig in onDraw method if not, read about RotateDrawable pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Android ProgressBar with threads

2012-02-10 Thread TreKing
On Fri, Feb 10, 2012 at 2:14 PM, Isuru Madusanka isurum@gmail.comwrote: I am working on ProgressBar class in android, but I can't make it progress through 5 seconds and load the application. Everything works but the progress bar not progressing. You can't update the UI in a different

Re: [android-developers] Application name two lines

2012-02-10 Thread Dianne Hackborn
You should not and hopefully can not do this. There are tons of places an application's name is displayed that are not going to like it being split into two lines. On Fri, Feb 10, 2012 at 5:38 AM, Andrei entre...@gmail.com wrote: Helloy! How to make so that the name of the application in the

Re: [android-developers] Re: How can I get the actual screen height ?

2012-02-10 Thread Dianne Hackborn
That doesn't do what the original poster asked -- it doesn't take into account the title bar or status bar (or who knows what else may be around as screen decorations). The correct way to do this is to wait until your view gets its size set. That is certainly the only place anyone knows about

Re: [android-developers] Re: Hardware accleration slow down every Canvas app. Why?

2012-02-10 Thread Dianne Hackborn
On Thu, Feb 9, 2012 at 7:23 PM, ji fei ufo22940...@gmail.com wrote: Seems that hardware acceleration will cost some ram. About 8m per app. This depends very much on the GPU. The driver for the GPU used in the Galaxy Nexus and Nexus S has this fixed overhead, others don't. -- Dianne Hackborn

[android-developers] Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-10 Thread momo
I'm working on a custom tween effect targeting Android 2.2. This is not a straight View animation (many things are happening based on the progress of the tween), so the Animation classes available in 2.2 aren't sufficient (apparently Animator does this but is not available). I've implemented the

[android-developers] Re: Almost nobody is rating my app.

2012-02-10 Thread John Coryat
Some apps, like an app named Amuse, pop up a message saying that they will hide the ads for a while if you click on it. I'm not sure if that's legal or against Google's policy, but it's a brilliant strategy to get more click through, because even I will click an ad to get rid of ads

[android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-10 Thread bradgog
You should be targeting sdk=14 anyway, there is no harm in it, your app will only run better on ICS and you can utilize the holo theme, it will still run on older devices, targeting an sdk level does not preclude the app from running on a device that does not meet that api level -- You

[android-developers] Showing hidden fragment displays black background

2012-02-10 Thread ntuple
Hi, Has anyone run across this problem using v4 ? Have a simple 2 pane list- content layout. Hiding the list works fine but showing it again leads to a black area where the frame is going to be drawn for a brief time. Using the android:Theme.Translucent or something derived from it shows me the

[android-developers] How much text a TextView fits

2012-02-10 Thread luciofm
Hi, I have a requirement to show a paginated text in a ViewPager, so Ineed to know how much text fits in a TextView within each page of myViewPager. I made a hack, fixing the number of lines of TextView in the layout,and calculating how much text willfit on each line, reaching the limitof 10 lines

Re: [android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-10 Thread Dianne Hackborn
Well, there is harm if you are relying on the menu key in your UI and it is now no longer available to users. :) That's why it is opt-in. On Fri, Feb 10, 2012 at 2:10 PM, bradgog gogat...@gmail.com wrote: You should be targeting sdk=14 anyway, there is no harm in it, your app will only run

[android-developers] Re: Showing hidden fragment displays black background

2012-02-10 Thread ntuple
Sorry realized the problem was that the base container, in my case a Linear Layout, needed to have its background color set to resolve this issue. duh . On Feb 10, 6:19 pm, ntuple i...@ntuple.com wrote: Hi, Has anyone run across this problem using v4 ? Have a simple 2 pane list- content

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-10 Thread skink
momo wrote: I'm working on a custom tween effect targeting Android 2.2. This is not a straight View animation (many things are happening based on the progress of the tween), so the Animation classes available in 2.2 aren't sufficient (apparently Animator does this but is not available).

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-10 Thread momo
thanks for the reply. you'd suggest just using sendMessageDelayed? Would you call each interval as a reaction in handleMessage, or just send a batach of delayedMessages at once with the delay incremented? Would you expect the performance gains to be significant enough to compare to the

Re: [android-developers] Re: How to save application data in SD card/External storage device

2012-02-10 Thread Chandra Sekhar
Hi all, I think it may help u String[] pdflist; File[] imagelist; File images = Environment.getExternalStorageDirectory(); imagelist = images.listFiles(new FilenameFilter(){ public boolean accept(File dir, String

[android-developers] Prevent image from being scaled in ImageView

2012-02-10 Thread Kookamonga
I have an ImageView defined like so: ImageView android:id=@+id/im_delete android:layout_width=fill_parent android:layout_height=40dp android:background=@null

[android-developers] Re: J2ME vs Android Java

2012-02-10 Thread chacha_ldy
hey sparky.. thanks. i got it now. On Jan 12, 5:59 am, sparky spar...@google.com wrote: J2ME and Android are very different frameworks. You do not need to know anything about J2ME to write Android applications.  You can pretend J2ME doesn't exist. -- You received this message because you are

[android-developers] Re: J2ME vs Android Java

2012-02-10 Thread chacha_ldy
hey kris.. thanks. i got it now. On Jan 12, 6:49 am, Kristopher Micinski krismicin...@gmail.com wrote: On Wed, Jan 11, 2012 at 3:59 PM, sparky spar...@google.com wrote: J2ME and Android are very different frameworks. You do not need to know anything about J2ME to write Android applications.  

[android-developers] Deploying jme apps on android

2012-02-10 Thread chacha_ldy
Hi again. As disussed here before.. i'v got the answer of difference bet jme android java and i gave a try on both. now im wondering about deploying jme apps on android. I would like to maintain exact interfaces of the original jme program. I found some bridging program or apk generator on web.

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-10 Thread skink
On 11 Lut, 06:08, momo dun...@gmail.com wrote: thanks for the reply.  you'd suggest just using sendMessageDelayed?  Would you call each interval as a reaction in handleMessage, or just send a batach of delayedMessages at once with the delay incremented?  Would you expect the performance

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-10 Thread momo
awesome, i'll look into both approaches. thanks for the info -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Updating the contact list

2012-02-10 Thread darrinps
I am having...mmmdifficulty let's say, updating the contact list. I can add to it just fine, but when I go to update it, it processes, but makes no change. Here is my code: private void continueHandleEdit() { ArrayListContentProviderOperation ops = new

Re: [android-developers] Re: How to hide three-dot indicator(Option menu indicator) on ICS handsets?

2012-02-10 Thread Zsolt Vasvari
I think he's saying that the overflow button (top-right corner) is showing even if there is nothing to overflow. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Webview explicit page unload or stop previous page java script activities

2012-02-10 Thread Ash
Hi all, I have a web based application which uses Webview, it connects to a remote HTTP Server and brings HTML pages to be rendered in Webview. Each HTML page have some controls and every control action triggers a HTTP POST ajax request to the server. When the page loads, it first issues HTTP