[android-developers] decode character set with xml parsing

2009-12-05 Thread yidongsoft
Can any one help? When I parse am xml file containing Japanese, nothing but chaos. I set up the input reader with new InputStreamReader(url.openStream(), "UTF-8"); Would any body help me? the xml may contains Chinese, Japanese and English. Is there a general way to handle it? Thanks in advanced!

[android-developers] Re: Are applications built with the 1.5sdk available for download via the market on the Verizon Droid?

2009-12-05 Thread Maps.Huge.Info (Maps API Guru)
I think this is clear to me finally. android:targetSdkVersion=4 and android:minSdkVersion=3 will allow 1.5 devices to see my app while still targeting at least 1.6 -John Coryat "Radar Now!" "What Zip Code?" -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: Context for layout view

2009-12-05 Thread jotobjects
On Dec 5, 10:15 pm, Romain Guy wrote: > The platform does not cache layout ids. It looks like your resources > were recompiled but not the source code. Resources are compiled to > generate static classes (like R.layout) which contain static fields > (R.layout.main) which are themselves inlined w

[android-developers] Re: Context for layout view

2009-12-05 Thread jotobjects
There doesn't seem to be an "ant clean". Or put another way the ant script should clean the build directory whenever it generates the resource id's. There is a missing clean task and a missing dependency. On Dec 5, 10:15 pm, Romain Guy wrote: > The platform does not cache layout ids. It looks l

Re: [android-developers] Are applications built with the 1.5sdk available for download via the market on the Verizon Droid?

2009-12-05 Thread Dianne Hackborn
Fwiw, I would generally recommend that people build against the latest SDK with the APIs they want (in your case 1.6 here), setting android:targetSdkVersion to that, and android:minSdkVersion to the earliest version of the platform they want to run on. Develop against that target SDK, and test aga

Re: [android-developers] How to turn of screen clearing between Activities

2009-12-05 Thread Dianne Hackborn
There is not generally such a thing, as can be seen by how most activities in the standard platform don't do this (for example navigating all through ApiDemos). There are a couple ways flicker can happen if you aren't careful: for example when using a SurfaceView if the surface is just filled with

[android-developers] Re: Are applications built with the 1.5sdk available for download via the market on the Verizon Droid?

2009-12-05 Thread snctln
Thank you both very much for the quick reply, and I think I am going to update my apks on the market right now On Dec 5, 10:53 pm, "Maps.Huge.Info (Maps API Guru)" wrote: > There are literally 10's of thousands of Droids running my app "Radar > Now!" (currently #12 in "News & Weather") which is b

Re: [android-developers] Re: Context for layout view

2009-12-05 Thread Romain Guy
The platform does not cache layout ids. It looks like your resources were recompiled but not the source code. Resources are compiled to generate static classes (like R.layout) which contain static fields (R.layout.main) which are themselves inlined when you compile your Java classes. If you regener

[android-developers] Re: Context for layout view

2009-12-05 Thread jotobjects
I did replicate this problem. It turns out my code was correct but the platform can screw up the correspondence between the R.layout values and the layout files - due perhaps to caching(?) Here is how to show this problem. The R.layout values are numbered in order of the alphabetical order of th

[android-developers] Re: Are applications built with the 1.5sdk available for download via the market on the Verizon Droid?

2009-12-05 Thread Maps.Huge.Info (Maps API Guru)
There are literally 10's of thousands of Droids running my app "Radar Now!" (currently #12 in "News & Weather") which is built with the 1.5 SDK. I want to upgrade to at least 1.6 but there are so many 1.5 devices that I think it's better at this time not to do that. -John Coryat -- You received

[android-developers] Re: Are applications built with the 1.5sdk available for download via the market on the Verizon Droid?

2009-12-05 Thread Andrei
yes On Dec 5, 10:51 pm, snctln wrote: > Hello Android Developers, > > Are Android 1.5 applications available for download on the android > market on the Motorola Droid? > > I have a few popular games on the android market (BreakTheBlocks, > PingPong, and WordWrench), when the 1.6sdk was released

[android-developers] Re: Archos Approval on an app

