[android-developers] MediaRecorder / MediaPlayer simultaneous use?

2010-04-16 Thread Anandi
Hi dave, With reference to this discussion, does this mean that simultaneous Record and Playback with Mediarecorder and Mediaplayer is not possible at this point? Please reply, Thanks in advance. Regards Anu -- Forwarded message -- From: Dave Sparks davidspa...@android.com

[android-developers] switchTimezone

2010-04-16 Thread Ajay
Hi, I am using the switchTimezone() method of the Time class. I am not sure what string should be passed to convert the time to a different time zone. For example: My current time zone is +5:30 GMT and current time is 11:30 AM (+5:30 GMT) and I call the switchTimeZone() by passing a string

[android-developers] Re: How to use the lib(.jar) which android sdk didn't contain

2010-04-16 Thread javame_android
Hi, Android has Dalvik Virtual Machine and not Java Virtual Machine. So, I don't think you will be able to use this class in Android. In case, you want to try adding external jar to Android project you can definitely do that. For that, keep the jar in the assets folder and then add that jar to

[android-developers] Related Task

2010-04-16 Thread sunita
Suppose one application is there named Display. It holds many activities.Lets take Root activity is (a). I start activity (b) (which is also a part of Application Display) from a provider class ( which is not activity ).Activity (b) is started in new task.I close activity (b).I press home and

[android-developers] Re: Map app with GPS is not working in Nexus One

2010-04-16 Thread javame_android
Hi, Avoid using getLastKnownLocation and try to use requestLocationUpdates instead. I think it is not finding any last known location and so its returning null. This method will behave differently in different methods. So, its better to use requestLocationUpdates. Regards Sunil -- You

[android-developers] Re: Cant login into android market. Market down?

2010-04-16 Thread powder
Hi, Next day it was working, it seem google market had some temporary problems... On Apr 15, 10:43 pm, powder jonas.hey...@gmail.com wrote: Cant login into android market get the following error: Oops! This link appears to be broken. Suggestions: Access a cached copy of market. android.

[android-developers] Re: include tag and text

2010-04-16 Thread String
On Apr 15, 6:22 am, Romain Guy romain...@android.com wrote: include / does not let you override random attributes at the moment. Only android:id is supported. Uh, Romain? The documentation at http://developer.android.com/resources/articles/layout-tricks-reuse.html - which is based on a blog

[android-developers] Re: onRestart() method not called on restart

2010-04-16 Thread nickon
On 15 apr, 21:32, ~ TreKing treking...@gmail.com wrote: On Thu, Apr 15, 2010 at 11:05 AM, nickon nickvanbae...@gmail.com wrote: What is the reason that this method is never called? Am I understanding the activity lifecycle wrong? Not sure, but I've never used onStop or onRestart. I would

[android-developers] Game develop like Air Attack touching screen event

2010-04-16 Thread a a
Anyone have download and played the Air Attach? In this game, 1.The man can go right when you touch and move finger to the right and can go left when touch and move finger to the left, 2.Touch and release, it is launching a missile I'm also want's to develop a game and have this function,

[android-developers] Re: Selling outside the Android Market-- Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-16 Thread mot12
I would not trust SlideMe. For my best selling app, I had 10,000 sales through Google Market, 900 sales via PayPal and 20 sales via SlideMe. So I stopped my sales on SlideMe and asked for a payout. They told me they only do payouts $100. I asked if this was a scam since the vast majority of

[android-developers] Re: wlan.ko and tiwlan.ini ?

2010-04-16 Thread MobDev
hhmm, isn't this kinda of topic-hijacking ? It's somewhat off-topic and even the subject of discussion has been changed completely... On 16 apr, 00:23, Emre A. Yavuz eayl...@hotmail.com wrote: Does anybody know where to find a good tutorial on wlan.ko module and tiwlan.ini configuration file ?

[android-developers] How to provide animation when calling another activity in Android?

2010-04-16 Thread javame_android
Hi, I have two Activities A and B. I want to have the shrink Animation when Activity A calls B and maximize animation when Activity B calls A. I don't need the animation xml files for this. When we call another Activity in Android it gives its default animation and then it calls shrink

[android-developers] Re: How to switch between views following a finger ?

