Re: [android-developers] States of matters

2012-07-24 Thread TreKing
On Mon, Jul 23, 2012 at 11:49 PM, Sadhna Upadhyay sadhna.braah...@gmail.com wrote: Hi Justin, what is this??? I think he's asking What the f@ck are you talking about? What the fck is 'states of matters'?? That makes no f$cking sense. Or something like that.

Re: [android-developers] Re: flash file in webview on ICS

2012-07-24 Thread Shalini Puri
Does that mean the app which are using flash will not stop working on ICS ? On Mon, Jul 23, 2012 at 6:27 PM, Zoltán Páll pallzol...@gmail.com wrote: I think it's because Adobe Flash is not supported on ICS+ and will not be. Adobe dropped support. Z. On Monday, July 23, 2012 11:48:12 AM

[android-developers] Re: adb devices is showing the device as offline.what is reason? How can i switch the device from online - offline viceversa?

2012-07-24 Thread ranjit R
hi, try this command adb kill-server adb start-server it disconnects and again tries to establish contact with your device via ADB On Wednesday, July 18, 2012 12:30:45 PM UTC+5:30, Sreedhar Reddy V wrote: Hi I connected My android ICS device to my windows PC using USB. I executed adb

[android-developers] Re: NEED HELP!! - Food Menu Order/List Application

2012-07-24 Thread ranjit R
Hi, If you want to maintain small amount of data say settings then go for preferences and better go for SQlite database to hold the items .and load the list from data based on SQLite database. On Monday, July 23, 2012 7:40:49 AM UTC+5:30, Steve Meier wrote: I hope someone can help. I

[android-developers] PARTIAL_WAKE_LOCK and Android 2.3.x

