Re: [android-developers] Re: Image background (not 9-patch) for an AppWidget

2012-12-05 Thread Mário César Mancinelli de Araújo
Not really... First of all, how do I discover the value of "pixels"? Because it depends on the Android version, on the manufacture of the equipament... And, most important, I don't have access to the ImageView (I can set properties, but not get because of the RemoteViews). Other thing is that the

[android-developers] Re: android phones and bluetooth

2012-12-05 Thread gjs
Hi, do most android phones support the bluetooth serial profile. Yes specifically - gps data access. Yes, if you mean access GPS device via bluetooth how would i know whether the phone supports it Try it, there is a few free apps that will connect to BT GPS devices, use Google to search Regard

Re: [android-developers] Re: Image background (not 9-patch) for an AppWidget

2012-12-05 Thread vinay kumar
Hi, They are number of solution available online but one of them is to recreate a your bitmap with rounded corners. public static Bitmap getRoundedCornerBitmap(Bitmap bitmap, int pixels) { Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), bitmap .getHeight(), Config.

Re: [android-developers] Re: Required: Sr. Java Developer at Boston, MA

2012-12-05 Thread Asheesh Arya
You won't compel us -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For m

[android-developers] Re: Required: Sr. Java Developer at Boston, MA

2012-12-05 Thread Zsolt Vasvari
Everybody, please mark this post as spam. On Wednesday, December 5, 2012 11:44:37 PM UTC+8, Munawar Ali wrote: > > Hi Friends, > > Hope you are doing fine. Please let me know if you have someone with you > available for the below mentioned requirement... > Please send profiles to mu...@tekenergyu

[android-developers] Re: Orientation issue in Tablet and Devices.

2012-12-05 Thread Seshu
Thanks bob for providing support. On Dec 5, 9:34 pm, bob wrote: > Please see > > http://www.techrepublic.com/blog/app-builder/handling-orientation-cha... > > You should make a folder called layout-land, I think. > > > > > > > > On Tuesday, December 4, 2012 1:10:31 AM UTC-6, Seshu wrote: >

Re: [android-developers] hi friends

2012-12-05 Thread rambabu mareedu
you need to take submenu On Thu, Dec 6, 2012 at 10:21 AM, sree android wrote: > i would like to display options menu in one activity,when i click one item > in options menu,another options (like options within the options menu on > same window )will be display in the same window.how it is posibl

[android-developers] hi friends

2012-12-05 Thread sree android
i would like to display options menu in one activity,when i click one item in options menu,another options (like options within the options menu on same window )will be display in the same window.how it is posible with any code.plz thank you. -- You received this message because you are subscribe

[android-developers] Package android.media.* does not exist for framework.jar

2012-12-05 Thread Scs Sek
Hi, I am trying to include the package into framework.jar file. I think new Android case, android.media.audiofx is in framework2.jar. When it compiles framework local module, frameworks/base/media/java/android/media/AudioService.java:89: package android.media.audiofx does not exist Any sugges

Re: [android-developers] Building Android Launcher without experimental/private APIs

2012-12-05 Thread galapogos
Hi, I didn't get your reply. Did I miss something? On Wednesday, December 5, 2012 2:39:17 PM UTC+8, asheesh arya wrote: > > > > On Wed, Dec 5, 2012 at 12:02 PM, galapogos > > wrote: > >> Hi, >> >> I'm trying to build the Android ICS Launcher so that it will run on any >> Android device with ICS

[android-developers] android phones and bluetooth

2012-12-05 Thread dashman
do most android phones support the bluetooth serial profile. specifically - gps data access. how would i know whether the phone supports it. i.e. look at the specs for the bluetooth version?? -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] [ICS] Did Canvas / drawBitmap change in ICS ?

2012-12-05 Thread GJTorikian
Hi there— I'm making updates to a live wallpaper I've developed. The wallpaper is currently running correctly on a 2.2 device, but NOT on my 4.2 device. On the ICS device, it seems that only the last column is being correctly drawn. For example, in a coordinate system, if my phone is 420 x 720

[android-developers] Re: new adt bundle install gets "Failed to allocate memory: 8"

2012-12-05 Thread Ray Tayek
changing the RAM from 1024 to 512 in the edit avd window seems to fix the problem. does anyone know what is going on here? thanks On Monday, December 3, 2012 2:32:21 PM UTC-8, Ray Tayek wrote: > > hi, i just downloaded and installed the adt bundle for windows. i am using > win 7 x64 with 8gb o