2010-04-16 Thread Julien Del Rio
I will see. Thanks. On 15 avr, 19:49, Marc gobl...@gmail.com wrote: I used this tutorialhttp://whyandroid.com/android/174-flipping-your-views.html On Apr 15, 1:19 am, Julien Del Rio julien.del...@gmail.com wrote: Hi, I can't find a tutorial on Google for my problem. I'm french and i

[android-developers] Clear defaults programmatically

2010-04-16 Thread Bonifaz
Does anyone know how to clear defaults of my own app by code. I know that a user can always go to Manage Applications, find my app and click the button there to clear previously assigned default actions. But for most users this isn't intuitive at all. I would like to offer my customers a

[android-developers] Cancel Alarms / Filtering

2010-04-16 Thread mac-systems
Code below creates an Alarm, so far everything is working fine. But i am a bit lost in the Documentaion how to cancel an Alarm. I need to cancel only special Alarm(s) depending on Intent#putExtra(IntentConstants.SELECTED_PRIMARY_KEY,_selectedID); How can i archive this ? public static

[android-developers] Current consensus on whether to use Copy Protect mode when publishing in Market?

2010-04-16 Thread Geefer
Without wishing to start a firestorm, what is the current consensus on whether or not it is useful to use the Copy Protect setting when publishing on the Market? What are the pros and cons of doing so? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Game develop like Air Attack touching screen event

2010-04-16 Thread a a
Dear all, i tested below, but it don't work 1. I wrote my GodsendView public class GodsendView extends View implements OnTouchListener { @Override public boolean onTouch(View v, MotionEvent event) { Log.d(harvey, onTouch); return false; } }

[android-developers] sdcard and music player app

2010-04-16 Thread Channa
Hi, I have some doubt with respect to the Music player application. When I insert the SDcard , MediaScannerService scans the SDcard for any media content. When I start the Music player application I can the Aritst/album/songs list etc. When I remove the SDcard and start the Music player again the

[android-developers] Google IO Tickets?

2010-04-16 Thread Roger L
I am looking for one or two tickets I dorked around for WAY too long, and missed out by a week on buying tickets! I really would love to go, being a small, poor developer, who needs to go interface at these things I have money to pay for the ticket(s) (HOW MUCH DO YOU WANT?!) Do you have a

[android-developers] Re: Related Task

2010-04-16 Thread Nithin
use android:launchMode=singleTask On Apr 16, 11:25 am, sunita agrawal.suni...@gmail.com wrote: Suppose one application is there named Display. It holds many activities.Lets take Root activity is (a). I start  activity (b) (which is also a part of Application Display) from a provider class

[android-developers] Re: Current consensus on whether to use Copy Protect mode when publishing in Market?

2010-04-16 Thread Paul
Good question, would love to hear the answer myself. -- 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: OpenGL and the use of ByteBuffers

2010-04-16 Thread Eong
If glTexImage2D is more than 100ms, glTexSubImage2D doesn't make any sense. I found that this will only happen on phones with snapDragon chips, like Nexus one, Liquid and so on. I tried a lot, can't solve it yet. On 2月24日, 下午5时19分, Ralf Schneider li...@gestaltgeber.com wrote: 2010/2/24 Jonathan

[android-developers] Re: Cancel Alarms / Filtering

2010-04-16 Thread mac-systems
I made some Test to terminate the pending Alarms. I figured out that the API Doc seems to be wrong for Method: PendingIntent.getBroadcast(...) WRONG: requestCode Private request code for the sender (currently not used). --- If you're using another requestCode the Alarm will not be

Re: [android-developers] Re: Selling outside the Android Market-- Use Google Checkout to sell direct from website??? SlideMe.Org??

2010-04-16 Thread George | SlideME
Martin, Your ticket reference is still open but as stated you need to conform to issuing a proper invoice based on the report we will issue you and not just a copy and paste in some document of some transactions as you choose to do so. There is a formal format you need to follow so such an

[android-developers] need a callback on clicking a link obtained after using linkify

2010-04-16 Thread learning by sharing
I am using linkify on a textview to make the links out of phone numbers and email addresses.When i click on the phone number it opens a window of android where it uses the utility of android to make a call.What i want is that when i click on the link the control should be returned to me so that i

[android-developers] How to overwrite the default background of List Item in A ListView when the List Item has focus

2010-04-16 Thread waterblood
Hi All, I am trying to overwrite the default backgroud color of List item which is holding the focus in the ListView. As you can see, in Android Setting Menu, when you scroll through the ListView, the focused ListItem has a red backgroud to highlight its focus. Does any way to change the default

