[android-developers] Re: Database error

2011-07-09 Thread Raghav Sood
UPDATE: I fixed it. I had a typo in the create statement. I accidentally added a bracket after on of the floats. On Sat, Jul 9, 2011 at 12:17 PM, Raghav Sood wrote: > Hi all, > > I am creating a database to store the list of earthquakes as an update to > my existing app. > > I am receiving an er

[android-developers] Update widget(s) after application changes

2011-07-09 Thread Davy
Hi, I have an application that includes a couple of widgets. During development, I place the widgets on the homescreen of the emulator and start developing. When I'm working in Eclipse, and I'm pushing a new version of my app to the emulator, I sometimes have the impression that the widgets ar

[android-developers] Re: Romain Guy/Diane Help!

2011-07-09 Thread Peter Sinnott
Market questions don't usually get an official response here but I guess it is as good a place as any. I would have thought / hoped you had better support options. Does anyone know if "Don’t worry, you won’t be creating a duplicate, the apps are exactly the same and the updated version will simply

[android-developers] Re: Question about the values of the Audio Buffer

2011-07-09 Thread Doug
On Jul 7, 12:53 pm, jdarladimas wrote: > Do you happen to know what the negative vanues mean and what does each > buffer element represent? Is it a specific audio frequency? You should read up on PCM audio data to know what to do with it (Google it). At this point, it's no longer an Android issu

[android-developers] Re: MediaPlayer - Streaming

2011-07-09 Thread Doug
Is that URL a streamable media file playable by Android? It doesn't look like that to me. Doug On Jul 7, 1:51 am, Thanh Le Cong wrote: > Hello Everybody, > I want to use MediaPlayer play a file mp3 or video with Streaming. I have > code: >                try { >                     String path

[android-developers] Re: Galaxy Tab and Market filtering

2011-07-09 Thread Doug
On Jul 7, 11:47 pm, nadam wrote: > The old Galaxy Tab 7" is said to be a large mdpi device but it uses > hdpi drawables. Yup. That's how they implemented it, and it kind of sucks. You can Google this for more info. My advice is not to sweat this one and let your app look bad on that device. D

[android-developers] Re: How can Button clicks be sent to a View that has been disabled?

2011-07-09 Thread Doug
What is "do some stuff" doing? When you make changes to the UI, they don't commit until after the current batch of code fully completes on the UI thread. In your case, "do some stuff" will execute prior to the button being disabled. So if you're doing some lengthy stuff in there, the user might

Re: [android-developers] Update widget(s) after application changes

2011-07-09 Thread Kostya Vasilyev
There are two issues here. One is, what happens to widgets when the application package is updated (during development or via a Market update). The way it's supposed to work is that all widgets get a chance to update via onUpdate. In practice, I've seen onUpdate get called, but the widget no

[android-developers] Re: Galaxy Tab and Market filtering

2011-07-09 Thread nadam
Yup. They made it for a pretty good reason though. They tried using mdpi drawables, but so many apps simply looked better with hdpi drawables. Unfortunately, many developers still think that mdpi means 320x480. And many developers ignore tablets because they are expensive and the emulator is too s

[android-developers] how to display the current date in TextView

2011-07-09 Thread muthumani
I am new to android can any say me how to display the current date in TextView? i tried but it displays both time and date in the 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-develop

[android-developers] Re: App not visible from Android Market on the device

2011-07-09 Thread nadam
Android Market has behaved a bit strangely lately. I uploaded an update to one of my apps as well as an updated screenshot. The screenshot got updated immediately on the market while the app took some hours to appear. On 7 Juli, 20:31, "Manuel R. Ciosici" wrote: > All of a sudden the app is visib

[android-developers] How to get device version number programmatically

2011-07-09 Thread Suraj Gopalakrishnan
Hi All, We can get the model of the device using android.os.Build.MODEL My question is how do we get the device version? -- Best Regards, Suraj Gopalakrishnan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

Re: [android-developers] how to display the current date in TextView

2011-07-09 Thread Mark Murphy
This has nothing to do with Android. http://exampledepot.com/egs/java.text/FormatDate.html On Sat, Jul 9, 2011 at 6:07 AM, muthumani wrote: > I am new to android can any say me how to display the current date in > TextView? i tried but it displays both time and date in the TextView. -- Mark Mu

Re: [android-developers] How to get device version number programmatically

