[android-developers] Re: Failed binder transaction when passing byte[] (from camera) between intents

2010-02-17 Thread Bart
So I can never make camera images that are higher resolution then 277x184? :S If I stuff all the camera code into my main activity, then it should work. But that's a little messy. Are you sure there isn't another way to pass the camera images? Thanks On Feb 16, 10:05 pm, Streets Of Boston

[android-developers] Re: android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED

2010-02-17 Thread Dongjoon Lee
Hi. If the bluetooth headset is connected, system send this intent. android.bluetooth.intent.action.HEADSET_STATE_CHANGED So you can receive that and get extra information. For extracting extra information, use this intent. android.bluetooth.intent.HEADSET_STATE Through this you can get

[android-developers] online jobs

2010-02-17 Thread seneha
Best Online Job, Best way to Earn Money, Earn Money Online Opportunity, Opportunity Make Money At Home, Creative Ways to Make Money, Earn Extra Money At .. = http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1003278afsid=1

Re: [android-developers] what is pending intent?

2010-02-17 Thread kavitha sunil
Notifications are best examples for Pending intent. Check apidemos. On Wed, Feb 17, 2010 at 1:00 PM, saru sarucs...@gmail.com wrote: Hi, Please clarify me What is Pending Intent with an example. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] read mail and get money

2010-02-17 Thread riya
Best Online Job, Best way to Earn Money, Earn Money Online Opportunity, Opportunity Make Money At Home, Creative Ways to Make Money, Earn Extra Money At .. = http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1003278afsid=1

[android-developers] Re: Push Notification API

2010-02-17 Thread roland
Just saw this one, http://www.xtify.com/, i didn't test it yet. On 1 fév, 19:58, Kevin Duffey andjar...@gmail.com wrote: What sort of push notification API are you looking for? On Mon, Feb 1, 2010 at 10:42 AM, nikhil nik...@gmail.com wrote: No On Jan 30, 11:22 pm, Alie Lee

[android-developers] How to get raw video frames?

2010-02-17 Thread Vishal
Hello, I am trying to get the raw video frames from the camera. Is there any other way than using startPreview and setPreviewCallback method? Is there anyway we can get the raw video frames at the native layer using similar approach using direct C++ classes? Thanks in advance. Vishal -- You

[android-developers] How to convert Android application to Droid Mobile application?

2010-02-17 Thread Jeyavel Natesan
Hi, i have developed the application in android and i installed the application in to HTC magic mobile , it's working good. but i want to install same application in Droid mobile(480x854 px) , shall i need to modify any code for that? Regards, Jeyavel N +91 964-289-8190 -- You received this

[android-developers] How to disable USE_OMX_ENC_NODE for opencore

2010-02-17 Thread sachinikam
Hi, There is a autogenerated file pv_config.h under eclair/external/ opencore/build_config/opencore_dynamic which has #define USE_OMX_ENC_NODE 1 by default. I want to use software video encoder for my camera video recording. for that I need to set #define USE_OMX_ENC_NODE 0 Which file I need

[android-developers] Re: Appwidget with fast updating needed ...

2010-02-17 Thread Brown
That actually shouldn't be all that bad -- just disable the updates in ACTION_SCREEN_OFF (and onStop()) and re-enable them in ACTION_SCREEN_ON (and onStart()). Yup - this is the idea - my appwidgets does not need updates when the device is locked or something - no need for wakeup. Like the

[android-developers] Re: USB driver doesn't work with Xperia 10

2010-02-17 Thread zeeshan
i am able to connect my HTC magic but still struggling with xperia 10 t connect with debugger. On Feb 16, 1:06 pm, Jonas Petersson jonas.peters...@xms.se wrote: zeeshan wrote: Thanks for your reply Jonas, i am using Windows 7. got the USB driver revision 3 by Android setup but it doesn't

Re: [android-developers] Re: Custom BaseAdapter + dynamic updates = crash in ListView layout

2010-02-17 Thread TreKing
On Tue, Feb 16, 2010 at 10:47 PM, whicken whic...@gmail.com wrote: Here's my GroupedListAdapter class, if that helps any - I added the getStableIds returning false in case there was any extra caching going on: Here's a question - what's the purpose of this adapter? What kind of layout /

[android-developers] Re: How to play a media file on emulator

