[android-developers] High performance access on static data: What is your approach?

2009-11-24 Thread Marc Reichelt
Hi! I am writing a program where I have to access some static data, and now I am looking for the best method of how to include them into the project. This is what I found out by now: 1. Reading in the data by parsing an XML is *slow* (even using the SAX parser). 2. Reading the data by parsing a

[android-developers] Changing the factory reset-state

2009-11-24 Thread Per Sandström
I am in a situation where I want to make alot of android-phones fool- proof, so that a company or agency can distribute phones with certain apps installed, and maybe even the apps configured in a certain way. It should be easy to reset the phone to this state, perhaps through the factory reset. Is

[android-developers] Re: How to remove sms notifications in status bar

2009-11-24 Thread Syl
I have the same problem problem of you Muhammad. I manage to detect SMS receive using a BroadcastReceiver and then delete the specified SMS in inbox. However, status bar notification always remains. I think it is not possible to remove this notification because it's sent by the Messaging

[android-developers] Background Service is not working.

2009-11-24 Thread Wei Jian
Hello. i wish to use implement Service in my application to display a message on the screen. This service should run while my application is running. But right now, i just want to test the service function and the Service doesn't seem to work well. In the main java file, i call startService(new

[android-developers] Re: How to build apk for sharing resource like frame-res.apk