2011-07-09 Thread Mark Murphy
Devices don't have versions. On Sat, Jul 9, 2011 at 6:26 AM, Suraj Gopalakrishnan wrote: > Hi All, > We can get the model of the device using android.os.Build.MODEL > My question is how do we get the device version? > > -- > Best Regards, > Suraj Gopalakrishnan > > -- > You received this message

Re: [android-developers] How to get device version number programmatically

2011-07-09 Thread Suraj Gopalakrishnan
Then, what does TelephonyManager.getDeviceSoftwareVersion() return? Best Regards, Suraj Gopalakrishnan -- 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

Re: [android-developers] Unable to run the streaming video - URGENT & CRITICAL

2011-07-09 Thread Marcin Orlowski
On Jul 8, 2011 12:20 PM, "BZ" wrote: > Its urgent and critical no, it isn't. -- 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

Re: [android-developers] How to get device version number programmatically

2011-07-09 Thread Mark Murphy
On Sat, Jul 9, 2011 at 6:47 AM, Suraj Gopalakrishnan wrote: > Then, what does TelephonyManager.getDeviceSoftwareVersion() return? First, that refers to software, not hardware. Devices are hardware. Device software is software. Hardware is not software. Software has versions, which may change over

[android-developers] NEED HELP TO SHOW DIALOG

2011-07-09 Thread shailesh mistry
HELLO FRIENDS, I AM FRESHER AND I HAVE A DIFFICULTY FOR DEVELOPMENT... I HAVE MADE A APPLICATION WITH LOGIN PAGE, HOME PAGE & DATA LIST PAGE,... ONCE I LOGIN AFTER THAT I WILL RUN A THREAD IN BACK GROUND WHEN IT COMPLETE I WANT TO SEE ITS DONE ALERT( DIALOG ).. EVEN I MAY BE SEE PAGE HOME OR DATA

Re: [android-developers] Re: Can somebody give me a Google+ invitation?

2011-07-09 Thread Farhan Tariq
ROFLMAO omg hillarious ! On Sat, Jul 9, 2011 at 11:58 AM, Ali Chousein wrote: > Fei, please come and join Google+ (Is this good enougn > invitation? :-) ) > > -- > Ali Chousein > Geo-Filtered Assistant > http://geo-filtered-assistant.blogspot.com/ > Cisco Android marketplace (Chosen

Re: [android-developers] How to get device version number programmatically

2011-07-09 Thread Mark Murphy
I would like to apologize for the tone of my previous reply -- it was uncalled for. On Sat, Jul 9, 2011 at 7:10 AM, Mark Murphy wrote: > On Sat, Jul 9, 2011 at 6:47 AM, Suraj Gopalakrishnan > wrote: >> Then, what does TelephonyManager.getDeviceSoftwareVersion() return? > > First, that refers to

Re: [android-developers] How to get device version number programmatically

2011-07-09 Thread Suraj Gopalakrishnan
Thats OK Mark and thanks for the info :) On Sat, Jul 9, 2011 at 4:59 PM, Mark Murphy wrote: > I would like to apologize for the tone of my previous reply -- it was > uncalled for. > > On Sat, Jul 9, 2011 at 7:10 AM, Mark Murphy > wrote: > > On Sat, Jul 9, 2011 at 6:47 AM, Suraj Gopalakrishnan

[android-developers] Localization

2011-07-09 Thread Ahmed Shoeib
hi , i want to make button when i press it ... the app language will change without need to close the app and open it again can i do this step ??? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Re: EditText and the unwanted Quick Search Box

2011-07-09 Thread Eric Carman
I believe that I've come up with a work-around - at least in my case. I don't know why this works, but the problem hasn't reappeared in the last month after making these changes. The app has TTS and Voice Recognition. I was doing all the setup by creating an asynctask from the onCreate of the m

[android-developers] My Anti Cracking Function

2011-07-09 Thread Sanchiski
Hello everyone, I am placing next my anti-cracking\anti-reverse- engineering function. The idea of sharing this function is to allow other developers to get its benefits, and also to get more ideas for improvement, and even though exposing it to hackers makes it weaker, the idea is also that the fu

[android-developers] My anti-cracking \ anti-reverse-engineering function

2011-07-09 Thread Sanchiski
Hello everyone, I am placing next my anti-cracking\anti-reverse- engineering function. The idea of sharing this function is to allow other developers to get its benefits, and also to get more ideas for improvement, and even though exposing it to hackers makes it weaker, the idea is also that the fu

Re: [android-developers] Localization