2010-02-17 Thread prachi
hey hiii I didnt get u u mean to say dat the prob is wid the emulator actually my code looks lyk dis ---i hav saved my audio file on server... n den runnig dis code MediaPlayer m=new MediaPlayer(); m.setDataSource(path); //path is a String variable containing the path of audio file stored

[android-developers] SurfaceView, transparency, bringtofront/bringchildtofront issues

2010-02-17 Thread Brown
Hi From what I understood SurfaceView is like an opengl or directx surface for windows therefore transparency will never be an option for those. Diane's old post: The surface view is actually BEHIND your window, and a hole punched in the window for you to see it. You thus can put things on top

[android-developers] (TabActivity) How to switch tab from within a sub activity

2010-02-17 Thread ColletJb
Hi, I'm currently working on an application, designed around a TabActivity. It look like this: Main (TabActivity) - Tab1 (Activity) - Tab2 (Activity) Here, Tab1 has a button and I would like when the user click it, it switches to Tab2... How can I do that ? Thank you -- You received this

[android-developers] android 2.1 r1 calender and music player not launching

2010-02-17 Thread vinay H
Hello, i downloaded androidn 2.1 R1 from eclair branch and compiled. Music player and calender applications are not launching. Have any one faced this issue and is there fix available -vinay -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2010-02-17 Thread Ashish Srivastava
no you're wrong. it works from inside eclipse. and that's the solution to the problem so the program that comes up when just typing 'android' from command line is not good. the developer for that made a crap program. and truly the community has helped me so much in the past that i have the right

[android-developers] Using ContentResolver to add a contact in the mobile

2010-02-17 Thread LeGeNDuS
Hello, I'm trying this code and it's getting stopped in the getContentResolver statement ContentValues values = new ContentValues(); values.put(People.NAME, hola); Uri uri = getContentResolver().insert(People.CONTENT_URI, values); What am I doing bad? Thanks! --

[android-developers] bluetooth discoverable

2010-02-17 Thread Shrenik Vikam
Hello, I need to set bluetooth service discoverable till my application is running, how to do that in android 2.0 above -- 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

Re: [android-developers] Re: Intent filters + prevent creation of multiple activity instances?

2010-02-17 Thread Mark Murphy
Mark Wyszomierski wrote: To clarify: MyApp::ActivityA is running Browser launches new MyApp::ActivityA instance. Inside the new instance of MyApp::ActivityA, I want to be able to see that there is already a previous instance of MyApp::ActivityA running, close myself, and bring it to

Re: [android-developers] (TabActivity) How to switch tab from within a sub activity

2010-02-17 Thread Mark Murphy
ColletJb wrote: Hi, I'm currently working on an application, designed around a TabActivity. It look like this: Main (TabActivity) - Tab1 (Activity) - Tab2 (Activity) Here, Tab1 has a button and I would like when the user click it, it switches to Tab2... How can I do that ?

Re: [android-developers] How to convert Android application to Droid Mobile application?

2010-02-17 Thread Mark Murphy
Jeyavel Natesan wrote: i have developed the application in android and i installed the application in to HTC magic mobile , it's working good. but i want to install same application in Droid mobile(480x854 px) , shall i need to modify any code for that? Maybe, maybe not. It all depends on how

[android-developers] Re: Move buttons within Layout

2010-02-17 Thread Kritzli
I'm still stuck on this problem. I tried to solve it by making the whole activity dynamic. But still the button is positioned at top left. I can't see why ok.layout(k.getLeft(), k.getTop(), k.getRight(),k.getBottom()); isn't repositioning the button, even if it shows the right Values on LogCat.

[android-developers] Home Screen Customization problem

2010-02-17 Thread satish bhoyar
Hi all, I am trying to customize the Android HomeScreen by adding some TextView some other Views on it. the Problem is i m not able to do it. I tried some thing but ended up it for all the home screens. what i want is to put the different things(views) on different HomeScreens. How is it

[android-developers] Example that redraws on a key without using a thread?

2010-02-17 Thread BobG
Howdy android experts. I thought I knew something about programming lots of experience with microcontrollers and embedded simulations that run in a loop and read inputs, do some calcs, send outputs. After days of trying to write a program that prints out a count that increments with a key, I

Re: [android-developers] Re: Move buttons within Layout