[android-developers] Re: Cancel Alarms / Filtering

2010-04-16 Thread mac-systems
Created an Issue for that: http://code.google.com/p/android/issues/detail?id=7780 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: OpenGL and the use of ByteBuffers

2010-04-16 Thread Mario Zechner
From my experience this also happens with the PowerVR chips in the Droid/Milestone On 16 Apr., 13:07, Eong eong.c...@gmail.com wrote: If glTexImage2D is more than 100ms, glTexSubImage2D doesn't make any sense. I found that this will only happen on phones with snapDragon chips, like Nexus one,

[android-developers] glTexImage2D very slow on phones like Nexus one

2010-04-16 Thread Eong
Hi, We are developing 2D games. And we found our game works fine except the snapdragon chips, like Nexus one and Liquid A1. It even runs fine on G1. We use GLSurfaceView, and we use glTexImage2D and glTexIsubmage2D to put on the text and then draw. The glTexImage2D class take more than 100ms on

[android-developers] listen for changes made in ContactMethod table

2010-04-16 Thread jrichards1...@googlemail.com
Hi. i am trying to listen out for for changes made in ContactMethod table using the code below: mPeopleObserver = new ContactContentObserver(mHandler); this.getContentResolver().registerContentObserver(Contacts.ContactMethods.CONTENT_URI, true, mPeopleObserver);

[android-developers] Re: Application wake up

2010-04-16 Thread SAM
Thanks Guys. Its working now. So the process goes like this: 1. In your manifest file, make a activity and a receiver. Mention your receiver class name here. 2. Make a entry for uses-permission android:name = android.permission.RECEIVE_SMS 3. To test on emulator, test by DDMS perspective view. 4.

[android-developers] Why am i getting same values of different JSON date values?

2010-04-16 Thread Maxood
I do not know the reason why am i getting same values of different JSON date values. Here is my code for parsing date values in JSON date format: package com.jsondate.parsing; import java.text.SimpleDateFormat; import java.util.Date; import android.app.Activity; import android.os.Bundle; import

Re: [android-developers] Re: Current consensus on whether to use Copy Protect mode when publishing in Market?

2010-04-16 Thread Justin Giles
There were reports, albeit old reports (November/December 2009 timeframe) that having copy protection turned on could cause your app to not be visible in the market on all devices. I know of some developers that turned off copy protection and their apps returned to the market visible to all. I'm

Re: [android-developers] Re: Get file path from asset

2010-04-16 Thread Michael MacDonald
On 04/15/10 11:17, Ne0 wrote: Thanks, I hadn't, but i have now and it did not work. pdg was a typo i meant. .. Uri path = Uri.fromFile(new File(assets/UserGuide.pdf); .. Any other suggestions? I don't think other apps can access assets that are part of your .apk directly--you might

[android-developers] UncaughtExceptionHandler not called ?

2010-04-16 Thread mac-systems
Hello, i use a ScheduledThreadPoolExecutor combined with a ThreadFactory, their all combined should cause an unchaught Exception to be logged so that i can see what happening if any thread is dying in the ThreadPool: threadPool = new ScheduledThreadPoolExecutor(poolSize, new ThreadFactory());

[android-developers] Re: Motorola Droid / Milestone projector

2010-04-16 Thread ftovalle
Thanks a lot! On 15 abr, 19:47, Mark Murphy mmur...@commonsware.com wrote: ftovalle wrote: Hi everybody, i want to show my interaction from my cell phone in projector (or into PC monitor), is there  way? anybody know? My cell phone is a motorola droid (actual name is milestone). Oh,

Re: [android-developers] How to overwrite the default background of List Item in A ListView when the List Item has focus

2010-04-16 Thread social hub
android:listSelector On Fri, Apr 16, 2010 at 6:23 AM, waterblood guoyin.c...@gmail.com wrote: Hi All, I am trying to overwrite the default backgroud color of List item which is holding the focus in the ListView. As you can see, in Android Setting Menu, when you scroll through the ListView,

[android-developers] Re: Get file path from asset

2010-04-16 Thread Ne0
Good point, but i still need to know the path to my assets to be able to copy it don't i? I don't really want to open a Reader and copy it that way. As a workaround i am now just downloading the file from the web, but i would much prefer to have it embedded in my package. Ne0 -- You received