2011-07-09 Thread Raghav Sood
I don't know if there is a better way to do it. You could have an amazingly large number of setText();s for each and everything you want to change the text of. Thanks On Sat, Jul 9, 2011 at 5:57 PM, Ahmed Shoeib wrote: > hi , > > i want to make button when i press it ... the app language wi

[android-developers] Invalidate only one map overlay

2011-07-09 Thread Joan Pujol
Hi, I'm doing my own MyLocationOverlay implementation to bypass extremely slow current position display. The problem that I've is that I want to make a little animation changing the color of the position marker and the only way I know to redraw is to call invalidate o MapView. But that way I a

[android-developers] InApp Billing problems

2011-07-09 Thread Joan Pujol
Hi, I plan to use InApp billing to provide a premium version with some extra features and without ads. But I'm concerned of some problems reported here on the forum like that . I've been tracking some of that problems

Re: [android-developers] InApp Billing problems

2011-07-09 Thread Kostya Vasilyev
Joan, I'm seeing two somewhat serious issues right now. First, if an order doesn't go through on the first try (either incorrect credit card data, or the mysterious Google error where they are "unable to process the transaction in a timely fashion"), then the application will never receive a

Re: [android-developers] Help. I need to pull and eventually send a value via webview

2011-07-09 Thread Richard Diuk
OK. Awesome I will give it a try this week and let you know. I appreciate the help. On Fri, Jul 8, 2011 at 2:39 PM, Filip Havlicek wrote: > To download the data, you can use either standard Java URL and > URLConnection classes or the HttpClient from apache included in Android. > Googling those c

[android-developers] Re: On CRC32, LVL and tamper-proof app

2011-07-09 Thread Sanchiski
just in case anyone is interesting, I posted the my algorithm to avoid tempering of applications: http://groups.google.com/group/android-developers/browse_thread/thread/5e8f76ea5371f674/4637cbf1c42dfd22?lnk=gst&q=crc#4637cbf1c42dfd22 On Jun 12, 11:02 pm, Kostya Vasilyev wrote: > He can move to

[android-developers] Re: My anti-cracking \ anti-reverse-engineering function

2011-07-09 Thread H
Good idea, but I can see immediately how anti-lvl can be adjusted to get around this with only a couple of lines of xml. I don't want to be dismissive of all the effort you've done here, but I've spent just as much time coming up with cunningly similar solutions only to see them broken by a sin

[android-developers] Re: List in appwidget going blank suddenly, Error in updateMetaData

2011-07-09 Thread Padma
This issue is mainly coming up when the RemoteViewsService is killed automatically by android. And when we change the orientation from portrait to landscape or vice versa, the RemoteViewsService is getting created, the RemoteVIewsFactory is getting instantiated. However the getViewsAt is not gettin

[android-developers] Re: NullPointerException when checking for orientation

2011-07-09 Thread Kim
Thanks, Kostya, I found it. It was the getActivity(). On Jul 7, 12:05 pm, Kostya Vasilyev wrote: > A complex expression like this can cause a bit of confusion with line > numbers. > > You can watch it in the debugger, while single-stepping, the current > line can jump down and up. I suppose it's

[android-developers] Re: On CRC32, LVL and tamper-proof app

2011-07-09 Thread Peter Sinnott
On Jun 12, 9:59 pm, String wrote: > Wait...  He's hosting this crap on BLOGGER?!?  And we still can't get Google > to shut the site down?? > > Wow. They care even less about Android piracy than I realized. > > String Better yet they advertise on his site. Google sure do know how to make money

Re: [android-developers] NEED HELP TO SHOW DIALOG

2011-07-09 Thread TreKing
On Sat, Jul 9, 2011 at 6:17 AM, shailesh mistry < shailesh.mistry@gmail.com> wrote: > PLEASE HELP ME HOW TO DO THIS > Please stop yelling. Please read the documentation section on dialogs. Please explain in clear terms what precisely you need assistance with.

[android-developers] Re: Using StaticLayout with a canvas to draw text.

2011-07-09 Thread lilbyrdie
The translate() method is, indeed, the easiest. For instance, canvas.save(); canvas.translate(25.0f, 15.0f); layout.draw(canvas); canvas.restore(); -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

[android-developers] Re: Unable to run the streaming video - URGENT & CRITICAL

2011-07-09 Thread Doug
On Jul 7, 7:26 am, BZ wrote: > I am trying to run the video but it gives me white screen. Can anyone > please help me asap. Its urgent and critical First, calm down and take a deep breath. I don't think anyone is going to get hurt. Second, VideoView and stream video are not simple things to han

