Re: [android-developers] Alaram Manager after 5 min

2012-07-08 Thread Rahul Kaushik
gotcha, tx RK On Sat, Jul 7, 2012 at 11:31 AM, TreKing wrote: > On Fri, Jul 6, 2012 at 5:21 AM, Rahul Kaushik wrote: > >> I need to call AlarmReceiver Call after evry 5 min but it is getting >> caaled after every sec pls tell wt am doing wrong > > > You are not calculating 5 minutes in milliseco

[android-developers] is the setStyle Method or similar available now..or still it is status quo?

2012-07-08 Thread maccoy
Can i set a style from one TextView to another? -- 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+unsubs

Re: [android-developers] Motorola Razr ICS upgrade broke my app

2012-07-08 Thread Yves Liu
Hi Kostya, Thank you. It worked. :) For some reason this new ICS update on Razr cares about it, but on other ICS devices they don't care. On Sun, Jul 8, 2012 at 12:18 PM, Kostya Vasilyev wrote: > The only thing that pops out of your description is the use of */* for mime > type. > > Have you t

Re: [android-developers] How to encrypt a username and password ?

2012-07-08 Thread Justin Anderson
This has nothing to do with Android... On Jul 8, 2012 10:24 PM, "mohammed Nuhail" wrote: > I am doing chat Application in Android... I have to encrypt and decrypt > username and password and stored it in database. > > -- > You received this message because you are subscribed to the Google > Group

[android-developers]

2012-07-08 Thread Yu Ho KWOK
I Sent from my iPhone -- 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 Fo

[android-developers] How to encrypt a username and password ?

2012-07-08 Thread mohammed Nuhail
I am doing chat Application in Android... I have to encrypt and decrypt username and password and stored it in database. -- 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.co

[android-developers] Re: [ASK] about get location using GPS

2012-07-08 Thread Alfa
it's work fine. thanks. i just cant use gps on emulator. cos i dont know about emulator control. when i set the location use emulator control, it works fine. thanks. On Saturday, May 26, 2012 3:47:12 PM UTC+7, Alfa wrote: > > hi, i want to get my location in longitude and latitude from gps, and

Re: [android-developers] Jelly Bean errors with LVL

2012-07-08 Thread Nikolay Elenkov
On Mon, Jul 9, 2012 at 11:27 AM, Nikolay Elenkov wrote: > On Fri, Jul 6, 2012 at 10:43 PM, H wrote: >> Looking at the javadoc on Signature.verify(), it looks like it has fixed one >> bug and introduced another: >> ... > > I can confirm that you get a NPE on second call on 4.1. BTW, my quick-and-

[android-developers] Lock orientation once the app started?

2012-07-08 Thread limtc
Is it possible to allow the app to start in either landscape or portrait, but ONCE the app started does not allow rotation? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@go

[android-developers] Orientation is Portrait but width/height is reversed?

2012-07-08 Thread limtc
I found an interesting issue in HTC Jetstream tablet running Android 3.1. I am not sure whether it is a bug or not but seems like it is. I have a drawing app where will work only in Portrait but I keep having issue in this tablet (but works fine elsewhere). The orientation is set to portrait in

Re: [android-developers] Re: Passing a string to a runnable

2012-07-08 Thread Yamanoor Sai Ram
Thanks for the reply. I do agree that my code needs some re-organization. This happens to be my first app. I found out the root cause of the problem. The message from the bluetooth device is broken on several occasions. I get 3 digit numbers from the device. The handler seems to read only 2 digit

Re: [android-developers] Jelly Bean errors with LVL

2012-07-08 Thread Nikolay Elenkov
On Fri, Jul 6, 2012 at 10:43 PM, H wrote: > Looking at the javadoc on Signature.verify(), it looks like it has fixed one > bug and introduced another: > > "Indicates whether the given signature can be verified using the public key > or a certificate of the signer. > This Signature instance is rese

[android-developers] Tab Widget issue

2012-07-08 Thread shubh
Hello to all, I create 3 intents of activities(which i add to TabHost) in my main TabActivity. I also have refresh and logout button with onClick method. When this button is clicked say refresh i