2010-02-17 Thread Mark Murphy
Kritzli wrote: I'm still stuck on this problem. I tried to solve it by making the whole activity dynamic. But still the button is positioned at top left. I can't see why ok.layout(k.getLeft(), k.getTop(), k.getRight(),k.getBottom()); isn't repositioning the button, even if it shows the

[android-developers] Re: power down

2010-02-17 Thread Kabita
Hi, In Eclair 2.1 i am not able to power down the device. Is there any patch available? please help Thanks Kabita On Feb 11, 12:20 pm, Kabita san.k...@gmail.com wrote: hi, in framework.. i am not able to find shutdown() call when phone power off due to low battery.. anybody can help me out..

Re: [android-developers] Re: power down

2010-02-17 Thread Mark Murphy
Kabita wrote: In Eclair 2.1 i am not able to power down the device. Is there any patch available? please help There is no means I am aware of in the SDK to power down the device. If you are developing your own firmware, please try the [android-porting] Google Group. -- Mark Murphy (a Commons

[android-developers] Re: power down

2010-02-17 Thread Kabita
Hi Mark, the problem is.. i have upgrade my h/w device with Eclair 2.1 while playing with the device. I was that i am not able to power off the phone. When i did power off it hangs... trying to fix it.. but not getting any clue. Is the patch for this problem available.. thanks in advance. kabita

Re: [android-developers] Re: power down

2010-02-17 Thread Mark Murphy
Kabita wrote: the problem is.. i have upgrade my h/w device with Eclair 2.1 while playing with the device. AFAIK, there are no upgrades to 2.1 for any Android device presently on the market. If you are using a modded firmware, please contact the source of that firmware. If this is your own

[android-developers] Re: Move buttons within Layout

2010-02-17 Thread skink
Kritzli wrote: I'm still stuck on this problem. I tried to solve it by making the whole activity dynamic. But still the button is positioned at top left. I can't see why ok.layout(k.getLeft(), k.getTop(), k.getRight(),k.getBottom()); isn't repositioning the button, even if it shows the

[android-developers] Re: Android 2.0 battery level

2010-02-17 Thread Mihai Fonoage
Take a look at http://developer.android.com/reference/android/os/BatteryManager.html#EXTRA_VOLTAGE. Mihai Fonoage On Feb 15, 7:49 am, Maxood maqs...@salsoft.net wrote: Hi Mark! I want to display Batter level stats in my app as shown in the following link:

[android-developers] Re: Custom BaseAdapter + dynamic updates = crash in ListView layout

2010-02-17 Thread whicken
I'm just trying to do a grouped layout - so a header would be followed by a bunch of rows, then another header, and another bunch of rows. They aren't collapsable, so I don't think it's quite an ExpandableList. As far as break points go, the only thing that seems to be called before the crash is

Re: [android-developers] Re: Custom BaseAdapter + dynamic updates = crash in ListView layout

2010-02-17 Thread TreKing
On Wed, Feb 17, 2010 at 8:34 AM, whicken whic...@gmail.com wrote: I'm just trying to do a grouped layout - so a header would be followed by a bunch of rows, then another header, and another bunch of rows. They aren't collapsable, so I don't think it's quite an ExpandableList. I would still

[android-developers] eclair 2.1 Lockscreen issue

2010-02-17 Thread techietone
hi all, I am running ecalir 2.1 codebase on samsung moment phone. The issue is : I launch the camera app , press the endcall key , first the lockscreen is created in landscape mode . then i press the endkey again fastly , the OnResume() of camera app is called and the lockscreen gets recreated

[android-developers] Re: Intent filters + prevent creation of multiple activity instances?

2010-02-17 Thread Mark Wyszomierski
Hi Mark, Yeah the problem is that my activity uses a singleton, and if there are multiple instances of the activity, they can conflict with each other if they are all trying to use the singleton simultaneously: TaskA: ActivityB .. singleton.runLongProcess(...); Browser: Click link, launch

Re: [android-developers] Re: Intent filters + prevent creation of multiple activity instances?

2010-02-17 Thread Mark Murphy
Mark Wyszomierski wrote: Yeah the problem is that my activity uses a singleton, and if there are multiple instances of the activity, they can conflict with each other if they are all trying to use the singleton simultaneously: TaskA: ActivityB .. singleton.runLongProcess(...); Browser:

[android-developers] Re: Failed binder transaction when passing byte[] (from camera) between intents

2010-02-17 Thread Streets Of Boston
In onPictureTaken, save the camera to a file and insert into the media content provider. Then, when the image has been inserted, instead of sending the raw binary data of the bitmap, send back the content-Uri of the image you took. On Feb 17, 3:07 am, Bart bvandep...@gmail.com wrote: So I can

[android-developers] how much time we have at onPause until we are killed?

2010-02-17 Thread guich
Hi, When the user press the home key, the onPause method is called. At this time, the application is supposed to save its state so it can be properly recovered later. However, and if the state is taking too much time? For example, issuing a closeAllNetworkConnections that was waiting a feedback

[android-developers] trying to show a progressdialog in a lengthy task

2010-02-17 Thread guich
Hi, When i first launch my main intent, i check if the application was updated and, if yes, i decompress some asset files. This task can take up to 15 seconds (to decompress a 6MB zip file). So, i was trying to show a ProgressDialog to the user. However, nothing in hell makes the dialog appear.

Re: [android-developers] how much time we have at onPause until we are killed?

2010-02-17 Thread Mark Murphy
guich wrote: When the user press the home key, the onPause method is called. At this time, the application is supposed to save its state so it can be properly recovered later. That depends on what state you are referring to. onSaveInstanceState() is for data that is transient. onPause() might

Re: [android-developers] trying to show a progressdialog in a lengthy task

2010-02-17 Thread Mark Murphy
guich wrote: Hi, When i first launch my main intent, i check if the application was updated and, if yes, i decompress some asset files. This task can take up to 15 seconds (to decompress a 6MB zip file). So, i was trying to show a ProgressDialog to the user. However, nothing in hell

[android-developers] Re: how much time we have at onPause until we are killed?

2010-02-17 Thread skink
On Feb 17, 4:27 pm, guich guiha...@gmail.com wrote: Hi, When the user press the home key, the onPause method is called. At this time, the application is supposed to save its state so it can be properly recovered later. However, and if the state is taking too much time? For example,

[android-developers] Re: trying to show a progressdialog in a lengthy task

2010-02-17 Thread guich
Hi, What's the main application thread used if not for lengthy tasks? I really can't understand all the threads of Android... regards guich -- 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] Re: Intent filters + prevent creation of multiple activity instances?