2009-11-24 Thread James Wang
Thanks, Dianne. My colleague found this thread --what's the best way for OEM to organize it's own resources? (http://groups.google.com/group/android- framework/browse_thread/thread/e9974bd5a42af10a/1f7055086f5489a7? q=product_package_overlays#1f7055086f5489a7)-- on android-framework. I think

[android-developers] Re: Our app is not visible on market for some devices

2009-11-24 Thread String
On Nov 24, 7:42 am, Per Sandström pg.sandst...@gmail.com wrote: Two exact identical phones, both had just been factory resetted,only one can find our app. Can you supply more data? What model of phone, what version of Android, what carrier, etc? In at least some cases, there is an

[android-developers] Re: startActivity in another package

2009-11-24 Thread Tomas
You are right, my manifest declares the package as test.current, but the activity as test.another.MyActivity. I have activities from multiple packages in the same manifest, ie: activity android:name=test.another.MyActivity activity android:name=test.current.MyActivity Is that possible? As far as

[android-developers] Re: startActivity in another package

2009-11-24 Thread Tomas
I figured it out: Java: package test.current ... Intent i = new Intent(); i.setClassName(test.current, test.another.MyActivity); startActivity(i); Manifest: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=test.current/ ... activity

[android-developers] Re: startActivity in another package

2009-11-24 Thread String
I accomplish this by simply sending the intent to the other package + activity, e.g.: Intent intent = new Intent(Intent.ACTION_MAIN); intent.setComponent(new ComponentName(test.another, test.another.MyActivity)); startActivity(intent); There's no

[android-developers] Why app still runs during a long-press on the power key (or end call key)?

2009-11-24 Thread Philip
Dear all, Like as my HTC G2, when i long press the end call key, the phone option dialog shows and my app blurs. But the animation in the app still runs behind the dialog. I hope that the app stops or pauses when i long press the end call key. Can i do this? Any help, i would be grateful. --

[android-developers] Re: BitmapFactory: decoder-decode returned false

2009-11-24 Thread Stefan Klumpp
Still no solution for that, but it seems that other developers have similar problems. The strange thing is that exactly the same image usually doesn't work, but sometimes it actually does. No idea why though. On Oct 27, 12:28 pm, Stefan Klumpp stefan.klu...@gmail.com wrote: For my current

[android-developers] Re: Android Market Anti-Piracy

2009-11-24 Thread Dmitry.Skiba
Nice discussion you have there... For the last few days I was thinking about how to implement protection technics for Android apps. One way is to go with alternative markets (like slideme) which provide online activation (slidelock in case of slideme). But more challenging (and interesting!) is

[android-developers] Re: Android Market Anti-Piracy

2009-11-24 Thread String
On Nov 24, 10:15 am, Dmitry.Skiba dmitry.sk...@gmail.com wrote: (1) Be able to supply an unique token to the user when he buys an app, and have him enter that token later in the app to activate it. Short of (a) requiring the user to send you personal information, and (b) manually matching up

[android-developers] [Form] Does it exist an Android view equivalent to a select HTML input element ?

2009-11-24 Thread Syl
Does it exist an Android view equivalent to a select HTML input element ? In my application, user should fill a form. I know that ListView can display a list of elements but I think it's not relevant for a form. Thanks. -- You received this message because you are subscribed to the Google

[android-developers] Re: PNG optimization on packaging process

2009-11-24 Thread Matthias
how did you do the pre-dithering? our designer created a host of images with dithering enabled, but it didn't have any effect. The artifacts would only disappear when setting setDither(true) on EVERY SINGLE drawable having a gradient. This seems like a major framework fail... 16Bit graphics? It's

[android-developers] How to check LoadUrl is successful?

2009-11-24 Thread guruk
HI, i am interested to make simple is Network available check. So can someone tell me for example when I called webview.loadUrl(urlpath); and the page does not load successful how to get that info? Or any other SIMPLE test to check if my network is available. I would prefer to check if loadurl

[android-developers] Re: BitmapFactory: decoder-decode returned false

2009-11-24 Thread Stefan Klumpp
I've done more testing and tried out different stuff. I've posted a detailed description here: http://stackoverflow.com/questions/1630258/android-bitmapfactory-decoder-decode-returned-false However, still no perfect solution at this point. On Nov 24, 11:02 am, Stefan Klumpp

Re: [android-developers] Re: Android Market Anti-Piracy

2009-11-24 Thread Juan Delgado
nor can we generate an apks I guess that if you implement your own shop (shelling through your own website) you could generate the apks server side upon request? Not sure this would completely fix the problem, but if you are not happy with the Android Market there's always the possibility to roll

[android-developers] Re: Android Market Anti-Piracy

2009-11-24 Thread Kaj Bjurman
Huh? Regarding (1). That's almost the same as normal pc applications that require online activation. They either get cracked, someone creates a serial number generator, or people start posting stolen activation codes. On 24 Nov, 11:15, Dmitry.Skiba dmitry.sk...@gmail.com wrote: Nice discussion

[android-developers] Re: Android Market Anti-Piracy

2009-11-24 Thread Dmitry.Skiba
Well, thanks for the info. I was prepared it all works like that :) And I came up with the following: (1) We obligate user to run application within N minutes after the purchase. (2) Every N minutes we update application on the market (each update effectively updates an unique id inside of

[android-developers] Re: Android Market Anti-Piracy

2009-11-24 Thread Dmitry.Skiba
Huh? Regarding (1). That's almost the same as normal pc applications that require online activation. They either get cracked, someone creates a serial number generator, or people start posting stolen activation codes. Yes, it all looks like PC situation. Also, everything can be cracked, but

[android-developers] Re: Does it exist an Android view equivalent to a select HTML input element ?

2009-11-24 Thread Al
Android has a Spinner widget which can be used for that. On Nov 24, 10:30 am, Syl sylvain.guyoma...@altran.com wrote: Does it exist an Android view equivalent to a select HTML input element ? In my application, user should fill a form. I know that ListView can display a list of elements but

[android-developers] Re: Android Market Anti-Piracy

2009-11-24 Thread Dmitry.Skiba
Yes, alternative shops is a solution. But not so good, as it complicates user experience. User must somehow become aware of this market, install it, and finally search for apps in both markets. On 24 ноя, 17:20, Juan Delgado zzzar...@gmail.com wrote: nor can we generate an apks I guess that if

[android-developers] Re: Background Service is not working.

2009-11-24 Thread Pierre Henry
You can do that easily with NotificationManager -- Pierre -- 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] Making search available throughout the whole application

2009-11-24 Thread Stefan Klumpp
Right now I'm adding: intent-filter action android:name=android.intent.action.SEARCH / category android:name=android.intent.category.DEFAULT / /intent-filter meta-data

[android-developers] Re: How to test if app is shown on Market for all screensizes

