Re: [android-developers] Lock screen customization

2012-02-04 Thread akhil raval
sure contact u at ni8 for sure -- 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...@googlegroup

Re: [android-developers] Lock screen customization

2012-02-04 Thread Dhaval Varia
I have seen one app named : ICE: In Case of Emergency http://www.appventive.com/ice Which provides this facility... Would you please guide me how this people did it?? On 2/5/12, akhil raval wrote: > it is possible or not ? for android application-- > Ever+ Never- > @kh!l R@v

Re: [android-developers] Lock screen customization

2012-02-04 Thread akhil raval
it is possible or not ? for android application-- Ever+ Never- @kh!l R@v@l (+91-96388-66691) (+91-74052-63600) -- 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] Lock screen customization

2012-02-04 Thread TreKing
On Sat, Feb 4, 2012 at 11:02 PM, Dhaval Varia wrote: > I wanted to put my app icon on the lock screen. You can't do that with the SDK. - TreKing -

[android-developers] Lock screen customization

2012-02-04 Thread Dhaval Varia
I wanted to put my app icon on the lock screen. So without unlocking the device i can fire my app. Plz help me to solve this issue.or provide some link from which i can learn. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: Newly installed widgets are not runnable on Honeycomb

2012-02-04 Thread David Ross
Thank you. Sigh, this sort of change is so very, very irritating. Who makes these decisions? Why change working behaviour? This is the sort of code bomb drop nonsense that is making it so very hard for Android developers to make robust software. No cogent explanation as the 'why' of this decision

Re: [android-developers] how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Ray Tayek
At 01:04 PM 2/4/2012, you wrote: On Sat, Feb 4, 2012 at 3:57 PM, Ray Tayek wrote: >> > i am looking at walking the layout tree. >> >> What is a "layout tree"? > > > i think it's what's in your main.xml. Um, OK. You don't need R to walk that. After you call setContentView(), call findViewById(an

[android-developers] Re: 32bit PNG in CS5

2012-02-04 Thread Oliviu Vais
I dont get it. So what do i have to do? On Feb 4, 10:38 pm, Romain Guy wrote: > In PS 8 bits means 8 bits per channel. So 8 bits * 4 (RGBA) = 32 bits. > > On Sat, Feb 4, 2012 at 4:07 AM, Oliviu Vais wrote: > > I am trying to make an icon for my android app. In the developers > > guide it says: "

[android-developers] Re: tabs onbackPressed

2012-02-04 Thread albnok
"alert", I am guessing, is static, and when you rotate the device, your activity is destroyed, but alert is kept. You'll probably want to do something like alert.dismiss() in your onDestroy. Then you need to remember to start it up again in onCreate. Though it would be highly recommended to move

Re: [android-developers] i need to have code for reading a imae from url

2012-02-04 Thread Farhan Tariq
try finding it on stackoverflow.com On Fri, Feb 3, 2012 at 4:53 PM, raju wrote: > i need some help in getting an image with the help of url bhai > > -- > 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] help me out in TimeTable APP

2012-02-04 Thread Farhan Tariq
Be more specific about the problem you are having. On Wed, Feb 1, 2012 at 4:05 PM, Sam wrote: > Hi frnz, > I have to submit the timetable app to my Professor as an assignment, > so please can any1 send me the code(java,xml,manifest etc) which > creates the timetable of an individual professor an

Re: [android-developers] timer,thread,imageview in android