2010-02-17 Thread Mark Wyszomierski
Ah I'm in the position where this code is out there, changing it so drastically would be risky. It looks like there's just no way to resume an already running instance, this doesn't seem right. I thought this should be possible: App Tray ActivityA (singleTask) ActivityB (singleTop) Browser

[android-developers] Re: Move buttons within Layout

2010-02-17 Thread Kritzli
Thank you for your replies. But I still don't get it... Could you please explain how I should use the LayoutParams ? I thouht I only can use them with FILL_PARENT, WRAP_CONTENT and addRule() but not to define a position with specific values. @pskink How would you do that ? On 17 Feb., 15:23,

Re: [android-developers] Re: trying to show a progressdialog in a lengthy task

2010-02-17 Thread Mark Murphy
guich wrote: What's the main application thread used if not for lengthy tasks? Anything *other* than lengthy tasks. The main application thread is the UI thread. I really can't understand all the threads of Android... There's only one thread of significance -- the main application (UI) thread

[android-developers] Causing onMeasure() to be called for an EditView

2010-02-17 Thread poohtbear
Hi. I've got a ported application that doesn't use Android UI (our list screens and touch screens). We a FrameLayout that contains two children a View (that we use to paint on our UI) and an EditText which is usually invisible until we have a test field that we want to use in our own UI. To have

[android-developers] Re: Home Screen Customization problem

2010-02-17 Thread satish bhoyar
please can anybody suggest me on this? On Wed, Feb 17, 2010 at 6:51 PM, satish bhoyar getsatonl...@gmail.comwrote: Hi all, I am trying to customize the Android HomeScreen by adding some TextView some other Views on it. the Problem is i m not able to do it. I tried some thing but ended up

Re: [android-developers] Re: Move buttons within Layout

2010-02-17 Thread Mark Murphy
Kritzli wrote: Thank you for your replies. But I still don't get it... Could you please explain how I should use the LayoutParams ? I thouht I only can use them with FILL_PARENT, WRAP_CONTENT and addRule() but not to define a position with specific values. That's because you can't define a