2012-07-24 Thread Ralph Bergmann | the4thFloor.eu
Hello, what is the magic with wake locks? I try to prevent that the phone is going to sleep. Here my code (snippet): public class GPSListenerHandler extends Handler implements GpsStatus.Listener, LocationListener { private WakeLock wakeLock; protected boolean

Re: [android-developers] Application to start with

2012-07-24 Thread tj
Yeah, I have already made a calculator, basic currency conversion tool, tictactoe I need something where I can use android APIs and stuff.. On Saturday, 21 July 2012 14:00:07 UTC+5:30, Narendra Singh Rathore wrote: On Thu, Jul 19, 2012 at 3:49 PM, tj mailme.ta...@gmail.com wrote: I am

Re: [android-developers] Removed status bar on Android TV

2012-07-24 Thread limtc
Thanks! I have contacted the Android TV manufacturer on this issue. 在 2012年7月24日星期二UTC+8上午7时10分48秒,Mark Murphy (a Commons Guy)写道: On Mon, Jul 23, 2012 at 6:57 PM, limtc thyech...@gmail.com wrote: Is it possible to totally remove the status bar in the program? You would have to ask the

Re: [android-developers] Re: Jelly bean swiping task away from task list kills service

2012-07-24 Thread Dianne Hackborn
Could you include a binary? I just want to see what the platform is doing; I don't need to look at the code. Thanks! On Mon, Jul 23, 2012 at 10:40 PM, Andy dev andrewpmo...@gmail.com wrote: Dianne, I've created a very cut down version of my app where I'm still getting the issue. I've

Re: [android-developers] Re: Do we need images for all versions HDPI , MDPI , LDPI

2012-07-24 Thread Dianne Hackborn
The platform can scale to whatever density it needs, there is nothing special about ldpi. If you are going to be providing the different densities simply by scaling the bitmap yourself, this is kind of pointless, because that is all the platform does when it needs to have the image in a different

[android-developers] Align ListView to the right

2012-07-24 Thread limtc
This is supposedly a simple question - but I have been testing the whole morning, searching and test all suggestions, but I can't seem to get it right. Please help! All I wanted is to align the ListView to the right (with 100dp blank space), and here's my current layout file: RelativeLayout

Re: [android-developers] Re: Jelly bean swiping task away from task list kills service

2012-07-24 Thread Andrew Moore
Here's the apk: https://docs.google.com/open?id=0B9RsW3kcQ9jPem9PLVIxdWdlQlU On 24 Jul 2012 08:08, Dianne Hackborn hack...@android.com wrote: Could you include a binary? I just want to see what the platform is doing; I don't need to look at the code. Thanks! On Mon, Jul 23, 2012 at 10:40

Re: [android-developers] Re: Jelly bean swiping task away from task list kills service

2012-07-24 Thread Andy dev
Here's a link to the binary: https://docs.google.com/open?id=0B9RsW3kcQ9jPem9PLVIxdWdlQlU Thanks! On Tuesday, July 24, 2012 8:05:53 AM UTC+1, Dianne Hackborn wrote: Could you include a binary? I just want to see what the platform is doing; I don't need to look at the code. Thanks! On

[android-developers] Re: in AppSubscription Android

2012-07-24 Thread Ali Chousein
Test your integration using static in-app payment responses. If it works for in-app payment, it works for in-app subscription also. I can tell you this based on personal experience. - Ali Chousein

[android-developers] Re: How to implement RTSP for android captured video streaming to server

2012-07-24 Thread Jovan Novkovic
Hey man...did you had a success with this? I need it to and i'm trying to find is this possible??? Thanks for the replay and time... -- 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] Re: How to implement RTSP for android captured video streaming to server

2012-07-24 Thread amitay molko
Yes, I uploaded my project to here http://www.4shared.com/rar/cm2e1ZML/RtspCamera.html It has some problems with the audio. but video works fine. -- Amitay Molko On Tue, Jul 24, 2012 at 10:56 AM, Jovan Novkovic jovannovkovi...@gmail.comwrote: Hey man...did you had a success with this? I

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Aprido Sandyasa
RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:background=@drawable/background android:layout_width=fill_parent android:layout_height=wrap_content ListView android:id=@id/android:list android:dividerHeight=0dp

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Aprido Sandyasa
or you can try this on out: RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:background=@drawable/background android:layout_width=fill_parent android:layout_height=wrap_content ListView android:id=@id/android:list android:dividerHeight=0dp

Re: [android-developers] Re: Calling networkInfo.isConnected()

2012-07-24 Thread Kostya Vasilyev
2012/7/24 Robert Greenwalt rgreenw...@google.com If either your background data setting is off OR you are in the foreground you will be told you are connected (provided a connection, of course). Ah, it's good to know there is a special case for when the app is in the foreground. I don't

[android-developers] Re: Application to start with

2012-07-24 Thread yvolk
Hi TJ, I would suggest you start from playing-tweaking-extending-taking-part-in-development of real and not very simple Open Source application which uses many of the Android features. I personally started (three years ago...) from the Twitter Client application which I'm maintaining now, see

Re: [android-developers] Live wallpaper as background for custom view

2012-07-24 Thread nishma
@Chitransh: Thank you for responding. Well setting the background with a image can be achieved using that line of code but I am interested in setting the current wallpaper of the device as the background of my custom view. On Monday, July 23, 2012 6:51:41 PM UTC+5:30, Chitransh Mathur wrote:

Re: [android-developers] Align ListView to the right

2012-07-24 Thread limtc
This does not work. In fact there is an error as the layout_marginRight was specified twice. 在 2012年7月24日星期二UTC+8下午4时52分41秒,Aprido Sandyasa写道: or you can try this on out: RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:background=@drawable/background

Re: [android-developers] Align ListView to the right

2012-07-24 Thread limtc
Does not understand. Why do we want to add in another TextView? The original layout has no text view. 在 2012年7月24日星期二UTC+8下午4时50分25秒,Aprido Sandyasa写道: RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:background=@drawable/background

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Aprido Sandyasa
What kind of error did u had? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Aprido Sandyasa
ListView is the container, so if u want to view the text on the list u have to added a textview -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Aprido Sandyasa
U should tell me the error is so i can tell what kind of error and what is the problem do u have -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: Galaxy S3 - Cant write to external storage

2012-07-24 Thread Eddie
On Friday, 20 July 2012 14:23:09 UTC+1, Eddie wrote: I am attempting to write to the external Sdcard on a Galaxy S3: adb push foo.txt /mnt/extSdCard/foo.txt But this fails with a write permission error. I can cd to /mnt/extSdCard with no problems and ls the contents. I am

Re: [android-developers] Re: Galaxy S3 - Cant write to external storage

2012-07-24 Thread Anirudh Loya
Same Problem with Nexus 7 On Tue, Jul 24, 2012 at 4:00 PM, Eddie edwardezerg...@googlemail.comwrote: On Friday, 20 July 2012 14:23:09 UTC+1, Eddie wrote: I am attempting to write to the external Sdcard on a Galaxy S3: adb push foo.txt /mnt/extSdCard/foo.txt But this fails with a

Re: [android-developers] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Jim Graham
On Mon, Jul 23, 2012 at 07:56:24PM -0700, gjs wrote: Also no need to say a post is URGENT, we assume all posts are urgent anyway. Actually, it's just the opposite Posts marked urgent are generally assumed to be anything BUT urgent, as marking them that way tends to drastically reduce your

Re: [android-developers] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Urgent please !!! Can anyone tell me how should i do Audio capture in ANDROID ? What are the basics i should know it ? My operations must be lik Recording , Playing , Stopping and Saving ! On Tue, Jul 24, 2012 at 4:20 PM, Jim Graham spooky1...@gmail.com wrote: On Mon, Jul 23, 2012 at 07:56:24PM

[android-developers] Problem getting id of a resource when using a Library project

2012-07-24 Thread Francisco M. Marzoa Alonso
Hi there, I am facing problems getting the id of a resource by name when using a library project: int resId = context.getResources().getIdentifier(myresname, drawable, net.iberdroid.mygamecore); It seems like this always returns 0 when using the project as a library, but it were working

Re: [android-developers] Re: Do we need images for all versions HDPI , MDPI , LDPI

2012-07-24 Thread Mark Murphy
On Tue, Jul 24, 2012 at 3:08 AM, Dianne Hackborn hack...@android.com wrote: In this case providing the different densities yourself is pretty much entirely a performance optimization -- the platform doesn't need to do the scaling at runtime when loading your resources. It's also a bit of a

Re: [android-developers] Problem getting id of a resource when using a Library project

2012-07-24 Thread Mark Murphy
On Tue, Jul 24, 2012 at 6:53 AM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: I am facing problems getting the id of a resource by name when using a library project: int resId = context.getResources().getIdentifier(myresname, drawable, net.iberdroid.mygamecore); It seems like this

Re: [android-developers] PARTIAL_WAKE_LOCK and Android 2.3.x

2012-07-24 Thread Mark Murphy
FWIW, here is a project where I have implemented a Service that can do a location check inside of a WakeLock, stopping the service once we get a fix or a timeout: https://github.com/commonsguy/cwac-locpoll On Tue, Jul 24, 2012 at 3:00 AM, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu

Re: [android-developers] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread bharadwaj
use Media player class or media recorder class to record the audio. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: Galaxy S3 - Cant write to external storage

2012-07-24 Thread bharadwaj
have u added permissions in your manifest file...check it once... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Align ListView to the right

2012-07-24 Thread bharadwaj
On Tue, Jul 24, 2012 at 12:40 PM, limtc thyech...@gmail.com wrote: This is supposedly a simple question - but I have been testing the whole morning, searching and test all suggestions, but I can't seem to get it right. Please help! All I wanted is to align the ListView to the right (with

Re: [android-developers] Re: Galaxy S3 - Cant write to external storage

2012-07-24 Thread Jadranko Bodiroga
add permission on user ,and it will workPermission on Write External Storage...Post error if it continue -- You received this message 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] Align ListView to the right