2009-12-05 Thread Andrei
mine says approved but i did not get email On Dec 5, 8:13 pm, hc wrote: > You can check outhttp://library.strazzere.com/ > to see if ur app is approved. > > I submitted mine around early nov, and it got approved few days ago. > Discount code sent to me on the same day, > > Looks like apps are not

[android-developers] Re: Failed to resolve class help (custom java library)

2009-12-05 Thread jax
Actually this project refers to java.beans a number of times import java.beans.Encoder; import java.beans.ExceptionListener; import java.beans.PersistenceDelegate; import java.beans.XMLEncoder; import java.beans.XMLDecoder; Is there anyway to getting hold of these classes in android? Can I downl

[android-developers] Are applications built with the 1.5sdk available for download via the market on the Verizon Droid?

2009-12-05 Thread snctln
Hello Android Developers, Are Android 1.5 applications available for download on the android market on the Motorola Droid? I have a few popular games on the android market (BreakTheBlocks, PingPong, and WordWrench), when the 1.6sdk was released I released new apks to the market built with that sd

[android-developers] How do I navigate to the program data with adb shell

2009-12-05 Thread sreeram
Hi, My program creates a sqlite3 database. With the emulator I have been able to use adb shell and get to the file in /data/data// databases/ to inspect data. But with a real phone, I just cant seem to find that file. I get some permission even doing an ls on the data directory. Any idea what I n

[android-developers] Re: Failed to resolve class help (custom java library)

2009-12-05 Thread jax
I may have has some progress. >From the online documentation I cannot see the class java.beans.ExceptionListener In the code ExceptionListener is called: listener = new ExceptionListener() { public void exceptionThrown(Exception e) { Log.e("PersistenceService", "Error: throwing Und

[android-developers] Re: KeyStore JKS implementation not found

2009-12-05 Thread jax
I found out how: bouncycastle.org On Dec 5, 8:18 pm, jax wrote: > I have discovered that JKS is not supported by android. > > How do I create a BKS keystore? > > On Dec 5, 5:55 pm, jax wrote: > > > I am trying to create certificates for users for my program > > > I am have created a keystore an

[android-developers] Failed to resolve class help (custom java library)

2009-12-05 Thread jax
I am using a program I downloaded called TrueLicense. So far I have got everything working. I am now trying to install a license file but am getting the following errors. Does anyone know what this means? 12-06 09:17:49.588: INFO/dalvikvm(2637): Failed resolving Lde/ schlichtherle/xml/Persiste

[android-developers] How to turn of screen clearing between Activities

2009-12-05 Thread Michael Bollmann
How can i avoid that the whole screen is filled with black between two Activities that look almost the same? Its an unnecessarily annoying flicker if both Activities got exactly the same background image. -- You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: The GPS Shutdown Thing

2009-12-05 Thread Mark Wyszomierski
Actually on the G1 running 1.5, the GPS icon doesn't remove itself from the notifications bar if the phone goes into sleep mode while you have a listener registered (even though I'm deregistering onPause()). Example: 1) on app start, register listener for gps. 2) onPause() to home screen, log sh

[android-developers] Re: Getting a File object from android

2009-12-05 Thread jax
OK thanks On Dec 6, 1:56 am, "Mark Murphy" wrote: > > I have a library that takes a File object as a parameter to one of the > > functions. > > > I am getting the file like this: > > > this.openFileOutput("myFile", MODE_PRIVATE) > > > I need to load this file from the system, however, I don't k

Re: [android-developers] Re: Need help with part of an app.. countdown

2009-12-05 Thread Justin Giles
Or, you could do something like this: http://dewful.com/?tag=basic-android-timer It works wonders. In the onTick method is where you can update your textview with the new information. On Sat, Dec 5, 2009 at 2:56 AM, Dexter's Brain wrote: > > This is fairly simple I guess... > > You have a te

[android-developers] Re: Archos Approval on an app

2009-12-05 Thread hc
You can check out http://library.strazzere.com/ to see if ur app is approved. I submitted mine around early nov, and it got approved few days ago. Discount code sent to me on the same day, Looks like apps are not approved in the sequence that it was submitted. They jump. On Dec 6, 5:12 am, Tom B

[android-developers] Re: LocationManager.requestLocationUpdates()

2009-12-05 Thread Mark Wyszomierski
Thanks Lance, I just found that I was being hit by this bug/issue: http://code.google.com/p/android/issues/detail?id=3147 I was logging the time of the first fix using localized time, and it was appearing as if the callback was blocking for two seconds... Thanks On Dec 5, 6:26 pm, Lance Nanek

[android-developers] Re: LocationManager.requestLocationUpdates()

2009-12-05 Thread Lance Nanek
Neither version blocks. The onLocationChanged method won't even be called during the requestLocationUpdates call, only afterwards as a separate event. On Dec 5, 4:04 pm, Mark Wyszomierski wrote: > Hi, > > Using LocationManager to get location updates: > >   LocationManager.requestUpdates( >      

[android-developers] Re: Unable to found the 'Android' in eclipse-> Window > preferences on windows 7 OS

2009-12-05 Thread schwiz
http://dl.dropbox.com/u/673057/screen.jpg On Dec 5, 2:47 pm, manoj wrote: > Hi, > > schwiz, I didn't find any little icon of a phone. where is the print > icon located ? whare is java view. could you please tell me. It s > urgent for me. > > Thanks, > Manoj. > > On Dec 6, 1:35 am, schwiz wrote:

Re: [android-developers] Do I need to notify users that I'm using analytics in my Android app? (like Flurry, Admob analytics or even logging tool like DriodDrop)

2009-12-05 Thread Disconnect
Many countries have disclosure laws concerning any information you gather, including application usage, location, etc. Ask a lawyer locally, and consult with one familiar with USA/EU privacy laws as well. On Thu, Dec 3, 2009 at 11:38 PM, Mark Murphy wrote: > > If yes, then to what degree? > > Eno

[android-developers] Archos Approval on an app

2009-12-05 Thread Tom B
has anyone not recieved an approval on their app from archos. From what i have seen many apps have been approved and i didnt know if mine was rejected or if it wasn't looked at yet. it was officially posted to AppsLib on the 25th of november. -- You received this message because you are subscribe

[android-developers] LocationManager.requestLocationUpdates()

2009-12-05 Thread Mark Wyszomierski
Hi, Using LocationManager to get location updates: LocationManager.requestUpdates( String provider, long minTime, float minDistance, LocationListener listener); If our main UI thread registers the LocationListener, will it get blocked whenever the service is trying to get a

Re: [android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-12-05 Thread Dmitri Plotnikov
Then it has to be an emulator issue, because the test passes fine on Droid. See if you can read the phone number using the plain Data.CONTENT_URI API. If you can, the issue is indeed with the lookup URI. On Dec 5, 2009 8:37 AM, "ghassett" wrote: Yes Dmitri, this is exactly what I am doing -- I

[android-developers] Re: Unable to found the 'Android' in eclipse-> Window > preferences on windows 7 OS

2009-12-05 Thread manoj
Hi, schwiz, I didn't find any little icon of a phone. where is the print icon located ? whare is java view. could you please tell me. It s urgent for me. Thanks, Manoj. On Dec 6, 1:35 am, schwiz wrote: > after you install the DDMS you should see a little icon of a phone > right next to the prin

[android-developers] Re: Unable to found the 'Android' in eclipse-> Window > preferences on windows 7 OS

2009-12-05 Thread schwiz
after you install the DDMS you should see a little icon of a phone right next to the print icon in your java view. click on it, press installed packages, then click update all. This will download sdk's 1.1-2.0.1 you can unselect the ones you don't want after clicking update all so you don't need

Re: [android-developers] apps with the same user id

2009-12-05 Thread Mark Murphy
> What are the privileges of two apps with same id? > I thought that two apps with the same id can communicate with implicit > intents without the need for intent filters to be advised.I created > two test apps for this reason but it failed... I am not aware of any such "implicit intents" capabili

[android-developers] Unable to found the 'Android' in eclipse-> Window > preferences on windows 7 OS

2009-12-05 Thread manoj
Hi all, I wanted install the Android SDK on windows 7. I am able to install the android sdk (Help > update softwares > ) I restarted the eclipse and also pc. I am able to see only DDMS and Logcat under Window > preferences no Android. Am I doing any mistake? please guide me. Thanks, Manoj. --

[android-developers] apps with the same user id

2009-12-05 Thread dane131
What are the privileges of two apps with same id? I thought that two apps with the same id can communicate with implicit intents without the need for intent filters to be advised.I created two test apps for this reason but it failed... -- You received this message because you are subscribed to th

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
The problem (initially explain in this thread) should be related to a bad parameter in my surfaceview). Like I change a lot of time my code I didn't notice exactly...Sorry. But I think that is was the callback feature. Yes I check your file and the moov atom is in first. My file no :( I'm started

[android-developers] Re: activity lifecycle

2009-12-05 Thread jotobjects
The activity is destroyed. This doesn't mean the process is killed. There could be other components in the same application using that process. Also the platform may keep the process around for a variety of reasons, including the fact that starting processes is expensive. On Dec 5, 11:41 am, dan

[android-developers] Re: Set LayoutParams to button

2009-12-05 Thread VBMichi
Got it. It's: _ LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams (LinearLayout.LayoutParams.FILL_PARENT,LinearLayout.LayoutParams.WRAP_CONTENT); lp.setMargins(20, 10, 0, 0); newVL.setLayoutParams(lp); _ Thanks anyway! On 5 Dez., 18:44

[android-developers] activity lifecycle

2009-12-05 Thread dane131
""By default, pressing the BACK key finishes (destroys) the current activity and displays the previous activity to the user."" I made and run an app and pressed the back key and returned to the main menu.However, when i typed the 'ps' command in the terminal emulator the process of my app was stil

Re: [android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
> Ok I understood the problem...The file format. AFAIK, the file format issue will not cause a core-dump-style crash like the one you posted at the top of this thread. Instead, you will get an error specifically about the video not being "safe for streaming". > Reading this thread > http://group

[android-developers] Unable to found the 'Android' in eclipse-> Window > preferences on windows 7 OS

2009-12-05 Thread manoj
Hi all, I wanted install the Android SDK on windows 7. I am able to install the android sdk (Help > update softwares > ) I restarted the eclipse and also pc. I am able to see on DDMS and Logcat under Window > preferences. Am I doing any mistake? please guide me. Thanks, Manoj. -- You received

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
Ok I understood the problem...The file format. Reading this thread http://groups.google.com/group/android-challenge/msg/114f11e31351840d I learned that a file containing a header with mdat can't be readed in streaming. The file that I'm trying to read contains this famous mdat blocking the steamin

[android-developers] OpenGL ES loading textures after onSurfaceChanged

2009-12-05 Thread Shaka
Hi! I'm using GLSurfaceView for one of my applications and I've encountered a problem. It seems I can only create textures when in onSurfaceChanged, after that glGenTextures only returns 0. I've tried without glGenTextures and keeping track of texture indices myself, but the textures generated jus

Re: [android-developers] Getting a File object from android

2009-12-05 Thread Mark Murphy
> I have a library that takes a File object as a parameter to one of the > functions. > > I am getting the file like this: > > this.openFileOutput("myFile", MODE_PRIVATE) > > I need to load this file from the system, however, I don't know how to > convert FileOutputStream to File. Or is there ano

[android-developers] Getting a File object from android

2009-12-05 Thread jax
I have a library that takes a File object as a parameter to one of the functions. I am getting the file like this: this.openFileOutput("myFile", MODE_PRIVATE) I need to load this file from the system, however, I don't know how to convert FileOutputStream to File. Or is there another way of doin

[android-developers] ActivityGroup: How do I disable the shadow at the top of the window?

2009-12-05 Thread Flying Coder
Here is the code I use in the parent activity to display a child activity within a FrameLayout. However this FrameLayout is just part of a larger layout and I don't want the shadow that is normally displayed at the top of an activity's window. How do I get rid of the shadow? Much obliged to any

Re: [android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
> ok I can display a remote video, but the problem is that the video is > completly loaded before starting :-/ I use the following example : > http://davanum.wordpress.com/2009/12/04/android-%E2%80%93-videomusic-player-sample-take-2/ > and I'm not sure that your example reads MP4 in streaming...Can

[android-developers] (www.uggssaler.com)UGG Boots,UGG Sandals,Discount UGG Boots on Sale,Buy Cheap UGG Boots UGG Boots and UGGS are popular all over the world, Choose your Cheap UGG Boots from uggss

2009-12-05 Thread jane
(www.uggssaler.com)UGG Boots Sale,UGGS On Sale,Cheap UGGS,Cheap UGG Boots 100% Australia UGG Boots are under low price,Sheepskin Boots sale cheap discounted Uggs Sheepskin Boots are provided in our Uggs Women boots store(www.uggssaler.com) (www.uggssaler.com)UGG Boots,UGG Sandals,Discount UGG Boo

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
ok I can display a remote video, but the problem is that the video is completly loaded before starting :-/ I use the following example : http://davanum.wordpress.com/2009/12/04/android-%E2%80%93-videomusic-player-sample-take-2/ and I'm not sure that your example reads MP4 in streaming...Can you con

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Abdul Mateen
Yes, exactly, Thank you for your great assistance, I think the problem will be solved after, Insallah! Thank You. On Sat, Dec 5, 2009 at 1:12 PM, Mark Murphy wrote: > > > do you mean I remove the declaration from manifest.xml and handle it my > > own > > way, If yes can you specify how? > > No.

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Mark Murphy
> do you mean I remove the declaration from manifest.xml and handle it my > own > way, If yes can you specify how? No. You have a ContentProvider. By your description, it is doing some sort of initialization that is preventing the first Activity from being displayed for a while. Since a ContentP

Re: [android-developers] Emulator on Linux 10 times slower than on Windows

2009-12-05 Thread Jeffrey Blattman
works fine on ubuntu here. On Sat, Dec 5, 2009 at 4:14 AM, brian.schim...@googlemail.com < brian.schim...@googlemail.com> wrote: > Hi there, > > I know that many people are complaining about slow emulator > performance, and mostly it can't be helped because of slow hardware > and the fact that em

[android-developers] singleTask and alwaysRetainTaskState

2009-12-05 Thread Florent Chauveau
Hello, I'm having issues with activities and instances. My app consists of 2 activities, let's call them A, and B. A is the root activity. When lauchMode of A is "standard" (the default), I have the following issue : I run the app for the first time. A is shown. A starts B with startActivityFOr

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Abdul Mateen
do you mean I remove the declaration from manifest.xml and handle it my own way, If yes can you specify how? On Sat, Dec 5, 2009 at 1:00 PM, Mark Murphy wrote: > > The problem is, activity starts its onCreate after completing the > > ContentProvider operations > > Ah. Can your ContentProvider do

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Mark Murphy
> The problem is, activity starts its onCreate after completing the > ContentProvider operations Ah. Can your ContentProvider do its setup work in a background thread, so it does not tie up the main application thread? -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer B

[android-developers] Re: Testing an Asynchronous Activity

2009-12-05 Thread Brion Emde
I guess it wasn't a well-known question, after all Today I tried a really simple minded approach of putting a function in my activity to return if the Cursor was set or not, which happens when the onQueryComplete() callback is finished. Then I had the test looping on calling that and it never

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Abdul Mateen
The problem is, activity starts its onCreate after completing the ContentProvider operations, I donot know if this is default process content provider is declared in manifest.xml. On Sat, Dec 5, 2009 at 12:38 PM, Mark Murphy wrote: > > Thank you for your answers, the problem remains the same, the

[android-developers] Set LayoutParams to button

2009-12-05 Thread VBMichi
Hi, I am creating buttons dynamically by: Button newVL = new Button(this); newVL.setId(zaehler); newVL.setText(mText); newVL.setWidth(280); newVL.setBackgroundDrawable(getResources().getDrawable (R.drawable.vlbg)); mStundenplan.addView(newVL); _

Re: [android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
> NB : you're book is available in France sinc Dec-4, its name "L'art du > développement Android" ! C'est magnifique! (as I plumb the depths of my dozen or so memorized French expressions) -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/

Re: [android-developers] Register a service with Android framework

2009-12-05 Thread Dianne Hackborn
A third party app can't do that. As the name says, getSystemService() is for system services only. On Sat, Dec 5, 2009 at 5:33 AM, Bharath wrote: > > Hi > > I have a question regarding services. > In Android I am able to use all the methods defined in the service by > calling bindService(). > I

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Mark Murphy
> Thank you for your answers, the problem remains the same, the android > system > starts content provider before starting any activity, If I explicitly > starts > any activity within the content provider class the android system after > completing the task for upgrading/creating starts the MAIN ac

Re: [android-developers] Re: Updates to the Android SDK

2009-12-05 Thread Dianne Hackborn
On Fri, Dec 4, 2009 at 5:17 PM, adamphillips12 wrote: > "It was documented like so "The SDK version supported by the device, > for example v3. The Android 1.0 SDK is v1, the 1.1 SDK is v2, and the > 1.5 SDK is v3.", if that was supposed to imply that a device supported > its most recent sdk versi

[android-developers] Re: ProgressDialog from within ContentProvider class!

2009-12-05 Thread Streets Of Boston
If you need to inform user of progress of your ContentProvider's actions, you shouldn't do it directly in your ContentProvicer, as the other posters in this thread have said as well. Instead, you could have your ContentProvider-process implement a Service as well that will call back into any Activ

Re: [android-developers] Re: How does "@*android:type/name" work

2009-12-05 Thread Dianne Hackborn
Just put a new post there. Thanks! On Sat, Dec 5, 2009 at 6:09 AM, James Wang wrote: > Thanks Dianne. > > I have noticed the problem you mentioned. > > BTW, how do I move this topic to android-port? > delete and paste again at android-port? > > -- > You received this message because you are sub

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Abdul Mateen
Hi, Thank you for your answers, the problem remains the same, the android system starts content provider before starting any activity, If I explicitly starts any activity within the content provider class the android system after completing the task for upgrading/creating starts the MAIN activity.S

[android-developers] Re: Emulator on Linux 10 times slower than on Windows

2009-12-05 Thread brian.schim...@googlemail.com
To answer your questions: I was using Ubuntu two different hardware setups, both had 2 GB Ram installed, about 75% of which was free. See below for an output of "free". As far as I can tell (that is, as far as "java -version" tells me), I'm using Sun's Java: java version "1.6.0_16" Java(TM) SE Ru

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
I already had this issue ... but ... I don't remember how I fixed it :-/ I'm going to follow your advice and post it when all is ok. Thanks mark NB : you're book is available in France sinc Dec-4, its name "L'art du développement Android" ! On Dec 5, 6:15 pm, "Mark Murphy" wrote: > > My SurfaceVi

Re: [android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
> My SurfaceView is present in my layout (with height, width...). And it > loaded before to this piece of code. > What do you means by "Is your SurfaceView prepared by the time"? No. Register a SurfaceHolder.Callback with your SurfaceHolder. Then, do not attempt to use the SurfaceView until the su

Re: [android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Mark Murphy
> Hi, > I have been stuck at a place , strange, I have a content provider class > i.e > class extends ContentProvider, I want to know about the method to show the > dialog to the user when upgrading / creating a content provider or > database > from within content provider, I tried many ways for i

[android-developers] Re: ProgressDialog from within ContentProvider class!

2009-12-05 Thread Dexter's Brain
Hi, You should not be doing this. You would probably want to handle everything related to UI from the Activity class itself. You start a background activity in a thread, and show the progress dialog. Then when the background thread exits, you dismis the progress dialog from the activity class its

[android-developers] Re: Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
Hi Mark, My SurfaceView is present in my layout (with height, width...). And it loaded before to this piece of code. What do you means by "Is your SurfaceView prepared by the time"? BR On Dec 5, 6:00 pm, "Mark Murphy" wrote: > > I'm trying to display a remote video (mp4 format). When I launch >

[android-developers] ProgressDialog from within ContentProvider class!

2009-12-05 Thread Abdul Mateen
Hi, I have been stuck at a place , strange, I have a content provider class i.e class extends ContentProvider, I want to know about the method to show the dialog to the user when upgrading / creating a content provider or database from within content provider, I tried many ways for it, but nothing

Re: [android-developers] Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread Mark Murphy
> I'm trying to display a remote video (mp4 format). When I launch > prepare (or prepareSync), Android is crashing (see log view after my > piece of code). I tried with emulator, ADP1 and Hero... > Thanks by advance for your help > mPlayer = new MediaPlayer(); > mPlayer.setOnBufferingUpdateListener

[android-developers] Opening Mediaplayer = PVPlayer stacktrace !

2009-12-05 Thread arnouf
Hi all, I'm trying to display a remote video (mp4 format). When I launch prepare (or prepareSync), Android is crashing (see log view after my piece of code). I tried with emulator, ADP1 and Hero... Thanks by advance for your help mPlayer = new MediaPlayer(); mPlayer.setOnBufferingUpdateListener(th

[android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-12-05 Thread ghassett
Yes Dmitri, this is exactly what I am doing -- I am not manually inserting records into the contacts db like the test case does, but there is definitely a contact with a mobile phone number "617939" (with real digits, not "x"s), and when I open a cursor on the query: Uri filterUri1 = Uri.withA

[android-developers] Re: Emulator on Linux 10 times slower than on Windows

2009-12-05 Thread theSmith
My emulators behave just fine under 9.10 Karmic Kola, unless I start method tracing, then it really slows down. Are you using the java sun jdk and not the open jdk? On Dec 5, 11:12 am, "Mark Murphy" wrote: > > I'm using a dual boot configuration with Windows XP and Ubuntu 9.04. > > On XP, the

Re: [android-developers] Emulator on Linux 10 times slower than on Windows

2009-12-05 Thread Mark Murphy
> I'm using a dual boot configuration with Windows XP and Ubuntu 9.04. > On XP, the emualtor is somehow slower than a real G1 device, but it's > completely ok. > > But on Ubuntu, the emulator is unusable slow. Note that other programs > run just fine under my ubuntu. I have no exact measurements, b

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

2009-12-05 Thread vekexasia
Did you solve this ? On Nov 24, 12:01 pm, usbport wrote: > 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 subscri

Re: [android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
> Got it working. > I actually copied the parts I wanted into my own personal project > called myAndroidLibraries. It works a treat. However, this will > obviously eliminate any updates made by the author, is this a good > idea? I could have just deleted the Wizard package from the CSV > project

[android-developers] Re: How does "@*android:type/name" work

2009-12-05 Thread James Wang
Thanks Dianne. I have noticed the problem you mentioned. BTW, how do I move this topic to android-port? delete and paste again at android-port? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Just a though about Android Market

2009-12-05 Thread Dexter's Brain
Hi all, As we all know, Motorola has launched it's App Accelerator now. It's still in a nascent state, but I guess, when Motorola rolls out its market-like application, how will it compete with Android market. I was just curious about this whether Google makes it mandatory for all the device manu

[android-developers] Register a service with Android framework

2009-12-05 Thread Bharath
Hi I have a question regarding services. In Android I am able to use all the methods defined in the service by calling bindService(). In bindService() we have to pass the ServiceConnection object and could able to get the reference of Service Interface through which we can invoke service methods.

[android-developers] Re: KeyStore JKS implementation not found

2009-12-05 Thread jax
I have discovered that JKS is not supported by android. How do I create a BKS keystore? On Dec 5, 5:55 pm, jax wrote: > I am trying to create certificates for users for my program > > I am have created a keystore and included the publickeystore.store > with my application in the assets folder

[android-developers] Emulator on Linux 10 times slower than on Windows

2009-12-05 Thread brian.schim...@googlemail.com
Hi there, I know that many people are complaining about slow emulator performance, and mostly it can't be helped because of slow hardware and the fact that emulators somehow have to be slow by definition because of the way they work. But something really puzzles me: I'm using a dual boot configur

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

2009-12-05 Thread Zhihong GUO
Hi all, I am wandering if there is any examples on the account and sync plugin in Android Open Source project. For example, if there are any code on Facebook plugin in contacts and sync. If not, can any one help me give the codes in Eclair contacts and email application related to the topic. Thank

[android-developers] Re: Unable to download images from HTC site

2009-12-05 Thread Dexter's Brain
http://tech-droid.blogspot.com/2009/11/android-market-on-emulator.html Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com -- 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@

[android-developers] KeyStore JKS implementation not found

2009-12-05 Thread jax
I am trying to create certificates for users for my program I am have created a keystore and included the publickeystore.store with my application in the assets folder. I created all the certificates using the keytool program from JAVA. When I try to authenticate the certificate I get the follow

[android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread jax
Hi Mark Got it working. I actually copied the parts I wanted into my own personal project called myAndroidLibraries. It works a treat. However, this will obviously eliminate any updates made by the author, is this a good idea? I could have just deleted the Wizard package from the CSV project an

Re: [android-developers] How to disable autocomplete on AutoCompleteTextView

2009-12-05 Thread Klaus Kartou
I have tried setting the contents of the adapter to an empty array, but that didn't help. Ok, setting the adapter to null might give different results, ill try that and come back with the result. Thanks! On Dec 5, 2009 11:22 AM, "Mark Murphy" wrote: > Yes and it works, but I need be able to call

Re: [android-developers] How to disable autocomplete on AutoCompleteTextView

2009-12-05 Thread Mark Murphy
> Yes and it works, but I need be able to call setText() at any time, eg > when > the user presses a button. On the button click, try setting the adapter to null, set the text, then set the adapter back to its original value. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Dev

Re: [android-developers] How to disable autocomplete on AutoCompleteTextView

2009-12-05 Thread Klaus Kartou
Yes and it works, but I need be able to call setText() at any time, eg when the user presses a button. On Dec 5, 2009 10:38 AM, "Mark Murphy" wrote: > So this is a response to another thread, that I never got a reaction on. > Hopefully someone can ... Have you tried calling setText() before atta

Re: [android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
> I just commented out the Swing import into the suspect class and the > only package that is broken is de.schlichtherle.wizard. This is the > exact package that I don't need. Should I just delete this package? It is worth a shot. When you delete the package, there may be references to the delet

[android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread jax
Hi Mark I just commented out the Swing import into the suspect class and the only package that is broken is de.schlichtherle.wizard. This is the exact package that I don't need. Should I just delete this package? On Dec 5, 5:06 pm, "Mark Murphy" wrote: > > Well the part of the project I need

[android-developers] Different formats of postal address with ContactsContracts

2009-12-05 Thread benbenbenben
Is there a way to get the data: address, postalcode, country ect. in different country formats. Like in Great Britain: [recipient] [street name] [postal town (town/city)] [postal code] [country name] And in The Netherlands: [recipient] [street name] [postal code] [postal town (town/city)]

Re: [android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
> So this means that I will need to delete all swing references right. Android doesn't have Swing, so you will need to deal with the Swing references. Try commenting them out, see what then breaks, lather, rinse, repeat. You might try contacting the project's author(s) for guidance regarding sepa

Re: [android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread Mark Murphy
> Well the part of the project I need actually has no references to > Swing. > > The project looks like this > > de.schlichtherle.license > de.schlichtherle.ftp > de.schlichtherle.wizard > > All the swing parts are in the wizard section. I don't want anything > from this package at all so can simp

[android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread jax
Oh...actually I just saw a Swing reference. So this means that I will need to delete all swing references right. On Dec 5, 5:01 pm, jax wrote: > Hi > > Well the part of the project I need actually has no references to > Swing. > > The project looks like this > > de.schlichtherle.license > de.sc

[android-developers] Unable to download images from HTC site

2009-12-05 Thread Bytes
Hi, I'm unable to download any images from HTC site for ADP1. http://developer.htc.com/adp.html Does anybody knows the reason ? Where else can I get recovery image for ADP1 ? Thanks for your help. regards -Bytes -- You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: Using external source inside my program (Eliminating Swing components)

2009-12-05 Thread jax
Hi Well the part of the project I need actually has no references to Swing. The project looks like this de.schlichtherle.license de.schlichtherle.ftp de.schlichtherle.wizard All the swing parts are in the wizard section. I don't want anything from this package at all so can simple remove it.

Re: [android-developers] Re: Advanced Camera Settings

2009-12-05 Thread Mark Murphy
> Any idea if this is possible? Can it only be done with the NDK? I do not believe any of the things you mentioned are in the Android 2.0 SDK, and I suspect the NDK won't get you any closer to the camera. At the firmware level, you may have some options, but that requires loading alternative firmw

  1   2   >