[android-developers] onListItemClick problem

2010-02-17 Thread André
Hello, I have a listview that shows files in a specified folder which works. But what I can't figure out is in the onListItemClick method. How can I get the name of the selected file in the ListView from the ArrayAdapter instead of the position or id? Any suggestion? public void

Re: [android-developers] onListItemClick problem

2010-02-17 Thread Mark Murphy
André wrote: I have a listview that shows files in a specified folder which works. But what I can't figure out is in the onListItemClick method. How can I get the name of the selected file in the ListView from the ArrayAdapter instead of the position or id? Call getItem() on the ArrayAdapter,

[android-developers] Re: Move buttons within Layout

2010-02-17 Thread skink
On Feb 17, 4:58 pm, Mark Murphy mmur...@commonsware.com wrote: You cannot just arbitrarily position widgets wherever you want -- their position is dictated by their layouts. unless he writes own custom layout extending ViewGroup - RelativeLayout in his case is pretty useless pskink --

Re: [android-developers] onListItemClick problem

2010-02-17 Thread Yuvi
Can't you simply use the position to retrieve the file name from the files list? Like: String fileName = files.get (position); Yuvi -- YuviDroid http://android.yuvalsharon.net On Wed, Feb 17, 2010 at 5:03 PM, André pha...@hotmail.com wrote: Hello, I have a listview that shows files in a

Re: [android-developers] Re: Move buttons within Layout

2010-02-17 Thread Mark Murphy
skink wrote: On Feb 17, 4:58 pm, Mark Murphy mmur...@commonsware.com wrote: You cannot just arbitrarily position widgets wherever you want -- their position is dictated by their layouts. unless he writes own custom layout extending ViewGroup - Agreed. Got any well-documented examples? --

[android-developers] Re: Need Samsung Moment user to help troubleshoot problems

2010-02-17 Thread shaun
If you determine what the issue is, please share here. ongPay! (com.yakloingames.ongpay) is also not working really at all on Samsung Moment. It is probably OpenGL related as there are a few other posts speaking to that effect. On Feb 16, 11:07 pm, dan raaka danra...@gmail.com wrote: what game

[android-developers] Re: onListItemClick problem

2010-02-17 Thread André
Perfect, thanks guys! On Feb 17, 5:07 pm, Yuvi yuvidr...@gmail.com wrote: Can't you simply use the position to retrieve the file name from the files list? Like: String fileName = files.get (position); Yuvi -- YuviDroidhttp://android.yuvalsharon.net On Wed, Feb 17, 2010 at 5:03

[android-developers] Re: Move buttons within Layout

2010-02-17 Thread skink
On Feb 17, 5:08 pm, Mark Murphy mmur...@commonsware.com wrote: skink wrote: On Feb 17, 4:58 pm, Mark Murphy mmur...@commonsware.com wrote: You cannot just arbitrarily position widgets wherever you want -- their position is dictated by their layouts. unless he writes own custom layout

[android-developers] Photoshop CS4 workflow for Android UI design

2010-02-17 Thread OldSkoolMark
Been googling, but not finding relevant resources. Hoping the folks here can help. I just received my copy of Adobe CS4 Web Premium and have been messing around and reading the docs trying to determine what the workflow is to create 3D UIs. As I don't have a 3d modeling program so I'm interested

[android-developers] Re: Why is all the spam suddenly appearing?

2010-02-17 Thread Brion Emde
We all hope that we all are reporting the spam as spam by going to the conversation and clicking on Report discussion as spam or below the message at Report spam. On Feb 16, 9:25 pm, ian stilbit...@gmail.com wrote: I don't like the spam on our discussion group and it seems to be getting worse

Re: [android-developers] Re: trying to show a progressdialog in a lengthy task

2010-02-17 Thread Frank Weiss
Hi Guich, You're not alone in your misunderstanding of Android threading. However, if you use AsyncTask correctly, you have a 99% chance of getting it right. Just put any code that blocks, takes a long time, or can timeout into the AsyncTask.doInBackground method instead of into an Activity

[android-developers] Re: (TabActivity) How to switch tab from within a sub activity