2012-07-24 Thread Jadranko Bodiroga
try tu put : android:layout_marginLeft=300dp I think that will 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

Re: [android-developers] States of matters

2012-07-24 Thread Justin Anderson
Yep, that pretty much sums it up... :-) On Jul 24, 2012 12:02 AM, TreKing treking...@gmail.com wrote: On Mon, Jul 23, 2012 at 11:49 PM, Sadhna Upadhyay sadhna.braah...@gmail.com wrote: Hi Justin, what is this??? I think he's asking What the f@ck are you talking about? What the fck is

Re: [android-developers] Re: Starting out with Android development

2012-07-24 Thread Jadranko Bodiroga
Try this Code for GPS location to injput in Google Map startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(geo:45,-110))); 45-latitude/110-longitude... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Yeah , i used do you have any basic codes for audio recorder and audioplayer ? On Tue, Jul 24, 2012 at 4:42 PM, bharadwaj bharath.sm...@gmail.com wrote: use Media player class or media recorder class to record the audio. -- You received this message because you are subscribed to the Google

Re: [android-developers] how to put multiple linear layout and button in scrollview

2012-07-24 Thread Jadranko Bodiroga
Very goog tutorial to start-: http://www.youtube.com/watch?v=Rmj_5M_xYeg whatch all lesons of this gye, and i think it will help you :) -- 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] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread bharadwaj
On Tue, Jul 24, 2012 at 5:07 PM, Meena Rengarajan meenasoft...@gmail.comwrote: Yeah , i used do you have any basic codes for audio recorder and audioplayer ? On Tue, Jul 24, 2012 at 4:42 PM, bharadwaj bharath.sm...@gmail.comwrote: use Media player class or media recorder class to record the

