[android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Samsyn
As per another thread, I do feel there is a relationship to: GLUtils.texImage2D( GL10.GL_TEXTURE_2D, 0, bitmap, 0); involved as well. but to give a little example, this works in google api 3: glGenTextures() // allocate texture Ids // prep an individual texture glBindTextu

Re: [android-developers] Call a service hosted in a windows service from Android

2010-06-04 Thread Lamia Hannoun
Hello! Yes you did undertand the issue, and i tried what u said yesterday and it didn't work, and yes i'm calling my wcf from the emulator, and i call my wcf using soap and http protocole like this : try { SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("value", 2)

[android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Samsyn
and yes, if I regress to api 3, the problem goes away, but apis 4 and 5 both have the problem. -- 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

[android-developers] Re: Map is not dispalying in the android emulator

2010-06-04 Thread aswini
Hi, Thanks for your reply, i am posting the source code, manifest file and layout here. this application developed as per the below link. http://mobiforge.com/developing/story/using-google-maps-android please guide me , what i am doing wrong in this. 1.certificate fingure print which i gener

Re: [android-developers] Call a service hosted in a windows service from Android

2010-06-04 Thread Lamia Hannoun
But maybe if a use a different address it'll work perfectly?? Don't u think? because the emulator can't reach the local host by using (localhost or 127.0.0.1) by default localhost=10.0.2.2 http://developer.android.com/guide/developing/tools/emulator.html I don't know how it worked for u?!!! 2010/6/

[android-developers] Re: Two articles on Android app development

2010-06-04 Thread mort
> The experience I shared there was practical - and there are times and > requirements when you do need to start a service at the boot time, and > it's really better to run it in a separate process. For example, any > mail-like application would have such requirements. Autostart might be useful, b

[android-developers] Re: Map is not dispalying in the android emulator

2010-06-04 Thread Nithin
from your code, just remove, android:required="true" from "uses- library" tag. For you, i created a simple program to display map as, public class ShowMap extends MapActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanc

[android-developers] How to show a dialog even if the Activity is in background

2010-06-04 Thread Jiang
If my Activity is switched to background, when something takes place, I want to show a dialog without switching the Activity to foreground. In other word, no matter what application is running on foreground, use can watch the dialog. Thanks. -Jiang. -- You received this message becau

[android-developers] Re: Play 2 sounds at once with different apps?

2010-06-04 Thread asicwizard
Android supports mixing of audio streams. http://developer.android.com/reference/android/media/SoundPool.html As for Pandora, yes, I have to pause it before playing YouTube or it will mix the two. On Jun 3, 6:56 pm, bschuhma wrote: > Is it possible to play audio via an app like slacker.com or >

RE: [android-developers] Re: Android graphical capabilities

2010-06-04 Thread Ericson, Anders
Yeah, it's the dynamics that really give it a nice feel. And a touch-list without fling support is not useful at all... Though the third part of the tutorial is not quite ready yet. It will probably be posted in about a week on the blog. Untill then I suggest playing around with the graphics :)

[android-developers] Re: Android finishActivity()

2010-06-04 Thread mike
hi Sean Hodges, it's working correctly. and is there a way to achieve this thing using startActivity()??? Starting Activity B like this startActivity(intent); so when i press back button from Activity B i'm doing this @Override public boolean onKeyDown(int keyCode, KeyEvent eve

[android-developers] Re: Android finishActivity()

2010-06-04 Thread mike
hi Sean Hodges, it's working correctly. and is there a way to achieve this thing using startActivity()??? Starting Activity B like this startActivity(intent); so when i press back button from Activity B i'm doing this @Override public boolean onKeyDown(int keyCode, KeyEvent eve

Re: 返: [android-developers] problem installing my app on real device

2010-06-04 Thread alariq
Thanks i'll try to check for UnknownSources is ON And about device view: i am not adding it into device list. I just copying apk on the device (over USB cable) , and then try to install it. About zipalign: doesn't Eclipse do it for you? On Jun 3, 12:20 pm, 楊健 wrote: > 1.Can you see your phone

[android-developers] Stop mobile modem

2010-06-04 Thread arnouf
Hi all, I search for a long time to stop the mobile modem (to restart it later). In this group, I watch some thread indicating a reference to APNdroid. Apparently it works changing the APN (name or other information) to cut the connection. Is there only this way? WifiManager has its own method to

Re: [android-developers] Re: Android finishActivity()

2010-06-04 Thread Sean Hodges
Mike, You need to think of activities like a stack of cards. If you open one, it will be placed on top of the pack. So if you want to open a new activity from Activity B, just do use startActivity() as normal. Activity A ---> Activity B --> Activity C When you close Activity C, do a setResult(RE

[android-developers] 最近写了两个应用,MMTi mer,火车余票查询

2010-06-04 Thread igo where
*火车余票查询* http://www.androidin.net/bbs/android-110739-1-1.html *MMTimer* http://www.androidin.net/bbs/android-110551-1-1.html MMTimer的widget有问题,现在还没有放出来,对widget的更新还不是很清楚,有点问题。稍后还需要大家的帮忙,遇到了更新问题了。 MMTimer让您每天拥有1440次恋爱。 *主要功能 -MMTimer每一分钟自动更新内容,更换不同的照片,一分钟一张图片,一份欣 喜,一小时60张微笑,一天1440次约会。 -系统资源占用率低; -提供

[android-developers] Re: GPS/LocationManager does not give a fix in my app

2010-06-04 Thread Charly
I am waiting a few minutes. long enough I think, specially considering that, as I mentioned before, other apps like Google Maps get a fix after just a few seconds. So it shouldn't be a matter of waiting, I guess there has to be something I am doing wrong, thou I'm unable to find what. Oh and I'm t

RE: 返: [android-developers] problem installing my app on real device

2010-06-04 Thread �罱
It seems you have done everything for releasing a apk. You need not to enable the UnknownSources if you have signed the apk file correctly. : ) -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of alariq Sent: Friday, June 0

[android-developers] Re: Any ScoreLoop users out there?

2010-06-04 Thread Junde (Scoreloop)
Hi Nightwolf, Yes we do give a hoot about such things! We have an English language blacklist that would filter and reject profanity. Unfortunately, currently, you would not be able to attach pictures to user profiles. Regards, Junde On Jun 2, 12:25 pm, Nightwolf wrote: > Sometimes users enter

[android-developers] Re: Android graphical capabilities

2010-06-04 Thread Neilz
For me, anything that shows how to do something different from the standard API demos would be great. Such as, when you start a new activity, changing the way it loads... rather than just sliding across the screen, it could spiral out from the center, or flip over from the right. That kind of thin

[android-developers] Debugging C++ code in Android

2010-06-04 Thread pop
Hi all, I am able to debug only till framework level using eclipse. Can anyone let me know how to debug C++ or library code in android. Thanks in advance, POP -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Re: Android Dev Phone with 2.x?

2010-06-04 Thread Tomáš Hubálek
In this case there is no chance in our country as Vodafone (as Nexus One distributor in Europe) said that they will not sell this phone in Czech Republic. I wish there would be ADP 3 as I like to have phone officially rooted (because of unofficially rooted phones lose warranty here). Tom On 4 čv

[android-developers] Microphone input level

2010-06-04 Thread Olivier Guilyardi
Hi, is there a way to change the mic audio input level? This is not about increasing it, as I can do this by applying a software gain. I need to reduce the level, to avoid clipping in loud sound conditions. -- Olivier -- You received this message because you are subscribed to the Google Group

[android-developers] PopupWindow can't be dismissed when press back key

2010-06-04 Thread ionel
Hi, I've created a custom PopupWindow but when I press back button, the window doesn't dissapear. If somebody found a solution please response. Thanks, Ionel. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Android finishActivity()

2010-06-04 Thread mike
hi Sean, this is what i have done. i Have 3 activities. Activity A, Activity B, and Activity C. Activity A is the starting Activity. according to a user action Activity A will navigate to Activity B like this. finish(); startActivityForResult(Activity B, 102); Activity A --> Activity B after

[android-developers] Open native Maps with "directions"??

2010-06-04 Thread guruk
Hi, I open my Native Google Maps like: Uri uri = Uri.parse("geo:0,0?q=Boston"); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); That works fine! BUT... how to open it with

[android-developers] Re: Android finishActivity()

2010-06-04 Thread mike
hi Sean, this is what i have done. i Have 3 activities. Activity A, Activity B, and Activity C. Activity A is the starting Activity. according to a user action Activity A will navigate to Activity B like this. finish(); startActivityForResult(Activity B, 102); Activity A --> Activity B after

Re: [android-developers] Re: Two articles on Android app development

2010-06-04 Thread Mark Murphy
Ivan wrote: > The experience I shared there was practical - and there are times and > requirements when you do need to start a service at the boot time, and > it's really better to run it in a separate process. For example, any > mail-like application would have such requirements. There is absolut

Re: [android-developers] Creating a hidden partition

2010-06-04 Thread Mark Murphy
surendra wrote: > hi, > > I am new to android platform. > Please give me some pointers on how to "make partitions invisible and > provide access to few applications only on this invisible partition" That is not possible, except maybe by developing your own firmware. -- Mark Murphy (a Commons Gu

[android-developers] Re: HeapWorker is wedged problem

2010-06-04 Thread m2k
hey guys, i do have exactly the same issue here it's about 11 seconds... but there - IS - a progess... i'm parsing an HTML page... it has to take that long... ;=) i'm extracting information... i can't do anything against it, any possibilities or ideas in eliminating this error? or some

[android-developers] Adding data in a tree to a ContentProvider

2010-06-04 Thread Vikram
At the application level, my data is of the form * Event * Contact List * Contact * Name * Email * Contact * Name * Email The number of contacts is not predefined. Any thoughts on how to push this into a ContentPr

[android-developers] Re: Adding data in a tree to a ContentProvider

2010-06-04 Thread Vikram
Kind of like inserting into a View (at the database level below the ContentProvider, this is literally inserting into a View: Sqlite Views are read-only!) Vikram wrote: > At the application level, my data is of the form > * Event > * Contact List > * Contact >* Name

[android-developers] Re: Map is not dispalying in the android emulator

2010-06-04 Thread Nithin
The code that I gave doesn't contain anything, except creating an object of mapView with API key and displaying it. Nithin On Jun 4, 5:00 pm, aswini wrote: > hi , thanks for your reply, > > i have tried the code which u have sent, still i didnt get the map, i > have attached the logcat below. >

[android-developers] Run in emulator

2010-06-04 Thread mishra
hi I developed a softphone which is running on device but not in emulator how to change wifi setting . plz tell me thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@google

Re: [android-developers] Re: GPS/LocationManager does not give a fix in my app

2010-06-04 Thread TreKing
On Fri, Jun 4, 2010 at 4:35 AM, Charly wrote: > Any other suggestions are more than welcome. I'll ask for third time, then I'm giving up on you. Does your location listener never get called or does it get called with bad / inaccurate values? ---

Re: [android-developers] Regarding enter key on virtual keyboard

2010-06-04 Thread ameya dandekar
Hi Rajiv, Thanks for the reply..but in my app i want to trap the virtual keyboard keycodes , "VK_RETURN" etc, which i referred from this link *http://www.codeweblog.com/virtual-keyboard-key-code-table/* which are not getting captured by onKeyDown method. How can i do that ? Thanks

Re: [android-developers] Regarding enter key on virtual keyboard

2010-06-04 Thread Mark Murphy
ameya dandekar wrote: > Hi Rajiv, >Thanks for the reply..but in my app i want to trap the > virtual keyboard keycodes , > "VK_RETURN" etc, which i referred from this link > *http://www.codeweblog.com/virtual-keyboard-key-code-table/* > which are not getting captured by onKeyDown m

Re: [android-developers] Re: Android finishActivity()

2010-06-04 Thread Sean Hodges
OK Mike, so reading carefully through your explanation, it looks to me that the process you want is this: A -> B -> C -> A -> (app close) Whilst what you are actually getting, with your current code, is this: A -> B -> C -> A -> A -> B -> (unknown) The complex nature of your activity jumping su

[android-developers] How to get the screen lock status

2010-06-04 Thread ubuntu_user
Hi All, I am looking for a method to get the current screen lock status. I would like to know if it is locked or not. I have a live wall paper that only need to work if the screen is unlock (i.e. full display is on), otherwise, it should be just blank. Thanks, Sorry if this is a newbie question.

Re: [android-developers] How to get the screen lock status

2010-06-04 Thread Mark Murphy
ubuntu_user wrote: > Hi All, > I am looking for a method to get the current screen lock status. I > would like to know if it is locked or not. I have a live wall paper > that only need to work if the screen is unlock (i.e. full display is > on), otherwise, it should be just blank. Watch for ACTION

Re: [android-developers] How to show a dialog even if the Activity is in background

2010-06-04 Thread TreKing
On Fri, Jun 4, 2010 at 3:09 AM, Jiang wrote: > In other word, no matter what application is running on foreground, use can > watch the dialog. Let me get this straight - you want to force a popup dialog in front of the user's current activity after they've made the deliberate decision to naviga

Re: [android-developers] How to get the screen lock status

2010-06-04 Thread Dmitry Suzdalev
On Friday 04 June 2010 17:44:19 ubuntu_user wrote: > I am looking for a method to get the current screen lock status. I > would like to know if it is locked or not. I have a live wall paper > that only need to work if the screen is unlock (i.e. full display is > on), otherwise, it should be just bl

[android-developers] Re: PopupWindow can't be dismissed when press back key

2010-06-04 Thread arnouf
- Use a Dialog component or - Catch the event on "back" button to finish your PopupWindow. Best On Jun 4, 1:42 pm, ionel wrote: > Hi, > > I've created a custom PopupWindow but when I press back button, the > window doesn't dissapear. > If somebody found a solution please response. > > Thanks, >

[android-developers] How does a "held" wakelock impact if the service dies with out releasing it?

2010-06-04 Thread Satya Komatineni
Scenario: 1. Broadcast Receiver holds a static wake lock hoping the service it started, when it finishes will release the lock 2. Howvever Service dies with out releasing the wake lock? What is likely to happen? I am assuming the process will be stopped after calling the "onDestory()" of the ser

[android-developers] findViewbyId returns null --- called in a custom CursorAdapter -- bindView() method. Codes in body.

2010-06-04 Thread Weikang Wan
package edu.ohio.android.bmm.activity; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; impor

Re: [android-developers] How does a "held" wakelock impact if the service dies with out releasing it?

2010-06-04 Thread Sean Hodges
Wake locks should be released when the object is garbage collected. See the finalize() method in the WakeLock subclass here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/os/PowerManager.java You will get a thrown exception in your logs if this occurs.

[android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-04 Thread Nathan
I haven't even used a wakelock yet, so I don't think a wakelock is the problem. I've thought of using a brief wakelock around a single file download. But I also think that users can leave the phone plugged in if they want the download to complete soon. Nathan On Jun 3, 9:15 pm, nikhil wrote: >

[android-developers] Re: Touch events

2010-06-04 Thread rahul
Hi i was able to see that the events goes in the WindowManagerService.java, Can you please let me know where exactly (which method is used to cancel the events) it is done. Thanks and Regards, Rahul On May 26, 9:55 pm, john wang wrote: > in WindowManagerService.java > > 2010/5/26 rahul > > > > >

Re: [android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Leigh McRae
Try and generate only one texture id at a time and see what happens. You never know. From what I am getting, it seems like the texture you're uploading isn't valid for the context somehow. Unfortunately OpenGL error checking can be hard since it was meant to be really light weight. It could

[android-developers] Camera Portrait

2010-06-04 Thread pawan nimje
Hi all I am opening camera from my application...and the orientation of camera is Landscape... but i actually want it to be portrait ... im using code from here: http://snippets.dzone.com/user/Jbeer any kind of help will do... Thanks -- You received this message because you are subscribed to

[android-developers] how to listen for system wide key presses

2010-06-04 Thread EdKawas
Hello, I am trying to add a listener to my service that listens for volume key presses. I would like to act on presses even if my service is not in focus. Any idea how to do this? I have looked over the API, as well as performed google searches. Thanks! -- You received this message because you

[android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Lance Nanek
If I take a default API level 3 app, load the icon using BitmapFactory.decodeResource, and check Bitmap#getWidth and Bitmap#getHeight, then I get the values of 48 on the Droid. Now if I set android:minSdkVersion to 4 or higher in the manifest, then I get the values of 72. This is because changing t

Re: [android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Leigh McRae
Good call. That is most likely the issue. I myself use the drawable-nodpi and set the screen selection to disable this feature. Leigh On 6/4/2010 11:27 AM, Lance Nanek wrote: If I take a default API level 3 app, load the icon using BitmapFactory.decodeResource, and check Bitmap#getWidth and

Re: [android-developers] how to listen for system wide key presses

2010-06-04 Thread Sean Hodges
I'm not aware of a system-wide key press listener, but check out the org.openintents.audio.action_volume_update bradcast intent: http://www.openintents.org/en/node/380 That should allow you to detect changes in the volume setting (including the button presses). On Fri, Jun 4, 2010 at 4:24 PM, E

[android-developers] Re: Creating an Android VN

2010-06-04 Thread Lance Nanek
Overlapping things in Android is pretty trivial. For example, when you put multiple children in a FrameLayout, they are all shown on top of each other as per the documentation: http://developer.android.com/reference/android/widget/FrameLayout.html Another method is the Toast utility for showing te

Re: [android-developers] how to listen for system wide key presses

2010-06-04 Thread Satya Komatineni
There was a thread last year on the topic of being able to intercept or respond to key strokes when the activity is not in focus. I believe the general consensus was that there is no such facility and that it is a good thing for privacy reasons as well. On Fri, Jun 4, 2010 at 11:42 AM, Sean Hodg

[android-developers] Re: how to listen for system wide key presses

2010-06-04 Thread EdKawas
Thanks for the quick reply. How does one use the intents from openintents.org? I took a look at their faq and didnt see anything. These intents cannot already be bundled with android, can they? Thanks. On Jun 4, 8:42 am, Sean Hodges wrote: > I'm not aware of a system-wide key press listener, but

[android-developers] determining if phone is rooted

2010-06-04 Thread jgostylo
I have an Android game where location is very important to the rules. There have been a bunch of cheaters and I have spent a long time closing off the ways that they exploit the system to cheat. One way they have been cheating is using a location spoofing app. I tried shutting that off by seeing

[android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Samsyn
Lance, That sounds pretty plausible. I did notice that api4 suddently started showing the true screen dimensions of my Droid (and unfortunately that also lowered my frame rate as there are more pixels to fill now :-) On Jun 4, 8:27 am, Lance Nanek wrote: > If I take a default API level 3 app, l

[android-developers] Re: How to get the screen lock status

2010-06-04 Thread ubuntu_user
Thanks for your response. However, as you can see the moment the user wake up the screen but before the user slide the lock key, I would like to know if the phone is in this state or not. As far as I can tell, the onVisibilityChanged will send me a "true" status as soon as the user wake up the scre

[android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Samsyn
Lance, (and everyone) Thank you so much! That was exactly it. All I had to do was rename my drawables folder to drawables-nodpi (and I did a full rebuild just to be nice) and now everything is back to normal, with api 4 in place. Of course, now I have to decide if I want to support higher rez s

[android-developers] MediaController in MediaPlayer

2010-06-04 Thread Abhi
Hello, I am using MediaPlayer to build a Video player for playing local video files. However, I don't know how to enable MediaController for my player. I want the media control buttons that pop up when you touch the video surface. Can anyone help me out please? Thanks, Abhi -- You received th

[android-developers] Re: How to show a dialog even if the Activity is in background

2010-06-04 Thread Streets Of Boston
Use a Notification that shows on the notifcation bar instead, showing the text that you want to convey to the use. This will be unobtrusive and still effective. On Jun 4, 4:09 am, Jiang wrote: > If my Activity is switched to background, when something takes place, I want > to show a dialog with

[android-developers] Re: GPS/LocationManager does not give a fix in my app

2010-06-04 Thread Charly
I though I implicitly answered. As soon as I changed location_manager.requestLocationUpdates(LocationManager.GPS_PROVIDER, scanTimer, 0, location_listener); into location_manager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, scanTimer, 0, location_listener); everything was working proper

[android-developers] How to custom format text in EditText

2010-06-04 Thread Jim
I'm just starting to drink from the fire hose that is android. For my first project I would like to have an EditText field for numeric input that will automatically reformat the input as the user types to something like: #,##0.00 as the user types in the value. I can't seen to find the right pl

[android-developers] Re: how to obtain email address?

2010-06-04 Thread HeHe
(refurbished) does anybody know how to programmingly obtain the (GMail) email address configured on a phone, which is usually the one initially entered to activate the phone? MANY thanks in advance for any know-how. On Jun 2, 9:43 am, HeHe wrote: > does anybody know how to programmatically obta

[android-developers] Why is making orientation configChanges manually frowned upon?

2010-06-04 Thread Adam Olsen
I posted this same question on stackoverflow, but didn't really get an answer: http://stackoverflow.com/questions/2967903/handling-orientation-changes-yourself When it comes to threading and handling orientation changes, it can become quite tedious because the Activity gets destroyed. You have t

[android-developers] Update ongoing notification only when notification window shown?

2010-06-04 Thread Nathan
Is there any way to detect whether the Notification Windows is being shown? I have a service that updates an ongoing notification, complete with a progress bar and text? Is there a way to know if the notifiication screen is actually being shown, so I can adjust how often I wouldn't be so concerne

Re: [android-developers] Update ongoing notification only when notification window shown?

2010-06-04 Thread Kostya Vasilyev
Nathan, Have you considered doing away with detailed progress info in the notification pulldown? The pulldown (Notification) could just indicate that there are downloads in progress, perhaps their total number. Then upon the user clicking on the notification item, you could display an acti

Re: [android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Tom Gibara
I recall getting bitten by this same bug a while ago when I switch an app out of "density-compatibility scaling". One thing you may need to watch out for is a bug in Android 1.5 - it mangles the dimensions of images in the drawable-nodpi directory iirc. There's a bit of code you might find useful

[android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-04 Thread nikhil
How do you not loose network connectivity without holding on to wakelock? Any secrets :P Or does the user keep the app active untill the download ends. On Jun 4, 10:02 am, Nathan wrote: > I haven't even used a wakelock yet, so I don't think a wakelock is the > problem. > > I've thought of usin

[android-developers] Re: Update ongoing notification only when notification window shown?

2010-06-04 Thread Nathan
On Jun 4, 1:41 pm, Kostya Vasilyev wrote: > Nathan, > > Have you considered doing away with detailed progress info in the > notification pulldown? > > The pulldown (Notification) could just indicate that there are downloads > in progress, perhaps their total number. > > Then upon the user clicking

[android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-04 Thread Nathan
On Jun 4, 2:02 pm, nikhil wrote: > How do you not loose network connectivity without holding on to > wakelock? > > Any secrets :P > > Or does the user keep the app active untill the download ends. > > On Jun 4, 10:02 am, Nathan wrote: > I don't know actually. Maybe the notification activity is a

Re: [android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-04 Thread Kostya Vasilyev
It's the other way around with WiFi and the screen - first, the screen switches off, then WiFi (after a delay). 05.06.2010 2:02 пользователь "Nathan" написал: On Jun 4, 2:02 pm, nikhil wrote: > How do you not loose network connectivity with... I don't know actually. Maybe the notification activ

[android-developers] Bitmap memory handling with ImageView.setimage

2010-06-04 Thread Nathan
I've read a lot of previous messages on this topic but couldn't find universal agreement on the whole. I can't reproduce this in house, but a customer got an OutOfMemoryError when using an icon chooser dialog. This dialog is much like the Grid1 example - only it's in a dialog. The bitmap memory

[android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-04 Thread Nathan
On Jun 4, 3:06 pm, Kostya Vasilyev wrote: > It's the other way around with WiFi and the screen - first, the screen > switches off, then WiFi (after a delay). > So when does the CPU turn off? After wifi? Nathan -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Detect Google map moving

2010-06-04 Thread Károly Holczhauser
Hi all ! I have a google map included on my phone. I would like to ask, how can I detect the user has pointed the screen and he/she moved a map away from the current location ? I'm going to make a navigation system witch always following the user's icon on the map as he/she is moving, but he/sh

[android-developers] Calculate Time Elapsed

2010-06-04 Thread Anthoni
Hello, So I've been struggling with this and I am not sure why because it should be simple, but for some reason I just can not get my head around it !! I am developing a game and when the user saves their game, I write out the last time I checked their stats using System.currentTimeMillis(). Then

Re: [android-developers] Re: HTC Incredible suffering a reset while service running.

2010-06-04 Thread Kostya Vasilyev
I was talking about WiFi vs. the screen - not the CPU state. That, I don't know. 05.06.2010 2:24 пользователь "Nathan" написал: On Jun 4, 3:06 pm, Kostya Vasilyev wrote: > It's the other way around with Wi... So when does the CPU turn off? After wifi? Nathan -- You received this message b

Re: [android-developers] Calculate Time Elapsed

2010-06-04 Thread Kostya Vasilyev
Was that really supposed to be a "%"? The modulo (remainder) operator? 05.06.2010 2:56 пользователь "Anthoni" написал: Hello, So I've been struggling with this and I am not sure why because it should be simple, but for some reason I just can not get my head around it !! I am developing a game

[android-developers] android.permission.MOUNT_UNMOUNT_FILESYSTEMS problem / questions

2010-06-04 Thread rchndrsn
I am writing an app to move data between the host and the phone. Initially I need to do it by copying files to the SDcard, then mounting the SDCard as host mass storage ( while unmounting it from the phone). And vica-versa. I am trying to do this using the mount call defined in SYSCALLS.TXT. I ma

[android-developers] Re: HeapWorker is wedged problem

2010-06-04 Thread fadden
On Jun 4, 5:28 am, m2k wrote: > i'm parsing an HTML page... > > it has to take that long... ;=) i'm extracting information... > i can't do anything against it, The problem is that a *finalizer* is stuck for that long. If you can eliminate the finalizer, problem solved. If you can't, you nee

[android-developers] Re: Calculate Time Elapsed

2010-06-04 Thread Peter Eastman
The number of seconds elapsed is just timePassed/1000. You're trying to make it more complicated than it really is. Peter -- 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

[android-developers] Skinning Buttons

2010-06-04 Thread John Gaby
I want to provide my own images for buttons. Now I can call the setBackgroundResource(id) function to change the background of a button, but it does not handle the various states. How do I specify a different image for each state (normal, pressed, selected)? Thanks. -- You received this messag

[android-developers] Random pauses with “Key dispa tching timed out sending to ” when closing Android S urfaceView

2010-06-04 Thread Ken
When I close an Android SurfaceView Activity (this sometimes happens when bringing up the menu for that activity as well), the app sometimes pauses and almost gets an ANR (Application Not Responding) message. Looking at LogCat, it appears to be timing out trying to send keys to it. I tried modifyin

Re: [android-developers] Skinning Buttons

2010-06-04 Thread Mark Murphy
John Gaby wrote: > I want to provide my own images for buttons. Now I can call the > setBackgroundResource(id) function to change the background of a > button, but it does not handle the various states. How do I specify a > different image for each state (normal, pressed, selected)? You need to

[android-developers] Re: Calculate Time Elapsed

2010-06-04 Thread Anthoni
Hi Peter, Thanks. Certainly was trying to over complicate things, but not sure why. Anyway, removing the last part solves the problem. Regards Anthoni On Jun 5, 1:54 am, Peter Eastman wrote: > The number of seconds elapsed is just timePassed/1000.  You're trying > to make it more complicated th

[android-developers] Re: 最近写了两个应用, MMTimer,火车余票查询

2010-06-04 Thread Bob Kerns
It seems (using Google's translation service) that you say you have a problem, but do you have a question? This looks to me more like an ad On Jun 4, 2:33 am, igo where wrote: > I train ticket query * *http://www.androidin.net/bbs/android-110739-1-1.html > > * MMTimer *http://www.androidin.n

[android-developers] Re: glGenTextures going crazy on actual device

2010-06-04 Thread Samsyn
Thanks for the nodpi tip... I do have a followup question though. To control performance, I would like to be able to tell android "no matter what the phones native resolution is, if it is bigger than X, could you please lie to me, as in api 3, and make it closer to X, but don't just render me as

[android-developers] How do we attach an image/files to a forum posting?

2010-06-04 Thread Biosopher
I've seen a few people attached images & files to their posts. Could somebody explain how I can do this? I don't see any options for doing this when I post a message. Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: Need help on List Adapter

2010-06-04 Thread Ramesh Sangili
Any help is greatly appreciated!!! Please guys share your thougths On Sun, May 30, 2010 at 8:01 AM, Ramesh Sangili wrote: > Guys, > > I am extending BaseAdapter and trying to populate the List Screen on my > Activity Screen. NotifyDataSetChanged is not working as expected. Please > find the be

[android-developers] Re: Creating an Android VN

2010-06-04 Thread EwanG
Thanks for the suggestions. This at least gives me somewhere to start! On Jun 4, 10:44 am, Lance Nanek wrote: > Overlapping things in Android is pretty trivial. For example, when you > put multiple children in a FrameLayout, they are all shown on top of > each other as per the > documentation:ht

Re: [android-developers] Re: 最近写了两个应 用,MMTimer,火车余票查询

2010-06-04 Thread igo where
hi,thanks for you help.I post it is really to be a ad. when i use the widget, i occur the following issue. 05-28 12:01:14.937: WARN/ActivityManager(52): Unable to launch app com.mmtimer/10024 for broadcast Intent { act=android.appwidget.action. APPWIDGET_ENABLED cmp=com.mmtimer/.MMWidget }: process

[android-developers] Re: Any ScoreLoop users out there?

2010-06-04 Thread Junde (Scoreloop)
Hi again Nightwolf, But optional Scoreloop profile images will be something coming up soon. Watch this space :) On Jun 4, 6:06 pm, "Junde (Scoreloop)" wrote: > Hi Nightwolf, > > Yes we do give a hoot about such things! > We have an English language blacklist that would filter and reject > profan

Re: [android-developers] Re: Need help on List Adapter

2010-06-04 Thread igo where
i think you should not need to montior the change, one thing you need do is to change the baseAdapter ,i do like this public SimpleAdapter initAdapter( ArrayList> listDataSource) { SimpleAdapter mSchedule = new SimpleAdapter(this, listDataSource,

[android-developers] Re: How do we attach an image/files to a forum posting?

2010-06-04 Thread Biosopher
Figured it out. Send emails to the Google Group (e.g. android- develop...@googlegroups.com assuming your a member of the group) along with image/file attachments. Here's what I achieved: http://groups.google.com/group/android-developers/browse_thread/thread/2eb18f338d007b2b# -- You received thi

[android-developers] Re: Need help on List Adapter

2010-06-04 Thread Indicator Veritatis
My main thought on glancing at this is: you are more likely to get the help you want if you tell us more. What, for example, do you expect NotifyDataSetChanged() to do? What data has changed, and what View are you expecting needs to be updated to reflect the change? Maybe you will luck out and fin

[android-developers] Re: Android finishActivity()

2010-06-04 Thread mike
Hi Sean, when you set ... like this what happens is Activity C runs on top of Activity A not on Activity B. that is not what i want i want Activity C to run on top of Activity B regards, Randika -- You received this message because you are subscribed to the Google Groups "Android Developers"

Re: [android-developers] Re: Android Library Project

2010-06-04 Thread Mark Carter
I had to abandon the Library Project approach in the end because I was running into so many eclipse errors it was really slowing me down. This is particularly true when refactoring - which, I suppose, is the first thing people do when changing their code to use libraries. For example, if your Libr

[android-developers] Published app not showing up on HTC Evo or Droid Incredible

2010-06-04 Thread Alberto
Hello, I recently published our app to the marketplace and enabled copy protection. The app shows up when browsing the market on the Motorola Droid and others but does not appear when browsing with either the HTC Evo or Droid Incredible. Is this due to the copy protection? I'd like to keep my app

  1   2   >