2009-11-24 Thread phil
It really looks like CAMERA permission in the manifest causing the apps not to appear in the Android Market on Tattoo. Our test app shows up in the Android Market if we remove the CAMERA permission from the manifest. It does not show up if we add the permission. (in both attempts the copy

Re: [android-developers] Re: PNG optimization on packaging process

2009-11-24 Thread Ian Guedes Maia
I've used http://depthdither.graphest.com/ . It's a dithering photoshop plugin. 2009/11/24 Matthias m.kaepp...@googlemail.com: how did you do the pre-dithering? our designer created a host of images with dithering enabled, but it didn't have any effect. The artifacts would only disappear when

[android-developers] Re: When does ADC2 finish?

2009-11-24 Thread MJB
My app submission tracks usage and I still monitored lots of activity through the weekend into Monday. I even saw some usage for today (Tuesday), but it could just be carry over from Monday due to the time zone that my server is in. On Nov 24, 1:50 am, Dan Sherman impact...@gmail.com wrote:

[android-developers] background sound continuous

2009-11-24 Thread Jags
I am using soundpool to use sounds in my app. One of the sounds i need to play continuously in background. any example how to do this ? soundPool.play(soundPoolMap.get(sound), streamVolume, streamVolume, 1, 0, 1f); regards -- You received this message because you are subscribed to the Google

[android-developers] background sound continuous

2009-11-24 Thread Jags
I am using soundpool to use sounds in my app. One of the sounds i need to play continuously in background. any example how to do this ? soundPool.play(soundPoolMap.get(sound), streamVolume, streamVolume, 1, 0, 1f); regards -- You received this message because you are subscribed to the Google

[android-developers] inputbox text validation

2009-11-24 Thread Jags
http://www.anddev.org/viewtopic.php?p=12915 i am using this to create an inputbox. it works, but i need a validation i put following code inside onClick method for Yes String text = input.getText().toString().trim();

[android-developers] Re: Hide an app from Droid

2009-11-24 Thread Nanard
Hi, I developp an application using SDK 1.6. If I want it to be available on Droid devices, should I set android:targetSdkVersion=4 ? (I heard sales were great due to Droid phones, but I didn't noticed any improvment in my sales, so I'm wondering : is my app. visible on Droids ?) Maybe my

[android-developers] Re: opencore/progressive download : how does it work ?

2009-11-24 Thread sbw.android
On 22 nov, 18:28, Moto medicalsou...@gmail.com wrote: Range in http means start giving me the video data but start from x offset... Since the MediaPlayer already has this data downloaded up to x... in fact my concern was more on why the players close the current connection and opens a new

[android-developers] Activity [sometimes] throws Wrong state class exception when being resumed after kill

2009-11-24 Thread Mark Wyszomierski
Hi, I'm testing how my app behaves when killed by the OS due to low memory conditions. I always have three activities on the stack, like: A B C (then C launches maps or some other heavy process) when my app is killed, and I return to it, C starts itself up again ok. When I hit the back

[android-developers] Re: Why app still runs during a long-press on the power key (or end call key)?

2009-11-24 Thread Lance Nanek
I recently ran into the same problem while writing a game except that I noticed it for long pressing the home key. For that it looks like onPause doesn't get called, but onWindowFocusChanged with an argument of false does. If the user presses back from the dialog then you get onWindowFocusChanged

[android-developers] jpg images noisy on sdcard but fine in gallery, only on Android 1.6 (1.5 is fine)

2009-11-24 Thread Joel
In my application users take photos with an Activity that implements SurfaceHolder.Callback. The uri.toString() is then passed as an extra to a subsequent Activity that displays the image. All fine, except for in Android 1.6 the jpgs on the sdcard have a strange noise when looking at them through

[android-developers] Re: Activity [sometimes] throws Wrong state class exception when being resumed after kill

2009-11-24 Thread Streets Of Boston
i've seen this too. I got around it by overriding the problematic View's onRestoreInstanceState method: public void onRestoreInstanceState(Bundle savedState) { ... ... super.onRestoreInstanceState(BaseSavedState.EMPTY_STATE); } I took a look at the android.view.View's implementation of this

[android-developers] Layout Animation Issue

2009-11-24 Thread skink
hi, when running layout animation i'd like to disable some child Views from being animated. is it possible at all or its just all or nothing? i tried overriding attachLayoutAnimationParameters in my custom vpViewGroup but with no success... thanks pskink -- You received this message because

[android-developers] Re: SDK 2.0 Auto Dim Control?

2009-11-24 Thread bklik
Yes, I meant programmatically. On Nov 23, 1:36 pm, Wes wes.beli...@gmail.com wrote: @Dianne: my assumption was that he meant programmatically.  Is that available? On Nov 23, 1:08 pm, Dianne Hackborn hack...@android.com wrote: Go to the screen settings and turn it off. On Mon, Nov 23,

[android-developers] Re: jpg images noisy on sdcard but fine in gallery, only on Android 1.6 (1.5 is fine)

2009-11-24 Thread Streets Of Boston
In your 'public void onPictureTaken(byte[] data, Camera camera)' method You have to create a BMP out of the 'data'. The 'data' is not JPEG. It is RGB data (if i'm not mistaken). Bitmap bmp = BitmapFactory.decodeByteArray(data, 0, data.length); Then you compress the bitmap into jpeg.

[android-developers] Re: Accessing images from gallery

2009-11-24 Thread JasonMP
Ok, I'm getting a couple things that look funny. The first is: 11-24 10:28:11.748: INFO/ActivityManager(74): Starting activity: Intent { cmp=com.mallet.tool/.Sheet (has extras) } 11-24 10:28:14.148: INFO/System.out(3912): resolveUri failed on bad bitmap uri: 0 11-24 10:28:14.648:

[android-developers] Re: Accessing images from gallery

2009-11-24 Thread JasonMP
I also get this on another error: 11-24 10:44:56.658: ERROR/AndroidRuntime(4042): Uncaught handler: thread main exiting due to uncaught exception 11-24 10:44:56.768: ERROR/AndroidRuntime(4042): java.lang.OutOfMemoryError: bitmap size exceeds VM budget On Nov 23, 8:46 pm, Mark Murphy

Re: [android-developers] Re: jpg images noisy on sdcard but fine in gallery, only on Android 1.6 (1.5 is fine)

2009-11-24 Thread Joel Fischer
Thanks, that actually did it for me. It does not explain however, why the code worked in 1.5 and no longer in 1.6. Had there been some implicit compressing that was dropped in 1.6? 2009/11/24 Streets Of Boston flyingdutc...@gmail.com In your 'public void onPictureTaken(byte[] data, Camera

[android-developers] rawQuery called in service shows absurd behaviour

2009-11-24 Thread kapil
I am calling a database function in a service which returns me a cursor with string values but it behaves abnormally,sometimes it fetches the values and sometimes the count is 0 though the value has just been inserted.I am calling the service as soon as a value is inserted in the database.Also,

[android-developers] It depends!

2009-11-24 Thread stanlick
Does Google offer formal training on Android? I have purchased all the books on the market and have written several applications, yet the one question that troubles me is are my software patterns prescribed? How many times have you posted code only to be asked why did you do it that way? Now

[android-developers] memory / resource leak...

2009-11-24 Thread sdphil
I am experiencing a memory / resource leak on a T-Mobile G1 device with my application. I installed the Task Manager application from Android market and my memory usage is not monotonically increasing. It stays relatively flat over time. Furthermore, none of the other processes are chewing up

Re: [android-developers] Layout Animation Issue

2009-11-24 Thread Romain Guy
Hi, You could write a custom layout animation controller to achieve this. You could also create custom views that would return null when getAnimation() is called. Otherwise, no, this is not supported. On Tue, Nov 24, 2009 at 7:31 AM, skink psk...@gmail.com wrote: hi, when running layout

Re: [android-developers] Re: Activity [sometimes] throws Wrong state class exception when being resumed after kill

2009-11-24 Thread Romain Guy
This would happen if you have several views of different type with the same id inside a single view hierarchy. This could cause other problems so I really advise you to not hack around the default implementation of onRestoreInstanceState() but make sure that your UI is setup correctly. On Tue,

Re: [android-developers] Re: PNG optimization on packaging process

2009-11-24 Thread Romain Guy
This seems like a major framework fail... 16Bit graphics? It's 2009, I'd sort of expect better image rendering than that of Window 3.11. Except that phone displays do not display more than 16 bits of colors. The displays are natively 565. On Oct 30, 3:55 am, Ian iangm...@gmail.com wrote:

[android-developers] Re: Activity [sometimes] throws Wrong state class exception when being resumed after kill

2009-11-24 Thread Mark Wyszomierski
Hi guys, I'm not explicitly setting IDs on any of my views. I'm not doing anything related to views in my instance save handler either, just saving a string. Is there something else I may be using incorrectly to cause that? Thanks On Nov 24, 11:27 am, Romain Guy romain...@google.com wrote:

[android-developers] bluetooth connect process

2009-11-24 Thread AGA
How can a bluetooth client connect to a bluetooth server? As we know, in tcp mode, the client fire the connection with a given pair of IP address and port. From the server side a listening thread/ process waits for the connection request and setup a data connection. But how it works in bluetooth

[android-developers] how to fetch datas from database like mysql/sqlite

2009-11-24 Thread siva
HI how to fetch datas from database like mysql / sqlite.can any one help me in this,i have tried the examples gave in the NOTEPAD sample.its not working(it dont shows any errors.) can any one guide me in this ... Thanks -- You received this message because you are subscribed to the

Re: [android-developers] Testing

2009-11-24 Thread Demetris
Nice - thanks man I appreciate it. TreKing wrote: This happened to me a little while ago. Some delay in the moderation process. Email the group owner / moderator and they should straighten you out. There's a link somewhere on the group main page.

[android-developers] Re: Changing the factory reset-state

2009-11-24 Thread Truth Seeker
It isn't standard, but I have Cyanogen's revovery image loaded on my phone. I allows me to boot to recovery mode to access a menu of tools. One of them is Nandroid, which allows both backups and restores. Sounds like you might want a variation on that recovery image that would allow the user to

[android-developers] How can i download .apk file from tomcat server to iPhone device using safari browser

2009-11-24 Thread abhishek
Hi All i am new in android language. i have made a .apk file and i want to download that .apk file in to iPhone device using safari browser from tomcat server (i have located .apk file in to my tomcat sever ) but safari browser do not allow to download it but its working fine to download

[android-developers] Re: Google Sky Map API/Integration?

2009-11-24 Thread John
Hi Craig, I'm one of the developers on the Sky Map project. At present there are no intents defined beyond the search intents. If you just want to point at a particular named target you could try those. At the moment we don't support kml or other Intents though. Could you tell me more about

[android-developers] Having Access To Android SDK Immediate Received Call Functions Answer/Hangup

2009-11-24 Thread phaze3131
I have a question if there is access to Immediate call Answer or Hangup abilities once a wireless phone call signal is received? The applications out there now are unable to use these types of functions and have to wait for the phone to be in a ringing or notifications state in order to have

[android-developers] Motorola Milestone - USB Driver won't be installed

2009-11-24 Thread usbport
Hi everyone, since I already installed the USB Driver from Motorola, I can't install the USB Driver from SDK anymore. At least adb won't show me any devices.. Best regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] How to Track Down Force Closes?

2009-11-24 Thread Tim
Some of my users are reporting force closes... does anyone have some ideas about how to track these issues down when I can't reproduce them in the Emulator or on my Hero? This is my app btw if anyone wants to logcat it for me :) http://aliceonandroid.wordpress.com/ -- You received this message

[android-developers] prelink-linux-arm.map

2009-11-24 Thread anshexp
i want to add a shared library in android build . should i add that library to prelink-linux-arm.map file this file having the library name and address for these library on the right hand side of library. how should i get the free space address for my library. how many library i can add in this

[android-developers] msgid in strings.xml

2009-11-24 Thread Ken
Hello, There are msgid in localized strings.xml. What are they? What's their usage? How they are generated? Why the default strings.xml doesnt have msgid? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Deleting Incoming SMS - Android

2009-11-24 Thread MaNjO
Hi I require to delete an incoming SMS based on certain parameters that I define. Is it possible to do this? I have tinkered around with onReceive() events but I cannot get the incoming message to get deleted. The best I could do was to delete all the exisitng messages in the Inbox. Can

[android-developers] discarding large touch events ViewRoot.java

2009-11-24 Thread rahul
Hi, I have a use case in which i need to provide a functionality where applications can decide whether they want to handle the touch events with size greater than some threshold. I found out that ViewRoot.java is responsible for dispatching the touch events to the View.java which will then send

[android-developers] how to fetch data from database like mysql/sqlite

2009-11-24 Thread siva
Hi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit

[android-developers] How to create Ribbon view?

2009-11-24 Thread Ajp007
Ribbon view: - It contains any number of options say example 10. - it should be present in bottom of the screen. - It has control to scroll options from left to right and right to left. - when we click on option, that option should be hightlighted. -- You received this message because you are

[android-developers] Re: 2.0 AccountManager - Implementing a new account type with Google, Facebook and Exchange

2009-11-24 Thread Will
As you said, I tried the emulator also reboot too and could it be the sync on/off data problem? I added the exchange account by settings Acoounts sync first then added TestUser01 by Dan's AP and I checked the table accounts of accounts.db as below: sqlite select * from accounts;

[android-developers] Re: Google Sky Map API/Integration?

2009-11-24 Thread John
Hi Craig, At the moment we only support the Intents that activate the search function, so if you merely want to point at a named target then that might work. What is it you're planning to do? Perhaps we can help. John Google Sky Map On Nov 12, 11:49 am, Craig Russell csruss...@gmail.com

[android-developers] is it possble to covert .apk file iPhone compatibale device file

2009-11-24 Thread abhishek
hi i am new in android.i have made .apk file and its working on android simulator fine but i want to download that file in iPhone and BlackBerry devices so is it possibale to convert this .apk file into iPhone Compatibale file. Thanks regards Abhishek gupta -- You received this message

[android-developers] how to make apps and download that apps in iPhone and BlackBerry Mobile

2009-11-24 Thread abhishek
i am new in android language.i want to make a app for iPhone and BlackBerry and that should contain only the URL of my web application (like http://www.cwsdemo.com/primelineme) and that app will locate in my web application server (Tomcat) and i want to download that app from tomcat server to my

[android-developers] webview Header Access

2009-11-24 Thread vipendra katre
Hi, I want to use Webkit.Webview to load an url using loadUrl(url), but meanwhile provide the server some additional headers when the http GET is sent out. Is there any way to add headers or change the default headers in Webview so that each time GET method would automatically add my cusomized

[android-developers] Re: Google Sky Map API/Integration?

2009-11-24 Thread JP
Try AugmentThis! if you want to overlay your KML files on a map/ augmented reality view. Device compatibility is a problem at this time. On Nov 12, 8:49 am, Craig Russell csruss...@gmail.com wrote: I really want to integrate Google Sky Map into a program I'm working on, but as far as I can

[android-developers] Negative if else condition in Android.mk

2009-11-24 Thread vj
Hi, is there a way to implement a negative if/else statement within Android.mk. Example: I do not want the build to be of type user: So I would like something like this: ifeq ( ! ($(TARGET_BUILD_VARIANT), user) LOCAL_SHARED_LIBRARIES += liblog endif basically, I want liblog to be included in

[android-developers] TabHost Slow On Orientation Changes

2009-11-24 Thread droid_does
I currently have a TabHost with 3 tabs. The content of each tab is an activity. The first and second tab make HTTP connections. The first tab still uses the UI thread (which i'm changing) so it would explain the slow orientation change since it's creating a fresh activity and making all those

[android-developers] Re: Layout Animation Issue

2009-11-24 Thread skink
On Nov 24, 5:25 pm, Romain Guy romain...@google.com wrote: Hi, You could write a custom layout animation controller to achieve this. You could also create custom views that would return null when getAnimation() is called. Otherwise, no, this is not supported. thanks Romain, as i'm using

[android-developers] ImageView from URL

2009-11-24 Thread David Kebo
Hello, Im trying to display a url image in an ImageView container on the screen. I see the image, but sometimes the application crashes. I am wondering if im using the stream properly. Code: URL url = new URL(http://192.168.1.111/jpg/image.jpg;); InputStream stream = url.openStream(); Bitmap bmp =

[android-developers] Playing youtube videos on Android

2009-11-24 Thread Nicholas Key
Hi all, I want to learn how to stream youtube video in high quality mode (similar to those videos you watch from your android phones on the YouTube app) .I have been scouring the net to find code examples and tutorials about streaming youtube videos in high quality but those are not the ones I

[android-developers] Re: Bug in GLSurfaceView.RENDERMODE_WHEN_DIRTY (and work-around)

2009-11-24 Thread spocky12
Up, this deserves some more visibility to developers :) I agree with you, I took me a few hours of debug before I find my black-screen-on-resume was caused by the RENDERMODE_WHEN_DIRTY and I enventually came out fixing it like you did (except for the sleep). On Nov 22, 8:24 am,

[android-developers] Re: how to fetch data from database like mysql/sqlite

2009-11-24 Thread Nithin
hi Shiva, try using rawQuery().. Thanks On Nov 24, 5:05 pm, siva siva80san...@gmail.com wrote: Hi -- 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

Re: [android-developers] It depends!

2009-11-24 Thread Mark Murphy
stanlick wrote: Does Google offer formal training on Android? Not that I am aware of. If they do, they sure keep quiet about it. I read, studied, and coded the background processing technique using the Handler callback and it seemed to work alright. Lot's of boilerplate code and switches on

[android-developers] Debug config not stopping at break points

2009-11-24 Thread Pierre Henry
Why should the debugger dont make breakpoints stop when running an android app on Eclipse ? -- 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

Re: [android-developers] It depends!

2009-11-24 Thread Jason Proctor
d) AsynchTask at least for my application-level stuff, i've so far not found anything that can't be done pretty elegantly with AsyncTask. -- jason.vp.engineering.particle -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: Accessing images from gallery

2009-11-24 Thread Mark Murphy
JasonMP wrote: Ok, I'm getting a couple things that look funny. snip 11-24 10:28:52.758: ERROR/AndroidRuntime(4015): Caused by: java.lang.NullPointerException 11-24 10:28:52.758: ERROR/AndroidRuntime(4015): at com.mallet.tool.Sheet.showStats(Sheet.java:280) The Caused by portion of

Re: [android-developers] discarding large touch events ViewRoot.java

2009-11-24 Thread Dianne Hackborn
If you are talking about modifying the platform, you should be on android-porting. I also would strongly urge against just going on and hacking the platform like this, as you end up with patches you need to maintain as the base platform evolves and increasing chance of creating bugs and other

Re: [android-developers] It depends!

2009-11-24 Thread Dianne Hackborn
On Tue, Nov 24, 2009 at 9:51 AM, Jason Proctor jason.android.li...@gmail.com wrote: d) AsynchTask at least for my application-level stuff, i've so far not found anything that can't be done pretty elegantly with AsyncTask. If you need to have multiple things happening at the same time --

Re: [android-developers] Re: SDK 2.0 Auto Dim Control?

2009-11-24 Thread Dianne Hackborn
There is a field in WindowManager.LayoutParams that lets you force a particular brightness for your window. This is currently broken on Droid if auto brightness is enabled (because of conflicts between the framework and underlying driver doing the brightness adjustment), but should be fixed in an

[android-developers] Re: Layout Animation Issue

2009-11-24 Thread skink
On Nov 24, 5:45 pm, skink as i'm using some std Views like Button, the firtst option (custom layout animation controller) would be the best solution pskink i managed to disable some children from being animated by creating custom layout animation controller and overriding its

Re: [android-developers] It depends!

2009-11-24 Thread Jason Proctor
On Tue, Nov 24, 2009 at 9:51 AM, Jason Proctor mailto:jason.android.li...@gmail.comjason.android.li...@gmail.com wrote: d) AsynchTask at least for my application-level stuff, i've so far not found anything that can't be done pretty elegantly with AsyncTask. If you need to have multiple

Re: [android-developers] Background Service is not working.

2009-11-24 Thread Dianne Hackborn
How about starting with the API demo, which is working with a notification and everything? http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/LocalService.html On Tue, Nov 24, 2009 at 12:55 AM, Wei Jian weijia...@gmail.com wrote: Hello. i wish to use implement

[android-developers] How do you determine the IP address of the mobile client over 3G?

2009-11-24 Thread Agus
Hello all, How do you determine the IP address of the mobile client over 3G? Is there an API for this? Regards. -- 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] Memory leaks in Android Application / Framework

