[android-developers] Re: New to Developing, Need Insight

2010-09-23 Thread Indicator Veritatis
But you do so groundlessly. His replies can be annoying at times, but they are never 'spammy'. You who quote Jeremiah in your sig file should pay more attention to Jeremiah's standards of honest speaking, which do not allow this mis-labeling, considering it a form of dishonesty, not of simple

Re: [android-developers] Re: New to Developing, Need Insight

2010-09-23 Thread Miguel Morales
I really don't have time to go into how useless and spammy his replies are. He responds to just about every single thread, more often than not with a useless comment. Each time promoting his site, his app, and himself. The other guy at least attempts to direct these somewhat naive/new users to

Re: [android-developers] Integrating Proguard using recently posted instructions

2010-09-23 Thread Stephen Lau
akatka wrote: I am integrating Proguard obfuscation in my application using the recently posted instructions on the Android developers blog. Everything works fine as long as my project doesn't use any third party jars. When I use a third party jar, admob-sdk-android.jar in my case, the ant

[android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-23 Thread William Ferguson
Personally I dislike the release overhead, but since I only ever need to wear the cost once for any particular type of build I don't see it as that onerous over all. I configure my projects using maven and drop the necessary tools as plugins into the relevant phase of the build life-cycle. From

[android-developers] Re: App working but GoogleMap not coming (proxy settings working)

2010-09-23 Thread ramindroid
Maps API key is correct. (I verified using in-correct API and got the error in that case) Internet permission for App are also given via manifest file. Today saw another error in logs: checkin failed: https://android.clients.google.com/checkin UnknownhostException: android.clients.google.com It

[android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-23 Thread joebowbeer
At face value, the blog entry is responding to those on this list who have been asking for help adding Proguard to their build process. Whether Proguard is worth the effort and expense (e.g, maintaining symbol maps for decoding stack dumps) is another matter. Proguard can significantly compact

[android-developers] Re: DeviceMonitor]Failed to start monitoring Device-number

2010-09-23 Thread Emil
I have the same problem, any solution anyone? /Emil On Aug 5, 7:43 am, Rahul Garg rahul.lnm...@gmail.com wrote: Hi, I am facing this DeviceMonitor]Failed to start monitoring device- number in my eclipse, thats why I not able to launch my application in the device. To make it work I need to

[android-developers] Re: global variable accessible by mapactiivty and activity

2010-09-23 Thread James Elsey
Put data onto an intent and pass that between the activities? Or Setup a global state class and put things in there, they will be available throughout your application I wrote up some guides on this : http://www.jameselsey.co.uk/blogs/techblog/?p=134 On Sep 22, 7:39 pm, dadada

[android-developers] Re: Android devices supporting OpenGL ES 2.0 (at least through NDK) as of September 2010

2010-09-23 Thread RS
Dan, I do understand that uses-sdk tag comes in handy if I wish to support ES 2.0 devices only. I'd instead like to go based on ConfigurationInfo.reqGlEsVersion to support both kinds of devices and hence knowing the extensions available on different devices (+platform combination) would be very

Re: [android-developers] How to remove a notification with flag FLAG_NO_CLEAR ?

2010-09-23 Thread Nicolas HERVE
Hi, using the most local context doesn't change anything. I tried to cancel the notification with : notificationManager.cancel(1); Then I tried to change the flags before canceling notification.flags = Notification.DEFAULT_ALL; notificationManager.notify(1, notification); None works ... Le

[android-developers] Re: Custom Title and Tab Host

2010-09-23 Thread jonny27
I have managed to get it sorted now, i have added the custom title code to the class file with the tabs in it and you need to call requestwindowfeature before calling setContentView I will post the code later in case someone else has that problem On Sep 22, 10:17 pm, Miguel Morales

Re: [android-developers] Re: On using themes?!

2010-09-23 Thread Dianne Hackborn
Type 2 is an attribute reference, as per TypedValue, so you have not put a color in that resource. If you want to use styles/themes, use Context.obtainStyledAttributes or related methods which takes care of mapping attribute references through the current theme. I'd suggest looking at the source

[android-developers] Re: OpenGL video capture