Re: [android-developers] Re: LoaderCallbacks.onLoadFinished unnecessarily called twice when rotating

2012-07-08 Thread Alex Lockwood
It might be because onQueryTextChange is being called on orientation changes... so restartLoader is called each time, thus resulting in two calls to onLoadFinished. I haven't tested this, but I suspect it is the problem here. I forgot my USB cable at work but I'll try to remember to test it out

Re: [android-developers] Can't get AVD to run my noddy app!

2012-07-08 Thread TreKing
On Sat, Jul 7, 2012 at 10:38 AM, Doug Ponsford wrote: > Ok, I waited for about 10 minutes the first time around - I would have > thought that would be long enough? > You'd think. I've heard of it taking hours for some people. > I have to reinstall it again anyway, so I'll try Java 1.6. I'll a

Re: [android-developers] Re: Passing a string to a runnable

2012-07-08 Thread G. Blake Meike
I am fairly certain that your problem has nothing to do with message passing. The basic messaging idiom you are using works just fine and you can, in a few minute and a few lines of code, verify that messages are passed immediately, not in 60 seconds. In particular, btw, the extra thread in y

Re: [android-developers] Motorola Razr ICS upgrade broke my app

2012-07-08 Thread Kostya Vasilyev
The only thing that pops out of your description is the use of */* for mime type. Have you tried using the actual mime type to see if it fixes the issue? -- K 2012/7/8 yves...@gmail.com > We have an app on the Market, which works for ICS (we tried on Galaxy > Nexus and Galaxy S3 etc), and olde

Re: [android-developers] Re: Put 3D object on screen and manage its location

2012-07-08 Thread Raghav Sood
Well, you'll need to modify it considerably for that, but it is do able. On Sun, Jul 8, 2012 at 11:31 PM, santy wrote: > Yes. I have already tried that code and it works fine, but that is only > for loading models, and I need to place them in the virtual space around > the device. Anyway, thank y

Re: [android-developers] Re: Passing a string to a runnable

2012-07-08 Thread Yamanoor Sai Ram
Thanks for the reply. The run() is actually executing the animation properly. There is no problem with the animation thread. It is executing an infinite loop. I would like to control a particular parameter of the animation: This is how I am passing the string to the runnable: case MESSAGE_READ:

Re: [android-developers] Re: Put 3D object on screen and manage its location

2012-07-08 Thread santy
Yes. I have already tried that code and it works fine, but that is only for loading models, and I need to place them in the virtual space around the device. Anyway, thank you very much Raghav El domingo, 8 de julio de 2012 19:55:18 UTC+2, Raghav Sood escribió: > > AndAR has a sample app capabl

Re: [android-developers] application launching process...?

2012-07-08 Thread Kristopher Micinski
You are probably looking for the BOOT_COMPLETED broadcast, that's approximately what it sounds like you want.. kris On Sun, Jul 8, 2012 at 1:57 PM, Abhilash baddam wrote: > Hi, > > Thanks for the reply. I am not expecting complete thing which I want, I am > expecting some guidance to understand

Re: [android-developers] application launching process...?

2012-07-08 Thread Abhilash baddam
Hi, Thanks for the reply. I am not expecting complete thing which I want, I am expecting some guidance to understand booting process in android and after the booting process home application will be launched right contain all system apps like Gmail, Email, PlayStore etc.. So how these apps getting

Re: [android-developers] Re: Put 3D object on screen and manage its location

2012-07-08 Thread Raghav Sood
AndAR has a sample app capable of loading some obj/mtl models. See http://code.google.com/p/andar On Sun, Jul 8, 2012 at 10:35 PM, santy wrote: > I´ve been trying and studying some examples but I don´t have > OpenGL knowledges enough to implement what I need. I´ve been trying with > Junaio too, b

Re: [android-developers] how are Android cameras 8 MP and up supported in Java?

2012-07-08 Thread Streets Of Boston
These questions have been going around on these boards before :-) And i dealt with these questions as well (I wrote a camera app that can deal with large pictures). You just have to deal with memory limitations. When you load or create a bitmap, it takes up RAM according to its size and config.

[android-developers] Re: Put 3D object on screen and manage its location

2012-07-08 Thread santy
I´ve been trying and studying some examples but I don´t have OpenGL knowledges enough to implement what I need. I´ve been trying with Junaio too, but It doesn´t fit to my project. I tried with LookAR too, but the resolution is very low. Is there any framework, as LookAR, that can do easily what

[android-developers] Supported Media Formats

2012-07-08 Thread Leonardo
Hi all, How doing for plays video in format TS (transport stream)? What version android? Here shows that supports MPEG-TS (.ts). Thanks! -- You received this message because you are subscribed to the Google Groups "Android Devel

Re: [android-developers] application launching process...?

2012-07-08 Thread Dianne Hackborn
This probably doesn't belong on android-developers, and your questions aren't really making sense. About all I can get from you use "someone tell me everything about how system apps are loaded," which covers a lot of territory, so nobody is going to spend hours try to write an overview that covers

Re: [android-developers] Separate design based on resolution. Android 2.3

2012-07-08 Thread Dianne Hackborn
I'm not sure what that means as a reply to my comment...? Android has had dp units since 1.6. The Galaxy Note definitely has dp units. You definitely want to use dp units on the Galaxy Note. The original poster was asking a question as if they are approaching their design in terms of pixels, wh

Re: [android-developers] Re: Passing a string to a runnable

2012-07-08 Thread G. Blake Meike
So, the method that you originally cited as the source of the problem is not called anywhere in the newly posted code! I'm guessing, this time, that "i" is a data member? The messaging part seems right, to me. I suspect that you problem has nothing to do with that. Is the loop in run() actua

Re: [android-developers] ViewFlipper

2012-07-08 Thread Narendra Singh Rathore
On Sun, Jul 8, 2012 at 3:31 PM, chandur mani wrote: > Thanks to all. > > I got it , through my logical itself. > > Ok Chandur, thats good. Will you please tell us how did you do that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

Re: [android-developers] Is it possible to Canvas.drawBitmap() directly to a file?

2012-07-08 Thread Francisco M. Marzoa Alonso
I do not think so, at least not straight forward. On 08/07/12 16:50, Guilherme Utrabo wrote: > I'm trying to reduce memory consuption of my app. It uses Canvas.drawBitmap > on a bitmap in memory, and when the drawing is complete, saves it to the > sdcard. > I'm wondering if there is any way to app

[android-developers] Place 3D object on virtual space

2012-07-08 Thread santy
Hello. I need to place a 3D object in the space near me. I mean, I want to place a 3D arrow 2 meters near me in the north direction, for example, so if I look with the camera at that direction I will see the arrow. I´ve been trying with min3, but I need to see the camera view while I see the arr

[android-developers] Is it possible to Canvas.drawBitmap() directly to a file?

2012-07-08 Thread Guilherme Utrabo
I'm trying to reduce memory consuption of my app. It uses Canvas.drawBitmap on a bitmap in memory, and when the drawing is complete, saves it to the sdcard. I'm wondering if there is any way to append the drawing direct to a file via stream, instead of writing the hole bitmap in memory. Do you guys

[android-developers] Payment issue

2012-07-08 Thread Francisco M. Marzoa Alonso
Hi there, I know this may not be the best place for this question, but I do not know a better one. Feel free of redirect me to such place if exists. I sent it also to the Admob group on google but no answer yet. Anyway I would like to read other developers opinions on this issue, as this is my fi

Re: [android-developers] Re: Passing a string to a runnable

2012-07-08 Thread Yamanoor Sai Ram
I am sorry for the lack of clarity. I posted only the code snippets as it might be really difficult to read the entire code. I am trying to update this thread from the main activity. Let me post a condensed version: public class MyProgressBar extends LinearLayout implements Runnable { ...

Re: [android-developers] API project ID vs. project number

2012-07-08 Thread Mark Murphy
FYI, I recommend you post GCM-related questions on the android-gcm Google Group. On Sun, Jul 8, 2012 at 6:01 AM, shushu wrote: > Hi, > Reading the "Getting started" in the cloud messaging documentation, the > project ID supposed to be taken from the URL of the API console. > It seems that calling

Re: [android-developers] detect home screen arrival

2012-07-08 Thread Mark Murphy
On Sun, Jul 8, 2012 at 5:57 AM, Narendra Singh Rathore wrote: > On Sat, Jul 7, 2012 at 3:26 PM, Mark Murphy wrote: >> Write your own home screen. > > Alright Mark, but how to do that? Not only is there a Home sample in your SDK, but I suspect that there are plenty of blog posts and such on the s

Re: [android-developers] for job

2012-07-08 Thread krishna kumar
me already elance ,so thanks 4 ur advice and u look go android market and look my app... callblockerx,advlocation -- 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] for job

2012-07-08 Thread Raghav Sood
Go look for one instead of spamming developer mailing lists. On Sun, Jul 8, 2012 at 4:49 PM, krishna kumar wrote: > hi All, > > i have 1 year 6 months experience in android field .i am > searching a job please help me. > > > > -- > You received this message because you are subscri

[android-developers] for job

2012-07-08 Thread krishna kumar
hi All, i have 1 year 6 months experience in android field .i am searching a job please help me. -- 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 un

Re: [android-developers] ViewFlipper

2012-07-08 Thread chandur mani
Thanks to all. I got it , through my logical itself. On Wed, Jun 27, 2012 at 7:48 PM, tarun sablok wrote: > Well this is not related to your queation Have you noticed that > while flipping through the views ViewFlipper leaks a lot of memory. > > > On Wed, Jun 27, 2012 at 12:05 PM, Narend

[android-developers] API project ID vs. project number

2012-07-08 Thread shushu
Hi, Reading the "Getting started" in the cloud messaging documentation, the project ID supposed to be taken from the URL of the API console. It seems that calling this the project ID is wrong, since this is "only" the project number. The pr

Re: [android-developers] detect home screen arrival

2012-07-08 Thread Narendra Singh Rathore
On Sat, Jul 7, 2012 at 3:26 PM, Mark Murphy wrote: > Write your own home screen. > > Alright Mark, but how to do that? I am sure, there will be another better way to do, what I want, and will definitely get that. Anyways, thanks for suggestion. -- You received this message because you are su

[android-developers] Re: MediaPlayer.setNextMediaPlayer

2012-07-08 Thread Doug
On Tuesday, July 3, 2012 2:42:57 PM UTC-7, b0b wrote: > > Related to setNextMediaPlayer it would great to have more info such as: > > - for which codecs will it handle gapless ? Are there restrictions ? > Can't imagine there would be a problem with codecs. The issue is that you want a continuo

Re: [android-developers] Separate design based on resolution. Android 2.3

2012-07-08 Thread Doug
Except in some cases (e.g. with that goofy Galaxy Note device). To quote the guide: *Note:* These minimum screen sizes were not as well defined prior to Android 3.0, so you may encounter some devices that are mis-classified between normal and large. These are also based on the physical resolut

[android-developers] Re: activity looses ArrayList<> items

2012-07-08 Thread Doug
What you really need to do is stop the thing that's updating your list before serializing it, then restart it from the point where it left off after deserializing it. Or find another way of coordinating this background work you're doing. Also, you shouldn't be calling restoreRecents in both on

[android-developers] Re: Sample for new MediaCodec API (available in Android 4.1)

2012-07-08 Thread Doug
There was a talk on this at Google I/O. It's probably your best bet right now. https://developers.google.com/events/io/sessions/gooio2012/117/ Doug On Sunday, July 1, 2012 4:39:16 PM UTC-7, JohnOR wrote: > > Hi, > > I just installed Android 4.1 (Jelly Bean) on to Nexus here (using ROM from >

[android-developers] Re: Method for passing information between Fragments

2012-07-08 Thread Doug
This pattern is documented. Use the host activity to pass messages between fragments as needed. http://developer.android.com/guide/components/fragments.html "Creating event callbacks to the activity" Doug On Friday, June 29, 2012 12:55:44 PM UTC-7, EpsilonOrion wrote: > > I currently have tw