[android-developers] How to add a page control +android

2011-09-26 Thread ProblemZone
i want add page control same like iphone or android home screen plz help me how to implement page control androi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] SSL Android

2011-09-26 Thread b0b
I agree that adding a self-signed certificate to the trustore is the way to go. It's not that difficult. look here if you need to generate a certificate: http://blog.didierstevens.com/2008/12/30/howto-make-your-own-cert-with-openssl/ And here to create a BKS trust store:

[android-developers] Bluez health profile - intentional permanent disconnect problem.

2011-09-26 Thread arun_satya3
Hi All, I have a problem while working on pulse oximeter when the device disconnects. Can anyone pls explain what is intentional permanent disconnect and how to resolve the problem. When the above occurs, I am unable read the data and i get G_IO_HUP error on the data channel fd. Looks like the

[android-developers] One View over other

2011-09-26 Thread giles ian
Hello, I have to create a iPhone like edittext (one with cross at extreme right), so im planing to have a edittext and an image on top of it @ extreme right. Which layout can i use? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: How to use LocationListener without “implements LocationListener”?

2011-09-26 Thread Ryan Mattison
Nothing to see here... On Sep 25, 12:16 pm, TreKing treking...@gmail.com wrote: On Sun, Sep 25, 2011 at 12:08 PM, saex elpablos...@gmail.com wrote: i need to do it without implementing it, because i have to do a class that doesn't implement methods. Um ... why?

[android-developers] Re: File.ListRoots

2011-09-26 Thread Zsolt Vasvari
Have you actually tried looked for listRoots()? Because it took me less than 30 seconds to find it. On Sep 26, 12:42 pm, John jnb...@gmail.com wrote: Thanks, that's a useful link, but it doesn't answer my question. I'm looking for the equivalent Java.IO.ListRoots, which lists the filesystem

[android-developers] Re: File.ListRoots

2011-09-26 Thread John
and what did it return? For me it returned one entry /, which, akaik is worthless. On Sep 26, 12:10 am, Zsolt Vasvari zvasv...@gmail.com wrote: Have you actually tried looked for listRoots()?  Because it took me less than 30 seconds to find it. On Sep 26, 12:42 pm, John jnb...@gmail.com

[android-developers] SHA1

2011-09-26 Thread Kristoffer
Hello. Is there a easy way of making a sha1 from a string in android? Right now iam using a a php script that makes it for me and passes the sha1 string back to the application. its very simple in php: echo sha1('string1'.'string2'); But it would be much cleaner if i could make this happen

Re: [android-developers] SHA1

2011-09-26 Thread Nikolay Elenkov
On Mon, Sep 26, 2011 at 4:39 PM, Kristoffer kris.isak.v...@gmail.com wrote: Hello. Is there a easy way of making a sha1 from a string in android? That has actually little to do with Android. For cryptographic operations in Java you use the JCE classes:

[android-developers] Re: Extracting RGB data from Bitmap

2011-09-26 Thread gjs
Hi, See http://developer.android.com/reference/android/graphics/Bitmap.html#getPixels(int[], int, int, int, int, int, int) Regards On Sep 26, 9:17 am, New Developer secur...@isscp.com wrote: Anyone know how to extract the RGB Data only from  a bitmap So that is can be placed into a string

[android-developers] Problem with MediaPlayer while playing sequence (or) Multiple Files

2011-09-26 Thread julious raj
Hello developers, I am facing one big issue with my application. AFAIK the mediaplayer datasource should be Uri(or) FileDescriptor(or) Path. I have loaded my Files to assets. So i used FileDescriptor as datasource for my player. My problem is whenever i try to play any file the first file from