2010-02-17 Thread ColletJb
How can I access that method (setCurrentTab()) from a classic activity ? This method is only defined for TabActivity... Thank you... On 17 fév, 14:06, Mark Murphy mmur...@commonsware.com wrote: ColletJb wrote: Hi, I'm currently working on an application, designed around a TabActivity.

Re: [android-developers] Re: (TabActivity) How to switch tab from within a sub activity

2010-02-17 Thread Mark Murphy
ColletJb wrote: How can I access that method (setCurrentTab()) from a classic activity ? This method is only defined for TabActivity... Simple: get rid of the other activities. I really wish developers would stop doing that -- all you do is make your life more difficult. Just make the tabs

[android-developers] screen Oroentation

2010-02-17 Thread uday kiran
Hi guys.. In my application i want to do Screen Orientation public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); setContentView(R.layout.screen1_landscape); } This is the function that im using in

Re: [android-developers] Using ContentResolver to add a contact in the mobile

2010-02-17 Thread Dmitri Plotnikov
Does your app request permission to write to contacts? On Feb 17, 2010 4:11 AM, LeGeNDuS legen...@gmail.com wrote: Hello, I'm trying this code and it's getting stopped in the getContentResolver statement ContentValues values = new ContentValues(); values.put(People.NAME,

[android-developers] duplicating the fling motion of one gallery widget to the other gallery widget in same screen

2010-02-17 Thread social hub
Hi, I have two gallery widgets in same screen. If user flings on top gallery widget I would like to replicate the same fling motion on the other gallery widget thats beneath the first one. Is there a way I can possibly achieve this Thanks in advance for your help -- You received this message

[android-developers] Re: Causing onMeasure() to be called for an EditView

2010-02-17 Thread poohtbear
Using the hack doesn't work. if i call to the setMeasuredDimension() with the dimensions i want from the onLayout() of the layout it wont change the measured values. So i need some help here :-) On Feb 17, 5:56 pm, poohtbear eyaltg...@gmail.com wrote: Hi. I've got a ported application that

[android-developers] onPause() not being called for singleTask finish()'d activity?

2010-02-17 Thread Mark Wyszomierski
Hi, I'm not sure why onPause() is not called in the following scenario. Here's my activity: // launchMode = singleTask public class ActivityMain extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Log.d($$,

Re: [android-developers] Re: Task activity stack always reset when launched from Home

2010-02-17 Thread Dianne Hackborn
When you say launch do you mean launching from Eclipse? If so, there is a bug in older SDKs where this would use the wrong intent so when you later launch it from the launcher you would get a new task. You can use adb shell dumpsys activity to see the current state of the activity stack at

[android-developers] Creation of SMS widget, trying to get next

2010-02-17 Thread Olivier
Hi, I have wroten a wrong code. I manage to display the first SMS but not to use my button to go to next. I don't manage to keep the words for the pendingIntent and onRecieve. this is my code: public class MySMSwidget extends AppWidgetProvider { private int sms_id=0; public void

Re: [android-developers] onPause() not being called for singleTask finish()'d activity?

2010-02-17 Thread Mark Murphy
Mark Wyszomierski wrote: Hi, I'm not sure why onPause() is not called in the following scenario. Here's my activity: // launchMode = singleTask public class ActivityMain extends Activity { @Override public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: onPause() not being called for singleTask finish()'d activity?

2010-02-17 Thread Mark Wyszomierski
You're right, onDestroy() gets called - thanks again Mark. On Feb 17, 9:54 am, Mark Murphy mmur...@commonsware.com wrote: Mark Wyszomierski wrote: Hi, I'm not sure why onPause() is not called in the following scenario. Here's my activity: // launchMode = singleTask public class

[android-developers] Re: Causing onMeasure() to be called for an EditView

2010-02-17 Thread skink
On Feb 17, 6:24 pm, poohtbear eyaltg...@gmail.com wrote: Using the hack doesn't work. if i call to the setMeasuredDimension() with the dimensions i want from the onLayout() of the layout it wont change the measured values. So i need some help here :-) On Feb 17, 5:56 pm, poohtbear

[android-developers] my EditText is an attention whore

2010-02-17 Thread DulcetTone
I have a ScrollView which features a variety of widgets -- ProgressBars, Spinners and Checkboxes and a single EditText way down at the bottom. If I am at the top of the ScrollView with the EditText scrolled way off the bottom, touching and changing a ProgressBar at the top causes the ScrollView

[android-developers] Listview widget example

2010-02-17 Thread jotobjects
Thought this might be interesting for others. Here is a bare bones simple ListView widget in a base Activity - NOT a ListActivity. There is no explicit Adapter - it uses the android:entries attribute to load the list data from a resource. Probably not something you would use in a real app, but

[android-developers] Re: my EditText is an attention whore

2010-02-17 Thread DulcetTone
More information: this appears only to happen if I first scroll down to reveal the EditText. I notice that as I scroll the view by touch-drag, the EditText is grabbing the focus as it breezes past (a behavior I could do without, I suppose ... I'd be happy to insist on directly clicking on it. I

[android-developers] Re: AudioTrack lag

2010-02-17 Thread Bob Kerns
The 70 ms here isn't due to the blocking nature, but due to the buffer size. With a 2.5 ms buffer size, you'd be able to stop the sound in 5ms even when both buffers were full. It really has nothing to do with blocking/non-blocking, which simply has to do with who has to do the blocking and

[android-developers] Re: my EditText is an attention whore

2010-02-17 Thread jotobjects
Apparently the EditText is the only focusable view in the ScrollView. Maybe put the progressbar outside the ScrollView. On Feb 17, 10:20 am, DulcetTone dulcett...@gmail.com wrote: I have a ScrollView which features a variety of widgets -- ProgressBars, Spinners and Checkboxes and a single

[android-developers] How can find out the TextAppearance of the TextView

2010-02-17 Thread hap 497
Hi, What is the default TextAppearance of the TextView object? And how can I find out the line height of the TextView? Thank you. -- 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] New Project- Suggestions Welcome

2010-02-17 Thread slibhin
This is just a quick note on a project that our group in college is developing. It is a app that acts like a digital diary recording the time and position of most phone events and posting them to a map. It will also have functionality to change the phone profile based on location. Any thoughts

[android-developers] SSL Implementation on Android

2010-02-17 Thread sebby zml
hello everyone, i'm an intern student on a project for Android. i've been searching around the sites about SSL Implementation on Android and most of them are not very helpful. and some said they could not make it. or maybe i still don't find the right one. could someone please share me a link

[android-developers] Geocoder no longer works on new PC

2010-02-17 Thread shookie10
I have a problem getting the Geocoder to return results on my new PC during development. I started writing a android app on my other (Win XP) system and Geocoder worked fine and returned locations based on an address that I passed to it. I recently bought a new PC (Win 7). Moved the code over

[android-developers] Re: adding a quick add event to the Calendar

2010-02-17 Thread xh
There is an app called Calendar Quick Add on the Market that add events to calendar using the quick add syntax from google calendar itself, i.e. just natural language event description (1pm coffee with mr. g at Starbucks). http://www.cyrket.com/p/android/com.xinlu.quickadd/ (*Warning of bias:

[android-developers] Textview Editable Cursor Visible

2010-02-17 Thread Sasikumar.S
Hi, I'm using Textview Editable function. When i click the textview it is showing kaeyboard to type. Now i need is it should show marker in that place to type. Please see the below link image . In that LastName Text will have a marker (Sky Blue Color) to type

[android-developers] Re: Application manager not exiting properly in Eclair 2.1

2010-02-17 Thread bishu
Hello For two weeks am trying to find details about the CTS. Havent been successfull... Can you give me more details. Where I can find it. How to run it on real device etc. Thanks Bishu On Feb 9, 6:20 pm, vrukesh vrukesh.pa...@gmail.com wrote: Hi, With Android Eclair 2.1 on ARM-based target,

[android-developers] can't display OpenGL and Camera together on nexus one/Milestone whereas it works fine on HTC Magic

2010-02-17 Thread Balbouch
Hello, Most of you would think it's this question again... Well, my application run perfectly (shows 3D model rotating with camera in background) on the HTC Magic. But when I try to launch my application on the Droid or the Nexus one, the only thing I can see is the camera preview. If I delete

[android-developers] Call data

2010-02-17 Thread Anna Gabi
Is there a way to manipulate the data (voice) of an in/outcoming call, so it would be possible to do some DSP(digital signal processing) on the data. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] OnActivityResult passing a null intent