Re: [android-developers] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Yeah , kindly please send me ... Thanks Regards, Meena On Tue, Jul 24, 2012 at 5:13 PM, bharadwaj bharath.sm...@gmail.com wrote: On Tue, Jul 24, 2012 at 5:07 PM, Meena Rengarajan meenasoft...@gmail.comwrote: Yeah , i used do you have any basic codes for audio recorder and audioplayer ?

Re: [android-developers] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Do you have pdf for beginners for image, audio , video capture in Android ? If you have kindly send me ... On Tue, Jul 24, 2012 at 5:15 PM, Meena Rengarajan meenasoft...@gmail.comwrote: Yeah , kindly please send me ... Thanks Regards, Meena On Tue, Jul 24, 2012 at 5:13 PM, bharadwaj

[android-developers] Re: flash file in webview on ICS

2012-07-24 Thread Juned Khan
Hi Shalini, The earlier device in which flash is supported on that devices flash file will load regardless the version of Android. And as zoltan pall said adobe dropped the support so in every newer device the flash file will not load. Thanks Juned Khan -- You received this message because

[android-developers] Re: States of matters

2012-07-24 Thread Juned Khan
Hi Sadhna, Try to ask your question properly don't make it ambiguous.Ask a question such a way so everyone can understand it easily and guide you through that. Thanks Juned Khan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] States of matters

2012-07-24 Thread Meena Rengarajan
Hi all , How do i wanna capture an Audio by doing recording , playing, saving and stopping . Please can anyone tell me ? On Tue, Jul 24, 2012 at 5:02 PM, Justin Anderson magouyaw...@gmail.comwrote: Yep, that pretty much sums it up... :-) On Jul 24, 2012 12:02 AM, TreKing

Re: [android-developers] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread bharadwaj
On Tue, Jul 24, 2012 at 5:16 PM, Meena Rengarajan meenasoft...@gmail.comwrote: Do you have pdf for beginners for image, audio , video capture in Android ? If you have kindly send me ... On Tue, Jul 24, 2012 at 5:15 PM, Meena Rengarajan meenasoft...@gmail.comwrote: Yeah , kindly please

[android-developers] Re: Problem getting id of a resource when using a Library project

2012-07-24 Thread Francisco M. Marzoa Alonso
I found a solution, but it is a bit weird and since I use a library for not making repetitive changes on different versions of same game (tipically free and pay versions), also a bit annoying. In this context, net.iberdroid.mygamecore is the Library Project shared by payment and free versions,

[android-developers] Re: Application to start with

2012-07-24 Thread Juned Khan
Hi, There is a number of sample application is bundle with Android SDK. try to work on that. that will be very helpful to understand the development process in android and APIs of android. Thanks Juned Khan -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Problem getting id of a resource when using a Library project

2012-07-24 Thread Francisco M. Marzoa Alonso
Hi Mark, I did not read your answer, that was the point, but using directly the main project package name creates a new problem. See my other answer for the solution I finally reach. Thank you very much, On 24/07/12 13:06, Mark Murphy wrote: On Tue, Jul 24, 2012 at 6:53 AM, Francisco M.