2012-02-04 Thread Farhan Tariq
explain your requirements please... from what i can get from your subject, what you could do is have an async task download images and update an imageView. Call that imageView from a thread that sleeps for 5 seconds in a while loop... something rughly like this (it has a Lot of errors, wrote it ju

Re: [android-developers] HELP

2012-02-04 Thread Farhan Tariq
http://developer.android.com/sdk/index.html This should help :) On Sat, Feb 4, 2012 at 12:47 AM, TreKing wrote: > On Wed, Feb 1, 2012 at 7:57 PM, Mark McDonald > wrote: > >> I was hoping that I could get some >> advice on which software to use for my windows environment. I have >> downloaded

Re: [android-developers] imageview changing

2012-02-04 Thread Farhan Tariq
why do you need write a whole new class just to change image on an imageView? If this is all that you need to do, just set imageView's background drawable... something like this while(true){ imageView.setBackgroundDrawable(R.drawable.something); Thead.sleep(5000); } 2012/2/4 Salih Selamet

Re: [android-developers] how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Mark Murphy
On Sat, Feb 4, 2012 at 3:57 PM, Ray Tayek wrote: >> > i am looking at walking the layout tree. >> >> What is a "layout tree"? > > > i think it's what's in your main.xml. Um, OK. You don't need R to walk that. After you call setContentView(), call findViewById(android.R.id.content) to get the View

Re: [android-developers] Re: Problem loading HTML file from android_asset in Browser

2012-02-04 Thread Mark Murphy
On Sat, Feb 4, 2012 at 3:57 PM, Julian Bunn wrote: > Thanks, Mark - now I understand what is going wrong. I suppose if the > help file were on the > sdcard it would work. Or if you served it up by a ContentProvider. > Is there a recommended way of showing a help file in assets from > within an a

Re: [android-developers] Re: Problem loading HTML file from android_asset in Browser

2012-02-04 Thread Kristopher Micinski
What type of help file. If it's an HTML based file, then what else *could* you use besides a WebView? Alternatively you could just display it in a regular layout with some nice styling, and make it a bit more native within your app, why not just do that? kris On Sat, Feb 4, 2012 at 3:57 PM, Jul

[android-developers] Re: Problem loading HTML file from android_asset in Browser

2012-02-04 Thread Julian Bunn
Thanks, Mark - now I understand what is going wrong. I suppose if the help file were on the sdcard it would work. Is there a recommended way of showing a help file in assets from within an app - I've searched around and can't find anything appropriate. Using WebView seems like overkill. Julian O

Re: [android-developers] how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Ray Tayek
At 11:10 AM 2/4/2012, you wrote: On Sat, Feb 4, 2012 at 2:03 PM, Ray Tayek wrote: >> On Sat, Feb 4, 2012 at 3:54 AM, Ray Tayek wrote: >> > hi, newbie here, i am trying to programmatically look at stuff in R. i >> > want >> > to see how many names match match a simple regex. these will refer to

Re: [android-developers] 32bit PNG in CS5

2012-02-04 Thread Romain Guy
In PS 8 bits means 8 bits per channel. So 8 bits * 4 (RGBA) = 32 bits. On Sat, Feb 4, 2012 at 4:07 AM, Oliviu Vais wrote: > I am trying to make an icon for my android app. In the developers > guide it says: "Launcher icons should be 32-bit PNGs with an alpha > channel for transparency." I've made

[android-developers] TranslateAnimation and ImageView

2012-02-04 Thread Salih Selametoglu
im = ImageView im.setOnClickListener(new OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub setBackgroundResource(R.drawable.red

Re: [android-developers] adb refuses to recognize devices

2012-02-04 Thread Kostya Vasilyev
I've seen this with a device or two, with Linux Mint Debian Edition. To fix this, I changed the android udev rules to use my own login and group rather than the predefined "plugindev": SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", OWNER="kman", GROUP="kman" etc. Also, one of my d

Re: [android-developers] adb refuses to recognize devices

2012-02-04 Thread Chad A.
That works! You, sir, have saved my sanity, and my development machine from being smashed by a hard object. Thank you so much! Chad -- 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@

Re: [android-developers] how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Mark Murphy
On Sat, Feb 4, 2012 at 2:03 PM, Ray Tayek wrote: >> On Sat, Feb 4, 2012 at 3:54 AM, Ray Tayek wrote: >> > hi, newbie here, i am trying to programmatically look at stuff in R. i >> > want >> > to see how many names match match a simple regex. these will refer to >> > string >> > and string array r

Re: [android-developers] how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Ray Tayek
At 03:51 AM 2/4/2012, you wrote: On Sat, Feb 4, 2012 at 3:54 AM, Ray Tayek wrote: > hi, newbie here, i am trying to programmatically look at stuff in R. i want > to see how many names match match a simple regex. these will refer to string > and string array resources. Whatever you are trying

Re: [android-developers] adb refuses to recognize devices

2012-02-04 Thread Kristopher Micinski
Usually when I see this I have to change my udev rules... For example, this morning I had to do this with my Motorola Triumph, adding some udev rules for it to recognize. http://conjurecode.com/udev-rules-for-android-development-on-motorola-triumph/ I assume you have to do something similar for

[android-developers] adb refuses to recognize devices

2012-02-04 Thread Chad A.
Hi, I'm using debian linux, and suddenly (after months of successful development), adb refuses to recognize any of the hardware devices that I plug into the USB ports. adb shell, and adb logcat no longer work. And adb devices shows the following. List of devices attached no p

Re: [android-developers] how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Kristopher Micinski
On Sat, Feb 4, 2012 at 6:51 AM, Mark Murphy wrote: > On Sat, Feb 4, 2012 at 3:54 AM, Ray Tayek wrote: >> hi, newbie here, i am trying to programmatically look at stuff in R. i want >> to see how many names match match a simple regex. these will refer to string >> and string array resources. > > W

Re: [android-developers] Re: In-App Billing always fails with “Reason: Took too long to deliver”

2012-02-04 Thread Nikolay Elenkov
2012/2/5 Kostya Vasilyev : > 4 февраля 2012 г. 18:17 пользователь Nikolay Elenkov > написал: > > >> >> Apparently they increased the Google >> checkout timeout, >> but it still happens. While this may be unavoidable, > > > Unavoidable? > > Does the rest of the world's e-commerce suffer the same fa

Re: [android-developers] Re: LogCat not displaying TAG “SMS”

2012-02-04 Thread Kristopher Micinski
Hmm..., I had remembered seeing that a while back, but it's good of you to mention it again, thanks! kris On Tue, Jan 31, 2012 at 11:30 AM, PewterHydra wrote: > There are some tags that don't go to the default buffer, as has been > stated. > > You can view them by specifying which buffer to view

Re: [android-developers] Re: Audio Latency big problem on some devices

2012-02-04 Thread Mark Murphy
On Sat, Feb 4, 2012 at 11:43 AM, RLScott wrote: > Thanks for that link!  It says there in section 6.3 that: > > Using the above definitions, device implementations SHOULD exhibit > each of these properties: > • cold output latency of 100 milliseconds or less > • warm output latency of 10 milliseco

[android-developers] Re: Audio Latency big problem on some devices

2012-02-04 Thread RLScott
Thanks for that link! It says there in section 6.3 that: Using the above definitions, device implementations SHOULD exhibit each of these properties: • cold output latency of 100 milliseconds or less • warm output latency of 10 milliseconds or less • continuous output latency of 45 milliseconds o

Re: [android-developers] Audio Latency big problem on some devices

2012-02-04 Thread Mark Murphy
For devices that legitimately have the Android Market, audio latency has had requirements in the CDD since Android 2.2: http://source.android.com/compatibility/downloads.html I am not expert enough on the topic to know whether the requirements specified in the CDD meet your needs or not. You wil

[android-developers] Audio Latency big problem on some devices

2012-02-04 Thread RLScott
You wouldn't think 1024 samples at 22050 samples per second was especially low latency. And on most devices, using the AudioRecord class I have no trouble in getting individual buffers of 1024 samples (about 20 buffers per second) evenly spaced in time. But on at least one device, the timing seem

Re: [android-developers] Re: In-App Billing always fails with “Reason: Took too long to deliver”

2012-02-04 Thread Kostya Vasilyev
4 февраля 2012 г. 18:17 пользователь Nikolay Elenkov < nikolay.elen...@gmail.com> написал: > On Sat, Feb 4, 2012 at 7:18 AM, John Coryat wrote: > > Seeing that too on a couple of orders. Not a huge number though. A couple > > today. > > > > Bad deal that. I also see the same users trying again an

[android-developers] Android Animation Sound

2012-02-04 Thread Jatin D Patel
Hi all, I need to start playing sound at a specific frame. Is it possible in android.? For eg, I have 10 frames which animates one after the other. I need to start my sound file at frame 4. Is it possible.? Thanking in advance for help. -- Thanks, Jatin D N Patel -- You received this message

Re: [android-developers] Re: In-App Billing always fails with “Reason: Took too long to deliver”

2012-02-04 Thread Nikolay Elenkov
On Sat, Feb 4, 2012 at 7:18 AM, John Coryat wrote: > Seeing that too on a couple of orders. Not a huge number though. A couple > today. > > Bad deal that. I also see the same users trying again and hitting the same > error. It's been said that the cause of this is payment gateways failing to resp

Re: [android-developers] SSL/TLS and ECC (Elliptic curve cryptography)

2012-02-04 Thread Nikolay Elenkov
On Fri, Feb 3, 2012 at 6:14 PM, Kosmo Kosmorum wrote: > I'm developing an android application which communicates with a web > server. We use HTTPS for this communication and we have also a client > certificate inside the android application for authentication. > > We created SSL certificates using

[android-developers] Re: Sample of using Protobuff.net in android using eclipse

2012-02-04 Thread H
Have you tried http://lmgtfy.com/?q=protobuf&l=1 ...? Code, samples, documentation, all you need. On Feb 1, 10:24 pm, Zanjani wrote: > Hi guys, > I am new in android developing and need to use protobuff.net because > the web services already written  in this way. > could you please send me a samp

[android-developers] Re: Encoder???

2012-02-04 Thread skink
Muhammad UMER wrote: > I think, my server have to edit this file through RandomAccessFile after when > the server handle the inputstream form android. So i have to put a condition > to check the moov atom, when the moov atom find it get it's index. then edit > the file through RandomAccessFile

[android-developers] Re: Image comparison problem: getPixel() in android and getRGB() in JDK return different values for the same image

2012-02-04 Thread Ergen
Thanks. I tried it once, but that changed nothing. I'll try it again. I need solve the problem somehow. :) On 4 Feb., 01:42, gjs wrote: > Hi, > > Also maybe try .png format if possible. > > Regards > > On Feb 4, 8:21 am, Romain Guy wrote: > > > > > > > > > First make sure that both return value

RE: [android-developers] Re: Encoder???

2012-02-04 Thread Muhammad UMER
I think, my server have to edit this file through RandomAccessFile after when the server handle the inputstream form android. So i have to put a condition to check the moov atom, when the moov atom find it get it's index. then edit the file through RandomAccessFile to write bytes [0..27] and t

[android-developers] Re: Image comparison problem: getPixel() in android and getRGB() in JDK return different values for the same image

2012-02-04 Thread Ergen
Thanks. I've thought about it. And I tried to change the format _after_ loading the image. I created a new image IMG2 with new BufferedImage(width, hight, IMAGE_TYPE) and copied old image (also IMG1) into the new image as IMG2.createGraphics().drawRenderedImage(IMG1,null) Then i've tested all the

[android-developers] 32bit PNG in CS5

2012-02-04 Thread Oliviu Vais
I am trying to make an icon for my android app. In the developers guide it says: "Launcher icons should be 32-bit PNGs with an alpha channel for transparency." I've made the icon in CS5 but i cannot save it as PNG if i select 32 bit. If i select 16 or 8 bit i can save in PNG. Any ideas? -- You re

[android-developers] Re: Encoder???

2012-02-04 Thread skink
Muhammad UMER wrote: > Hi pskink, > > 4:ftyp > > > 32:mdat > > > 324042:ftyp > > > 324070:moov > > > > Ok 4 is starting bytes of ftyp, 324070 is starting bytes of moov, 32 is > starting bytes of mdat etc. > > so it means that subtract the starting position of mdat from starting > position o

Re: [android-developers] Problem loading HTML file from android_asset in Browser

2012-02-04 Thread Mark Murphy
You have two problems. First, you are using setClassName() with packages and classes that are not your own. Second, you are telling the opened activity to find a help.html file in its own application assets. file:///android_asset/help.html will be interpreted in the context of the app trying to u

Re: [android-developers] how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Mark Murphy
On Sat, Feb 4, 2012 at 3:54 AM, Ray Tayek wrote: > hi, newbie here, i am trying to programmatically look at stuff in R. i want > to see how many names match match a simple regex. these will refer to string > and string array resources. Whatever you are trying to do, there is probably a better sol

Re: [android-developers] Re: Newly installed widgets are not runnable on Honeycomb

2012-02-04 Thread Kostya Vasilyev
Yes, this changed starting with 3.1: http://developer.android.com/sdk/android-3.1.html#launchcontrols The end result is: App widget can't be added to the home screen immediately after the installation. The application's package needs to be moved from stopped to started state first. You can do

Re: [android-developers] Unable to open database file?

2012-02-04 Thread Kostya Vasilyev
When are you doing this? Perhaps a bit too early? I've not had any issues with opening database files from inside a content provider. My CP opens the db on demand, deferring the actual database open until the first call to the CP's query, etc. -- Kostya 3 февраля 2012 г. 5:08 пользователь Zsolt

[android-developers] imageview changing

2012-02-04 Thread Salih Selametoglu
package sample.deneme; import java.util.Timer; import java.util.TimerTask; import android.content.Context; import android.widget.ImageView; public class imageS extends ImageView  { private Timer _destroy; public imageS(Context context) { super(context);

[android-developers] Re: MS SQL connection

2012-02-04 Thread Tim
Dear Anand, There is no need to write layers of convoluted middleware using PHP, SOAP or REST. Android supports full JDBC connectivity to remote databases. There are many free JDBC drivers such as JTDS that can be embedded in your Android app to enable direct access to a remote SQL Server databa

Re: [android-developers] MS SQL connection

2012-02-04 Thread anand jh
am using java script in titanium n am not allowed to use php.so help me in it. -- 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 em

[android-developers] Re: how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Ray Tayek
At 12:54 AM 2/4/2012, Ray Tayek wrote: hi, newbie here, i am trying to programmatically look at stuff in R. i want to see how many names match match a simple regex. these will refer to string and string array resources found some clues in: http://stackoverflow.com/questions/3545196/android-pr

Re: [android-developers] Better UI Designing

2012-02-04 Thread TreKing
On Sat, Feb 4, 2012 at 1:19 AM, Brad Stintson wrote: > But would it help me design apps built for android 2.1+? > You can apply some of the concepts, if not outright implementation, for older versions. Or hire a designer - this stuff if hard. :)

[android-developers] how to examine resources in R programatically - Ignoring InnerClasses attribute

2012-02-04 Thread Ray Tayek
hi, newbie here, i am trying to programmatically look at stuff in R. i want to see how many names match match a simple regex. these will refer to string and string array resources. i can sorta get at the fields using reflection, but i get a warning (please see below) about: Ignoring InnerClass

[android-developers] Re: Regarding Auto Text application of android

2012-02-04 Thread Anil Jagtap
Auto Text? Do you mean Auto complete? If yes, http://developer.android.com/resources/tutorials/views/hello-autocomplete.html Cheers On Feb 3, 5:02 am, Tajinderpal Singh wrote: > hi everyone!!! i need help regarding my undertaking project Auto TexT. > I interested to know what features i can ad

[android-developers] Re: speex or jspeex support on android

2012-02-04 Thread Doug
Use jspeex just like you would if you were writing a regular java problem. If you need help with jspeex, you are asking in the wrong place. You would get more help from the creators of jspeex. Doug On Jan 31, 11:31 pm, hemant metalia wrote: > Hi, > please can anybody help me how use speex or j

[android-developers] Re: help regarding development of my app

2012-02-04 Thread Anil Jagtap
If you learn android application development first, I hope all your problems will vanish. Cheers On Feb 2, 7:20 am, gaurav prashar wrote: > sir, > i am trying to develop an android application for my college as my > final year engineering project. > this will be an applicaton that consists of fo

[android-developers] Re: Radio buttons with items in a ListView bound to a data table

2012-02-04 Thread blagdonman
Correction to original post: the reference to built-in layouts should, of course, read as "android.R.layout.simple_list_item_single_choice or android.R.layout.simple_list_item_multiple_choice". -- You received this message because you are subscribed to the Google Groups "Android Developers" gro