2010-02-17 Thread Cog
Hi, I'm trying to make a simple menu for adding another contact to a list. On the ListView I have a button on a footer which uses startActivityForResult to create a new menu (called add_dialog). This is a simple EditText with an OK button and a Cancel button. The idea is that clicking the OK

[android-developers] Textview Editable Place Holder

2010-02-17 Thread Sasikumar.S
Hi, I'm using Textview Editable function. When i click the textview it is showing keyboard to type. Now i need is it should show place holder in that place to type. Please see the below link image . In that LastName Text will have a place holder (Sky Blue Color) to type

[android-developers] Access barcode app from website

2010-02-17 Thread JB
How can I access the barcode app on the Droid from a webpage like Google is doing with the Shopping page? -- 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

[android-developers] making videogame - newbie need help =P

2010-02-17 Thread Kofa
Hello, this is my first post, so sorry about the newbie thing lol. Well, the problem is the next: I'm making a videogame of strategy, it means i need an image (the background) that scrolls at the same time with the objects on the screen (countrys, like RISK, TEG, EUROPA UNIVERSALIS, .. but I

[android-developers] Installing the ADT Plugin

2010-02-17 Thread Sean Magnusen
In this section: - Now modify your Eclipse preferences to point to the Android SDK directory: 1. Select Window Preferences... to open the Preferences panel (Mac OS X: Eclipse Preferences). 2. Select Android from the left panel. 3. For the SDK Location in the main panel, click