Re: [android-developers] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Yeah , thankyou so much Bharadwaj ! On Tue, Jul 24, 2012 at 5:23 PM, bharadwaj bharath.sm...@gmail.com wrote: On Tue, Jul 24, 2012 at 5:16 PM, Meena Rengarajan meenasoft...@gmail.comwrote: Do you have pdf for beginners for image, audio , video capture in Android ? If you have kindly send

Re: [android-developers] Problem getting id of a resource when using a Library project

2012-07-24 Thread Meena Rengarajan
How do i wanna capture an Audio in Android please help me .. I am beginner can anyone help me ? On Tue, Jul 24, 2012 at 5:26 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: Hi Mark, I did not read your answer, that was the point, but using directly the main project package name

Re: [android-developers] Problem getting id of a resource when using a Library project

2012-07-24 Thread Meena Rengarajan
How do i wanna capture an Audio in Android please help me .. I am beginner can anyone help me ? Programmatically i shoud do some operations like Play, Stop, Record and Save .. On Tue, Jul 24, 2012 at 5:36 PM, Meena Rengarajan meenasoft...@gmail.comwrote: How do i wanna capture an Audio in

Re: [android-developers] Align ListView to the right

2012-07-24 Thread 泰前 林
Align left is not the problem… wanted to align to the right! :) I don't want it to align left (which is the default behavior). Lim Thye Chean Virtual GS 在 24 Jul, 2012,7:19 PM,bharadwaj bharath.sm...@gmail.com 写道: On Tue, Jul 24, 2012 at 12:40 PM, limtc thyech...@gmail.com wrote: This

[android-developers] Re: Volume setting problem

2012-07-24 Thread bt
Ping. Nobody can help? On Wednesday, July 18, 2012 9:33:35 PM UTC+2, bt wrote: Hi, I have BroadcastReceiver which listens for PHONE_STATE_CHANGED actions. In my test if phone state is RINGING then I set notification volume to 1 else I set it to 5. I have an observer that listens to

Re: [android-developers] Re: Galaxy S3 - Cant write to external storage

