[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-25 Thread focuser
Mike - I think Apple's approach may be good for Apple, and probably not that compatible with the openness of Android? Also, what's better of Apple's approach other than that users don't have to give their identity (email addresses etc) to individual developers? If you suggest it here, we could def

[android-developers] Re: Could I get available package from somewhere?

2010-02-25 Thread Kumar Bibek
Which package are you looking for? On Feb 26, 11:17 am, wangsuya wrote: > Dear every one > >      Because I could not get avaible package from "Android SDK and AVD > manager" of eclipse, could I get this avaible packages from somepalce? > hope help thanks in advance -- You received this message

[android-developers] Re: Piracy sucks, or does it?

2010-02-25 Thread ko5tik
Backdating the Phone would be major PITA , and surely screw up all the calendar and synchronization stuff. Is the app in question as expensive to mandate this PITA? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: A question about Android Compass sensitivity

2010-02-25 Thread ko5tik
On Feb 25, 11:33 am, Arindam Nath wrote: > Hello, > > I am thinking of developing an app on android to measure small > distance of up to .5 meters and the direction of motion. The problem > is this that i dont know wether i can rely on the inbuilt compass > reading to measure such a small change

[android-developers] what are 9-patch bad patches?

2010-02-25 Thread OldSkoolMark
I've created some button .pngs in CS4 Fireworks and have loaded them into draw9patch. The shadow effects I'm using to create a 3D-ish look- and-feel cause the draw9patch tool to mark all the stretchable areas as 'bad'. What artifacts are created when 'bad patches' are stretched? How do I steer clea

[android-developers] Re: Dialog goes away on click of search button

2010-02-25 Thread A R
Bolha, Thanks for responding. Dialog is created using onCreateDialog and I am invoking it by showDialog(int id) Below is the code. When my PurchaseActivity starts I do not want the dialog to go away until I get response from the server but clicking on the search button removes it. For now I have

[android-developers] Could I get available package from somewhere?

2010-02-25 Thread wangsuya
Dear every one Because I could not get avaible package from "Android SDK and AVD manager" of eclipse, could I get this avaible packages from somepalce? hope help thanks in advance -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Simple Audio MediaController for Audio

2010-02-25 Thread SurtaX
Hi guys, I've been unable to successfully hookup a MediaController to an audio MediaPlayer. I've successfully created a MediaPlayer to play audio. And i've also programatically instantiated a MediaController. MediaPlayer mp = myclass.getMediaPlayer(); //My custom class that returns the current m

Re: [android-developers] Obtain unicode string for Roslien Language

2010-02-25 Thread Frank Weiss
Your question is puzzling me. First, I can't find any reference to standard Unicode character code for a "Roselian" alphabet on the internet. My best suggestion is you refer to the creator of the ttf file to find more information. On Thu, Feb 25, 2010 at 12:37 AM, Takami Labs wrote: > Hi, > > I

[android-developers] Alert Dialog to display across activities?

2010-02-25 Thread Sam
Does anyone know if it's possible to get a Dialog box to display between activities? I've looked and haven't been able to find a solution. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] LOVERS SPECIAL

2010-02-25 Thread antriya zen
hi, we meet ,we talk,we exchange ideas,we grow together.this is an oppurtunity to tap into the best brains in the world, to share ideas,. we believe life is too short and too beautiful not to be enjoyed ..JUST WATCH AND ENJOY YOUR LIFE http:www.joshuanet.in making money is ha

FW: [android-developers] Re: FormatDateTime

2010-02-25 Thread Nick Owens
All: So I realized my date/time is already formatted by time zone and re-adding the default time zone was subtracting the time zone offset again from the time! So, new code to replace the formatting function is below: Date date = df.parse(dateTime);

[android-developers] Re: Piracy sucks, or does it?

2010-02-25 Thread Anthoni
On Feb 25, 10:49 pm, Angel Cruz wrote: > Just wondering about the bomb idea: > What if the user changes the date back a week from the bomb deadline? Just to interject on this thought. It is possible (Granted extra code and you need to weigh up if it's worth it, or create a library) to track the

[android-developers] Re: What replaced activityCreator ?

2010-02-25 Thread Brian
I see now that it has been replaced by android create project as documented on this web page http://developer.android.com/guide/tutorials/hello-world.html On Feb 24, 11:21 pm, Brian wrote: > I have noticed several tutorials use the activityCreator script, for > doing various different types of bu

[android-developers] Re: I want to use assist code on the Eclipse.

2010-02-25 Thread taehun zzang
It's work. thanks a lot. Have got day Anithian, and Bob -- 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-develope

[android-developers] Re: why I can't see google's nexus one from eclipse

2010-02-25 Thread DonFrench
> The drivers that come with the latest Android SDK download work well > for Vista 64bit and Windows 7 64bit (i used it on both). I don't know > about XP 64bit, though... I do! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

[android-developers] Re: intercept sms

2010-02-25 Thread nigel
Thank you for your answer. Can I let my app have a high priority than default sms that I can receive the message before it? Or have any another ways to prevent sms receive short message? I only have a demand that prevent sms receive some short message which matches conditions I specify. On 24 Feb

[android-developers] Request for onScroll example?

2010-02-25 Thread BobG
I would love for one of you smart folks to show me a small example that increments/decrements a count on onScroll up and down and prints it out. I'm still unsure of the sequence of extends and implements and super and listener and what order they are declared/invoked/ instantiated. Thanks. It will

[android-developers] Re: bug reporting

2010-02-25 Thread laphroaig15
A follow up. I'm close to a working prototype as I described a few weeks ago. The code looks like it was written by someone who's only been developing Android apps for two months (DH and MM would reach through the screen to strangle me) and the UI looks like it was designed by a developer, but ho

Re: [android-developers] Re: Error with custom made popup marker

2010-02-25 Thread TreKing
On Thu, Feb 25, 2010 at 6:13 PM, eyedol wrote: > Still throws that same exception. Which is what? What's the full stack trace? Have you tried using your debugger and stepping through the code in question to see what's null at that point?

[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-25 Thread mssmison
I love this idea! I'd like to build it into the source itself, that would be a life saver.. lol -- 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 th

[android-developers] Re: making videogame - newbie need help =P

2010-02-25 Thread Martin
Yes, use a SurfaceView!!! At the beginning I also made the mistake using ImageViews. Use a SurfaceView!! Learn this: http://www.droidnova.com/playing-with-graphics-in-android-part-i,147.html Greetings, Martin On 26 Feb., 00:58, Jason Arora wrote: > I agree 100% with Robert. For a real-time vid

[android-developers] Re: Error with custom made popup marker

2010-02-25 Thread eyedol
Still throws that same exception. On Feb 25, 6:34 pm, TreKing wrote: > On Thu, Feb 25, 2010 at 11:27 AM, eyedol wrote: > > The issue is, I haven't extended the Activity class. > > My class extends another class. > > Well, I'm assuming you're using MapActivity at some point since you > mentioned

[android-developers] HTML5 applicationCache.update()

2010-02-25 Thread mayor
the HTML5 applicationCache in the 2.x browser is working well except for one problem: when you force a cache update in JavaScript (window.applicationCache.update()) then it doesn't go out to the web to check the manifest it just throws the "checking" and then the "noupdate" events. I imagine that

[android-developers] Re: making videogame - newbie need help =P

2010-02-25 Thread Jason Arora
I agree 100% with Robert. For a real-time video game, you want to stay away from High-level GUI components. Kofa, it sounds like you are making good progress. Are you using a SurfaceView to draw the world and cities onto yet? I recommend that you do not work on the Game Menu yet. In my opinion, t

[android-developers] Re: Crash in glDrawElements() using VBOs just after glBufferData()

2010-02-25 Thread Robert Green
Viktor, Would you be willing to show a bit of your DynamicBuffer code so I can see what it's doing? It's hard for me to help when there's a black box in the middle. On Feb 25, 1:41 pm, Viktor Linder wrote: > To clarify, in the original example, no buffer is allocated. The call > to "DynamicBuff

[android-developers] Re: AudioTrack.getPlaybackHeadPosi tion() is buggy????

2010-02-25 Thread HeHe
thanks, though therein i didnt find anything about getPlaybackHeadPosition() i just cannot believe that a simple function like getPlaybackHeadPosition() can go wrong. anyone has getPlaybackHeadPosition() work with pause()? On Feb 25, 12:38 am, blindfold wrote: > See the earlier > threadht

[android-developers] Re: Gridview loads in reverse on onConfigurationChanged

2010-02-25 Thread Bolha
Hi, Streets Of Boston. I haven't thought about that, maybe because my GridView shows very few elements (like 10 or 20). Although seeing the getView method passing or not an instantiated view, I didn't realize that it was caching just the visible views. But how can we fix the sorting problem witho

[android-developers] Re: Dialog goes away on click of search button

2010-02-25 Thread Bolha
Amit, How are you creating the dialog? Sometimes, when creating a dialog outside the overriden method "onCreateDialog" (from Activity class), the dialog can have strange behaviors (mainly because it sometimes the dialog instance is lacking a reference to its parent). Can you post a piece of your s

Re: [android-developers] Re: Piracy sucks, or does it?

2010-02-25 Thread Angel Cruz
Just wondering about the bomb idea: What if the user changes the date back a week from the bomb deadline? On Thu, Feb 25, 2010 at 2:41 PM, SoftwareForMe.com SoftwareForMe.com < softwareforme@gmail.com> wrote: > Hello, > > It's a double-edged sword, isn't it? > > Personally, we are happy that

Re: [android-developers] Re: Piracy sucks, or does it?

2010-02-25 Thread SoftwareForMe.com SoftwareForMe.com
Hello, It's a double-edged sword, isn't it? Personally, we are happy that so many are interested in what we build. I mean, we are geeks and take pleasure in the tools and in others getting use out of them. However, we also lament the loss of revenue that is be caused by piracy. I personally agr

RE: [android-developers] Re: FormatDateTime

2010-02-25 Thread Nick Owens
Mark (et. al. interested parties): Thank you for the example on reflection. I got it working and thought it might be prudent to share my results w/ the world so the completed code is below. For the record, this date value (as a string) is being retrieved from a SQLite database and the function f

[android-developers] Re: Free Version of App

2010-02-25 Thread Bob Kerns
If you want to handle the case where the app has been uninstalled and reinstallled, I think your best bet is to store activation data off- device via the network. A fairly secure way of doing this is to create a Certificate Request to your server, including your device ID in the DN, and send back

[android-developers] Re: Free Version of App

2010-02-25 Thread Bob Kerns
The reason I'm leaning toward using a provider is because it simplifies dealing with different versions of the "from" application. Not perfectly, of course, and there's other ways to accomplish the same thing. Since these are essentially the same app, a little intimate knowledge of the inner worki

Re: [android-developers] Android Database

2010-02-25 Thread Mark Murphy
Julian wrote: > I am trying to create an application that reads information from a > database on a separate server(not the android phone). Does anyone > have any information on how to create a database connector class? Write a Web service that connects to the database and runs on some server, the

Re: [android-developers] Re: database update

2010-02-25 Thread Mark Murphy
Dan wrote: > thanks, so the onCreate gets called when the database has not been > created and the onupgrade gets called when the database has been > created, but the app is being upgraded? Yes on the first. More accurately for the second, onUpgrade() will be called when the schema revision (param

Re: [android-developers] Re: FormatDateTime

2010-02-25 Thread Mark Murphy
Nick Owens wrote: > On another note, is it possible to provide a conditional instruction for > formatting date/time based on the user's Android package: > > if (package > 1.1) { > > //cooler date time format > > } else { > > //regular date time format > > } Yes, either via reflection or

[android-developers] Re: WiFi roaming and handoff

2010-02-25 Thread a2ronus
I assume your dev phones are running wpa_supplicant? If so, try the website and mailinglist of wpa_supplicant as well. http://hostap.epitest.fi/wpa_supplicant/ Good luck, Aäron On 25 feb, 18:26, BenYL wrote: > We are setting up a WiFi VoIP network in the office, but are having > trouble getti

RE: [android-developers] Re: FormatDateTime

2010-02-25 Thread Nick Owens
Bob: You're probably right b/c I've been building for Android 1.1. In an effort to make a decision about this feature, I did some searching for statistics on installed API levels but couldn't find them. On another note, is it possible to provide a conditional instruction for formatting date/time

[android-developers] Re: database update

2010-02-25 Thread Dan
thanks, so the onCreate gets called when the database has not been created and the onupgrade gets called when the database has been created, but the app is being upgraded? Do these methods get called due to some global variable that gets reset upon a fresh or upgraded install of the app? On Feb 2

[android-developers] Android Database

2010-02-25 Thread Julian
I am trying to create an application that reads information from a database on a separate server(not the android phone). Does anyone have any information on how to create a database connector class? -- You received this message because you are subscribed to the Google Groups "Android Developers"

Re: [android-developers] Android, send me logs! - code library for detecting force-close and sending logs

2010-02-25 Thread mike
On 02/25/2010 12:10 PM, focuser wrote: Hi fellow Android developers, How many times have you asked users to send you the logcat result to track down a nasty force-close? How many users have actually replied? It's not that users are lazy or busy. Having to run the "logcat" command or download

[android-developers] Re: How can I get the seconds since 1.1.1970 as a long in Android?

2010-02-25 Thread Martin
Woow, thank you :-) Greetings, Martin On 25 Feb., 21:00, Streets Of Boston wrote: > System.currentTimeMillis() gets you the number of milliseconds sinc > 1/1/1970 00:00:00.000 UTC. > > On Feb 25, 1:21 pm, Martin wrote: > > > > > Hi! > > > There are so many Date-classes (GregorianCalendar, Calend

[android-developers] Android, send me logs! - code library for detecting force-close and sending logs

2010-02-25 Thread focuser
Hi fellow Android developers, How many times have you asked users to send you the logcat result to track down a nasty force-close? How many users have actually replied? It's not that users are lazy or busy. Having to run the "logcat" command or download an external log collector app just means

[android-developers] Re: How can I get the seconds since 1.1.1970 as a long in Android?

2010-02-25 Thread Streets Of Boston
System.currentTimeMillis() gets you the number of milliseconds sinc 1/1/1970 00:00:00.000 UTC. On Feb 25, 1:21 pm, Martin wrote: > Hi! > > There are so many Date-classes (GregorianCalendar, Calendar, TimeZone, > Date,.), I lost track. > > How can I get the seconds now since 1.1.1970 as "long"

[android-developers] Re: Free Version of App

2010-02-25 Thread Streets Of Boston
How do you make a time limited trial version, where limiting the time is fairly fool-proof? How do you know how long the user has your app installed (including the possibility that the app has been uninstalled one or more times...)? Thanks! On Feb 25, 2:34 am, String wrote: > On Feb 25, 4:00 am,

[android-developers] WiFi Driver error?

2010-02-25 Thread Kimi
Hello to everybody, I'm testing an app that handles automatically a connection to WiFi using WiFi Manager on a Motorola Milestone (Android OS 2.0). I happens to me a lot of times to see this error: ERROR: - wpa_driver_tista_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 80003

[android-developers] Dialog goes away on click of search button

2010-02-25 Thread A R
Hi, I have an activity which starts with a progress bar and I do not want the progress bar to go away until the processing is done, I have set the dialog to be setCancelable(false) so now user cannot cancel it with back but there are several other situations which hides the dialog for eg pressing

[android-developers] Re: Crash in glDrawElements() using VBOs just after glBufferData()

2010-02-25 Thread Viktor Linder
To clarify, in the original example, no buffer is allocated. The call to "DynamicBuffer.allocate()" simply moves a position in a previously allocated buffer which is filled each frame - ie. an "arena allocator". DynamicBuffer.deallocate_last(size) simply moves the position back without destroying a

[android-developers] Re: Free Version of App

2010-02-25 Thread jarkman
Bob - you should be able to make Pro version look into the Lite's preferences at upgrade time, so you can copy in the settings without using a provider. Incidentally, if you do use a provider it needs to have a different name in the Lite & Pro versions - that's one of the things our Ant script chan

[android-developers] Re: Crash in glDrawElements() using VBOs just after glBufferData()

2010-02-25 Thread Robert Green
Let me explain something. Using directly allocated NIO buffers is a DIRECT LINK between Java and native. The pointer you get from (void *)GetDirectBufferAddress points to the exact memory that the Java buffer is using. The memory is not managed in Java on the heap like everything else. This is

[android-developers] Is this properly using a runnable?

2010-02-25 Thread Jonathan
I am basing an audioplayer off an old tutorial, and I am seeing some major lag in my UI, which is making me think that the threading is not being handled properly. It is structured as such: public void startStreaming() throws IOException { final String mediaUrl = currentTrackData.get("

[android-developers] How can I get the seconds since 1.1.1970 as a long in Android?

2010-02-25 Thread Martin
Hi! There are so many Date-classes (GregorianCalendar, Calendar, TimeZone, Date,.), I lost track. How can I get the seconds now since 1.1.1970 as "long" in Android? Greetings, Martin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Crash in glDrawElements() using VBOs just after glBufferData()

2010-02-25 Thread Robert Green
Actually, let me clear something technical up. I just realized that the OpenGL native side is using GetPrimitiveArrayCritical and not GetDirectBufferAddress. I'm not sure why they decided to take that route but I'm sure there was a good reason for it. The fact of the matter is that while GPAC do

Re: [android-developers] Re: Error with custom made popup marker

2010-02-25 Thread TreKing
On Thu, Feb 25, 2010 at 11:27 AM, eyedol wrote: > The issue is, I haven't extended the Activity class. > My class extends another class. > Well, I'm assuming you're using MapActivity at some point since you mentioned popup markers. So you have that Activity. Find some way to pass a reference to

[android-developers] Re: PlayDriver

2010-02-25 Thread Keufran
Ok... I have found that my emulator runs Android 1.6 and my device runs Android 1.5. It seems that MediaPlayer on 1.5 cannot read audio stream whose size is increasing. On 25 fév, 17:56, Keufran wrote: > Hi Pierre, > > Maybe we are facing the same problem. > To me, it is due to the fact that you

[android-developers] vm out-of-memory problem

2010-02-25 Thread billconan
hello everyone, i'm writing a game. i want to use a large bitmap to cache the game map, because the map doesn't change during the game play. the game map is tile based, but i want to draw it at the beginning of the game, so i can easy scroll the map. problem is, the bitmap can be very large, for

Re: [android-developers] Disable Home Key?

2010-02-25 Thread Sean Hodges
On Thu, Feb 25, 2010 at 1:39 AM, DroidBy wrote: I am doing a security Lock system for my project. I am interested to > know how to disable the HOME key or handle it at framework layer, in > order to prevent user to by pass the security lock by presing HOME. I > know that I am not able to do it at

[android-developers] Re: ArrayAdapter use or misuse of the Adapter pattern

2010-02-25 Thread Conny
Agreed On Feb 25, 8:54 pm, TreKing wrote: > On Wed, Feb 24, 2010 at 10:28 PM, Conny wrote: > > In a generalist sense adapter pattern is a bridge between 2 classes > > that have some common functionality, but the interfaces are not > > reusable between them. Ideally the need for adapter arises wh

[android-developers] Re: Transmitting audio from the application to the uplink....is it possible?

2010-02-25 Thread Nosaj Ronnoc
Anyone? -- 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 more options,

[android-developers] Re: Transmitting audio from the application to the uplink....is it possible?

2010-02-25 Thread Nosaj Ronnoc
anyone? On Feb 23, 1:52 pm, Nosaj Ronnoc wrote: > I've been searching the API for a way to send a sound over the > audiouplinkduring a phone conversation.  From what I see, there is no way > to do this.  Am I missing something? -- You received this message because you are subscribed to the Goo

Re: [android-developers] xulrunner

2010-02-25 Thread Mark Murphy
nestogledam wrote: > Is it possible to install xulrunner application on android? That would be a question for the Mozilla project, since xulrunner is their technology, not Android's. Android's native browser is based on WebKit, not Mozilla's Gecko, though I understand they are working porting the

Re: [android-developers] database update

2010-02-25 Thread Kevin Anthony
Alter http://www.techonthenet.com/sql/tables/alter_table.php Kevin On Feb 25, 2010 11:40 AM, "Dan" wrote: I've got a question about updating an app after release. If I have a database that contains 10 columns and I add a feature that requires an 11th column after the app has been released, whe

[android-developers] subscribe

2010-02-25 Thread Emilio Alvarez
subscribe -- Emilio Alvarez Rebollo Director Tècnic Pukka's Webs Design Alfons XII, 75 932012070 -- 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] Calendar in Android 1.6 doesn't work

2010-02-25 Thread nguyenvuthiennga
Hello, I downloaded the source code of Android1.6 and try to compile. Then the Calendar is displayed in the phone but I can not launch it. Does anyone know why and how to fix? Thanks in advance, Nga -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] What replaced activityCreator ?

2010-02-25 Thread Brian
I have noticed several tutorials use the activityCreator script, for doing various different types of builds for android. But i can not find that script in the SDK it appears to have been deprecated sevaral versions ago. So my question is, what has replaced activityCreator ? -- You received thi

[android-developers] Chronometer as a persistent sto pwatch. ¿How to set starting time? ¿What is Chronometer “Base”?

2010-02-25 Thread Santiago
Hi everyone! I do have one service running in the background. Whenever it starts I store in memory the starting time in milliseconds: startingTime = new Date().getTime(); I want to display a chronometer that starts counting when the service starts and never stops until the user presses a "Stop"

[android-developers] SweepGradient and Banding

2010-02-25 Thread Shane
Hello, I'm writing an android app to that among other things lets a user choose a color using a color wheel that is drawn using a SweepGradient shader. The shader is set up as follows: mColors = new int[] { Color.RED, Color.MAGENTA, Color.BLUE, Color.CYAN, Color.GREEN, Color.YELLOW, Col

[android-developers] Rotated map view - how to get the touches back to where they belong?

2010-02-25 Thread lbendlin
I am using the MapsDemo example for a mapping application where I rotate the map in direction of travel. This works well even without the canvas smoothing in the example. However, I haven't yet managed to adjust the dispatchTouchEvent code to counter the map rotation effect for the user touches (r

[android-developers] Closing a particular tab in the Tabhost

2010-02-25 Thread Dantu
Hi, Is there any way of closing a particular tab in the tabhost, there is a method to close all the tabs but there is nothing for closing a single tab. Any suggestions how to do this?. (I am running different instances of the same activity in each tab.) Thanks Jyothi Swaroop Dantu -- You re

[android-developers] Disable Home Key?

2010-02-25 Thread DroidBy
Hi, I am doing a security Lock system for my project. I am interested to know how to disable the HOME key or handle it at framework layer, in order to prevent user to by pass the security lock by presing HOME. I know that I am not able to do it at android application layer, so thinking to get some

[android-developers] Disabling browser intent

2010-02-25 Thread Chintan Shah
Hi, Web-page seen on browser with orange bars (due to intents), looks odd to me. Hence, I am looking at some css property which can suppress or hide intent. Is this really possible? Thanks, CS -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Corrupted SQLite database

2010-02-25 Thread Raymond
Hi, We develop since severals monthes a professional application that allows us to graphicaly design and generate an android application to collect data. This application allows to synchronize data between the android application and a remote server. The data are stored localy on a SQLite database.

[android-developers] xulrunner

2010-02-25 Thread nestogledam
Is it possible to install xulrunner application on android? -- 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-devel

[android-developers] Re: How to access the phone contacts in latest version of android 2.1

2010-02-25 Thread Raja
I'm also looking for a way to access the phone numbers in 2.1 version but the package "Contacts.People" that was used in older versions is deprecated. I'll let you know if i find anything thanks and regards, raja On Feb 23, 12:46 am, venkat ranjit wrote: > i think both are same in android 1.5 an

[android-developers] Re: Pause Within a loop

2010-02-25 Thread Bob Kerns
Exit the loop, remembering your index. Arrange to restart it at the appropriate time -- an Alarm, or a message posted by whatever code you were waiting to be done. You don't ever want to actually pause or sleep in the main thread. Your entire App will appear to freeze. On Feb 25, 12:33 am, CMF w

[android-developers] Why does addHeaderView make a ListActivity forgetful of its position ?

2010-02-25 Thread jarkman
We have an app with a ListActivity and an edit view. Tap on an item in the ListActivity, see the edit view of that item, hit the Back key, see the list view. All very ordinary stuff. But, in this app, the ListActivity does not retain its postion during that sequence. After hitting Back, the list i

[android-developers] Re: Crash in glDrawElements() using VBOs just after glBufferData()

2010-02-25 Thread Bob Kerns
This would be a bug in the JNI code, which is responsible for protecting from the GC any and all memory which it is using. Only it can do so, because only it knows when it is done. That's unlikely, though. The the JNI API makes it impossible to get your JNI code to get its hands on the data withou

Re: [android-developers] Re: How to do animation when click on a bitmap

2010-02-25 Thread social hub
In your case you are extending view however if you use built in views or even your view which holds just the image. then u can setanimation and startanimation TranslateAnimation animation = new TranslateAnimation( Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELAT

[android-developers] Re: Error with custom made popup marker

2010-02-25 Thread eyedol
TreKing, thanks. The issue is, I haven't extended the Activity class. My class extends another class. On Feb 25, 3:02 pm, TreKing wrote: > On Thu, Feb 25, 2010 at 2:08 AM, eyedol wrote: > >  I created a new object of > > the Activity class and used that to call the various methods that > > needs

[android-developers] WiFi roaming and handoff

2010-02-25 Thread BenYL
We are setting up a WiFi VoIP network in the office, but are having trouble getting smooth roaming with Android phones (dev 2). They seems to wait until the signal is very weak before negotiating a hand-off. The iPod Touch handles this process much more smoothly. Can we tweak roaming performance wi

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-25 Thread Houcem Berrayana
That's absolutely right, but in my case I was looking for performing onClick event because I didn't had access to save() method, that was initially the only solution . Thank you all for you advices I really appreciate it. Best regards. On 25 fév, 18:05, Robert Green wrote: > Let me just say that

[android-developers] Re: How to do animation when click on a bitmap

2010-02-25 Thread CMF
Hi, do you have an explicit example? I don't know what are the relationships between the BitmapAnimation View , the main class and the Drawable class.. On Feb 25, 1:09 pm, Nithin wrote: > Create a class "BitmapDrawable" which extends Drawable and pass the > bitmap to the contructor. Then in d

[android-developers] Re: making videogame - newbie need help =P

2010-02-25 Thread Robert Green
Vlad and Kofa, I have to say again that all of that high level stuff (layouts and imageviews) is totally inappropriate for a real-time game. Consider loading all graphics into bitmaps, running a logic thread and drawing to a SurfaceView. You will have far superior performance and can do anything

[android-developers] Re: why I can't see google's nexus one from eclipse

2010-02-25 Thread Streets Of Boston
The drivers that come with the latest Android SDK download work well for Vista 64bit and Windows 7 64bit (i used it on both). I don't know about XP 64bit, though... On Feb 16, 9:51 pm, Bob Kerns wrote: > You might try running a VMWare Virtual Machine, with a 32-bit XP, and > doing it from there.

[android-developers] Re: Send key event using native methods or low level classes -- possible solutions ??

2010-02-25 Thread Robert Green
Let me just say that as someone with a lot of UI development experience (in Android, SWT and Swing anyways), if you're looking to programmatically push controls, your design is most likely wrong. I have developed maybe 50-100 screens of GUIs and have never needed that functionality. Consider this

[android-developers] Re: Free Version of App

2010-02-25 Thread Bob Kerns
While the downloadable license approach sounds good on the face of it, there are just too many loose ends for my tastes as it stands. We already have a very limited channel for communicating with our customers, and I don't want to waste those characters What I've done is create a master build scri

[android-developers] Re: Out of Memory resuming application

2010-02-25 Thread Streets Of Boston
It could be anything. You have to post some code-samples that you think code be suspicious. Check your (static) caches, if you have them. On Feb 25, 6:49 am, REvolver wrote: > None? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: Free Version of App

2010-02-25 Thread jarkman
We're now doing Lite and Pro builds from a single codebase, using an Ant script to convert the project from Lite to Pro and vice-versa. It seems to work fairly smoothly once the script-wrangling is done. More detail is in this thread: http://groups.google.com/group/android-developers/browse_thread

Re: [android-developers] database update

2010-02-25 Thread Mark Murphy
Dan wrote: > I've got a question about updating an app after release. If I have a > database that contains 10 columns and I add a feature that requires an > 11th column after the app has been released, where would I put the sql > code to add the new column so that when they install the app it keep

[android-developers] database update

2010-02-25 Thread Dan
I've got a question about updating an app after release. If I have a database that contains 10 columns and I add a feature that requires an 11th column after the app has been released, where would I put the sql code to add the new column so that when they install the app it keeps their current dat

[android-developers] Re: Using Handler

2010-02-25 Thread Paolo
I have the solution :) I use the same handler (set as static variable), so i don't lose the reference. Then I have made myHandler that extends Handler where i have a reference to the active activity, so when i rotate screen active_activity == null in onStop() and when start the onCreate() a updat

Re: [android-developers] Re: ArrayAdapter use or misuse of the Adapter pattern

2010-02-25 Thread TreKing
On Wed, Feb 24, 2010 at 10:28 PM, Conny wrote: > In a generalist sense adapter pattern is a bridge between 2 classes > that have some common functionality, but the interfaces are not > reusable between them. Ideally the need for adapter arises when we > have two classes that are not developed kee

Re: [android-developers] Error with custom made popup marker

2010-02-25 Thread TreKing
On Thu, Feb 25, 2010 at 2:08 AM, eyedol wrote: > I created a new object of > the Activity class and used that to call the various methods that > needs to start the activity > Don't do this, use your existing activity. On Thu, Feb 25, 2010 at 3:59 AM, Vishwanath Kamath Pethri < vishwanathkam...

[android-developers] Writing a custom layout by deriving AbsListView?

2010-02-25 Thread Thote Gowda
HI All, I'm trying to write and custom layout by deriving from AbsListView (like gridView and ListView). But there are a few abstract methods (like fillGap(boolean)) in AbsListView with "default" visibility. So I can't derive this class in my package (application) Is it intensional limitation? if

[android-developers] Create AlertDialog from Runnable()

2010-02-25 Thread Michael Davey
Hi there, I have an action from a button click that performs a lengthy web based fetch, so I have implemented it as a Runnable that is called from a Handler in my Activity class. However, in certain situations I need to be able to present the user with an alert dialog, which from the docs seem

[android-developers] named pipe in native code?

2010-02-25 Thread genxsol
HI Dear, i am trying to create a named pipe in my native code which i will access in my java code here is my sample code to create piple which doesn't work --- #include #include #include #include #include #include /* T

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-25 Thread Vladimir
@OP > 5. Multiple versions of an app Didn't notice it first time. Aren't we already able to target our apps to specific API levels? Did that once, seemed to work. @Ken H > This is very frustrating to me too, but I think this is a stupid/lazy > user issue, not Google's fault. Google can't change th

[android-developers] Re: Rotation with ListActivity

2010-02-25 Thread Paolo
yes! this is the solution! Thanks a lot! the problem was the reference to the activity in my handler. It pointed to the old activity so i lost all the modifications to the layout. On 10 Feb, 23:23, Christoph Renner wrote: > You might look at the following > discussion:http://groups.google.com/g

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-02-25 Thread Rob Irondad
Thanks for your replies everybody. I'll try to incorporate all the feedback I received before publishing the document to the place where we can sign it. I hope we can agree on a final version soon - let's say, by this week- end. If so I'll publish it Sunday then. -- Rob -- You received this mess

  1   2   >