[android-developers] Re: WAV file

2012-12-05 Thread Nobu Games
To my knowledge WAV is just a container format and not an encoding. You would have to create your own WAV file containing the audio stream. On Wednesday, December 5, 2012 12:35:05 PM UTC-6, bob wrote: > > Anyone know if any of these MediaRecorder.OutputFormat constants > corresponds to a normal

[android-developers] WAV file

2012-12-05 Thread bob
Anyone know if any of these MediaRecorder.OutputFormat constants corresponds to a normal WAV file? I want to record a WAV. public final class OutputFormat { /* Do not change these values without updating their counterparts * in include/media/mediarecorder.h! */ p

[android-developers] Re: in app upgrade with persistant data.

2012-12-05 Thread PSchuette
Thank you Nobu games, +1 On Wednesday, December 5, 2012 11:49:51 AM UTC-5, Nobu Games wrote: > > Write a ContentProvider for your free version that offers the data files > to the requesting paid version. You should define a permission for your > ContentProvider with protectionLevel=signature so

[android-developers] Re: best way to stop an Android service

2012-12-05 Thread skink
bob wrote: > What is the best way to stop an Android service? > > > I'm thinking of having the service continually check for the existence of a > file on the SD card and exit when the file is deleted. > > > Is this so bad? use android.os.FileObserver pskink -- You received this message becaus

[android-developers] Re: best way to stop an Android service

2012-12-05 Thread Nobu Games
On Wednesday, December 5, 2012 10:52:51 AM UTC-6, bob wrote: > > Is this so bad? > Well, it will probably drain the battery in no time. On top of that Android services are not designed to be long- or forever-running. The OS can stop them any time. I agree with TreKing. What is it what you actual

Re: [android-developers] best way to stop an Android service

2012-12-05 Thread TreKing
On Wed, Dec 5, 2012 at 10:52 AM, bob wrote: > What is the best way to stop an Android service? > Use one of the methods designed to stop a service ... > I'm thinking of having the service continually check for the existence of > a file on the SD card and exit when the file is deleted. > > Is thi

[android-developers] best way to stop an Android service

2012-12-05 Thread bob
What is the best way to stop an Android service? I'm thinking of having the service continually check for the existence of a file on the SD card and exit when the file is deleted. Is this so bad? -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: in app upgrade with persistant data.

2012-12-05 Thread Nobu Games
Write a ContentProvider for your free version that offers the data files to the requesting paid version. You should define a permission for your ContentProvider with protectionLevel=signature so no unauthorized third party app can request that data from your ContentProvider (you must sign the p

[android-developers] in app upgrade with persistant data.

2012-12-05 Thread PSchuette
Hello, I have an application on google play that currently only has a free version. I would like the users to be able to upgrade to the paid version (from within the app or on google play) and maintain the data for the application in the SQLite database. In essence, is there an easy way to up

[android-developers] Re: Orientation issue in Tablet and Devices.

2012-12-05 Thread bob
Please see http://www.techrepublic.com/blog/app-builder/handling-orientation-changes-in-the-android-ui-framework/225 You should make a folder called layout-land, I think. On Tuesday, December 4, 2012 1:10:31 AM UTC-6, Seshu wrote: > > Hi All, > Currently i am developing an applicatio

[android-developers] Re: Orientation issue in Tablet and Devices.

2012-12-05 Thread bob
Please see http://www.techrepublic.com/blog/app-builder/handling-orientation-changes-in-the-android-ui-framework/225 You should make a folder called res-land, I think. On Tuesday, December 4, 2012 1:10:31 AM UTC-6, Seshu wrote: > > Hi All, > Currently i am developing an application fo

Re: [android-developers] hi friends

2012-12-05 Thread bob
Maybe this: tv.setPaintFlags(tv.getPaintFlags() & ~Paint.STRIKE_THRU_TEXT_FLAG); On Wednesday, December 5, 2012 6:00:21 AM UTC-6, sree wrote: > > TextView tv=(TextView) v.findViewById(android.R.id.text1); > > tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); > > using the abo

Re: [android-developers] how to play a video on an OpenGL texture

2012-12-05 Thread bob
Yes, you're right. I had to change the bind calls to this: GLES20.glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureID); Thanks. On Tuesday, December 4, 2012 6:06:18 PM UTC-6, RichardC wrote: > > I don't think your bind texture call is correct see *bold* below: > > *"The texture object uses the

[android-developers] Required: Sr. Java Developer at Boston, MA

2012-12-05 Thread Munawar Ali
Hi Friends, Hope you are doing fine. Please let me know if you have someone with you available for the below mentioned requirement... Please send profiles to m...@tekenergyusa.com *Position: Sr. Java Developer* *Location: Boston, MA* *Duration: 6+ Months Contract* *Required Skill:* - Minimum 8+

[android-developers] Re: Wake locks android

2012-12-05 Thread Streets Of Boston
In addition to acquiring a partial wake-lock, try to make your service a foreground service. This causes the service to be considered a foreground process and it shows the user a notification on the notification bar. See the method Service#startForeground(int id, Notification not) in the api-doc

[android-developers] Re: Miracast?

2012-12-05 Thread ekwang
I know latest Qualcomm support WFD with their own solution on JB. But the API doesn't open to public. Thanks. Lee. 2012년 11월 8일 목요일 오후 11시 21분 12초 UTC+9, Eric Wong (hdmp4.com) 님의 말: > > Does anyone knows if it is possible to build an apk to allow the a > non-Android 4.2 device to have Miracast c

[android-developers] Re: Orientation issue in Tablet and Devices.

2012-12-05 Thread Piren
i did... RTFM. If you're too lazy to actually do the very first couple of tutorial or read the documentation explaining this subject and instead just decide to ask for help, don't expect people to line up. On Wednesday, December 5, 2012 2:28:15 AM UTC-5, Seshu wrote: > > Can u give any soluti

[android-developers] Re: Homescreen widget - sizing font to fit content.

2012-12-05 Thread Piren
his suggestion is a step in the right direction... it just takes some work to accomplish properly. Android does not have a text widget that automatically resizes the font to fit the available space, so you'd have to create one... if you don't want to start from scratch, just do a search for aut

Re: [android-developers] hi friends

2012-12-05 Thread Παύλος-Πέτρος Τουρνάρης
Maybe setPaintFlags to null... Στις 5 Δεκ 2012 2:02 μ.μ., ο χρήστης "sree android" < android.sreeni...@gmail.com> έγραψε: > TextView tv=(TextView) v.findViewById(android.R.id.text1); > > tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); > > using the above line of code we can st