2010-09-23 Thread RS
Last time I looked for this, the only convenient method I found was to use an external camera. Sorry about the punt, but that worked for me as it was just for a demo video. Theoretically you could render a frame one at a time, once rendered, glReadPixels save as png or some format on the sdcard.

Re: [android-developers] Method called after release()

2010-09-23 Thread Pedro Teixeira
No ideias for this? I just keep reading on google to release the camera.. and I've just done that but I get the error anyway.. On Sep 22, 2010, at 11:43 PM, Pedro Teixeira wrote: Hi, I'm getting this error ( in the end of this post)... which I guess I understand it's because I'm calling

[android-developers] Re: why keyboard not launched from status bar edittext ??

2010-09-23 Thread mani
I tried handling the keyDown event from onKeyLIstener implementation. but it seems its not working. urlTextbox = (EditText)sb.findViewById(R.id.urltextbox); urlTextbox.setFocusable(true); //urlTextbox.requestFocusFromTouch(); urlTextbox.setOnClickListener(new

[android-developers] Re: Method called after release()

2010-09-23 Thread blindfold
I also find the Method called after release() occasionally in my camera app's crash logs with end users, and have thus far not been able to track it down because I did not encounter it on my own phones (ADP1 with Android 1.6 and HTC Desire with Android 2.2). Apparently something camera related in

[android-developers] Re: How much money do you make?

2010-09-23 Thread Michael A.
I don't think you actually can switch an app from free to paid in the Android market, without taking it down and renaming it. In either case, it is hardly surprising to find downloads of free apps far exceeding paid apps. This is no different from the pattern you see with normal software - the

[android-developers] Re: Http chunked response and Connection Reset by Peer error

2010-09-23 Thread Cydrike
Hello Kostya, I've tried what you said but my problem remains. I'm fact the problem only occurs when the device goes in sleep mode. If I let it connected to my PC (the screen never goes totally black), every thing is working fine. I've got a wakeLock in my application: final PowerManager pm =

[android-developers] Re: BroadcastReceiver

2010-09-23 Thread perumal316
Hi, I managed to solve the issue. I have all those permissions. I just added a Thread.sleep(1000) before doing the sending of messages and it works now. Regards, Perumal On Sep 22, 5:39 pm, KANTESH BABANNAVAR kantesh...@gmail.com wrote: probably these? uses-permission

[android-developers] Re: Java Guru Query: override a method taking a reflected class argument

2010-09-23 Thread Pent
Jason, The classes that you want to load which have API 7 specific code will only be loaded by the classloader when they are referenced at runtime.  Hence pre-api 7 installs will only barf if you try to instantiate, or reference one of your new classes.  You can happily package the newer

[android-developers] Layar API

2010-09-23 Thread Pedro Teixeira
Hi.. I've been trying to find Layar API but I don't see it anywhere.. Isn't the API free to download as Wikitude? I was hopping to add an AR feature on my application using Layar API, but I'd like to use my own server, design, etc .. can I do that? Is that possible with Layar? Or if not.. is

[android-developers] button longlick + change of backgroundimage?

2010-09-23 Thread Marco Alexander Schmitz
hi :) my button has android:background=@drawable/btn_zoomin. btn_zoomin.xml is: ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item android:state_pressed=true android:drawable=@drawable/ btn_zoomin_transition / item

Re: [android-developers] Layar API

2010-09-23 Thread Pedro Teixeira
I'm sorry.. I also would like to know, if anyone has used Layar.. and even if I can't custumize it and have to use their API. Can I include it in my application as a ''background'' service ? I'd like to be able for example to add a POI from my android APP, even if it can only be seen in

Re: [android-developers] How to open a nested child PreferenceScreen

2010-09-23 Thread San Zhang
This is my question, too. 2010/8/27 bo yada...@gmail.com Hi I have a PreferenceScreen that is defined in XML that serves all the preferences for my application. This PreferenceScreen also has a child PreferenceScreen nested within it. My implementing class is called

[android-developers] Re: App working but GoogleMap not coming (proxy settings working)