[android-developers] Re: displaying thumbnails for the videos which are streamed from youtube

2011-07-09 Thread Doug
The documentation for ThumbnailUtils.createVideoThumbnail says it takes a file path (local) for the first argument, not a URL. I wouldn't expect it to somehow download the video and make a thumbnail out of it. Doug On Jul 8, 5:45 am, Anusha D wrote: > Hi, > > I am trying to display thumbnails f

[android-developers] Re: android nfc tech API help

2011-07-09 Thread Michael Roland
Hallo Sumit, > Can you please tell me how can read data from this type of card? > Also, is there any way to find the type of card from coding? Well, that depends on what type of card you have. Knowing that the card is "ISO 14443 Type B" is certainly not enough to figure out how this card's data c

Re: [android-developers] Track User moves

2011-07-09 Thread Kubilay D . Yılmaz
get bearing calculation gives angle between two coordinates to north . for example if I am in a car and turn 90° right, bearing calculation does not give me 90°, how can i convert it ? thank you On 6 July 2011 02:07, Kubilay D. Yılmaz wrote: > great man, > thank you so much, > i am trying > > >

Re: [android-developers] Track User moves

2011-07-09 Thread Kubilay D . Yılmaz
for e.q. on below address, they explained, android get bearing gives like below? http://www.mathsrevision.net/gcse/pages.php?page=12 On 9 July 2011 23:21, Kubilay D. Yılmaz wrote: > get bearing calculation gives angle between two coordinates to north . > for example if I am in a car and turn 90°

[android-developers] Re: NFC card emulation, NXP PN544 and S2C (NFC-WI)

2011-07-09 Thread Michael Roland
Hallo, > the Nexus S device NXP PN544 NFC controller supports not only SWP for > UICC based SE, but also the S2C (aka NFC-WI) Correct. > for the external, e.g. > micro SD card SE. Does anybody know how this can be enabled and what > it means for the SD card? Well, as you mentioned yourself ther

[android-developers] Highlight text incrementally

2011-07-09 Thread Android Beta
I have an application that will read what will be on a webpage and it will be highlighted. I have finished reading the webpage and putting it into a converter that then start saying it out loud. I want to know how to highlight the word when it starts talking and change which word is highlighted. Is

Re: [android-developers] Update widget(s) after application changes

2011-07-09 Thread Davy
Thanks for the reply I'm also seeing on occasion that the widget is not reflecting the update, and stopped functioning. I even had at one point that the images on the widget were totally messed up (ex: drawables that are only shown on the main app activity all of a sudden appeared on the wi

[android-developers] Honeycomb and Gingerbread update introduced weird GPS behavior

2011-07-09 Thread Davy
Hi, I have a problem with an app using the LocationManager, to get location fixes via GPS on a user defined interval. I'm originally tested the app on 2 devices (Galaxy S running Eclair, and Asus Transformer tablet running Honeycomb 3.0.1). After I updated the Galaxy S) from Eclair to Gingerbr

[android-developers] videoView onComplete

2011-07-09 Thread New Developer
using a videoView stopPlayback does not seem to call the onComplete How can one force the onComplete call to take place at or near the end of a video ? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Re: Closing AppWidget when force closing an application

2011-07-09 Thread Jose_GD
Marcos, AFAIK, with that operation you're removing you appwidget from memory,that's the reason it doesn't work anymore. The only way to remove the widget from home screen is dragging it to the trashbin. Best regards, José -- You received this message because you are subscribed to the Google

[android-developers] wireless screenshots

2011-07-09 Thread bob
How do you take screenshots of an app when your phone isn't connected to your PC? -- 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

[android-developers] Lack of clicking in ListView

2011-07-09 Thread arudzki
All, I'm writing an app that has 3 tabs and a ListView as its first screen. Here is a portion of the class that sets up the 3 tabs with icons and then creates an intent for the MyList.class that is my ListView class. This works. I can select the different tabs and it switches between the three

Re: [android-developers] Lack of clicking in ListView

2011-07-09 Thread krishna kumar
How to block the call in 2.3 please help me... i have done in 2.2.. -- 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] Lack of clicking in ListView

2011-07-09 Thread krishna kumar
Hi please help me... how to hung up call in 2.3 i have done call blockbut not working hung up function any body please help me.. it's urgent thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: wireless screenshots

2011-07-09 Thread Gerhard
You an use adbwireless On 9 Jul., 23:57, bob wrote: > How do you take screenshots of an app when your phone isn't connected > to your PC? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop