[android-developers] Re: DRAG AND DROP

2009-01-08 Thread kaushik sur
hi all i have mentioned about a code link which can be used as an e.g. of the Drag_N_Drop feature, but there will be small change. the onMotionEvent(MotionEvent event) has to be replaced by onTouchEvent(MotionEvent event). though it starts the Drag_n_drop but it not smooth as u expect. rather here

[android-developers] Re: Concern about application file size for publishing due to Media files

2009-01-08 Thread AusR
Hi, Are you sure the mp3s need to be of the quality and duration they are. For the purposes of a mobile handset application, for which the audio playback technology is not fixed they could be re-encoded with a lower bit-rate (or shortened) without too much loss in audible quality. this could redu

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread freepine
Got it, thanks again for the explanation and clarification:) On Fri, Jan 9, 2009 at 3:16 PM, David Turner wrote: > > On Fri, Jan 9, 2009 at 3:02 AM, freepine wrote: > >> yes, you are right:) It can access 62.70.27.118 successfully with >> -http-proxy option. >> >> So it seems inserting http-pro

[android-developers] Emulator issue

2009-01-08 Thread kaushik.siso
Hi I am facing a problem in workign with teh emulator. actually i need to start an activity which need to be binded to a service allready started in different process context. that's i need to load two applications. but in my emulator when i try to do so, sometimes its accepting this to applicati

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread David Turner
On Fri, Jan 9, 2009 at 3:02 AM, freepine wrote: > yes, you are right:) It can access 62.70.27.118 successfully with > -http-proxy option. > > So it seems inserting http-proxy value into db is different from using > command line option? > yes, at the moment, using the -http-proxy option only rewr

[android-developers] add new resource when using eclipse plugin

2009-01-08 Thread eags
I added a new file "colors.xml" to res/values/ . That seemed to go OK but the R.java class was *not* automatically updated. Is there a "right" way to add these files? I just did ctrl-N then selected "File" and named the file colors.xml. Then I just typed in the xml which looks fine. I looked

[android-developers] Re: How to bring back file-explorer window in eclipse-DDMS once after closing it

2009-01-08 Thread Asif k
I had tried after closing eclipse as well as emulator and restarting it again.But even though status is not changed. Plesase reply On Jan 9, 11:19 am, Asif k wrote: > Hi All, > >   I had closed the file-explorer window in the DDMS of eclipse by > mistake. But now I am not able to find the option

[android-developers] How to bring back file-explorer window in eclipse-DDMS once after closing it

2009-01-08 Thread Asif k
Hi All, I had closed the file-explorer window in the DDMS of eclipse by mistake. But now I am not able to find the options anywhere in DDMS to restore it again so file-explorer of an emulator gone in my DDMS.But it is needed. Can anyone tell me how can I restore it again? Thanks, Asif.

[android-developers] Re: stopSelf() question

2009-01-08 Thread jsm
I am also calling removeUdates just before stopself() myLocationManager.removeUpdates(onLocationChange); On Jan 9, 10:48 am, jsm wrote: > Additional info: > >  I have a a class private final LocationListener onLocationChange = > new LocationListener() > in the service listening to location updat

[android-developers] Re: stopSelf() question

2009-01-08 Thread jsm
Additional info: I have a a class private final LocationListener onLocationChange = new LocationListener() in the service listening to location updates. Would this cause it to ANR while stopself() On Jan 8, 1:17 pm, jsm wrote: > I am enclosing the anr file related to my package. If anybody ca

[android-developers] How to Use Google Accounts in Android Application

2009-01-08 Thread jeffkyjin
Hello all, I want to use users' Google accounts in my application, example Google 's services which need login. Any one knows how to build it into android applications? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: XML Layout Ordering Problem

2009-01-08 Thread Romain Guy
Try to change the height of the LinearLayout from fill_parent to wrap_content. On Thu, Jan 8, 2009 at 8:54 PM, Jamie wrote: > > Here is the layout XML: > > > http://schemas.android.com/apk/res/android"; >android:id="@+id/scroll" >android:background="#699864" >android:lay

[android-developers] Re: Is package name classloading conflict between applications possible ?

2009-01-08 Thread fadden
On Jan 8, 7:02 am, Derek wrote: > I'm wondering if there could be some issue with package naming and > classloing [...] > Classes under a.shared packages are slightly different (e.g. because > of different versions), > Could there be any issue ? Are we sure that app1 and app2 doesn't > shared the

[android-developers] Re: problem in receiving sms.

2009-01-08 Thread Honest
On Jan 8, 5:52 pm, Honest wrote: > I have created one main class which extends activity. Another class > which extends BroadcastReceiver. The code of it is as below. > > import android.app.NotificationManager; > import android.content.*; > import android.app.Notification; > import android.widge

[android-developers] Concern about application file size for publishing due to Media files

2009-01-08 Thread Mahesh Vaghela
Hi Friends, I want to develop an application which can play sound (.mp3) files. I am able to play this as I wish. But I am concern about the total file size of my application due to this mp3 files. I have total 6 mp3 files and total size of them becomes more than 30mb. This is very large when we

[android-developers] XML Layout Ordering Problem

2009-01-08 Thread Jamie
Here is the layout XML: http://schemas.android.com/apk/res/android"; android:id="@+id/scroll" android:background="#699864" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scrollbars="vertical" android:visibility="vis

[android-developers] Re: Bluetooth in Cupcake - please help

2009-01-08 Thread Manohar Mahapatra
Fine ,I will copy the same to the requested groups and send again Thanks AndUzer On Thu, Jan 8, 2009 at 11:30 PM, Nick Pelly wrote: > > Yes, I promise to answer these questions if you move them to the right > group (android-platform). Sorry but its important to enforce good list > hygiene. > >

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-08 Thread Alexey
Well they definitely doing something else for scoreboard since you're able to see next/previous view while dragging. On Jan 7, 6:49 pm, Mark Murphy wrote: > madcoder wrote: > > I would LOVE to see an example of this... > > Your wish is my command! > > *clap, clap* > > http://androidguys.com/?p=6

[android-developers] Re: imeem and buffering audio with MediaPlayer

2009-01-08 Thread Dave Sparks
Yes, AudioTrack and MediaPlayer will play along very nicely. MediaPlayer uses AudioTrack for its low-level audio interface. Up to 32 tracks of audio can be mixed. On Jan 8, 5:49 am, blindfold wrote: > Thanks David. You say that Cupcake's AudioTrack allows for > > > generating raw audio in the a

[android-developers] Re: Android media api's relation to PVMF api's

2009-01-08 Thread Dave Sparks
MediaPlayer is a high level abstraction for OpenCore. There are no immediate plans to expose any of OpenCore's lower level API's to Java. On Jan 8, 1:43 am, vishy s wrote: > Hi folks, > I am trying find the relation between android media api's available > (http://code.google.com/android/referen

[android-developers] Re: Has anyone loaded video into a application?

2009-01-08 Thread Dave Sparks
There is a video player widget called VideoView for full screen video with optional transport controls. Alternatively you can write your own code around the MediaPlayer object. On Jan 7, 2:14 pm, Delmarc wrote: > I am working on a game where cut-scenes happen... but I have yet to > read anything

[android-developers] Re: How to enable / disable Bluetooth

2009-01-08 Thread bendavis78
Hi, did you ever figure out how to do this? On Dec 1 2008, 8:18 pm, RM wrote: > Hi folks, > > I'm writing an app that will, among other things, disable Bluetooth. > To do this, I've set the "android.permission.BLUETOOTH_ADMIN", and > inside an onClick() listener I'm using the following: > >   S

[android-developers] Re: ID3 Tag

2009-01-08 Thread Rajendrakumar C
Am trying to create a Mediaplayer App.. so in that there are Many Options rt.. In that I need to Implement the "Composer" tab. When I Click Composer It should show the All composer Name's in the Given Directoiry So for that Am currently using the "jaudiotagger" some third party lib.

[android-developers] Re: List View

2009-01-08 Thread Rajendrakumar C
Hi, I think you need to set the Onclik Listner for the ListView in the Ocreate Method. And also I need a help from you..! CAn you tell me how to display Array of Strings to List. On Jan 5, 3:08 am, flashfreakmx wrote: > Right now I am extending Activity and populating 2 list views > dyna

[android-developers] Re: JNI

2009-01-08 Thread Dianne Hackborn
Please just post on the platform list. This is not the place to discuss JNI. On Thu, Jan 8, 2009 at 1:28 PM, blues wrote: > > Sorry, I cannot figure out a way to move this thread to the platform > list. > So I have to post here for now. And maybe more people will go this > list and try to find

[android-developers] Re: Is there a SeekBar preference?

2009-01-08 Thread Marc Lester Tan
Hi Stoyan, Yesterday I also asked myself if there's a Seekbar preference but I looked around and did not find any so I created my own. Here's my code if it will help you. public class SeekBarPreference extends DialogPreference{ private Context context; private SeekBar volumeLevel;

[android-developers] Re: How to clear a notification?

2009-01-08 Thread Peter
I think the system isn't setup like that, the cell network alerts the device that there is a voicemail waiting. So even if you clear it on the device, next time the device initializes on the network it would display the message again. Not sure though. On Jan 8, 1:16 pm, "Aryeh Tasher" wrote: >

[android-developers] Service setup

2009-01-08 Thread Peter
I'm currently developing an Application that displays in-game time information for a popular MMO. I wanted to setup an alert system that will alert a users when a certain in-game time is reached. The problem is the in-game time needs to be constantly generated if I have a service for alerting the

[android-developers] Re: ERROR: Unknown command 'compile'

2009-01-08 Thread Margaret
change the "compile" with "package" the before ./appt compile ** the after ./appt package * mawei...@gmail.com 13585201588 2009/1/9 Xavier Ducrohet : > > You may want

[android-developers] Re: Bluetooth in Cupcake - please help

2009-01-08 Thread Wang, Husheng
Hi all, There are some other files related to bluetooth in cupcake android. ./packages/apps/Phone/src/com/android/phone/InCallScreen.java ./packages/apps/Phone/src/com/android/phone/CallNotifier.java ./packages/apps/Phone/src/com/android/phone/BluetoothHandsfree.java ./packages/apps/Phone/src/co

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread freepine
yes, you are right:) It can access 62.70.27.118 successfully with -http-proxy option. So it seems inserting http-proxy value into db is different from using command line option? BTW: I also failed to connect to 63.233.183.101 due to the limitation of my local network. But http log appears from co

[android-developers] Re: ERROR: Unknown command 'compile'

2009-01-08 Thread Xavier Ducrohet
You may want to look at the maven part. The official way to build Android application is with Ant or Eclipse. aapt did have some command line parameters change since the original release, so the maven builds may be using obsolete commands that are no longer supported. Xav On Thu, Jan 8, 2009 at

[android-developers] Re: Slide Views ( like Google Scoreboard app )

2009-01-08 Thread Mark Murphy
Falcon4ever wrote: > Thanks for the tutorial, it should work without much troubles in SDK > 1.0. > > > There is just one thing, is there a way to avoid the XML? In some > cases I would like to create views using Java code instead of using > 'static views' XML. > I haven't seen examples of how to

[android-developers] Re: Problem with list divider

2009-01-08 Thread Romain Guy
It's not a transparency bug, it's a know issue (fixed in cupcake). You cannot use a color from XML for the divider. Use a 9patch or an image instead. On Thu, Jan 8, 2009 at 5:11 PM, Mark Murphy wrote: > > muckwarrior wrote: >> I'm having the same problem. If I add something like >> >> android:di

[android-developers] Is there a SeekBar preference?

2009-01-08 Thread Stoyan Damov
Hi guys, The emulator and G1's Settings apps apparently launches a preference activity. In Settings, Sound and Display, when you touch the "Ringer volume" setting, a dialog pops up, which shows a SeekBar. My question is how is this implemented because I need a similar (seek bar-driven) setting in

[android-developers] Re: Problem with list divider

2009-01-08 Thread Mark Murphy
muckwarrior wrote: > I'm having the same problem. If I add something like > > android:divider="#123456" > > to my listview the dividers disappear completely. Anyone know why? Possibly it's a transparency issue. Try using #AARRGGBB (specifying the alpha channel) instead of #RRGGBB and see if you

[android-developers] Re: ERROR: Unknown command 'compile'

2009-01-08 Thread lanewang...@gmail.com
m3-rc20 is my other question. I never use m3-rc20 before when this problem happened. No matter how I change the android version and ANDROID_SDK env parameter. m3-rc20 is never changed. And it seems aapt never supports "compile" option in any version. I have some worry about "compile" and "m3-rc20"

[android-developers] Re: How To Custom Horizontal Scroll?

2009-01-08 Thread Moto
Also let me ask you this: I'm trying to get the total length of my LinearLayout which contains few buttons all positioned horizontally roughly 600px. Now when I try to get the width of that layout it returns the width of the what is only shown, essentially the screen width... So I tried setting

[android-developers] BitmapFactory.decodeStream bug?

2009-01-08 Thread Patrick
My app needs to save some data to a file. Part of that data includes two bitmaps. So when saving, I use : bitmapThumbnail.compress(CompressFormat.PNG, 100, streamBuffer); m_bitmap.compress(CompressFormat.PNG, 100, streamBuffer); then, when loading, I just want to recreate the two bitmaps from th

[android-developers] Re: Power management in Android

2009-01-08 Thread Mark K
There's no way to query the power state directly that I know of, but you can have a receiver receive the intent 'ACTION_BATTERY_CHANGED' which should be thrown when the battery state changes. Mark On Jan 6, 11:29 pm, "xroge...@gmail.com" wrote: > I couldn't find s

[android-developers] Re: How to use ScaleDrawable?

2009-01-08 Thread androidian
In the end I was probably overthinking this. I ended up just using a ShapeDrawable and modifying its bounds to get the desired effect. Hence, my onDraw method of my custom View looks like this (assuming that percentage is the relative width of the progress bar I wish to display): protected void o

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2009-01-08 Thread Mark K
I'm still seeing this problem. I've used the bitmap.recycle() which seems to mitigate this problem, but not get rid if it entirely. I'm only processing one bitmap at a time, I recycle the bitmap, null it, and call gc(). Runtime.freeMemory() indicates that I have over 10 MB free memory, none of

[android-developers] Re: How To Custom Horizontal Scroll?

2009-01-08 Thread Moto
Hey Roland thanks for your code it really helps figuring out things... I just tried running it and what I do notice is that touch events for the list are never received so that one could make a selection on the list or Scroll down... Have you noticed this? --~--~-~--~~~--

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2009-01-08 Thread Romain Guy
Use less memory. One full screen PNG uses roughly 480*320*4 bytes (~= 614k.) Since you enable caching, you are doubling that amount to ~1.2MB per view. With 5 views you are using about 6 MB of memory (out of 16 MB maximum) just for the background images. On Thu, Jan 8, 2009 at 3:27 PM, Rohit wro

[android-developers] Re: OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

2009-01-08 Thread Rohit
I am setting the Background (using view.setBackgroundResource()) of about 5 views with pngs that fill up the entire screen (as a backdrop). I scroll between these 5 views and thus want to keep them in cache (I use view.setChildrenCacheEnabled()) but I run into the OutOfMemoryError: bitmap exceeds

[android-developers] Re: Is there a media player in Android

2009-01-08 Thread Sundog
This is the developer group. No one here has any information about that. On Jan 7, 5:13 am, "linuxtom gate" wrote: > Hi: > > Except youtube I did not find a default real media player on Android like > real player or windows media player that can play mp3, mp4, h263, and so on. > > Who can tell m

[android-developers] Re: Receive email permission?

2009-01-08 Thread jphdsn
hi, I hadn't seen the title... maybe pemissions about internet like "android.permission.INTERNET" look at the list of permissions http://code.google.com/android/reference/android/Manifest.permission.html On Jan 8, 11:14 pm, jphdsn wrote: >put that permission in your manifest ! > >

[android-developers] Re: Receive email permission?