[android-developers] Re: Image background (not 9-patch) for an AppWidget

2012-12-05 Thread Mário César Mancinelli de Araújo
I created a file digital_clock_background.xml (inside res/drawable) and put this code: http://schemas.android.com/apk/res/android"; android:padding="10dp" android:shape="rectangle" > So my AppWidget layout is basically: http://schemas.android.com/apk/res/andr

Re: [android-developers] hi friends

2012-12-05 Thread sree android
TextView tv=(TextView) v.findViewById(android.R.id.text1); tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); using the above line of code we can strike the text,but how can i remove the strike on the text.like reverse of above. -- You received this message because you are sub

Re: [android-developers] PlusOneButton & activity result

2012-12-05 Thread A.F.
If on activityresults I call plusclient.disconnect() and plusclient.connect(), it refresh button label. But I don't think it the right way to do this :) Il giorno mercoledì 5 dicembre 2012 12:36:58 UTC+1, A.F. ha scritto: > > > PlusOneButton: > > http://developer.android.com/reference/com/googl

Re: [android-developers] PlusOneButton & activity result

2012-12-05 Thread A.F.
PlusOneButton: http://developer.android.com/reference/com/google/android/gms/plus/PlusOneButton.html It works if you instantiate PlusClient and create a PlusButton, but when you click on it, label +1 change into a rotating (indefinite) progress bar and it stay rotating forever. ActivityResult g

[android-developers] Re: Homescreen widget - sizing font to fit content.

2012-12-05 Thread MarkG123
Hmm, not had any luck with this. Anyone else ever got something working? Seems like a very simple requirement to achieve that's possibly unachievable... -- 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] PlusOneButton & activity result

2012-12-05 Thread Παύλος-Πέτρος Τουρνάρης
Where are these things you are talking about? And what exactly do you want to do? On Wed, Dec 5, 2012 at 1:09 PM, A.F. wrote: > When user click on a PlusOneButton it starts a new activity for result. > > +1 is actually saved, but button still display a rotating "progressbar" > forever. > > 1) W