[android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread Ash McConnell
Hi Folks, I'm still having problems with this, does anyone know if it's possible? Thanks! Ash -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Augmented Reality: How to display a TextView on a building when the user faces the building? (building GPS position is stored)

2011-09-26 Thread saex
I have a Augmented Reality App that simply shows the camera view and get's the user GPS position. Also i have stored the GPS position of a famous building of my City. Now i need that when the user faces to the direction of the Building, a textview (Building) or a image (the easiest one) must be

[android-developers] Dual desktop/activity view output on software solution?

2011-09-26 Thread Benson
Hi, I am developing an App. I want to display two difference desktop or activity view, And the second monitor's output interface might use USB + usb2vga adapter. Is it possible to implement the output function on Android SDK or NDK? The key point is the driver of usb2vga adapter? Does -- You

[android-developers] Re: Infinite loop in TextToSpeech.initTts

2011-09-26 Thread BorisB
Are you calling setEngineByPackageName()? If so, you should check the return code, and not call setLanguage() if it returns ERROR. Also, it seems it takes a bit of time to initialize after you call setEngineByPackageName() even if it returns SUCCESS. No, I just try to instantiate

Re: [android-developers] jni

2011-09-26 Thread bhanuchandra mbs
You already have everything done regarding JNI communication. you have the library with sample code. Anyway, I will brief the process. -- compile the class in which u have the native functions --Create a header file with the class which has function declaration which u need to call from native

[android-developers] Re: Creating PNG images for app startup, background etc

2011-09-26 Thread Oli
I'll give another thumbs up for using Inkscape. I played around recently writing a small game and used it for most of the art assets (buttons, logos, etc.). I found it's particularly handy if you're going to want to output multiple sizes of the same artwork without any loss in quality.

Re: [android-developers] Re: Infinite loop in TextToSpeech.initTts

2011-09-26 Thread Nikolay Elenkov
On Mon, Sep 26, 2011 at 6:03 PM, BorisB boris.br...@gmail.com wrote: Are you calling setEngineByPackageName()? If so, you should check the return code, and not call setLanguage() if it returns ERROR. Also, it seems it takes a bit of time to initialize after you call setEngineByPackageName()

[android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread skink
On Sep 26, 10:12 am, Ash McConnell ash.mcconn...@gmail.com wrote: Hi Folks, I'm still having problems with this, does anyone know if it's possible? Thanks! Ash Yes, use AssetManager pskink -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread Ashley McConnell
Unfortunately in this case I need to use a URI as eventually I am going to use it to skin an AppWidget. On Mon, Sep 26, 2011 at 10:32 AM, skink psk...@gmail.com wrote: On Sep 26, 10:12 am, Ash McConnell ash.mcconn...@gmail.com wrote: Hi Folks, I'm still having problems with this, does

[android-developers] Re: Control HDMI output during live streaming

2011-09-26 Thread Rikki
I'm also looking for it. Let me know if youve found some lead and can share some insights Thanks, Rikki On Jul 11, 4:45 pm, Amit amitpande...@gmail.com wrote: Hi I need to do some output control for HDMI output. I need to block HDMI output during Live streaming when the device is connected

Re: [android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread skink
Ashley McConnell wrote: Unfortunately in this case I need to use a URI as eventually I am going to use it to skin an AppWidget. On Mon, Sep 26, 2011 at 10:32 AM, skink psk...@gmail.com wrote: On Sep 26, 10:12 am, Ash McConnell ash.mcconn...@gmail.com wrote: Hi Folks, I'm

Re: [android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread Kostya Vasilyev
ImageView supports resource URIs starting with Android 2.2. The URI scheme is android.resource://, more info can be found here: http://androidbook.blogspot.com/2009/08/referring-to-android-resources-using.html -- Kostya 26.09.2011 14:21, skink пишет: Ashley McConnell wrote: Unfortunately

Re: [android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread Ashley McConnell
Thanks, I am currently using resource URIs, but I'd like to use asset URIs if possible On Mon, Sep 26, 2011 at 11:48 AM, Kostya Vasilyev kmans...@gmail.comwrote: ImageView supports resource URIs starting with Android 2.2. The URI scheme is android.resource://, more info can be found here:

Re: [android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread Ashley McConnell
Skinning, to change the look of the AppWidget by changing backgrounds / icons etc. according to user preferences. On Mon, Sep 26, 2011 at 11:21 AM, skink psk...@gmail.com wrote: Ashley McConnell wrote: Unfortunately in this case I need to use a URI as eventually I am going to use it to

[android-developers] Which intents not fully supported by AndroidManifest.xml ?

2011-09-26 Thread Michal Maruska
Hello, I have noticed, that some intents, eg. BOOT_COMPLETED or ACTION_SCREEN_{ON,OFF} are impossible to register for from the AndroidManifest.xml. I would like to find the documentation listing such intents, and would like to understand why is that. Maybe if I knew where/how the package

Re: [android-developers] Regarding XML Parsing issue

2011-09-26 Thread sourabh sahu
I have an xml file with data in non english form say in Hindi, when I parse it using pull.the data comes in unreadable format.Though the controls on android supports that language.When I debug that I found after parsing data is not in readable format. Any kind of help on this is highly

[android-developers] How to know if the phone is facing a given GPS point? (I have the Azimuth of the Phone and his GPS position)

2011-09-26 Thread saex
I have a Augmented Reality App that simply shows the camera view and get's the user GPS position, azimuth, direction, inclination, etc... Also i have stored the GPS position of a famous building of my City. Now i need that when the user faces to the direction of the Building, a textview (Building)

[android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread skink
On Sep 26, 12:52 pm, Ashley McConnell ash...@siroccoracing.com wrote: Skinning, to change the look of the AppWidget by changing backgrounds / icons etc. according to user preferences. On Mon, Sep 26, 2011 at 11:21 AM, skink psk...@gmail.com wrote: Ashley McConnell wrote:

Re: [android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread Ashley McConnell
So you would like to call RemoteViews.setBitmap() right? I'd like to call RemoteViews.setImageViewUri with a file in the assets directory. The problem with setImageViewBitmap is that it very quickly hits an android imposed limit. All the best, Ash -- Awesome Widgets

[android-developers] honeycomb and toasts not showing

2011-09-26 Thread rukiman
If I run my app in honeycomb all the toasts I use do not show. Is there an issue with honeycomb and toasts or is just that the emulator is so slow it doesn't show it but a real device would? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Language Translation issue

2011-09-26 Thread sourabh sahu
Hi All, Can anybody please suggest me some good third party open source API which converts voice to text, without using internet connection. Thanks, SOurabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] H264 RTP Packetization

2011-09-26 Thread B.Arunkumar
Hi, I would like to check if there is any good example code to do RTP Packetization accroding to RFC 3984. We are getting H264 stream from LG mobile camera which we have to stream to a server. How do we calculate the NAL Size and check if the frame size size is lesser than 1400 bytes? Thank

Re: [android-developers] honeycomb and toasts not showing

2011-09-26 Thread Rafael Maas
Slow emulator problem. 2011/9/26 rukiman ruksh...@optushome.com.au: If I run my app in honeycomb all the toasts I use do not show. Is there an issue with honeycomb and toasts or is just that the emulator is so slow it doesn't show it but a real device would? -- You received this message

[android-developers] Android Widget update problem

2011-09-26 Thread Plabon Modak
Hi, I have made a android widget for my application. I have used a layout(linear) in the xml of the widget. There is a textview showing some text in that layout. Now i want to change the text of the textview on tapping or clicking the layout. Can any one help me to do that. Thanks, RawCoder --

[android-developers] Re: honeycomb and toasts not showing

2011-09-26 Thread rukiman
Thanks for confirmation On Sep 26, 9:33 pm, Rafael Maas rafaelm...@gmail.com wrote: Slow emulator problem. 2011/9/26 rukiman ruksh...@optushome.com.au: If I run my app in honeycomb all the toasts I use do not show. Is there an issue with honeycomb and toasts or is just that the

[android-developers] Looper.prepare() Looper.loop() makes a thread to be iterative?

2011-09-26 Thread saex
Hi, this code inside the Thread will be executed one time? or it is infinite like while(true)? i=1; new Thread() { public void run() { Looper.prepare(); i=i+1; Looper.loop(); } }.start(); -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread skink
On Sep 26, 1:10 pm, Ashley McConnell ash...@siroccoracing.com wrote: So you would like to call RemoteViews.setBitmap() right? I'd like to call RemoteViews.setImageViewUri with a file in the assets directory.  The problem with setImageViewBitmap is that it very quickly hits an android

Re: [android-developers] Looper.prepare() Looper.loop() makes a thread to be iterative?

2011-09-26 Thread Kostya Vasilyev
Loop.prepare() should - and can - only be called once per thread, and from within the thread. Looper.loop() is infinite - this is the loop that waits for messages and processes them one by one. The loop quits when you call looper.quit(). This snippet is from HandlerThread: public void

Re: [android-developers] App force closes when Bluetooth connection occurs

2011-09-26 Thread Steven Bruce
Not had a chance to run the debugger yet as its tough getting the other person to lend me their phone to help with the debugging. lol. Are there any other reasons why it wouldn't work? Maybe incompatible devices? One is a Sony Ericsson Xperia Arc and the other is an Xperia X10. Both running

[android-developers] Launcher icon not working for my app

2011-09-26 Thread Skip Morrow
I posted this at stackoverflow, but I haven't gotten any helpful answers: http://stackoverflow.com/questions/7546351/android-launcher-icon-not-working The crux is I that the app icon I have assigned in my manifest isn't being used in the launcher on my phone (all I get is the default package

[android-developers] Accessing View component from parent view

2011-09-26 Thread Addy
Hi All, Now, from the same concept of accessing user interface with device, I have some another idea, After resigning native application with new key for rooted device and if we access the Activity context of the native application, I am able to get the view of that application's and child of

Re: [android-developers] Android Widget update problem

2011-09-26 Thread tamil maran
write the onclick event for layout ,and inside of click event we can set the text -- 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

Re: [android-developers] Regarding XML Parsing issue

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 5:57 AM, sourabh sahu souruit...@gmail.com wrote: I have an xml file with data in non english form say in Hindi, when I parse it using pull.the data comes in unreadable format.Though the controls on android supports that language.When I debug that I found after parsing

Re: [android-developers] Re: File.ListRoots

2011-09-26 Thread TreKing
On Sun, Sep 25, 2011 at 11:42 PM, John jnb...@gmail.com wrote: I'm looking for the equivalent Java.IO.ListRoots, which lists the filesystem root volumes. There is no root volumes. There is your internal private storage and external storage, for both of which there are APIs discussed in the

[android-developers] google translator tamil unicode conversion tamil text in android

2011-09-26 Thread tamil maran
i stored the utf-8 tamil unicode .which is the google tamil translate unicode. so here i need to display this unicode as tamil font in android this is the utf-8 tamil unicode \u00e0\u00ae\u009a\u00e0\u00ae\u00a9\u00e0\u00ae\u00be

Re: [android-developers] Diplay progressbar with text downloading when search button clicked in search dialog just like in market app.

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 12:52 AM, muhammad mahmood muhammad.rash...@gmail.com wrote: How to display progress bar when search button is clicked in search dialog. For long operations search dialog remains untill search resluts come. First, read the documentation topics on / Google search the

Re: [android-developers] Android Widget update problem

2011-09-26 Thread Plabon Modak
But there is only views.setOnClickPendingIntent(R.id.tipslayout, actionPendingIntent); this method for widget. I didnot get any setonclicklistener(). Can u please provide an example code for me? On Mon, Sep 26, 2011 at 6:19 PM, tamil maran tam.mara...@gmail.com wrote: write the onclick event

Re: [android-developers] How to add a page control +android

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 1:13 AM, ProblemZone navi44...@gmail.com wrote: i want add page control same like iphone or android home screen plz help me how to implement page control androi Plz reed da androi blog.

[android-developers] Re: Saving form data to XML

2011-09-26 Thread ksmobilejava
To create new xml file on SD card I am using following code String strFileName = Environment.getExternalStorageDirectory()+/ + temp.xml; try{ if(!lXmlfile.exists())

Re: [android-developers] One View over other

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 1:53 AM, giles ian gilesian@gmail.com wrote: I have to create a iPhone like edittext (one with cross at extreme right), Every time you try to make something iPhone like on Android, Jesus kills a kitten. so im planing to have a edittext and an image on top of it @

[android-developers] How to get the Next softkey to show up

2011-09-26 Thread Skip Morrow
I have a username/password activity but when the focus is in the username, the softkey Next does not show up in the keyboard. I have event tried usernameText.setNextFocusDownId(R.id.editTextPassword); in my activity .java, and android:nextFocusDown=@+id/editTextPassword in my layout .xml

Re: [android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread Ashley McConnell
On Mon, Sep 26, 2011 at 1:04 PM, skink psk...@gmail.com wrote: On Sep 26, 1:10 pm, Ashley McConnell ash...@siroccoracing.com wrote: So you would like to call RemoteViews.setBitmap() right? I'd like to call RemoteViews.setImageViewUri with a file in the assets directory. The problem

[android-developers] How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread saex
Hi i need to put some listeners on a Thread (to optimize my app), then, the Thread should be executed one time, but it needs to continue alive, because the listeners have to be alive to listen for events. I tryed with this code, but this code gives me an EXCEPTION (java.lang.RuntimeException:

Re: [android-developers] How to get the Next softkey to show up

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 7:54 AM, Skip Morrow skip.morrow.mob...@gmail.comwrote: Is there a way to make that go away since it really doesn't make sense in the context of a username/password situation. http://developer.android.com/reference/android/widget/TextView.html#setInputType(int)

Re: [android-developers] How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 8:03 AM, saex elpablos...@gmail.com wrote: How can i do a thread that only executes itself one time but continues alive? You don't - what you're doing makes no sense. You don't have to keep your thread alive to keep your listeners active. Just run the code you have in

[android-developers] HTC and LG haven't implemented Android in the right way

2011-09-26 Thread MobileVisuals
I have found that everything implemented with Point attenuation will look like a blurry mess on devices from HTC and LG. This happens on even the newest devices from HTC, like HTC Desire HD. Why is it like this? Haven't they implemented Android in the right way? Point attenuation works like it

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-09-26 Thread gujian
you can try the command such as adb logcat -b radio you will see your log like RILJ XX 2011/5/3 Douglas Selph douglasse...@gmail.com I turned on the logging in frameworks/base/telephony/java/com/android/internal/telephony/RIL.java. I then rebuilt and reflashed my developer phone. But

[android-developers] Re: How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread saex
But i want to do it on a separate Thread, to optimize my app removing tasks from the main thread, because the main thread have a lot of tasks on it and it needs to use threads for such thinks please tell me how to make a thread that only executes itself one time On 26 sep, 15:20, TreKing

Re: [android-developers] Re: Help for IP camera

2011-09-26 Thread J Handal
Hi Kirti, directly coonect through cross cable to my pc now for testing on emulator. Are you streaming live video? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Android Widget update problem

2011-09-26 Thread Ash McConnell
You need to create a pending intent which will send an event to your widget, then handle that event in your widget Intent intent = new Intent(context, MightyToggleWidget.class); intent.setAction(MY_HANDLE_BUTTON_EVENT_NAME); PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0,

[android-developers] download videos using download manager

2011-09-26 Thread parag
hi, i want to develop an app, which allows to download videos from my server, i tried doing so with an mp3 and a wma file. but the download fails, i tried with a jpg image the download is fine. 1) does the download manager does not support to download mp3 and 3gp files? 2) can the download

[android-developers] service

2011-09-26 Thread jaggu
Hi i have an small doubt regarding the service .. how to start service and how to stop the service in my mediaplayer activity can any one give me exact flow for this application Thanks jagadeesh -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] How to get the Next softkey to show up

2011-09-26 Thread Skip Morrow
Well, that's strange. It says here: http://developer.android.com/reference/android/text/InputType.html#TYPE_TEXT_FLAG_MULTI_LINE If this flag is not set, the text field will be constrained to a single line. Well, I have not set that flag. Here's my xml: EditText

Re: [android-developers] Re: File.ListRoots

2011-09-26 Thread Mark Murphy
Agreed. Your roots are getFilesDir() and getExternalFilesDir() -- though the latter is new to API Level 8, so you need Environment.getExternalStorageDirectory() on earlier Android versions. On Mon, Sep 26, 2011 at 8:21 AM, TreKing treking...@gmail.com wrote: On Sun, Sep 25, 2011 at 11:42 PM,

Re: [android-developers] Re: How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 8:37 AM, saex elpablos...@gmail.com wrote: But i want to do it on a separate Thread, to optimize my app removing tasks from the main thread, because the main thread have a lot of tasks on it and it needs to use threads for such thinks Putting arbitrary functionality

Re: [android-developers] service

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 9:43 AM, jaggu mjagadeeshb...@gmail.com wrote: how to start service and how to stop the service in my mediaplayer activity Read the Service documentation. - TreKing

Re: [android-developers] Which intents not fully supported by AndroidManifest.xml ?

2011-09-26 Thread Mark Murphy
On Mon, Sep 26, 2011 at 6:55 AM, Michal Maruska mmaru...@gmail.com wrote: I have noticed, that some intents, eg.  BOOT_COMPLETED or ACTION_SCREEN_{ON,OFF} are impossible to register for from the AndroidManifest.xml. I  would like to find the documentation listing such intents I am not aware

Re: [android-developers] NDK Issue

2011-09-26 Thread Mark Murphy
Step #1: Read http://developer.android.com/sdk/ndk/overview.html Step #2: Read INSTALL.HTML in your NDK installation Step #3: Use the [android-ndk] Google Group for NDK-related questions On Sun, Sep 25, 2011 at 11:12 AM, sourabh sahu souruit...@gmail.com wrote: Hi All, Can anybody please

Re: [android-developers] Fragments with fragment tabs

2011-09-26 Thread Mark Murphy
On Sun, Sep 25, 2011 at 10:21 AM, Rimma Sukhovsky drim...@gmail.com wrote: Is it possible to use fragments inside fragments No. and if not what should be the best practice for implementing this? Put the tabs in the action bar (controlling the contents of a FrameLayout to the right of your

Re: [android-developers] How to get the Next softkey to show up

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 9:51 AM, Skip Morrow skip.morrow.mob...@gmail.comwrote: But the enter key is always available when this field has the focus, and presses it sure enough does type a carriage return. Yeah, I think that's a bug. I remember running into the same issue. I had to use a

Re: [android-developers] Fragments with fragment tabs

2011-09-26 Thread Rimma Sukhovsky
Thanks for your reply Mark! I did consider that, but that will cause a problem with pre 3.0 devices. I thought of: 1. Place the TabHost in a separate Fragment (adding each Tab an empty view), and place the actual tab content in a second Fragment. 2. Put a OnTabChangeListener for the TabHost to

Re: [android-developers] Fragments with fragment tabs

2011-09-26 Thread Mark Murphy
On Mon, Sep 26, 2011 at 11:13 AM, Rimma Sukhovsky drim...@gmail.com wrote: I did consider that, but that will cause a problem with pre 3.0 devices. Try ActionBarSherlock, then. I thought of: 1. Place the TabHost in a separate Fragment (adding each Tab an empty view), and place the actual tab

[android-developers] Re: How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread saex
It is for Augmented Reality App, i really need to use Threads for this, or the camera doesn't works properly The code that i posted gives me an exception how can i avoid that exception? the Exception is posted in the question. Thanks On 26 sep, 16:52, TreKing treking...@gmail.com wrote: On

Re: [android-developers] How to get the Next softkey to show up

2011-09-26 Thread Skip Morrow
Thanks for suggesting that it was a bug. I did a little searching and it would appear that you are correct, and in fact there are a couple of other bugs with the edittext controls. Anyway, I solved this by making the InputType TYPE_TEXT_VARIATION_PERSON_NAME. Works perfectly. So far. -- You

Re: [android-developers] App force closes when Bluetooth connection occurs

2011-09-26 Thread Kristopher Micinski
On Mon, Sep 26, 2011 at 8:12 AM, Steven Bruce stevebruc...@gmail.com wrote: Not had a chance to run the debugger yet as its tough getting the other person to lend me their phone to help with the debugging. lol. Are there any other reasons why it wouldn't work? Maybe incompatible devices? One

Re: [android-developers] Re: How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread Kostya Vasilyev
The exception is due to your thread not having a Looper, which a fundamental low-level mechanism used by Android to delivers events to an application. You can fix this, but You don't really need a thread for this - after you register a listener, the main thread will continue to run,

Re: [android-developers] App force closes when Bluetooth connection occurs

2011-09-26 Thread Kristopher Micinski
Also, using BT between android / non android devices hasn't worked out terribly well for people in the past... Kris On Mon, Sep 26, 2011 at 11:30 AM, Kristopher Micinski krismicin...@gmail.com wrote: On Mon, Sep 26, 2011 at 8:12 AM, Steven Bruce stevebruc...@gmail.com wrote: Not had a chance

Re: [android-developers] Re: How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 10:25 AM, saex elpablos...@gmail.com wrote: It is for Augmented Reality App, i really need to use Threads for this, or the camera doesn't works properly No, you really don't. If you need help with the camera, try explaining what doesn't works properly means, and why

Re: [android-developers] Fragments with fragment tabs

2011-09-26 Thread Rimma Sukhovsky
ActionBarSherlock - looks intersting i will look into it. re: That still sounds like you are putting fragments in fragments. This is the layout i'm trying to build: LinearLayout android:id=@+id/linearLayout1 android:layout_width=fill_parent android:layout_height=wrap_content fragment

Re: [android-developers] Re: How to do a Thread that only executes itself one time? (but continues alive)

2011-09-26 Thread Kristopher Micinski
In most reality, using bare threads in Android also seems a bit contrived, there are a few more system appropriate utilities you might look into.. Kris On Mon, Sep 26, 2011 at 11:35 AM, TreKing treking...@gmail.com wrote: On Mon, Sep 26, 2011 at 10:25 AM, saex elpablos...@gmail.com wrote: It

Re: [android-developers] Fragments with fragment tabs

2011-09-26 Thread Rimma Sukhovsky
ActionBarSherlock - looks intersting i will look into it. re: That still sounds like you are putting fragments in fragments. This is the layout i'm trying to build: LinearLayout android:id=@+id/linearLayout1 android:layout_width=fill_parent android:layout_height=wrap_content fragment

[android-developers] How to mix or append mp3 or wave files one after the other and save the resulting file onto the SD card in android?

2011-09-26 Thread Raj
I have some mp3 files in my /res/raw folder. What I am doing is that, whenever a user clicks on a button a respective sound is played and after he is finished with pressing all the buttons, I want to club all those mp3 files together and a make a new audio file out of it and save it to sd

[android-developers] Opening an Application from a URL Link

2011-09-26 Thread Mark Cz
Hi All, I want my application to be opened from a link, and it works fine (most of the time this is the reason I am asking for help) My html link is a href=intent:#Intent;action=com.mark.MY_ACTION;endOpen Application/a and my intent filter is in the form intent-filter action

Re: [android-developers] Opening an Application from a URL Link

2011-09-26 Thread Mark Murphy
Add an intent-filter for ACTION_VIEW, CATEGORY_BROWSEABLE, and a data element for a URL under your control. As a benefit, you can put a Web page at that URL for everybody who encounters your link and doesn't have the app installed, or isn't using an Android device. On Mon, Sep 26, 2011 at 12:24

[android-developers] Select Spinner Button inside ListView via DPAD

2011-09-26 Thread paul zazzarino
I am trying to programatically select a spinner button from inside an app, basically mapping DPAD actions to a focus selection. [adding Google TV support] i.e. select a Spinner inside listview item if the user presses the DPAD key: Tried a number of things setting the

[android-developers] How to specify query MediaStore.Audio.Media in Android SDK?

2011-09-26 Thread oliverorav
Hi! I would like to know, how to specify MediaStore.Audio.Media query to only show songs that are in that album. -- 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] Cannot getCurrentPosition from MediaPlayer

2011-09-26 Thread Yan
I would like to get this working with the OpenGL example code from the NeHe Android Ports, but when I try to access the timecode from the MediaPlayer within onDrawFrame, it gives the error: mp cannot be resolved I tried putting the MediaPlayer.create line in Lesson06.java but it gives the

[android-developers] Re: Opening an Application from a URL Link

2011-09-26 Thread Mark Cz
The link will be shown only in android, and only if the user has my app. The problem with your approach is that a chooser dialog will be poped. While in the first version my application will be called directly ( when it works) On Sep 26, 7:40 pm, Mark Murphy mmur...@commonsware.com wrote: Add

[android-developers] Re: Opening an Application from a URL Link

2011-09-26 Thread Mark Cz
On Sep 26, 7:40 pm, Mark Murphy mmur...@commonsware.com wrote: Add an intent-filter for ACTION_VIEW, CATEGORY_BROWSEABLE, and a data element for a URL under your control. As a benefit, you can put a Web page at that URL for everybody who encounters your link and doesn't have the app

[android-developers] Re: Frame Drop Management in Video Player

2011-09-26 Thread Doug
On Sep 25, 5:03 am, Ganesh ganesh.vija...@gmail.com wrote: So the video system knows that it is behind audio by X which can be sent to the extractor. I don't think the system can know this information, as all the audio and video packets are interleaved. The system is forced to process them in

Re: [android-developers] Re: Opening an Application from a URL Link

2011-09-26 Thread Mark Murphy
On Mon, Sep 26, 2011 at 1:23 PM, Mark Cz ome...@gmail.com wrote: The link will be shown only in android, and only if the user has my app. OK. The problem with your approach is that a chooser dialog will be poped. No, it will not. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Install % statistic removed, replaced with users and devices

2011-09-26 Thread Doug
Just noticed this today on the market developer's console. I suppose we are now supposed to interpret the numbers differently than we had in the past. Apparently, the top number (users) is just the number of unique users who have downloaded the app and the bottom number (devices) is the number

[android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread skink
On 26 Wrz, 14:59, Ashley McConnell ash...@siroccoracing.com wrote: Thanks, That was a workaround I didn't think of, I'll give it a go.  I don't understand why the asset URI doesn't work as advertised though. -- Awesome Widgets http://www.siroccosoftware.com/awesome Online Racing

[android-developers] Re: Android setImageUri not working with asset Uri

2011-09-26 Thread skink
On 26 Wrz, 14:59, Ashley McConnell ash...@siroccoracing.com wrote: On Mon, Sep 26, 2011 at 1:04 PM, skink psk...@gmail.com wrote: On Sep 26, 1:10 pm, Ashley McConnell ash...@siroccoracing.com wrote: So you would like to call RemoteViews.setBitmap() right? I'd like to call

[android-developers] Re: Install % statistic removed, replaced with users and devices

2011-09-26 Thread John Coryat
Now it all makes sense! One of my apps (a beta) has 3 users with 655 devices. I guess that's about right. Doesn't everyone have a little over 200 Android devices? -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] unmarshalling and premature alarm problems

2011-09-26 Thread John Goche
Hello, I am having a few problems with my alarm code. 1. Suppose I set the alarm for the first time for it to expire at a future time. In this case it goes off immediately instead of after the delay. 2. Every other time following the first time I set the alarm again for it to expire at some

Re: [android-developers] Install % statistic removed, replaced with users and devices

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 12:32 PM, Doug beafd...@gmail.com wrote: Maybe all it's saying now is that some users have the app installed on two devices with the same google account. Anyone know if I am reading this correctly? Sounds plausible, but really, who would know for sure except the

[android-developers] standalone popup: UI question

2011-09-26 Thread John Goche
Hello, I would like to know whether it is somehow possible to create a popup window which does not take up the whole display area. I am asking because I need to display a message when an alarm expires but do not want to resort to notifications because they seem to be squished in the top right

Re: [android-developers] unmarshalling and premature alarm problems

2011-09-26 Thread TreKing
On Mon, Sep 26, 2011 at 1:12 PM, John Goche johngoch...@googlemail.comwrote: I don't see where the problem is with my code. I am hoping that someone here can shed some light on this issue. Ah, I remember this issue. Short answer: Parcelable sucks. I'm fuzzy on the details, but what I learned

  1   2   3   >