2010-09-23 Thread DanH
Note that that site has a bad cert. On Sep 23, 2:09 am, ramindroid singhramin...@gmail.com wrote: Maps API key is correct. (I verified using in-correct API and got the error in that case) Internet permission for App are also given via manifest file. Today saw another error in logs: checkin

[android-developers] How to remove layout element

2010-09-23 Thread Hatch
Hi, Sorry if this has been answered before, but I just cannot input the right term into search box to find the answer. Here's what's bugging me. To generalize a given screen as much as possible, I include several elements (button1, text1, button2, text2) Depending on the internal state, I

[android-developers] Intercept launching of apps

2010-09-23 Thread Dirk Vranckaert
Hey, I'm walking around with a little idea for a new Android app although I have my doubts weather it's possible or not. So that's why I came here. What I want to do is this: A users uses his phone and suddenly he wants to open his messaging application. Now instead of opening that application I

Re: [android-developers] How to remove layout element

2010-09-23 Thread Kostya Vasilyev
Use setVisibility(View.GONE) GONE views are ignored during layout process and so do not consume layout space. -- Kostya 23.09.2010 15:53, Hatch пишет: Now, I've already tried (although in vain) by using button2.setVisibility(INVISIBLE). The element was not shown, but it consumed the screen

[android-developers] undx.jar

2010-09-23 Thread saify.zeenwala
Hi Guys I am looking for undx.jar I have tried hard on sourceforge as well as on illegalaccess.com too but not found any thing. Can any one please share it with me. Regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How to remove layout element

2010-09-23 Thread Kumar Bibek
GONE is one way, else, get hold of the parent view, and remove the child from there. parentView.remove(child) I would suggest using the GONE approach -Kumar Bibek http://techdroid.kbeanie.com On Sep 23, 4:57 pm, Kostya Vasilyev kmans...@gmail.com wrote:   Use

[android-developers] Re: How to remove layout element

2010-09-23 Thread Hatch
Wow, that was fast. Way to go. It works as you suggested. Thanks ! But do you now if it's better practice to have a A) one big layout - remove elements by hand when necessary B) small and common layout - add elements when needed. Thank you Hatch On Sep 23, 1:57 pm, Kostya Vasilyev

[android-developers] Re: Please help me with calculating direction from point A to B

2010-09-23 Thread Per
hmm.. Have you checked the numerical values that you get (mHeading, mBearing, angleDegrees) ? Log them and check if they look reasonable (assuming that you know where north is :). Expect some deviation caused by your surroundings. Not only the Earth is magnetic... If that looks ok, I'd suggest

[android-developers] Bluetooth scanning: Issue with HTC Desire - not scanning

2010-09-23 Thread Jens
Hi: I'm developing an application which does scans for nearby bluetooth devices which are in discoverable mode. On the Google Nexus One device, the device scanning is working perfectly. But on the HTC Desire, ACTION_DISCOVERY_FINISHED is called once and does not call the action

[android-developers] Re: App working but GoogleMap not coming (proxy settings working)

2010-09-23 Thread ramindroid
So what can be the fix for this issue? Please share. -- 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] Re: Intercept launching of apps

2010-09-23 Thread Dirk Vranckaert
When I started an emulator and looked in the loggings I found this: 09-23 12:45:32.149: INFO/ActivityManager(582): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x1020

[android-developers] Re: Intercept launching of apps

2010-09-23 Thread patrick
If you do this, the user will see a pop-up asking to choose netween your app and the messaging app. The user can choose to set your app as default handler. On Sep 23, 1:54 pm, Dirk Vranckaert dirkvrancka...@gmail.com wrote: Hey, I'm walking around with a little idea for a new Android app

[android-developers] Re: Intercept launching of apps

2010-09-23 Thread Dirk Vranckaert
I found this in the emulator logging upon opening the message application: 09-23 12:45:32.149: INFO/ActivityManager(582): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x1020

[android-developers] Re: Intercept launching of apps

2010-09-23 Thread Dirk Vranckaert
So when I intercept, and the user choses my application to start default, when I want to let open the application I intercept is that still possible or will it always return to mine? Dirk On Sep 23, 3:02 pm, patrick patrick.boul...@gmail.com wrote: If you do this, the user will see a pop-up

