[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Maps.Huge.Info (Maps API Guru)
Mark is correct, my stats are for US only. I should have clarified that when I stated device stats. I believe they are more or less relevant in regard to the G1 vs. all the other devices though, so for the average developer looking for a representative device, something other than the original G1 w

[android-developers] Re: screen occasionally goes blank on Milestones

2010-07-09 Thread Alain
This issue is not caused by your app but instead is a Milestone problem and has been reported by many people. On Jul 7, 3:58 pm, Brian wrote: > I have an application I am currently working on for a client which is > suffering from a particularly hard to debug problem. Every so often, > the device

Re: [android-developers] @override

2010-07-09 Thread TreKing
On Thu, Jul 8, 2010 at 5:49 AM, B Woods wrote: > What is the purpose of this? What is the purpose of THIS ? - TreKing - Chicago transit tracking app for Androi

[android-developers] Re: Onwindowfocuschanged() not ever called

2010-07-09 Thread Michael
anyone? On Jul 8, 11:50 pm, Michael wrote: > Hello, > I have a map in one of three tabs, with each tab being a separate > activity. The MapsActivity class extends MapActivity, but my overrided > "Onwindowfocuschanged()" is never called (tested using logcat outputs) > when the map is panned or zoo

[android-developers] Re: Theme.NoTitleBar.Fullscreen not working when other activities use a custom title?

2010-07-09 Thread Matty
I found the solution here: http://groups.google.com/group/android-developers/browse_thread/thread/2de77043f32835aa/f2a1357bf1335461 It's basically: "Add the following to your activity: getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_N

[android-developers] Re: OpenGL texture wrapping flickers. Why?

2010-07-09 Thread Matty
I was able to solve this... I was calling the texture wrapping code on every draw, right before I bound the texture. Now, I set the texture parameters when the textures are generated, and I don't need to specify wrapping every time I draw a shape... No more flicker, and the code is probably more

Re: [android-developers] writing to sd card issue

2010-07-09 Thread TreKing
On Wed, Jul 7, 2010 at 11:16 PM, guru wrote: > Whether I have to mention this permission in application manifest or > i have to mention in other places also. What other factors I have to look > in to this. > Your question, as phrased, makes no sense.

[android-developers] Re: Making Video files Android ready for playback over HTTP

2010-07-09 Thread Samuh
Mark: Thank you! -- 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 mor

[android-developers] Re: Remove a row in a Listview

2010-07-09 Thread Albert
On Jul 9, 2:23 pm, JoksanCPEN wrote: > have you tried to delete the element from the array instead of > deleting it from the listview? > Yes and then I call notifyDataSetChanged() and it only deletes the last one. A temporary solution I'm using is when a row is deleted, the item gets deleted f

Re: [android-developers] Market reporting wrong app size

2010-07-09 Thread TreKing
On Wed, Jul 7, 2010 at 9:47 PM, Stephen Lebed wrote: > It is reported as 3.5mb in the developer console. But in the market it is > showing up as 7.02mb. > Do you have copy protection on? - TreKing -

[android-developers] Re: oh no - lost my keystore

2010-07-09 Thread Robert
What we do here is we put the keystore on 3 seperate flashdrives! When one goes down we send the intern(slave) to the store yo buy one! -- 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@

[android-developers] Re: Remove a row in a Listview

2010-07-09 Thread JoksanCPEN
have you tried to delete the element from the array instead of deleting it from the listview? On Jul 9, 2:12 am, karteek wrote: > use the methode remove with position of the row > mAdapter.remove(2); > > On Jul 9, 2:32 am, Albert wrote:> Hi all, > > > Does someone know how to remove a row from a

Re: [android-developers] Is there a way to find out if an app is in a folder(on the home screen)?

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 8:39 AM, Christoffer Davidsson wrote: > What I'd like to do is find out the name of the folder an app placed > in. Bear in mind that there are many, many home screens that ship on devices (AOSP, Nexus One, HTC Sense, MOTOBLUR, Sony Ericsson, LG, Samsung, Vodafone, etc.) and

Re: [android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 8:11 AM, Al Sutton wrote: > John has a very popular app which he keeps stats on. Last I hear he > was about to break the half million download mark and was clocking up > around 5,000 downloads a day. Bear in mind, though, that his app will be much more popular in the US (AF

[android-developers] Re: GPS accuracy reliability

2010-07-09 Thread Justin Edwards
I have had the same reports from my user community within my GPS application for Android. In my support emails I have been telling them that it is most likely a hardware/OS issue, and a hard reset (battery pull) should fix it. I have had a few users reply back and said that has fixed it. I think

[android-developers] GPS accuracy reliability

2010-07-09 Thread jgostylo
This is a general question about GPS accuracy reporting based on feedback from my user community. My app has an issue where many players get bounced all over kingdom come when using GPS to get a signal. I had this issue with my G1 on occasion but not on my Nexus One. I am talking hundreds of mil

[android-developers] Is there a way to find out if an app is in a folder(on the home screen)?

2010-07-09 Thread Christoffer Davidsson
Hi. What I'd like to do is find out the name of the folder an app placed in. A folder on the home screen that is: http://pocketnow.com/how-to/how-to-speed-up-your-android-organize-your-home-screens-using-folders Is there a way to find out if an app is in a folder(on the home screen)? And if so, w

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Al Sutton
John has a very popular app which he keeps stats on. Last I hear he was about to break the half million download mark and was clocking up around 5,000 downloads a day. Some of the devices he lists in his 88% figure run versions of Android prior to 2.0 in some countries, but updates to Android 2.x

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Al Sutton
I'm going to skip the personal insults aimed at me (which will make this a short reply). The dictionary.com definition of obsolete says; "of a discarded or outmoded type; out of date", which, as the G1 is no longer on sale as an unlocked developer 'phone and has no officially supported firmware wh

Re: [android-developers] Re: How does the Marketplace app widget use a ViewFlipper? (or a fading view)

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 12:12 AM, James W wrote: > Are you talking about an actual AppWidget that sits on the users home > screen? I was not aware there was  a widget for the market. I think it is new for 2.2. After seeing this thread, I found it on my N1. It does what looks like an AlphaAnimation

Re: [android-developers] Re: How to access shared preference outside of Activity

2010-07-09 Thread Mark Murphy
On Fri, Jul 9, 2010 at 5:03 AM, Jeruliu wrote: > Thanks, actually i need to access the shared preference in a class > that extends from BroadcastReceiver, how can i call the context then? PreferenceManager.getDefaultSharedPreferences(), passing in the Context supplied to you in onReceive() of you

Re: [android-developers] Making Video files Android ready for playback over HTTP

2010-07-09 Thread Mark Murphy
MP4Box -hint does the trick: http://www.videohelp.com/tools/mp4box More info here: https://help.ubuntu.com/community/AndroidVideoEncoding On Fri, Jul 9, 2010 at 6:17 AM, Samuh wrote: > I am working on an Android application which is supposed to play > videos over HTTP on Android devices. Befor

[android-developers] getting package name in included .jar fil

2010-07-09 Thread Boozel
If i create a service and in it use the method context.getPackageName() or context.getPackageCodePath(). If i then compile that service into a .jar file and someone else includes it in their app will those methods return the original package of the service or that package that they have been includ

[android-developers] Re: get the name of the package that started a service

2010-07-09 Thread Boozel
Sorry i forgot to mention this earlier but I used to just use .putExtra() on the intent before it was started but i want this process to resart automatically if killed so my code is in the onCreate() method rather that the onStart() and i can therefore no longer access the intent. Please can some o

Re: [android-developers] Re: Socket connection question

2010-07-09 Thread Alex Xin
Thanks for explanation. Are there possibles if I use NDK to do that? On Fri, Jul 9, 2010 at 5:12 PM, Indicator Veritatis wrote: > The "normal Java socket classes" (Socket, DatagramSocket, SocketImpl, > DatagramSocketImpl, ServerSocket) do force you to choose between TCP > (stream) and UDP (datagr

[android-developers] Re: options menu problems with SurfaceView and ListView

2010-07-09 Thread javelin21
I found the problem. The Lunar Lander template I was using overrode onWindowFocusChanged which paused the SurfaceView while the background threads getting images kept going. This caused everything to get out of synch. The Lunar Lander is designed to take up the whole screen and mine is not. I comme

Re: [android-developers] How to define some smart layout?

2010-07-09 Thread YuviDroid
I think RelativeLayout should be helpful in this case. For your button, simply put in its xml tags: android:layout_alignParentBottom="true" On Fri, Jul 9, 2010 at 11:35 AM, Jeruliu wrote: > I will have a list view on the top and a button on the bottom in the > view. > > Regardless the height o

Re: [android-developers] How to define some smart layout?

2010-07-09 Thread Kostya Vasilyev
You can achieve this by using a RelativeLayout: http://groups.google.com/group/android-developers/browse_thread/thread/f88b83d3b453a981/db595fb356a92467 (substitute height / bottom for width / right in the thread above) -- Kostya 09.07.2010 13:35, Jeruliu пишет: I will have a list view on the

Re: [android-developers] Transparent Image button, can be more transparent ?

2010-07-09 Thread YuviDroid
The first two chars after the '#' symbol are the opacity. So, '00' would be totally transparent, and 'FF' would be 100% opaque. 2010/7/9 Károly Holczhauser > Hi! > > I have already found how can I do an ImageButton with Transparent > background, but I would like to ask, how can I set the effect

[android-developers] Re: Remove a row in a Listview

2010-07-09 Thread Albert
Thanks karteek for your answer but it does not work as my adapter takes a list of Strings. mAdapter.remove(String) should actually work, I have override getCount() as well but still no luck... -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: Water ripple effect

2010-07-09 Thread Mansoor
Thanks robert green . and all who replied to the post. I acheived the ripple effect by drawing the water background on a 2d mesh and generated ripples by using sine wave function.Ripples are quite realistic and good.once again thank u all :) -- You received this message because you are subscr

[android-developers] Transparent Image button, can be more transparent ?

2010-07-09 Thread Károly Holczhauser
Hi! I have already found how can I do an ImageButton with Transparent background, but I would like to ask, how can I set the effective of it ? How can I do it more transparent ? My way as I do it: What should I write in to the color to be more transparent ? Thank you: Karoly -- You received

[android-developers] AndroidGroup: Nested Actvities

2010-07-09 Thread Anders Widen
Hi! I'm trying to create an application with an persistent "menu" at the bottom for displaying different Activites. Think of it like a custom tabbed layout. I need the applications to be stand alone so using views won't work (unless I've missed something). I've created a main window using a Frame

[android-developers] Making Video files Android ready for playback over HTTP

2010-07-09 Thread Samuh
I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and .3gp container formats for video. The audio-video

[android-developers] Re: 2.2 SDK refresh

2010-07-09 Thread Zsolt Vasvari
I couldn't figure out why I couldn't see the search widget after updating the SDK and restarting the AVD. Finally I figured out thay I needed to recreate the AVD or at least blow away the userdata-qemu.img file. On Jul 9, 3:39 am, Xavier Ducrohet wrote: > Developers, > > We've just released an

[android-developers] How to define some smart layout?

2010-07-09 Thread Jeruliu
I will have a list view on the top and a button on the bottom in the view. Regardless the height of the list view i would like to fix the button position on the bottom all the time. If the list view is too long then make it scrollable. How to do this? thanks. -- You received this message becau

[android-developers] Re: Importing existing projects to Android

2010-07-09 Thread Indicator Veritatis
Another thing to try (when 'clean' fails) is to edit the whitespace in main.xml, forcing Android to treat it as news. This in turn means 'rebuild R.java'. Usually, this works. I have seen it fail only rarely. Then I copy all my files to a safe place and create the project all over from scratch:( O

[android-developers] Re: Socket connection question

2010-07-09 Thread Indicator Veritatis
The "normal Java socket classes" (Socket, DatagramSocket, SocketImpl, DatagramSocketImpl, ServerSocket) do force you to choose between TCP (stream) and UDP (datagram). They give you no control over choosing the layers below IP, so you cannot choose between WiFi and cellular. On Jul 8, 5:20 pm, piw

[android-developers] Re: How to access shared preference outside of Activity

2010-07-09 Thread Jeruliu
Thanks, actually i need to access the shared preference in a class that extends from BroadcastReceiver, how can i call the context then? On Jul 9, 4:21 pm, Mika wrote: > getSharedPreferences is defined in Context. Service is a Context also. > > On Jul 9, 9:08 am, Jeruliu wrote: > > > Dear all, >

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Indicator Veritatis
What is your source for this 88% figure? If it is correct, then how do you explain the fact that the dashboard shows 45% of phones connecting to the Market are not even running 2.x yet? 45+88>100, after all. On Jul 8, 6:01 pm, "Maps.Huge.Info (Maps API Guru)" wrote: > I suppose you're still using

[android-developers] Re: what hardware platform do you use?

2010-07-09 Thread Indicator Veritatis
Only 20 years? I have you beat there. But more importantly, your "review of key points" is still seriously deficient in logic. Your conclusions still do not follow. Repeating conclusions that do not follow IS a mark of being uneducated, no matter how much experience you have. The G1 is not yet obs

[android-developers] Re: about library projects

2010-07-09 Thread Mika
> Second one might be a bit more involved, but hopefully there is an > easy fix. I have my projects into a subversion repository, but the app > project builder (Android pre-compiler) seems to copy all the source > from the library project, including the .svn folders, to the app/bin > project. As a

[android-developers] Re: How to access shared preference outside of Activity

2010-07-09 Thread Mika
getSharedPreferences is defined in Context. Service is a Context also. On Jul 9, 9:08 am, Jeruliu wrote: > Dear all, > > I need to access the shared preference in a background service instead > of activity on phone boot up. > > But getSharedPreferences function is define in the activity, so how >

[android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-09 Thread sagare
Hi Mikey, Thanks for reply but i still some how have a question if my activity starts a thread and say that activity dies somehow so what happens to the thread it started does it complete its run properly and then ends or it its killed as soon as the activity dies? Thanks, Sagar On Jul 9, 12:18 pm

[android-developers] file handling : reading a file in internal storage

2010-07-09 Thread Abhyudai Shanker
hey guys, The following is my code: OutputStreamWriter out2 = new OutputStreamWriter(openFileOutput("myfilename2.txt",1)); sa_lt="3 2 1"; out2.write(sa_lt); // close the file out2.close(); InputStreamReader in2 =

[android-developers] Re: Whether to use a Service or Thread for Http Connection?

2010-07-09 Thread metal mikey
I had replied to this thread already, but for some reason that reply is in limbo... If you use a service, you'll typically find that you'd still need to invoke a thread within that service for HTTP requests otherwise the Service might get killed for hogging the main thread. Under Eclair I'd found

[android-developers] hows gdata working with he android default Calendar widget.

2010-07-09 Thread kamiomar
Hi, can anyone tell me hows gdata working with the android default Calendar widget. >From my R&D till now gdata Calendar API not supported on the Android devices. http://groups.google.com/group/android-developers/browse_thread/thread/35a7817d22604645 How Android Calendar Widget works? Event i

<    1   2   3