2009-01-08 Thread jphdsn
put that permission in your manifest ! On Jan 6, 9:38 pm, Matt Hall wrote: > Hi All, > > I'm looking for a permission or something similar to the SMS > equivalent java.lang.String RECEIVE_SMS. I'd like to be able to > process incoming emails in my app and am wondering if there's a way

[android-developers] how to have the type of DATA (for email?)

2009-01-08 Thread jphdsn
Hi, How to recognize the type of an Email? The code above doesn't work cause Contacts.ContactMethods.TYPE makes it bug Cursor nameCursor = managedQuery (Contacts.ContactMethods.CONTENT_EMAIL_URI, new String[] Contacts.ContactMethods._ID,Contacts.ContactMethods.DA

[android-developers] Re: JNI

2009-01-08 Thread blues
Sorry, I cannot figure out a way to move this thread to the platform list. So I have to post here for now. And maybe more people will go this list and try to find a answer about JNI? And I searched the platform list by keyword "jni", but didn't find the complete example. Anyone can help to give a

[android-developers] Re: Help How to lazy load images

2009-01-08 Thread DanG
I've run into this issue before, where dynamically downloading images from the web had a severely negative impact on the user experience (i.e. pretty much froze the UI thread!) The first solution that I tried was to spawn a new thread for each image I wanted to download (e.g. downloading musical

[android-developers] Re: How to call activity using multiple key press