2012-07-24 Thread Eddie
On Tuesday, 24 July 2012 12:26:12 UTC+1, baturanija1 wrote: add permission on user ,and it will workPermission on Write External Storage...Post error if it continue Thanks for reply Baturanija. Permissions on /mnt/extSdCard are drwxrwxr-x so owner and group ok. Have tried (via adb

[android-developers] MuPDF Compilation : Unable to build MuPDF source code in windows

2012-07-24 Thread Yogini
Hi All, I am trying to build a PDFReader using MuPDF third party library. But as per steps given in ReadMe file of MuPDF android folder, we need to build MuPDF source to generate 'generated' directory. This generated dierectory is required for further compilation through ndk_build. To build

[android-developers] Re: MuPDF Compilation : Unable to build MuPDF source code in windows

2012-07-24 Thread RichardC
NDK group is here: https://groups.google.com/forum/?fromgroups#!forum/android-ndk Before you ask in there I suggest you read: android-ndk-r8b\docs\STANDALONE-TOOLCHAIN.html On Tuesday, July 24, 2012 1:28:04 PM UTC+1, Yogini wrote: Hi All, I am trying to build a PDFReader using MuPDF

[android-developers] Re: flash file in webview on ICS

2012-07-24 Thread mudit
Hi Juned, I am using a ICS device and it is able to run lots of flash based apps(may be developed in a flash based environment and not a native android app) then any idea why it is not able to load the flash content only in webview? On Tuesday, July 24, 2012 5:18:55 PM UTC+5:30, Juned Khan

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Justin Anderson
Hi Lim, I have done many list views so I'm sure I can help, but from the way you phrased your question I don't fully understand what you are trying to accomplish: 1. Move the entire list view over to the right, with a space of 100dp on the left? 2. Right-align the text of each list view

[android-developers] Re: disable log messages dataCallback(16, 0x11af10) when using mCamera.setPreviewCallback(this);

2012-07-24 Thread Fernando F. Gallego
I am also interested and I didn't find the way... On Friday, December 10, 2010 4:46:20 PM UTC+1, andev wrote: Im using Camera.setPreviewCallback method to retrieve all the camera frames on the onPreviewFrame on a 2.0.1 device. Im aware about the issue of GC interrupting on each frame on

Re: [android-developers] Re: disable log messages dataCallback(16, 0x11af10) when using mCamera.setPreviewCallback(this);

2012-07-24 Thread Kostya Vasilyev
Pipe logcat through grep with an exclude filter? 24.07.2012 16:54 пользователь Fernando F. Gallego ferdy...@gmail.com написал: I am also interested and I didn't find the way... On Friday, December 10, 2010 4:46:20 PM UTC+1, andev wrote: Im using Camera.setPreviewCallback method to retrieve

[android-developers] alarm is not working

2012-07-24 Thread surabhi jain
Hi all, I am setting alarm. my alarm working in samsung device properly but in mts device not working showing warning as below 07-24 18:26:22.379: WARN/AlarmManager(238): in the set:mDescriptor alarm.type alarmSeconds alarmNanoseconds=89 0 1343134702 38600 07-24 18:26:22.379:

[android-developers] Activity on Service

2012-07-24 Thread Rahul Kaushik
Hi, I have started an activity on Reboot from service, it get started but it bring the activity in front of user but i dont want show the started activity to the user MyCode on Service public void onCreate() { super.onCreate(); //Toast.makeText(this,StartAtBootService: onCreate,

Re: [android-developers] Activity on Service

2012-07-24 Thread Mark Murphy
On Tue, Jul 24, 2012 at 9:02 AM, Rahul Kaushik rahulkaushi...@gmail.com wrote: I have started an activity on Reboot from service, it get started but it bring the activity in front of user but i dont want show the started activity to the user Then do not call startActivity(). The *only reason*

Re: [android-developers] Activity on Service

2012-07-24 Thread Justin Anderson
I have started an activity on Reboot from service, it get started but it bring the activity in front of user but i dont want show the started activity to the user Why? That doesn't make sense... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On

Re: [android-developers] Align ListView to the right

2012-07-24 Thread limtc
First option (entire list view on the right, with 100dp right margin). 在 2012年7月24日星期二UTC+8下午8时50分29秒,MagouyaWare写道: Hi Lim, I have done many list views so I'm sure I can help, but from the way you phrased your question I don't fully understand what you are trying to accomplish: 1.

Re: [android-developers] Re: Galaxy S3 - Cant write to external storage

2012-07-24 Thread Eddie
On Tuesday, 24 July 2012 12:14:04 UTC+1, Bharath Smitha wrote: have u added permissions in your manifest file...check it once... Hi Bharath. I am not aware that adb requires any permissions in a manifest file. Manifest permissions are for applications only aren't they? -- You

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Justin Anderson
First option (entire list view on the right, with 100dp right margin). That is not the first option I proposed... The first option I proposed was 100dp margin on the left. I still can't picture exactly what it is you are wanting. Can you create a basic diagram of what you want this to look

Re: [android-developers] Align ListView to the right

2012-07-24 Thread limtc
Hi, A list view (with some items), hanging on the right. The list view is 100dp distance away from the right of the device. [ -100 - ] 在 2012年7月24日星期二UTC+8下午9时29分21秒,MagouyaWare写道: First option (entire list view on the right, with 100dp right margin). That

[android-developers] Re: grey rectangle

2012-07-24 Thread bob
And to achieve stroking? On Monday, July 23, 2012 3:59:05 PM UTC-5, Nobu Games wrote: Why don't you just create a state list drawable based on 9-patch images instead of hacking redundant drawing operations into the Button widget? For each button state (normal, selected, pressed...) you

Re: [android-developers] States of matters

2012-07-24 Thread Larry Meadors
By not hi-jacking another thread. On Tue, Jul 24, 2012 at 5:53 AM, Meena Rengarajan meenasoft...@gmail.com wrote: Hi all , How do i wanna capture an Audio by doing recording , playing, saving and stopping . Please can anyone tell me ? On Tue, Jul 24, 2012 at 5:02 PM,

Re: [android-developers] Unsubscribe

2012-07-24 Thread Larry Meadors
This is at the bottom of EVERY post to 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

Re: [android-developers] Re: grey rectangle

2012-07-24 Thread Justin Anderson
Stroking for what? The button or the text? On Jul 24, 2012 7:58 AM, bob b...@coolfone.comze.com wrote: And to achieve stroking? On Monday, July 23, 2012 3:59:05 PM UTC-5, Nobu Games wrote: Why don't you just create a state list drawable based on 9-patch images instead of hacking redundant

Re: [android-developers] States of matters

2012-07-24 Thread bob
*States of matter* are the distinct forms that different phaseshttp://en.wikipedia.org/wiki/Phase_(matter) of matter http://en.wikipedia.org/wiki/Matter take on. Three states of matter are known in everyday experience: solidhttp://en.wikipedia.org/wiki/Solid , liquid

[android-developers] Multiple intents of the same tipe for AlarmManager

2012-07-24 Thread mighter
I use AlarmManager to start Service at specific time. intent = new Intent(ACTION_RECORDER_START); intent.putExtra(EXTRA_COMMAND_ID, command.id); pendingIntent = PendingIntent.getService(context, 0, intent, PendingIntent.FLAG_ONE_SHOT); alarmManager.set(AlarmManager.RTC_WAKEUP,

Re: [android-developers] Is there any logical way to make a notification bigger / Make more then one.

2012-07-24 Thread Cythes
Thanks for the reply, sorry it took so long but we ended up going a different route. On Sunday, July 22, 2012 4:50:03 PM UTC-4, Dianne Hackborn wrote: JB added support for larger notifications. You can not force them to display larger, however, they will change in size for various reasons

[android-developers] Kudos: Android Team, You have done a fantastic job on OpenGL documentation

2012-07-24 Thread Satya Komatineni
http://developer.android.com/guide/topics/graphics/opengl.html The lessons and tutorials here are excellent! http://developer.android.com/training/graphics/opengl/index.html Real thanks http://satyakomatineni.com/android/training http://satyakomatineni.com http://androidbook.com

Re: [android-developers] problem with AlertDialog and power button

2012-07-24 Thread Brad Justice
Yes, that was the problem. Your suggestion works perfectly. Thanks all for your assistance. On Monday, July 23, 2012 6:44:05 PM UTC-7, MagouyaWare wrote: Try dismissing it in onPause() out it is visible... I am creating an AlertDialog in my activity onResume with the following code:

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Justin Anderson
Maybe I'm just thick-headed (it's been known to happen before), but I'm still not getting what you are wanting. You just aren't providing enough information. So, you want something like this? List View Width - | - List Item

Re: [android-developers] Align ListView to the right

2012-07-24 Thread Justin Anderson
So, you want something like this? List View Width - | - List Item - xx| - 100dp - | --| | | - List Item - xxx| |

[android-developers] Re: per account settings in Jelly Beans

2012-07-24 Thread Marten Gajda
Am 21.07.2012 18:11, schrieb yvolk: Marten, thank you for the tips. The Remove Account in the menu of the Sync screen is not obvious at all :-; I have a feeling that Accounts related stuff will be changed in the nearest Android updates, so maybe we are are too soon to adapt something for

[android-developers] Trying to black out screen programatically

2012-07-24 Thread Cythes
So this is really a repost from Stack Overflow so that is out there in the open. Here is what I am trying to do, I'm trying to get the screen to black out when I run the app in question. I know this sounds Spam-like but I assure you this app is being built in the best of intentions. So here is

Re: [android-developers] Trying to black out screen programatically

2012-07-24 Thread Justin Anderson
http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#screenBrightness A value of 1 for brightness means full bright so I doubt that is the value you are wanting to use... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On

[android-developers] Preference menu navigation without physical buttons

2012-07-24 Thread billb
I have a simple app with a set of preferences for the user to select. I have the preferences menu (using Preference fragments) that works, however, what is the preferred method of providing navigation back to the app if there are no physical buttons on the device. I have added a Return to

Re: [android-developers] Preference menu navigation without physical buttons

2012-07-24 Thread Mark Murphy
On Tue, Jul 24, 2012 at 1:11 PM, billb b...@briskynet.com wrote: I have a simple app with a set of preferences for the user to select. I have the preferences menu (using Preference fragments) that works, however, what is the preferred method of providing navigation back to the app if there

[android-developers] Re: Preference menu navigation without physical buttons

2012-07-24 Thread bob
Well, you spelled company wrong here: android:targetClass=com.mycmopany.myApp.PrefsActivity/ On Tuesday, July 24, 2012 12:11:40 PM UTC-5, billb wrote: I have a simple app with a set of preferences for the user to select. I have the preferences menu (using Preference fragments) that

[android-developers] Re: Trying to black out screen programatically

2012-07-24 Thread bob
Are you trying to fade to black? Use this theme in AndroidManifest.xml: application android:theme=@android:style/Theme.Translucent Then, you need to write code that modifies this property in activity_main.xml: RelativeLayout android:background=#ee00 That property will go from

Re: [android-developers] Re: grey rectangle

2012-07-24 Thread bob
The text. On Tuesday, July 24, 2012 9:14:28 AM UTC-5, MagouyaWare wrote: Stroking for what? The button or the text? On Jul 24, 2012 7:58 AM, bob b...@coolfone.comze.com wrote: And to achieve stroking? On Monday, July 23, 2012 3:59:05 PM UTC-5, Nobu Games wrote: Why don't you just create

[android-developers] Re: PARTIAL_WAKE_LOCK and Android 2.3.x

2012-07-24 Thread bob
Why not try FULL_WAKE_LOCK? If that doesn't work, put a breakpoint here: this.wakeLock.release(); If the breakpoint gets hit, you know the lock was released. On Tuesday, July 24, 2012 2:00:02 AM UTC-5, Ralph Bergmann wrote: Hello, what is the magic with wake locks? I try to

Re: [android-developers] Re: grey rectangle

2012-07-24 Thread Justin Anderson
There really is no way for adding a stroke to text... I believe you asked about that in another post. To do that you would need to subclass Button... And then you would need to do a whole lot of work in the onDraw() method. I don't know if that would be worth the effort. Even if you decide it

[android-developers] function for blending two colors?

2012-07-24 Thread bob
Is there an Android function for blending two colors? It would look like this: Color blend(Color color1, Color color2, float frac); -- 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] function for blending two colors?

2012-07-24 Thread James Black
How do you want the blend to work? On Jul 24, 2012 3:38 PM, bob b...@coolfone.comze.com wrote: Is there an Android function for blending two colors? It would look like this: Color blend(Color color1, Color color2, float frac); -- You received this message because you are subscribed to

[android-developers] Re: function for blending two colors?

2012-07-24 Thread lbendlin
google for setColorFilter and PorterDuff On Tuesday, July 24, 2012 3:38:13 PM UTC-4, bob wrote: Is there an Android function for blending two colors? It would look like this: Color blend(Color color1, Color color2, float frac); -- You received this message because you are subscribed

Re: [android-developers] Search

2012-07-24 Thread TreKing
On Tue, Jul 24, 2012 at 1:24 PM, Jagadeesh mjagadeeshb...@gmail.com wrote: In My application two expandible list views are there in other actvity i have search screen , when iam searching from search screen how to get those texts which contains in expandible list how can i get can any one

Re: [android-developers] function for blending two colors?

2012-07-24 Thread bob
I was looking for something like this: static int blend(int color1, int color2, float frac) { int r1 = Color.red(color1); int g1 = Color.green(color1); int b1 = Color.blue(color1); int r2 = Color.red(color2); int g2 = Color.green(color2); int b2 = Color.blue(color2); int r3 = (int)

RE: [android-developers] Search

2012-07-24 Thread Tommy Hartz
Why not pass the text as extras to your search activity. Check out the first answer here http://stackoverflow.com/questions/2582690/android-passing-paramters-between -classes From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing

Re: [android-developers] Align ListView to the right

2012-07-24 Thread limtc
Hi, probably it is my problem not yours. I really appreciate you are trying to help. I am not looking into justification within the listview, but the listview within the container (activity). Here's my activity: public void onCreate(Bundle savedInstanceState) {

  1   2   >