2009-11-24 Thread Artem - WorkSmart Labs
Hello again, We've been chasing a wide variety of memory leaks or things that look like potential memory leaks in our program that uses MapViews heavily. The diagnosis so far is sadly not great. I'm hoping someone can help. I've filed a bug on this, but I am looking for advice from people or

[android-developers] Re: Pass image to a new Intent

2009-11-24 Thread erick nicolas
Hi I found a solution In the GridView I pass the images with ImageView Class: gridview.setAdapter(imageview); The images are in res/drawable path an we set them by: imageview.setImageResource(mThumbIds[position]); // mThumbIds is an array with images id's Then we know that ImageView is an

[android-developers] Re: how to fetch datas from database like mysql/sqlite

2009-11-24 Thread Smelly Eddie
1) don;t double post 2) RTFM On Nov 24, 7:08 am, siva siva80san...@gmail.com wrote: HI        how to fetch datas  from database like mysql / sqlite.can any one help me in this,i have tried the examples gave in the NOTEPAD sample.its not working(it dont shows any errors.) can any one guide

[android-developers] Re: memory / resource leak...

2009-11-24 Thread sdphil
it turns out this is happening on a G2 device as well. On Nov 24, 8:22 am, sdphil phil.pellouch...@gmail.com wrote: I am experiencing a memory / resource leak on a T-Mobile G1 device with my application. I installed the Task Manager application from Android market and my memory usage is not