[android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-23 Thread JP
On Sep 23, 12:11 am, joebowbeer joe.bowb...@gmail.com wrote: At face value, the blog entry is responding to those on this list who have been asking for help adding Proguard to their build process. Maybe. With no reference to such requests, the way the post reads, I get the impression is

[android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-23 Thread JP
On Sep 22, 11:53 pm, William Ferguson william.ferguson...@gmail.com wrote: But hey, I place higher value than some on those 3 : simple, clear and maintainable. Nice framework, but I don't see how you're off the hook. Imagine you're under time pressure to get a release out and you realize

[android-developers] Re: Request: Don't make us use Ant

2010-09-23 Thread gcstang
Excellent! On Sep 22, 2:12 pm, Xavier Ducrohet x...@android.com wrote: Yes, we are working on full support for proguard in Eclipse and Ant for the next version. On Wed, Sep 22, 2010 at 9:28 AM, Craigo craig...@gmail.com wrote: Please update the Eclipse Export Android Application feature

Re: [android-developers] Request: Don't make us use Ant

2010-09-23 Thread Justin Giles
Ok, I'll ask the proverbial question Rough time frame for when we can expect this? I'm just wondering if it is worthwhile converting all my build stuff to Ant right now or just wait a few weeks for the built-in solution. Thanks for letting us know it's coming! Justin On Wed, Sep 22, 2010

Re: [android-developers] Re: How to remove layout element

2010-09-23 Thread Kostya Vasilyev
Either would work. That is, if it doesn't cause excessive garbage collection, or makes a mess out your activity's code. In one of my apps, I actually switch the entire content view. The activity has two modes, represented by two mostly different layouts and respective helper objects (that

[android-developers] Sipdroid build problem

2010-09-23 Thread maxsap
Hello I am trying to build sipdroid under eclipse,I have downloaded the source from the svn found on the site and I followed the instructions found on the build.txt file. In the second step saying to execute ant debug the ant script fails this is the output of the console: [max...@localhost

[android-developers] eclipse - building workspace lockup

2010-09-23 Thread dashman
when i try to clean and rebuild a project, eclipse hangs on the building workspace progress bar. the last thing i did was paste an image into a drawable folder - that caused a lockup and i forced eclipse close. now it's not rebuilding the project. help! -- You received this message because

Re: [android-developers] Sipdroid build problem

2010-09-23 Thread Kostya Vasilyev
Looks like you are building against Android 1.5 (API level 3), whereas the project assumes 1.6+ (API 4 and later), perhaps even 2.2 (judging by installLocation). -- Kostya 23.09.2010 17:24, maxsap пишет: Hello I am trying to build sipdroid under eclipse,I have downloaded the source from the

Re: [android-developers] eclipse - building workspace lockup

2010-09-23 Thread Kostya Vasilyev
Um, remove the image from the workspace, and see if there anything weird about it? 23.09.2010 17:25, dashman пишет: when i try to clean and rebuild a project, eclipse hangs on the building workspace progress bar. the last thing i did was paste an image into a drawable folder - that caused a

Re: [android-developers] How to remove a notification with flag FLAG_NO_CLEAR ?

2010-09-23 Thread TreKing
On Thu, Sep 23, 2010 at 3:19 AM, Nicolas HERVE n.he...@laposte.net wrote: using the most local context doesn't change anything. Not in this case, no, but it's a good habit to get into. getApplicationContext() will land you in trouble in other areas. Just avoid it. I tried to cancel the

Re: [android-developers] How to remove a notification with flag FLAG_NO_CLEAR ?

2010-09-23 Thread Nicolas HERVE
Le 23/09/10 15:36, TreKing a écrit : Hmm ... I would have expected that to be the answer, though I've not used FLAG_NO_CLEAR. Have you tried leaving out the no clear flag to see if the cancel works? Just to be sure? Yes, it works perfectly when this flag is not set -- You received this

[android-developers] Re: Android Market the Google I/O 2010 features

2010-09-23 Thread OldSkoolMark
It may be in Hell Freezes Over Release 2. Does anyone think that it would take more that a couple of months of effort by a good web developer to deal with 90% of the issues we gripe about here? On Sep 22, 12:01 pm, Jason jason.poli...@gmail.com wrote: Early next year is the current best guess:

[android-developers] Re: analog to iOS Core Audio / AudioFileStreamServices?

2010-09-23 Thread OldSkoolMark
AudioTrack. Beware tho, its buggy. On Sep 21, 10:59 pm, John Michael Zorko jmzo...@mac.com wrote: Hello, all ... Is there an Android equivalent to the iOS Core Audio / Audio File Stream Services? I need to be able to read audio bytes from a network and feed them to the audio system under

[android-developers] Re: OpenGL video capture

2010-09-23 Thread Jason
AFAIK there is no easy way to capture the screen as video in the standard API (java OR native) However some newer devices do support a video out function: http://androidandme.com/2010/07/news/samsung-galaxy-s-does-video-out-via-3-5-mm-headset-jack/

[android-developers] android.app.Application NullPointerException

2010-09-23 Thread elubin
When my app loads, I fill my android.app.Application with some data. The app runs fine as I use it and all the data is available. However, when I leave the app over night and look at it again the next day, I receive NullPointerExceptions when attempting to use that same data. I do not believe

[android-developers] Increase Ram Virtually

2010-09-23 Thread Sami
http://softsami.blogspot.com/2010/09/increase-ram-virtually.html -- 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] Programatically determine the value of the call timer?

2010-09-23 Thread Matthew
Hello, Is it possible to programatically determine the value of the call timer as displayed by the phone dialer in real-time during a call (the call duration is available via the call log but this value does not appear to be updated until after the call ends). Thank you in advance for any help.

[android-developers] Programatically determine the value of the call timer?

2010-09-23 Thread Matthew Tropper
Hello, Is it possible to programatically determine the value of the call timer as displayed by the phone dialer in real-time during a call (the call duration is available via the call log but this value does not appear to be updated until after the call ends). Thank you in advance for any

[android-developers] Re: Programatically determine the value of the call timer?

2010-09-23 Thread Bret Foreman
Why not just instantiate a Java Timer when the call starts and time the call yourself? Just call setToNow() when you want a timestamp. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Layar API

2010-09-23 Thread JP
I understand there is no API for Layar. You can become a developer which in Layar's world means adding content and presentation inside their walled garden. As far as I understand, you cannot roll your own app though. Generally, I am not aware of any easy AR API. There's a few you could check out,

Re: [android-developers] Re: New to Developing, Need Insight

2010-09-23 Thread TreKing
On Thu, Sep 23, 2010 at 1:12 AM, Miguel Morales therevolti...@gmail.comwrote: I really don't have time to go into how useless and spammy his replies are. I'm right here - you can address me directly. I hope the irony of following up I don't have time to go into ... with a long rant is not lost

Re: [android-developers] How to bring stop activity to foreground (restart) by itself ??

2010-09-23 Thread TreKing
On Wed, Sep 22, 2010 at 8:43 PM, Paddy Yao ispa...@gmail.com wrote: but always start two activity (include original activity) Try leaving out the New Task flag. how to restart my original activity?? Why do you want to do this anyway? Sounds like it could be annoying to the user if you're

[android-developers] Bold and regular custom fonts within a TextView

2010-09-23 Thread Richard Leggett
I've done quite a lot of digging around the 1.6 SDK source code for this one. My aim is simply to have 2 StyleSpans within a TextView, one containing bold text, the other normal, both using a custom font. I'm setting the typeface to a custom font which was created in this fashion: // utility

[android-developers] Re: New to Developing, Need Insight

2010-09-23 Thread Bret Foreman
I'll stand by Tre on this. He's given me a lot of good advice in this forum. On Sep 23, 7:29 am, TreKing treking...@gmail.com wrote: On Thu, Sep 23, 2010 at 1:12 AM, Miguel Morales therevolti...@gmail.comwrote: More often than not, though, I'm actually trying to help the poster, either by

[android-developers] Re: How to bring stop activity to foreground (restart) by itself ??

2010-09-23 Thread Bret Foreman
Why not just pop up some toast? That's what it's for. -- 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] Re: reverseGeocode is returning null in android 2.2

2010-09-23 Thread sunny
No.. its not. It is in droid phone. the funny thing is it was working last week. But the same code ( no code changes at all) simply returns null. thanks Sunny. On Wed, Sep 22, 2010 at 2:49 PM, String sterling.ud...@googlemail.comwrote: Is this in the emulator, by any chance? Apparently

[android-developers] Re: Mediaplayer online streaming formats

2010-09-23 Thread Sameer
anyone?? On Sep 22, 11:19 am, Sameer sijaf...@gmail.com wrote: Hello, I am trying to create a small application for streaming radio broadcast that is in video/x-ms-asf format. the url has a .asx extension at the end. I have come to know that Android does not support this format currently,

[android-developers] AutoCompleteTextView performance

2010-09-23 Thread Mohammad Haque
Hi All, Has anyone has experience of working on AutoCompleteTextView with large number of data sets (~3000 - in string array). I'm working on a application that has used a this view where user can pick a station name by typing first few characters. But it appears to be very slow this size of data

[android-developers] Re: Programatically determine the value of the call timer?

2010-09-23 Thread Matthew
Thanks for the response about the Java timer. I am actually interested in when the phone network allocated a traffic channel to the phone. I believe that the timer in the display will only start incrementing after the Traffic Channel has been allocated. What I am trying to do is to find the

[android-developers] Re: Developing for Galaxy tab(any tab resolution devices)

2010-09-23 Thread nexbug
also may want to set dpi to 240 ?? -g On Sep 18, 4:14 am, MarcoAndroid marco...@gmail.com wrote: Or be patient, as this official google blogpost says a custom AVD should be coming from Samsung:http://android-developers.blogspot.com/2010/09/screen-geometry-fun.html On 17 sep, 12:58, Rahul

[android-developers] Activity onResumed not getting called

2010-09-23 Thread Albert
Hi, I'm having a very odd issue. I launch my app, use it then press the Home key and the app pauses and goes to the background. I can also resume it by launch it again, so far so good but if I leave it sitting on the background for a couple of hours and try to launch it, it calls onCreate() (on

Re: [android-developers] pdf viewer using android

2010-09-23 Thread TreKing
On Thu, Sep 23, 2010 at 12:30 AM, Gayan Dhanushka gayanl...@gmail.comwrote: Can anyone give me some kind of idea to begin with? There's no need to double-post. Again, adobe's developer page is probably a good place to start: http://www.adobe.com/devnet/reader.html

Re: [android-developers] Activity onResumed not getting called

2010-09-23 Thread Kostya Vasilyev
That is part of normal process lifecycle management in Android. The process was idle for a period of time, and so was terminated. Look it up the docs, under fundamentals. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 23.09.2010 19:02 пользователь Albert albert8...@googlemail.com написал:

[android-developers] Re: Bold and regular custom fonts within a TextView

2010-09-23 Thread Richard Leggett
I should point out that the faux bold probably looks terrible because of how thin this font is. I tried a different TTF file and it looked OK. Either way, using two completely different fonts in the same TextView would be another use-case. On Sep 23, 3:42 pm, Richard Leggett

[android-developers] Re: Threading and the emulator

2010-09-23 Thread kypriakos
Hey Jason, it's running in the foreground - that's why this was a bit troubling. Do you have a large number of threads running in your case (100+)? Thanks On Sep 22, 1:59 pm, Jason jason.poli...@gmail.com wrote: Is your app running in the foreground during all of this?  I have threads

[android-developers] USB driver not working on Windows 7 64 bits

2010-09-23 Thread Salva Maine
For some reason my windows 7 64 don't recognize the driver r3. Does anybady have this problem? Found any 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-developers@googlegroups.com To

[android-developers] Re: Activity onResumed not getting called

2010-09-23 Thread Mark Wyszomierski
Yeah I think by default if the app is not resumed for some period of time, android will restart the app instead of resuming it: http://developer.android.com/guide/topics/manifest/activity-element.html look at: android:alwaysRetainTaskState On Sep 23, 11:01 am, Albert albert8...@googlemail.com

[android-developers] Re: Threading and the emulator

2010-09-23 Thread Jason
mm.. no. I only have 2 or 3 threads. Maybe that's the problem. I always hate it when people say this.. but.. maybe you should consider whether having 100+ threads is really appropriate for a mobile device? Actually even outside mobile devices, I have worked on some very large scale,

[android-developers] ListView elements with background drawable go transparent on menu display?

2010-09-23 Thread Mark Wyszomierski
Hi, I have a ListView, my rows each have a background drawable set. One strange quirk is that if I have a row selected (it is orange now), then hit the context menu, the orange focus color is lost, the row background is made transparent. When I dismiss the context menu, orange focus is returned

[android-developers] Re: Distribute app to customer for review but no one else

2010-09-23 Thread Nik Bhattacharya
Another way to do it is to have the customer download the App called 'appInstaller' (available on the Market, by Gregory House). It's free, they can search for it by App Installer. It allows for installation of apps via the SD card. Once they have the appInstaller app installed, all the

[android-developers] Re: Activity onResumed not getting called

2010-09-23 Thread Albert
Yes I'm good with all that. My question is: Why doesn't the app starts from the initial entry point screen? Why does it try to start from the last opened Activity since the process has effectively being killed. Ex. app launched and ActivityA(entry point of the app) starts, from there I go to

[android-developers] Re: Activity onResumed not getting called

2010-09-23 Thread Albert
It looks like attribute this could solve the issue: android:alwaysRetainTaskState Whether or not the state of the task that the activity is in will always be maintained by the system —

[android-developers] how to get specific preference in Java code from an XML preferences file?

2010-09-23 Thread draf...@gmail.com
I have the following code in my application in res/xml/ preferences.xml: PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/ android PreferenceCategory android:title=Wi-Fi settings EditTextPreference android:key=pref_voice_threshold_top

Re: [android-developers] How to remove a notification with flag FLAG_NO_CLEAR ?

2010-09-23 Thread TreKing
On Thu, Sep 23, 2010 at 8:40 AM, Nicolas HERVE n.he...@laposte.net wrote: Yes, it works perfectly when this flag is not set Maybe it conflicts with FLAG_ONGOING_EVENT. AFAIK, ongoing events aren't cleared when the user hits clear. So do you really need both flags?

[android-developers] Re: Activity onResumed not getting called

2010-09-23 Thread Streets Of Boston
Again, that is normal behavior. When the user comes back to your app, the last activity that was visible to the user will be shown. If your app's process wasn't killed, that last activity is just shown. If your app's process was killed, then that last-activity will be re-created first. The fact

Re: [android-developers] How to remove a notification with flag FLAG_NO_CLEAR ?

2010-09-23 Thread Nicolas HERVE
Le 23/09/10 17:26, TreKing a écrit : On Thu, Sep 23, 2010 at 8:40 AM, Nicolas HERVE n.he...@laposte.net mailto:n.he...@laposte.net wrote: Yes, it works perfectly when this flag is not set Maybe it conflicts with FLAG_ONGOING_EVENT. AFAIK, ongoing events aren't cleared when the user hits

[android-developers] Re: Exact Layout that fits a background image

2010-09-23 Thread Martin
Woow, thank you! I will try it! :-) Greetings, Martin On 22 Sep., 01:51, Peter Carpenter peter.carpen...@skytechnologies.com wrote: It's not hard - just lots of maths Android gives some vague documentation here:   http://developer.android.com/guide/topics/ui/custom-components.html I've

Re: [android-developers] Re: Exact Layout that fits a background image

2010-09-23 Thread Xavier Ducrohet
On Tue, Sep 21, 2010 at 4:51 PM, Peter Carpenter peter.carpen...@skytechnologies.com wrote: It's not hard - just lots of maths Android gives some vague documentation here:   http://developer.android.com/guide/topics/ui/custom-components.html I've provided a sample class that does its own

[android-developers] Re: MediaPlayer showstopper bug - please help

2010-09-23 Thread Jason
Wow.. that IS weird. I'm not sure what the problem is here, but there are a couple of things I do differently: 1. Don't use MP3. Apparently the MP3 decoder on Android is a bit crufty. I was advised to use the OGG format and it works well. You can create OGG files using Audacity (it's free)

[android-developers] layout issue

2010-09-23 Thread dashman
inside a listview - for each item i have a layout the idea is an imageview on the left and 2 vertical rows of text to the right. i can't seem to vertically center the imageview across the entire listitem view. below is the layout i have LinearLayout

Re: [android-developers] layout issue

2010-09-23 Thread Kostya Vasilyev
Try layout_gravity on the ImageView instead of gravity. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 23.09.2010 19:48 пользователь dashman erjdri...@gmail.com написал: inside a listview - for each item i have a layout the idea is an imageview on the left and 2 vertical rows of text to

[android-developers] Re: How to send a string to server

2010-09-23 Thread TheSeeker
I have reduced lenght of byte to 250 000 (byte[] array = new byte[25] instead of char huge char[] array = new char[90] ) I've been trying sending string instead of character by character. if string is big (250 000 characters aprox and 250 Kbytes) de Garbage collector go crazy and the time

[android-developers] Set password text as case sensitive

2010-09-23 Thread harshe
HI , I want to know how to set the password and user name edit text so that it will be case sensitive.. as of now in the login screen If i give my credentials user name and password in any case( higher or lower) it accepts.. i mean the fields are case in -sensitive.. Can anyone please help

[android-developers] Content Delivery (Ringtones, Wallpaper, Games, etc)

2010-09-23 Thread Marxvox
Hi everyone, I am trying to find the best way to consistently identify a unique subscriber using an Android phone to download content like ringtones, wallpaper, games, etc. When an Android phone browses my web-based content storefront using the phone's browser over 3G, I am able to get the phone

Re: [android-developers] Re: New to Developing, Need Insight

2010-09-23 Thread Frank Weiss
I'll vet TreKing, too. He knows what he's talking about - even if you can't pose the Q reasonably clearly :-) I do want to add that if you have a specific issue with someone's netiquette, it's better to write them a polite personal note instead of lambasting them in front of everyone. That said,

Re: [android-developers] Re: How to send a string to server

2010-09-23 Thread Kostya Vasilyev
You should be able to come up with some middle ground number for your buffers - sending one byte at a time is obviously bad, and so is allocating the entire 900K buffer. Using a send buffer around 8K to 16K should work pretty well. My guess is that you need to do Base64 encoding on the fly -

Re: [android-developers] pdf viewer using android

2010-09-23 Thread Peter Teoh
but the android phone which i had comes with a default pdf viewer. is it not by default provided? thanks. On Thu, Sep 23, 2010 at 1:30 PM, Gayan Dhanushka gayanl...@gmail.com wrote: Hi,     I’m interested in developing a pdf viewer applications for the android platform. Can

Re: [android-developers] Re: Please help me with calculating direction from point A to B

2010-09-23 Thread Frank Weiss
Sounds like writing some unit test cases would help. Of course, you may need to refactor the code to make it testable. The advantage would be that you will see more clearly the input parameters and the constraints. It would divide and conquer the problem. The test cases would be the theory of

Re: [android-developers] How to open a nested child PreferenceScreen

2010-09-23 Thread TreKing
On Fri, Aug 27, 2010 at 4:17 AM, bo yada...@gmail.com wrote: but how do I go about opening the child PreferenceScreen via an Intent? From the docs for PreferenceActivity: To specify an Intent to query Activities that each have preferences, use addPreferencesFromIntent(Intent).

Re: [android-developers] Content Delivery (Ringtones, Wallpaper, Games, etc)

2010-09-23 Thread Kostya Vasilyev
If the actual download is done by a different application, there is not much you can do with headers. What you *can* do is redirect the download to a unique, time-limited URL, which encodes the necessary information. So you'd have something like: - Application authenticates the user, the

[android-developers] Capturing / saving a download link

2010-09-23 Thread Neilz
Hi all. I have a WebView, which will contain links to documents, in this case PDF files. The default action (at least on my device) seems to be to open the URL with the browser, which in turn causes them to be saved in the default download location. I want to intercept this in my code, so that I

[android-developers] Re: layout issue

2010-09-23 Thread dashman
worked like a charm. 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

  1   2   >