Re: [android-developers] How to identify be setText Button with String Name from string.xml

2012-12-05 Thread Παύλος-Πέτρος Τουρνάρης
The String with the name btnButton is accessible through R.string.btnButton, for example: String myButtonText = getApplicationContext().getString(R.string.btnButton); The Button component is accessible through R.id.btnButton, for example: Button myButton = (Button) findViewById(R.id.btnButton);

[android-developers] PlusOneButton & activity result

2012-12-05 Thread A.F.
When user click on a PlusOneButton it starts a new activity for result. +1 is actually saved, but button still display a rotating "progressbar" forever. 1) What result is used for? I guess to do a custom action on +1 action by user 2) How can I refresh plusonebuttons status? I can't find any

[android-developers] Media Codec API problem - is it by design?

2012-12-05 Thread alex
Dear all, we finally have a working app decoding H264 video from a live source using the new MediaCodec API. If we do not pass any surface object in the Configure method of the MediaCodec, we can read the decoded buffers in YUV format after each call to DequeueOutputBuffer. Now, when we pass a

[android-developers] Re: MediaCodec API DequeOutputBuffer still returns -1

2012-12-05 Thread alex
Ok, well, it turned out, that this was a problem of the emulator, testing on a real device solved this problem. 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

Re: [android-developers] OAuth2 refresh token using Google Play Services

2012-12-05 Thread erdal
On Wednesday, December 5, 2012 12:14:49 AM UTC-8, Nikolay Elenkov wrote: > > On Wed, Dec 5, 2012 at 4:58 PM, erdal > > wrote: > > Thank you for your reply! > > > > We have a server that needs to do some periodic requests so we would > need > > the refresh token, > > I noticed there is a Bu

Re: [android-developers] Read data from android app and want to display on Web

2012-12-05 Thread Ashish Jain
Hi, This code talks about storing in DB and the code snippet is PHP. I don't want to use DB and want expose a RESTFUL webservice in android which will be consumed from web. Regards, Ashish Jain On Monday, 3 December 2012 15:31:42 UTC+5:30, Amey Bapat wrote: > Hi Ashish i hope this helps you

Re: [android-developers] How to send and receive the datas from webserver to client server using htttpurlconnection?

2012-12-05 Thread Michael Banzon
My initial response would be: Write some code! What have you tried so far? On Wed, Dec 5, 2012 at 10:02 AM, Tom wrote: > Hi, > > if know anyone answer this question "How to send and receive the datas from > webserver to client server using htttpurlconnection?". please help me.. > > Thanks in ad

[android-developers] How to send and receive the datas from webserver to client server using htttpurlconnection?

2012-12-05 Thread Tom
Hi, if know anyone answer this question "How to send and receive the datas from webserver to client server using htttpurlconnection?". please help me.. Thanks in advance... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

Re: [android-developers] Re: When can every developer reply to reviews?

2012-12-05 Thread Brill Pappin
Haha. The list of experience :) Seriously though, sometimes you just need to answer, but I think that if you find you have to do it am lot, something is wrong with your process. It took us a while, but we learned how to handle it. - Brill Keith Wiley wrote: >On Tuesday, December 4, 2012 4:0

Re: [android-developers] Read data from android app and want to display on Web

2012-12-05 Thread Mustafe Osman
dear all i want to learn anthroid and i never learn for my life please could you tell the easiest way to learn anthroid application and where can i find could you help me again On Mon, Dec 3, 2012 at 1:01 PM, Amey Bapat wrote: > Hi Ashish i hope this helps you.. > > http://www.codeproject.com/Ar

Re: [android-developers] OAuth2 refresh token using Google Play Services

2012-12-05 Thread Nikolay Elenkov
On Wed, Dec 5, 2012 at 4:58 PM, erdal wrote: > Thank you for your reply! > > We have a server that needs to do some periodic requests so we would need > the refresh token, > I noticed there is a Bundle extras parameter in the getToken function, but I > couldn't find any documentation for it. > If

[android-developers] Re: Migrating existing app to Google Maps API v2

2012-12-05 Thread Zsolt Vasvari
When I said trivial, I was only referring to the Fragment vs. Activity aspect. On Wednesday, December 5, 2012 4:43:30 AM UTC+8, Spiral123 wrote: > > I don't think its as trivial as you suspect I'm afraid. > > The API is new, not just an upgrade of the old one. We now have markers, > polylines