[android-developers] geo Intent

2009-11-24 Thread stanlick
Can someone tell me how to request a blue dot (or some such marker) to show on the map corresponding to my passed lat/lon parameters? The API works great and centers the map with respect to the point in the center of the screen. However, the map menu is pretty much useless in terms of directions

[android-developers] Interleaving vertex data in OpenGL ES

2009-11-24 Thread Bartek Teodorczyk
Hi, Passing separate vertex data is straightforward and works correctly, e.g.: gl.glBindBuffer(GL11.GL_ARRAY_BUFFER, vertexBufferIndex); glVertexPointer(3, GL_FIXED, 0, 0); gl.glBindBuffer(GL11.GL_ARRAY_BUFFER, colorBufferIndex); glColorPointer(4, GL_UNSIGNED_BYTE, 0, 0);

[android-developers] Re: background sound continuous

2009-11-24 Thread Nightwolf
http://developer.android.com/reference/android/media/SoundPool.html Sounds can be looped by setting a non-zero loop value. A value of -1 causes the sound to loop forever. soundPool.play(soundPoolMap.get(sound), streamVolume, streamVolume, 1, -1, 1f); On 24 ноя, 17:35, Jags jag...@gmail.com

[android-developers] Re: Layout Animation Issue

2009-11-24 Thread skink
On Nov 24, 7:07 pm, skink psk...@gmail.com wrote: i managed to disable some children from being animated by creating custom layout animation controller and overriding its getDelayForView so that it returns 0 for Views to be not animated and orherwise returns super.getDelayForView uppps,

[android-developers] Re: Create a BKS keystore file for SSL support of web server and handshake process

2009-11-24 Thread androidguy
Hi Stephan, Have you been able to solve this problem? I am facing similar issue. Thanks in advance. - On Nov 9, 1:46 pm, stephan dkn...@googlemail.com wrote: Hi, 'm working on a litte HTTP server application for the Android. Now I like to secure the communication by using SSL. But I got stuck

[android-developers] Re: Support of JKS Keystore in Android

2009-11-24 Thread androidguy
Hi Swapnil, I am facing same Issue, Please help. Thanks in Advance. On Nov 13, 4:29 pm, swapnil kamble swap.kam...@gmail.com wrote: I got it working. I used KeyTool UIU app. Using it, worked smoothly. If anyone wants details how I did it, send me an email. I will document it and post it on

[android-developers] Re: is it possble to covert .apk file iPhone compatibale device file

2009-11-24 Thread Loki117
On the vague chance you are not trolling no it's not possible. On Nov 24, 9:36 am, abhishek info.powerwe...@gmail.com wrote: hi      i am new in android.i have made .apk file and its working on android simulator fine but i want to download that file in iPhone and BlackBerry devices so is it

  1   2   >