[android-developers] Re: How can I verify android basic API? (e.g. Date and Time API)

2010-02-17 Thread bishu
Am running around to get more details on CTS , where i can find it and how to run those cases on a android real device... thanks bishu On Jan 24, 9:11 pm, Evans shkimst...@gmail.com wrote: Is it already covered by Platform API Tests inCTS(Compatibility Test Suit)? On Jan 24, 8:54 pm, Evans

[android-developers] Open input method automatically on showing Dialog

2010-02-17 Thread parthi
Hi, I wanted to open input method automatically on showing Dialog, in my Application. I created the dialog from layout xml and i have tried the following. 1. Added android:windowSoftInputMode=stateAlwaysVisible|adjustResize in the dialog's layout XML 2. tried using InputMethodManager API.

[android-developers] Re: Moving the cursor to the beginning of an EditText

2010-02-17 Thread Kevin Park
You can do it like this. EditText eidtText = new EditText(this); // first, you set text and then.. editText.setSelection(1); editText.extendSelection(0); editText.setSelection(0); On 2월2일, 오후11시44분, Adam Olsen arol...@gmail.com wrote: Using the following code, I am able to move thecursorafter

[android-developers] Re: How 3rd party api compatibility can be checked using CTS or some other tool??

2010-02-17 Thread bishu
Hi Am running around to find where i can find CTS and how to use it , seems you have already some experience using the same. can you give me details , where to download and how to run it on the real device.. thanks bishu On Feb 8, 6:50 pm, manohar manohar...@gmail.com wrote: Hi All I wanted

[android-developers] Open input method automatically on showing Dialog

2010-02-17 Thread parthi
Hi, I wanted to open input method automatically on showing Dialog, in my Application. I create the dialog from layout xml and i have tried the following. 1. Added android:windowSoftInputMode=stateAlwaysVisible|adjustResize in the dialog's layout XML 2. -- You received this message because you

Re: [android-developers] Call data

2010-02-17 Thread Mark Murphy
Anna Gabi wrote: Is there a way to manipulate the data (voice) of an in/outcoming call, so it would be possible to do some DSP(digital signal processing) on the data. In your own firmware, perhaps, but not from an SDK application. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Lots of questions and no answers: upgrading my device from Android 1.6 to 2.0

2010-02-17 Thread tatlar
Hi there, I have been watching this discussion forum to see if anyone has got a reply to the numerous queries along the lines of 'how can I upgrade my Android OS from 1.6 to 2.0 on insert device here'. ~50% of those queries get no reply. The other 50% get a simple 'Not available yet'. I find this

[android-developers] Icon size on 480x800 resolution

2010-02-17 Thread Brian Yoon
I found some informations about size of icons on developers' guide. But on 480x800 resolution, i couldn't find any information about that. Is there any formats or recomanded size of icons on 480x800 320x480 screen's icon size : 48x48 480x800 screen's icon size : ? -- You received this

  1   2   3   >