[android-developers] Re: UncaughtExceptionHandler not called ?

2010-04-16 Thread mac-systems
Just to make this Complete, there some J2SE Code which shows whats expected: public final class ThreadLogger implements Thread.UncaughtExceptionHandler { private final static String LOG_TAG = ThreadLogger.class.getSimpleName(); /* * (non-Javadoc) * *

Re: [android-developers] glTexImage2D very slow on phones like Nexus one

2010-04-16 Thread Felipe Silveira
Just a guess: It can be the same error reported here: http://code.google.com/p/android/issues/detail?id=7520 Take a look... Felipe Silveira http://www.felipesilveira.com.br On Fri, Apr 16, 2010 at 8:40 AM, Eong eong.c...@gmail.com wrote: Hi, We are developing 2D games. And we found our game

[android-developers] Wifi - Unable to scan for networks

2010-04-16 Thread guru
Hi, in Wifi module, postAttemptScan is used to retry for the scanning. Below is the section of code. Here SCAN_MAX_RETRY is 5, if it retry it for 4 times ( as he is doing below ), then it will display Unable to scan Network and immediately displays the Scan AP. if it retry it for 5 times, then it

Re: [android-developers] How to overwrite the default background of List Item in A ListView when the List Item has focus

2010-04-16 Thread Carmen Delessio
Or in the code, use setSelector method of listview. Something like: myListView.setSelector(R.drawable.listdrawable) http://developer.android.com/intl/zh-CN/reference/android/widget/AbsListView.html#setSelector%28int%29 public void setSelector (int resID) Since: API Level

Re: [android-developers] How to overwrite the default background of List Item in A ListView when the List Item has focus

2010-04-16 Thread social hub
android:listSelector=@android:color/transparent I have used this to set color and it works. On Fri, Apr 16, 2010 at 8:20 AM, Carmen Delessio carmendeles...@gmail.comwrote: Or in the code, use setSelector method of listview. Something like: myListView.setSelector(R.drawable.listdrawable)

Re: [android-developers] How to overwrite the default background of List Item in A ListView when the List Item has focus

2010-04-16 Thread social hub
you can also use setSelector as mentioned by Carmen On Fri, Apr 16, 2010 at 8:28 AM, social hub shubem...@gmail.com wrote: android:listSelector=@android:color/transparent I have used this to set color and it works. On Fri, Apr 16, 2010 at 8:20 AM, Carmen Delessio carmendeles...@gmail.com

[android-developers] Re: Current consensus on whether to use Copy Protect mode when publishing in Market?

2010-04-16 Thread String
On Apr 16, 1:42 pm, Justin Giles jtgi...@gmail.com wrote: There were reports, albeit old reports (November/December 2009 timeframe) that having copy protection turned on could cause your app to not be visible in the market on all devices. This does continue to be the case, apparently due to

[android-developers] Re: Morphing TextView background images?

2010-04-16 Thread Juan
If you stack the two drawables as ImageViews on top of each other (possibly using a FrameLayout or RelativeLayout) a Tween Animation [http://developer.android.com/intl/fr/guide/topics/graphics/2d- graphics.html#tween-animation] using an alpha transformation should create the appearance of a

[android-developers] Re: Current consensus on whether to use Copy Protect mode when publishing in Market?

2010-04-16 Thread dadical
Let me share a nightmare with you that I'm still going through now. I have two apps on the market (screebl lite/pro) that have seen moderate success in Android Market terms, approaching 80k downloads. For the pro version, I had never enabled copy protection because of the problems that had been

[android-developers] Avoid cache name collisions with webkit

2010-04-16 Thread Brian
I'd like to use my app's cache directory for storing small image files (80x80 thumbnails) downloaded from the internet, but at the same time I'm using WebViews which also want to use that area for images. What I want to avoid are file name collisions with webkit, so that cached content between

[android-developers] Re: A problem about -rpath-link

2010-04-16 Thread andrej sarkic
You may want to post your question to the Android-NDK list. On Apr 15, 9:45 pm, Ke Wu kerl@gmail.com wrote: Hi all, I got a new clue, in the rpath-link option, could be several paths, and use colon to separate these paths. So, if I want to use windows driver path, I must find out a way to

[android-developers] Re: A problem about -rpath-link

2010-04-16 Thread andrej sarkic
You should read this first: http://developer.android.com/sdk/ndk/index.html On Apr 15, 9:45 pm, Ke Wu kerl@gmail.com wrote: Hi all, I got a new clue, in the rpath-link option, could be several paths, and use colon to separate these paths. So, if I want to use windows driver path, I must

[android-developers] Re: OutOfMemory calling MediaStore.Images.Media.getBitmap

2010-04-16 Thread Streets Of Boston
The 750,000 bytes are the size of the *compressed* JPEG. A Bitmap instance holds the *raw* color data, not the compressed data. E.g. if the raw color data has format ARGB_, then each pixel uses 4 bytes: 5MPixel images will use 20MBytes of memory. If the raw color data has the format RGB_565,

Re: [android-developers] Re: Map app with GPS is not working in Nexus One

2010-04-16 Thread ~ TreKing
On Fri, Apr 16, 2010 at 12:54 AM, SREEHARI sreehari.madhusooda...@wipro.com wrote: Hi TreKing, Sorry I dint get u My point is this: you have a null pointer exception. You showed exactly which line the exception happens on. In that line there is exactly one object you are using that could be

[android-developers] java.nio IntBuffer.get perfomance problem

2010-04-16 Thread Ingersol
Hello. I have an direct buffer ByteBuffer mScreenBuffer = ByteBuffer.allocateDirect(width*height*4); I can read him trought byte[] bytebuf = new byte[width*height*4]; mScreenBuffer.get(bytefuf); and it will be lightingly fast Well, now i need array of ints so lets make some changes: int[]

[android-developers] Re: java.nio IntBuffer.get perfomance problem

2010-04-16 Thread Ingersol
--   public abstract int get(); --- so it will use DirectByteBuffer's get() method since they share only one get() method It uses IntToByteBufferAdapter's .get(), but it uses

[android-developers] Re: Social Gaming Platforms

2010-04-16 Thread Maurício
Nice to know that at least one of the companies is actually interested in the developers :) On Apr 14, 4:02 am, Junde jun...@gmail.com wrote: Hi Michael, Rob and Mauricio, I'm Junde from Scoreloop and I'm here to help :) Yes, our Android platform is currently only available to a few

[android-developers] Re: Sending email with attachment

2010-04-16 Thread powder
Sorry for not responding earlier. This worked for me: public static void sendFile(Context context) { String emailPreference = PreferenceManager.getDefaultSharedPreferences(context).getString(emailPreference, ); String subjectPreference =

[android-developers] onSharedPreferenceChanged() Not Called in Live Wallpaper (WallpaperService) Engine

2010-04-16 Thread shaun
I am experiencing something strange with a Live Wallpaper. I very closely followed several examples out there on Live Wallpapers in regards to shared preference settings (e.g. Android sample app Cube Live Wallpaper). The Engine implements SharedPreferences.OnSharedPreferenceChangeListener and

[android-developers] accessing and changing Sync setting for android 1.5, 1.6 and more

2010-04-16 Thread zehunter
hi, i'm not able to find any example or documentation or tutorial about how to enable or disable sync (background data and auto sync) programmaticaly, even if i can found many widget that can do that without root access or such. is it something secret? :-) can any one may be good enough to help

[android-developers] Highlight part of the text in a textview object

2010-04-16 Thread sebastian23
Hi toghether i habe some text displayed in a textview and would like to highlight (e.g. a specific background or font color) part of it. But how can i do that? didn't found a solution in the api or google. thanks for any hint -- You received this message because you are subscribed to the

[android-developers] Re: glTexImage2D very slow on phones like Nexus one

2010-04-16 Thread Eong
I'm afraid it's not a same problem. My problem only happenes on Snapdragon phones. It's fine on Milestone or Droid. I found a few threads about this but no solution. On 4月16日, 下午9时15分, Felipe Silveira webfel...@gmail.com wrote: Just a guess: It can be the same error reported

Re: [android-developers] Re: What does targetSdkVersion do?

2010-04-16 Thread Dianne Hackborn
The camera doesn't use memory (for the most part) that would be accounted against the app and thus cause you to run out of memory. It is, however, a higher megapixel camera, and the resulting bitmaps you are making due to that in combination with the additional memory needed for higher density

[android-developers] Re: Waiting for Debugger

2010-04-16 Thread dillipk
I still have the same problem.. any help on this please? On Mar 29, 11:45 am, dillipk codersnet2...@gmail.com wrote: Hello,     I am trying to debug my application on Emulator, but it just stucks off on one message Waiting for Debugger - Application XXX is waiting for the debugger to

[android-developers] Re: Spurious calls to onPause?

2010-04-16 Thread asher
Nobody's seen anything like this? I'm to the point where I'm just disabling big chunks of my app to see if I can get the behavior to go away, but while it's there it's preventing me from implementing onPause in any useful way. Incidentally, I tracked down the ParseCommandEcho line and it's not

[android-developers] moveTaskToBack returning false.

2010-04-16 Thread praj
Hi, I am trying to send all my activities to background by calling this.moveTaskToBack(true); on a menu button click, but the call returns me a boolean value false. Please can anyone let me know if my way to invoke this is wrong or if I am doing anything wrong. Thanks, Prajakta -- You received

[android-developers] Re: glTexImage2D very slow on phones like Nexus one

2010-04-16 Thread Robert Green
Eong, You said you are uploading every frame just to draw text? There are much more efficient ways to do that. On Apr 16, 11:14 am, Eong eong.c...@gmail.com wrote: I'm afraid it's not a same problem. My problem only happenes on Snapdragon phones. It's fine on Milestone or Droid. I found a

[android-developers] Re: Game develop like Air Attack touching screen event

2010-04-16 Thread Robert Green
Make sure your view calls setFocusableOnTouchEvents(true) On Apr 16, 4:44 am, a a harvey.a...@gmail.com wrote: Dear all, i tested below, but it don't work 1. I wrote my GodsendView public class GodsendView extends View implements OnTouchListener {         @Override         public boolean

[android-developers] Re: OpenGL and the use of ByteBuffers

2010-04-16 Thread Eong
I use glTexImage2D and glTexSubImage2D, it's okay on Droid/Milestone. 20ms for 854*480. But on Nexus one, it takes 150ms to draw a full screen.(800*480) On 4月16日, 下午7时39分, Mario Zechner badlogicga...@gmail.com wrote: From my experience this also happens with the PowerVR chips in the

[android-developers] Re: Spurious calls to onPause?

2010-04-16 Thread asher
OK, I should have done this earlier. I created a new Android app in Eclipse, added an onPause override in the activity containing nothing but a single log message (and the super call), and ran it, and got exactly the same behavior. This seems to be either a bug in Android (I'm running 1.5), or I'm

Re: [android-developers] Re: Spurious calls to onPause?

2010-04-16 Thread Mark Murphy
asher wrote: OK, I should have done this earlier. I created a new Android app in Eclipse, added an onPause override in the activity containing nothing but a single log message (and the super call), and ran it, and got exactly the same behavior. This seems to be either a bug in Android (I'm

Re: [android-developers] Re: Spurious calls to onPause?

2010-04-16 Thread ~ TreKing
On Fri, Apr 16, 2010 at 1:16 PM, asher as...@vanteon.com wrote: Can anyone help? If anyone's actually reading this, would you at least respond so I know I'm not shouting in the dark here? Sorry, no idea what to tell you besides maybe override every other lifecycle function (onStop, onStart,

[android-developers]

2010-04-16 Thread Sergii Biloshytskyi
http://PaceyMolesworth3231.co.cc -- Шукай в телефонi мiй слiд... -- 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: Spurious calls to onPause?

2010-04-16 Thread abisai rangel
Want to get the phone for free click here http://bizoppoffer.com/x/0/1319/6428/ dont wait till supplys fly. On Fri, Apr 16, 2010 at 11:38 AM, Mark Murphy mmur...@commonsware.comwrote: asher wrote: OK, I should have done this earlier. I created a new Android app in Eclipse, added an onPause

[android-developers] Re: onSharedPreferenceChanged() Not Called in Live Wallpaper (WallpaperService) Engine

2010-04-16 Thread shaun
Well, I tested one of the sample applications (http://code.google.com/ p/androgames-sample/) and both the Engine's and Settings' onSharedPreferenceChanged() methods are called and with the same instance of SharedPreferences object. So, apparently something is different in my Live Wallpaper. I

[android-developers] Return value for a PendingIntent launched via a Notification

2010-04-16 Thread ssozonoff
Hello, Is is possible to get back a result intent when launching an Intent from a Notification? Similar to the way startActivityForResult() works ? Thanks, Serge -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Return value for a PendingIntent launched via a Notification

2010-04-16 Thread Mark Murphy
ssozonoff wrote: Hello, Is is possible to get back a result intent when launching an Intent from a Notification? Similar to the way startActivityForResult() works ? Not directly -- there is nothing to receive the result intent. Whatever the user launches from the Notification, though,

Re: [android-developers] moveTaskToBack returning false.

2010-04-16 Thread ~ TreKing
On Fri, Apr 16, 2010 at 1:08 PM, praj prajakt...@gmail.com wrote: I am trying to send all my activities to background by calling this.moveTaskToBack(true); Did you try passing false? - TreKing -

Re: [android-developers] moveTaskToBack returning false.

2010-04-16 Thread Prajakta Shitole
no i dint because the documentation says that for any activity other than main activity u need to pass true.. will try anyways.. n let u knw.. On Fri, Apr 16, 2010 at 1:49 PM, ~ TreKing treking...@gmail.com wrote: On Fri, Apr 16, 2010 at 1:08 PM, praj prajakt...@gmail.com wrote: I am trying

Re: [android-developers] moveTaskToBack returning false.

2010-04-16 Thread Prajakta Shitole
it still returns false - after passing false in moveTaskToBack On Fri, Apr 16, 2010 at 1:53 PM, Prajakta Shitole prajakt...@gmail.comwrote: no i dint because the documentation says that for any activity other than main activity u need to pass true.. will try anyways.. n let u knw.. On Fri,

[android-developers] How to stay backwards and forwards compatible - targetSDKVersion, hdpi, minSDKVersion?

2010-04-16 Thread sandscorpio
Here's my situation: I have an app that's been compiled using 1.5 SDK and minSdkVersion=3. Now I want to add 2 icons: one for high density screens like Droid and another one for low density screens like G1. For this, I added the high density icon to new directory drawable-hdpi- v4/. I then

Re: [android-developers] moveTaskToBack returning false.

2010-04-16 Thread ~ TreKing
On Fri, Apr 16, 2010 at 3:53 PM, Prajakta Shitole prajakt...@gmail.comwrote: no i dint because the documentation says that for any activity other than main activity u need to pass true Oh yeah, I read that wrong ... oh well, there goes that ... good luck.

[android-developers] Browser Back Button

2010-04-16 Thread Jaikishan Jalan
Hello, I see that there is no provision for navigating back on Android Browser. I see that it does have a forward button. To go back, I am forced to use the back button on the device but the problem with that it does not retain the state of the page. I am curious if this is a feature or a bug ?

[android-developers] Re: OpenGL and the use of ByteBuffers

2010-04-16 Thread Robert Green
That's why you're supposed to load them all in one batch at the beginning and then not do it during runtime. glTexImage2D is one of the slowest things there is on any chip. If you're targeting ES2.0, you have things like framebufferobjects that you can use to handle dynamic texturing using the

[android-developers] Re: Waiting for Debugger

2010-04-16 Thread String
It happens to me fairly frequently, and I find that I need to restart Eclipse to clear it. I think ADB is, well, buggy. String On Apr 16, 6:03 pm, dillipk codersnet2...@gmail.com wrote: I still have the same problem.. any help on this please? On Mar 29, 11:45 am, dillipk

[android-developers] NDK / glsl / Es 2.0 advice please?

2010-04-16 Thread HaMMeReD
Working with NDK here. How are perspective correct projection supposed to occur in es 2.0. I can currently draw my geometry to the screen, but it is not getting transformed to 2d. Is there some sort of way of getting meaningful compiler errors out of the shader compiler? Is there a android

[android-developers] Error while consuming Axis2 based WEB SERVICE...

2010-04-16 Thread DarsHan
Hello , I am new to axis ,I have created a web servcie with couple of methods using axis2 and deployed it on tomcat.And am calling that web service from my android program with the help of ksoap.But wen i call a method which doesn't take any parameter am gettin fine reply from web service which i

[android-developers] Re: Cant login into android market. Market down?

2010-04-16 Thread Joël Bourquard
When I go to http://market.android.com/publish/Home I get a HTTP 404 error. Hope this is resolved soon... -- 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] Is there a concept like DLL in Androids?

2010-04-16 Thread Prashant Shelar
Hello, 1. We know that we can use a concept Java Package but I just wanted to know that whether Android has provided a DLL concept where I can write my most of the functionality for reuse purpose. 2. Also there is doubt in mind: Can we use Activity for the purposes that DLL provides? Is there

[android-developers] Android Preferences

2010-04-16 Thread Abhinav
Hi What is the difference between Preference.OnPreferenceChangeListener and Preference.OnPreferenceClickListener? Abhinav -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: How to use the lib(.jar) which android sdk didn't contain

2010-04-16 Thread sujit panda
yes you can add the jar file to android project. If you are using Eclipse then right click on the project properties---java build path---library--add library thank you. On Fri, Apr 16, 2010 at 11:54 AM, javame_android su...@softwebsolutions.com wrote: Hi, Android has Dalvik Virtual

[android-developers] install .apk file OTA

2010-04-16 Thread Rishabh
Hi, I have an android's .apk signed file , how can I install it OTA on my Android 2.1 device. Thanks Rishabh -- 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

Re: [android-developers] How to provide animation when calling another activity in Android?

2010-04-16 Thread Clark Guan
Hi sunil: I will try my best to answer in English... I don't know whether or not you have got Android source code. If you got them, you could find file named themes.xml under the path src_main_directory\frameworks\base\core\res\res\values. Can see code like this: resources ... style

[android-developers] Can not visualize correctly the written text of an EditText after animation

2010-04-16 Thread billahi
At the end of a TranslateAnimation, when I write into my EditText that started that animation, it looks like I'm trying to write into the initial EditText. So It happens that I see a part of my text, sometimes I can see nothing. The EditText was well translated but not the rectangle where the text

[android-developers] Auto-correction issues in Android 2.0 or higher?

2010-04-16 Thread peter
Hi, Been really confused with the auto-correction / auto-capitalization feature of the Android built-in keyboard. I can't seem to get my app to activate them. It used to work in 1.5/1.6 but not in 2.x anymore. Is there something I am missing? I would appreciate any quick help so I can resolve the

[android-developers] Dev with barcode reading expertise

2010-04-16 Thread Nash
Hi Guys, I need to develop an app that reads barcode code 39. There are some out there, but I need one optimized to read VIN (vehicle identification numbers.) This might simply involve finding the right lib, or tweaking a current one to work right. If you're interested, please let me

[android-developers] Immediate Opening for or client in Hyderabad for Android SDK Developers

2010-04-16 Thread Swathi Reddy
Dear Professionals Greetings for the day!! We have a pretty urgent opening for our client(MNC) in Hyderabad for Android developers with Java AND Android with Linux. Location : Hyderabad. Experience : 2 to 8 years(Android with Linux) : 2 to 4 years(Android with

[android-developers] Looped ListView

2010-04-16 Thread Pal
Hi, I want to implement ListView widget that will scroll its elements in loop. Like if we have 10 element in list we need to show 1, 2,.. after 10th element. |1 2 3 4 5| |8 9 10 1 2| |10 1 2 3 4| I suppose I need to extend ListView and probably override some methods. But I dont know

[android-developers] Rendering scaled bitmap with high fps

2010-04-16 Thread Frederic
I'm in the following situation: I have a large bitmap (~1280x1024) that I'd like to display on screen, scaled down in a view that fits the phone's screen (~480x320). This bitmap is frequently updated (couple of tiles per frame at 15 FPS). I first wanted to implement the rendering with a

[android-developers] Is it possible to make changes in Remote Views.java

2010-04-16 Thread Sharath BS
Is it possible to make changes in RemoteViews.java in android source code and successfully generate a build? -- 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: How to use the lib(.jar) which android sdk didn't contain

2010-04-16 Thread Clark Guan
Hi, I have the same problem using dom4j in Android project. It can be compiled but output some warning... On 4月16日, 下午2时24分, javame_android su...@softwebsolutions.com wrote: Hi, Android has Dalvik Virtual Machine and not Java Virtual Machine. So, I don't think you will be able to use this

[android-developers] Javassist on Android

2010-04-16 Thread Justin King
Hi Guys, I'm wondering if its possible to use tools like Javassist on Android? I'm guessing no because it builds JVM specific bytecode at runtime but I'd love to know. I'm also attempting to use JBoss Rule (Drools) in an Android app. Thanks for any help! -- You received this message because

  1   2   >