2009-01-08 Thread Peli
> [...] is pressed (let's say) 3 consecutive times You could do it in 2 clicks only: - Press Home. - Press your activity icon for which you prepared a shortcut. :-) I don't think there is a general way to do what you want with arbitrary keys in any application. Another option would be to have

[android-developers] How to clear a notification?

2009-01-08 Thread Aryeh Tasher
I would like to clear a missed call notification programmatically. I thought I had finally figured it out when I noticed the NEW column in the CallLog.Calls provider, but after clearing the missed call's NEW flag and updating the table, the missed call notification was still there. Is it even possi

[android-developers] Re: JNI

2009-01-08 Thread Dianne Hackborn
Since native code is not currently supported in the SDK, could you please move this to one of the platform lists? Thanks. Btw if you read the platform lists, there is now in the main tree a complete example of implementing a native code library and a Java glue library that uses JNI to call it. O

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread Peli
which can be found here: http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=blob;f=src/com/android/launcher/DragLayer.java with the related classes being here: http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=tree;f=src/com/android/launcher but this is th

[android-developers] Re: JNI

2009-01-08 Thread blues
Thanks. I tried System.loadLibrary("mylib"); I got exception of unsatisfied link. I tried both my lib (libmylib.so) and some libs under /system/lib. Both Dev1 and G1 phones. On Jan 7, 7:13 pm, Dave Sparks wrote: > You can download the Android source code from source.android.com and > build you

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-08 Thread Dianne Hackborn
Oh wait if what is being talked about is having the same content provider in multiple applications, that is completely the wrong approach. For a given authority there must be one and only one content provider implementation, living in a single specific .apk. On Thu, Jan 8, 2009 at 11:03 AM, Peli

[android-developers] Re: How to call activity using multiple key press

2009-01-08 Thread Dianne Hackborn
Sorry, there is no way to do this. On Thu, Jan 8, 2009 at 12:03 PM, Massimo Barbera wrote: > > Hi all, > I wonder if there is anyway to do the following: > > call my activity when a certain sequence of keys is pressed, > disregarding the application ongoing in foreground > > this shall be somethi

[android-developers] Re: ERROR: Unknown command 'compile'

2009-01-08 Thread Xavier Ducrohet
I don't know anything about building Android application with Maven. However, seeing references to m3-rc20a is a good indication that whatever it is you're using is obsolete. m3-rc20 is the first SDK we released back in November 07 and it is extremely out of date in both API and tools. Nothing d

[android-developers] How to call activity using multiple key press

2009-01-08 Thread Massimo Barbera
Hi all, I wonder if there is anyway to do the following: call my activity when a certain sequence of keys is pressed, disregarding the application ongoing in foreground this shall be something similar to a shortcut but I wasn't able to find a way to do that for being more precise I was thinking

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread Romain Guy
You can also look at the source code of the Home (Launcher) application, in particular the class called DragLayer. On Thu, Jan 8, 2009 at 11:12 AM, Peli wrote: > > The code sample you linked to should work. > > The basic idea is that you continuously put your image to a new > position according

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread Peli
The code sample you linked to should work. The basic idea is that you continuously put your image to a new position according to the coordinates that you obtain through ACTION_MOVE to give the illusion of dragging. In ACTION_UP you check whether the finger position is close to the target. in ACTI

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-08 Thread Peli
Hm, I think you end up with unnecessary code duplication if you include your component / content provider in every application. I think it would be better if every application that wants to use your component shows a small dialog "You need to install the following component..." with a button that

[android-developers] Re: Push Notification Techniques: Discuss

2009-01-08 Thread Josh Guilfoyle
I thought I'd chime in with some recent work I have done on this topic. The Google services on Android use Gtalk to implement push notifications and they do so using a persistent TCP connection as is the case with most other data-based push systems (like Microsoft's Exchange ActiveSync, for insta

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread kaushik sur
hi DIanne thanks for ur suggestion. but suppose i want to do it on the same widnow,then what will be the procedure. trully speaking i am not getting any clue of that. i need prior info to atleast check this feature on a single window regards kaushik On Thu, Jan 8, 2009 at 11:53 PM, Dianne Hackbo

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-08 Thread Dianne Hackborn
As far as naming issues, this is why you should use an authority in a namespace/domain you own, so that there will not be naming collisions. For the possibility of your provider not being there, whether or not it was ever there originally, any client app that is relying on a component that is not

[android-developers] Re: Uninstalling application breaks gmail preview on G1

2009-01-08 Thread Dianne Hackborn
Actually I would guess the fact that there was a viewer for PDF files allowed gmail to download that attachment, and even though there is no longer a viewer it still has the attachment so thinks it can display it. I don't think this is anything you can fix, whatever exactly is causing it is most l

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread Dianne Hackborn
Sorry, there is no support for this currently built into the platform, you will have to roll it yourself. You shouldn't have trouble doing it yourself for drag and drop in the same window (you can look at the standard home screen for an example), but without system support doing it across windows

[android-developers] Re: DRAG AND DROP

2009-01-08 Thread kaushik sur
hi i got a suggestion here. but i really doubt whether it will work or not. http://groups.google.com/group/android-beginners/browse_thread/thread/fd9f7b241d4c160e/02d2798f5d949b2b please give me a valid reasoning or example. regards Kaushik On Thu, Jan 8, 2009 at 9:43 PM, kaushik.siso wrote:

[android-developers] Re: Uninstalling application breaks gmail preview on G1

2009-01-08 Thread Tyler Ernst
It looks like gmail is still trying to preview the document with our viewer even though it has been uninstalled? 01-08 09:52:19.033: ERROR/AndroidRuntime(4732): Uncaught handler: thread main exiting due to uncaught exception 01-08 09:52:19.323: ERROR/AndroidRuntime(4732): java.lang.RuntimeExcepti

[android-developers] Re: Bluetooth in Cupcake - please help

2009-01-08 Thread Nick Pelly
Yes, I promise to answer these questions if you move them to the right group (android-platform). Sorry but its important to enforce good list hygiene. On Thu, Jan 8, 2009 at 8:44 AM, Andrew Stadler wrote: > > Anduzer - > > Questions about the internals of the platform source code will > probably

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-08 Thread whitemice
Just to clarify, the attribute “android:multiprocess” in the “provider” tag seems to have a behaviour that is not relevant to this problem, i.e. it prevents multiple instances of the same Content Provider from existing, rather than affecting multiple Content Providers trying to use the same namesp

[android-developers] Android开发者QQ群:2 8759870

2009-01-08 Thread bin
欢迎大家加入!! --~--~-~--~~~---~--~~ 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-develop

[android-developers] Re: track boor isn't working on button with has only background image

2009-01-08 Thread cindy
The solution I found: You can't set background. No matter which widget which has background set will not get forcused. On Dec 15 2008, 1:13 pm, Ralf wrote: > Just a random thought: you could try to add android:focusable="true" > There's also android:focusableInTouchMode="true". > That might be

[android-developers] Re: How to use observer pattern in Andorid/ or other method to improve UI response

2009-01-08 Thread cindy
Thanks! I will try that. On Jan 7, 9:55 pm, A R wrote: > HiCindy, > > You can implement the same observer pattern. Create a delegate > interface, pass the reference to the thread and once work is done let > the thread do the call backs. Skeleton below might help (note code > below will not comp

[android-developers] No reply on market

2009-01-08 Thread freeanderson
Hello. About 10 days ago, I posted question to android market's 'support' about my order. But there was no reply until now. Is the market being operated normally? It doesn't make a sense. (Sorry for posting here.) Thank you. --~--~-~--~~~---~--~~ You received th

[android-developers] Re: http-proxy does not work on emulator when i use the build of master branch with cupcake changes

2009-01-08 Thread David Turner
thanks, you don't need to send me the local output. I'm guessing something. Can you tell me if accessing a site through its IP number works, e.g. use -http-proxy and -debug-proxy, then launch the browser and enter a numeric IP address like: 63.233.183.101 (www.android.com) 62.70.27.118 (www.kde

[android-developers] SSL certificate bypassing for DigiCert

2009-01-08 Thread NitroDesk
Hello, We have pulled a lot of hair out for this one. We use the DefaultHttpClient to connect with exchange servers. In order to get past sites with self issued certs, we save the cert in a file, then when connecting, we get the keystore, add the saved certificate to the keystore as a TrustedCert

[android-developers] Re: native C++ SIP stack on Android

2009-01-08 Thread David Turner
first, you cannot have C++ code in the kernel. however, depending on how your stack is designed, you may be able to use it from Java through JNI given that you give absolutely no information about your stack's interface, it's really difficult to answer your question On Thu, Jan 8, 2009 at 5:57 P

[android-developers] native C++ SIP stack on Android

2009-01-08 Thread pinguin
Can i port SIP stack written in C++ to android and let it running as service in kernel ? and the GUI will communicate with SIP stack through JNI ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: Bluetooth in Cupcake - please help

2009-01-08 Thread Andrew Stadler
Anduzer - Questions about the internals of the platform source code will probably better addressed in the android-platform mailing list. See for more details. Good luck! On Thu, Jan 8, 2009 at 5:49 AM, Manohar Mahapatra wrote: > Hi > > I needed some info

[android-developers] Re: New

2009-01-08 Thread Andrew Stadler
Mukesh- You'll probably find more useful information on the android-beginners mailing list. See for more information. Good luck! On Wed, Jan 7, 2009 at 5:13 AM, msmsmukesh wrote: > Hi > I m new to this android. I know java nly. Anyone pls tell how to work

[android-developers] Re: Notification and PendingIntent

2009-01-08 Thread Gothy
Haven't you found solution for this issue? On Dec 26 2008, 9:24 pm, Al wrote: > Not that I know of. I also tried using a Bundle instead, still no > luck. > > On Dec 25, 5:46 am, JS wrote: > > > is there a way to see the actual extras from the logcat? > > > On Dec 24, 3:55 pm, Al wrote: > > > >

[android-developers] Map Overlay performance issue

2009-01-08 Thread sidecircle
Hello, I'm using a MapView that shows about 1000 points of interest using a class SitesOverlay that extends ItemizedOverlay. There is a big performance problem, and the Map behaves slowly on movements, scales etc. So I decided to distribute the points of interest into many smaller Overlay tiles,

[android-developers] Is it possible to get incoming caller id (phone number) in real time ?

2009-01-08 Thread pinguin
now or in the futured SDK ? Please let me now. If not i will stop to develop on amdroid ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] DRAG AND DROP

2009-01-08 Thread kaushik.siso
hi i want to know how can i enbale Drag and drop feature in android. suppose i have a image,which are to be dragged and dropped on another result and it will start a new activity. i seek your help to get a head-start atleast. regards k...@sis --~--~-~--~~~---~--~

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2009-01-08 Thread EboMike
For a simple demonstration of how BitmapFactory leaks, try this: { new Timer().schedule(timerTask, 10, 10); } TimerTask timerTask = new TimerTask() { String filePath = [point this to a valid JPG file]; public void run() { System.gc(); BitmapFactory.decodeFile(filePath);

[android-developers] Re: New

2009-01-08 Thread Juan Hernandez
helloandroid.com On Wed, Jan 7, 2009 at 8:13 AM, msmsmukesh wrote: > Hi I m new to this android. I know java nly. Anyone pls tell how to work > with android. > > Thanks, > Mukesh > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Problem with list divider

2009-01-08 Thread muckwarrior
I'm having the same problem. If I add something like android:divider="#123456" to my listview the dividers disappear completely. Anyone know why? On Nov 14 2008, 7:07 am, "for android" wrote: > I have a layout,something like this. > > >       > >       > >         >                       >

[android-developers] Re: Create Thread notation question

2009-01-08 Thread maximus
Hi Steve.. I m a android beginner and started with the same book suggested here...i.e. Android Essentials. R u still continuing with same book or got a better one?? -- On Nov 24 2008, 6:25 pm, steve_macleod wrote: > Hi, > First post here, so hello everyone! > I am working through the Android Es

[android-developers] Re: new to android

2009-01-08 Thread PRATAP SOLAPUR
Android Programmers Guide is a good book for beginner. Anddev.org u'll get tutorials On 1/7/09, google wrote: > > > hi, > can any one suggest good way to practice android. > good books or any free applications > > > > > --~--~-~--~~~-

[android-developers] New

2009-01-08 Thread msmsmukesh
Hi I m new to this android. I know java nly. Anyone pls tell how to work with android. Thanks, Mukesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Is there a media player in Android

2009-01-08 Thread linuxtom gate
Hi: Except youtube I did not find a default real media player on Android like real player or windows media player that can play mp3, mp4, h263, and so on. Who can tell me why android did not ship with a media player since it has already has PV media lib? Thank you Tom --~--~-~--~~-

[android-developers] ERROR: Unknown command 'compile'

2009-01-08 Thread lanewang...@gmail.com
Hi all, I followed the GettingStarted. After I created project with activitycreator. I ran mvn install. But I get this error below. I changed different version of android but the error is still. I am using the same pom.xml as the example. Anyone can help have a look. Thanks. ===

[android-developers] How could I get the content of a multimedia message?

2009-01-08 Thread junlong.z...@gmail.com
I cannot find MMS API in SDK. --~--~-~--~~~---~--~~ 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 e

[android-developers] Is it possible to replace or extend the dialer application ?

2009-01-08 Thread pinguin
can i extend the dialer app ? how i can i use android.telephony class to answer call ? can i write my own c++ dialer app running outside the virtual machine ? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-developers] Has anyone loaded video into a application?

2009-01-08 Thread Delmarc
I am working on a game where cut-scenes happen... but I have yet to read anything deep on video formats and such... I am guessing that I can go with H.264... but has anyone worked with it deeper??? also I doubt you can do anything deeper then just play the video but does anyone know this??? I have

[android-developers] Web View creating problem

2009-01-08 Thread balendra.kumar.si...@gmail.com
Hi All, I have a online web application for mobile devices. Its url is http://www.yomotouch/content/mobile/mobilecomics.jsp . I would like to wrape it with Android's WebKit but i am unable to load app on android's web kit currenctly. Code is given below... public void onCreate(Bundle savedI

[android-developers] Android Apps

2009-01-08 Thread intertav
Hi Android Developers, I am looking for an Android developer to build an app for me. I work in publishing and am about to publish a book which I would like built into an app Please conatct me on stava...@wiley.com Many Thanks Shaun --~--~-~--~~~---~--~~ You rece

[android-developers] Generate Bytecode Dynamically

2009-01-08 Thread Sergio Ciruela
Hi! I would like to create bytecode dynamically using BCEL or ASM. I know that there are annotations and reflection in Android. My question is, Is it possible? How I can load this class? Thanks for all ;) --~--~-~--~~~---~--~~ You received this message because y

  1   2   >