Why would you want to do it?
But there are, according to me, 2 ways.
1. Home Button
2. Power Off
Actually, if you really want to kill your process, you can use any
other Task Manager kind of application.
Thanks and Regards,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 8, 1:15 pm, Jack
Hi,
There is an error in your XML file, at line no 54. Check it out. Or
paste that part of your xml. Also, mention the API version you are
using.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 8, 1:43 am, Vijay vijay.meenakshisunda...@gmail.com wrote:
I get a
openOptionsMenu()
Thanks and Regards,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 8, 3:40 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Hi,
How to show menu items automatically (without clicking menu button) when the
layout is viewed?..
--
Thanks Regards
Sasikumar.S
--
You
Hi,
Please refer to the MediaStore Content Provider in Android docs.
Thanks,
Kumar Bibek.
http://tech-droid.blogspot.com
On Dec 7, 10:43 am, manoj manojkumar.m...@gmail.com wrote:
Hi,
I would like to know how can we get the video file resolution (width
and height), and its codec.
Is there
Hi,
Your project should be compiled(API Version) with atleast equal to the
Device API version. Else, you will not be able to install it.
Suppose you have a device with version 4, then an apk to run on this
device, it can be 1,2,3,4 but not greater than 4.
Just go to your project properties, and
I guess, Android Market forum will be better equipped to address this
issue.
But again, they don't seem to be active enough. :)
As far as I can think, the thing you want to achieve is not possible
without loss of those comments and ratings.
Thanks and Regards,
Kumar Bibek.
Hi Duarte,
Can you please explain your requirement more clearly?
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 4, 11:42 pm, Duarte Aragão dara...@gmail.com wrote:
Hi,
Does any one know how to add item to hyperlink context menu?
This is a question that as already been posted
Hi,
I suppose you are working on 2.0. Please create a proper AVD and then
try.
Create an AVD with Google APIs (API level 5)
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 7, 10:36 am, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Hi,
when i tried to execute my project.
It is
Not directly,
But you can create your Custom Radio button by extending the
RadioButton class, and using your own layout.
Thanks
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 6, 7:35 pm, Business Talk roman.businesst...@gmail.com wrote:
Is There any way to possition a text of a RadioButton
Doing it the millisecond way might be more confortable.
Convert both the dates to milliseconds, and then subtract one from the
other, and then calculate the no of days.
Thanks
Kumar Bibek
http://tech-droid.blogspot.co
On Dec 7, 4:52 am, andrew android andygoldm...@gmail.com wrote:
I am running
I dont think it is currently possible to achieve until Google Maps
support such feature.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 6, 7:55 pm, stournie sttour...@gmail.com wrote:
Hello guys
I'm trying to develop an application which display the locations of
contacts on a map
Hi Raj,
This is not possible, since this SMS broadcast is an unordered
broadcast. So you can't intercept it, and prevent the broadcast to
reach the default SMS application.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 3, 9:03 pm, Raj rajesh.kamin...@gmail.com wrote:
Hi
My app
Just check if convertView is null. If it is null, you have to inflate,
else use the convertView directly.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 7, 10:30 pm, Business Talk roman.businesst...@gmail.com
wrote:
In my custom adapter, that implements the BaseAdapter and its
I think the problem is like this.
In the portrait orientation, if there is a spannable object, it might
be keeping indexes for displaying some styling.
So, say, you have bold style for chars from 4 to 39.
No when the orientation changes, this range now changes to 39 to 4.
And now if you are
Yes of course, you can re-use it.
If it is null, you have to inflate your layout if you have one, else
you can re-use the same convertView.
On Dec 7, 8:48 pm, Business Talk roman.businesst...@gmail.com wrote:
I have implemented a custom adapter the extends from the BaseAdapter
and implements
do supply this function
There should be some tricks to do this
On Dec 7, 4:49 am, Dexter#39;s Brain coomar@gmail.com wrote:
I dont think it is currently possible to achieve until Google Maps
support such feature.
Thanks,
Kumar Bibekhttp://tech-droid.blogspot.com
On Dec 6, 7:55
, the inflate step is very
expensive. It would be nice if I could inflate once in the constructor
and then clone the inflated view in the getView as needed (when the
convertView is null). Wouldn't it be nice?
On Dec 7, 12:33 pm, Dexter#39;s Brain coomar@gmail.com wrote:
Just check
no
control over what range it's called with.
Dexter#39;s Brain wrote:
I think the problem is like this.
In the portrait orientation, if there is a spannable object, it might
be keeping indexes for displaying some styling.
So, say, you have bold style for chars from 4 to 39.
No when
I don't exactly know the reason why you cannot do that, but you can
definitely start an Activity from within a service. So, if the
Receiver doesn't allow you to start it, write a service, start that
service, which in turn will launch your activity.
Thanks,
Kumar Bibek
I guess, gmail doesn't support zip files. You can try sending the zip
with any other mail client (of course with some other provider as
well) and check.
GMail doesn't allow you to send zip files from the browser too..
Thanks and Regards,
Kumar Bibek
http://tech-droid.blogspot.com
On Dec 4,
I think this should be put a bug, since I have seen it happen quite a
few times, whenever I upgrade the ADT.
Weird though. Try uninstalling and re-installing the plugin.
Thanks and regards,
Kumar Bibek.
http://tech-droid.blogspot.com
--
You received this message because you are subscribed to
This is fairly simple I guess...
You have a textview with the time displayed.
Run an thread that sleeps for a second and then increments this time.
And from a callback from the thread, on the UI update the value of the
text view
--
You received this message because you are subscribed to the
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
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
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
True, May be you could use only one WebView, get all the 20 strings,
add some html formatting yourself, and display. But, if really really
want to display it on a ListView, then, it's difficult. You have to
change/replace those HTML tags manually to something else.
Isn't there any way, where you
You cannot use rmi package in Android since they are not available.
You would perhaps try using kSoap or some other third party tools
which you should ensure that they are compatible with Android.
Or, may be a simple HTTP post or GET, but for this of course, you need
to change your server code.
To handle such things, I guess, the best thing is the common-io from
apache. They have a class called IOUtils, which is used to convert a
stream to a string and vice-versa, according the the encoding you
mention.
Try using it.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
--
You received
If you are picking your video files, and creating File objects, then,
you would defintely get the size from the file object.
Thanks,
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
Hi Archana,
This does work. Specify gravity as whatever, but If you don't specify
the width of the text-view as fill_parent instead of wrap_content, the
gravity property is meaningless.
So, first set the width as fill_parent, for horizontal gravity props,
and height as fill_parent for vertical
Well, when you upload it to the market, you get a field called Title
which will actually appear on the market. This need not be the same as
your app name. You can have separate names.
apk file name can be anything, it doesn't matter.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
--
You
I don't think so. I think they have to be same.
Thanks,
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@googlegroups.com
To unsubscribe from
If you can paste your code, I might be able to point out the error.
RelativeLayout android:id=@+id/RelativeLayout01
android:layout_width=fill_parent xmlns:android=http://
schemas.android.com/apk/res/android
android:layout_height=wrap_content
TextView
You have to query the MediaStore and get the value of the resolution
from it.
http://developer.android.com/reference/android/provider/MediaStore.Video.VideoColumns.html
Have you tried this? I don't know if it works, but i think this is the
right way.
Thanks,
Kumar Bibek.
Another solution that I can think of is with the same layout that you
have,
add some padding to the ImageViews.
ImageButton android:id=@+id/one
android:layout_width=wrap_content
android:layout_height=wrap_content android:padding=5sp /
This will give some space between your Image Views.
Thanks,
I guess, you haven't set the Gravity
text1.setGravity(Gravity.RIGHT)
This should work. Btw, any specific reason of not using xml? AFAIK
they are a lot better to manage, and after you get a hand, easier to
implement also. You can also get nice previews for your layout, before
even running your
Sorry, but I don't get what you want to achieve
GRAVITY.CENTER ?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Hmm...I got it now. I am not sure if you can do it.
Sorry.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Hi,
I just upgraded my plugin from 0.9.4 to 0.9.5 and restarted eclipse,
and none of the plugin views/icons or perspective are now here. It
seems, everything has been deleted.
There's not even an option to create a new Android Project. In the
preferences, there's nothing called Android.
I need
How are you uploading the video to youtube? If you are using the GData
APIs, then you already have the video id in the VideoEntry object
after the upload is successful..
Thanks,
Kumar Bibek.
http://tech-droid.blogspot.com
On Dec 3, 2:18 pm, Hunter Peress hunt...@gmail.com wrote:
Hi, thanks
There is one HTML class with some statis methods. I am not sure how
they work, but I have seen it. This might not work in all the
scenarios. The best way I can think of getting around this problem
would be showing your HTML content inside a WebView. :)
Thanks,
Kumar Bibek
Never mind, A system re-start made my day ...
On Dec 4, 10:18 am, Dexter#39;s Brain coomar@gmail.com wrote:
Hi,
I just upgraded my plugin from 0.9.4 to 0.9.5 and restarted eclipse,
and none of the plugin views/icons or perspective are now here. It
seems, everything has been deleted
Hi Dianne,
I was asking Why would anyone have a requirement of having and
Activity without putting it in the manifest file. Sorry. :)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
You can just rename the apk file as any other file. :)
Kumar Bibek.
On Dec 3, 4:23 am, sdphil phil.pellouch...@gmail.com wrote:
well i want it to do it every time, not just on demand.
I am generating my apk by right click on project, build -- which
then generates a .apk file in my bin
Thanks Jeff,
Now it's clear to me.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Is it sufficient if I change the database version? Or, first I will
have to back up the db programatically and then restore all the tables
with contents?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Well,
Mark is right, but I was wondering why would you have such a
requirement. I cannot think of such a situation.
Thanks,
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,
Put the last LinearLayout in another LinearLayout and set it's Gravity
to bottom and height as fill_parent.
Btw, You can use relative layouts instead of so many Linear Layouts.
Thanks,
Kumar Bibek
http://tech-droid.blogspot.com
--
You received this message because you are subscribed to the
Well, for a textview, you cannot fetch the characters on which the
mouse is residing. I would recommend to use an uun-editable EditText
and the ask the user to first select some text from the Edit Text.
Now, EditText have methods, to let you know what is the start of
selection , and the end of
view.findViewById . This would solve your problem
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
I think, a clean re-build will solve the problem. :)
On Nov 13, 1:50 pm, Android Helebek bilge.tu...@gmail.com wrote:
Hi All,
I was using Netbeans to write my Android applications for a few weeks
now (i was used to NB). Then I decided to give a chance to Eclipse,
since its the official
A small code snippet or the stack trace would help us figure out the
problem
Dexter
http://tech-droid.blogspot.com
On Nov 1, 12:46 pm, jax jackma...@gmail.com wrote:
I have an ArrayList connected to a ListView with an onclick event that
loads some extra info about each list item.
When the
I think.
In your getView() method, don't cast it to ListView, remove that and I
guess, I will work.
Dexter.
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
The best way to do it will be to subclass the
MultiAutoCompleteTextView and override it's methods.
It has 3-4 methods which need to be over-ridden.
Dexter
http://tech-droid.blogspot.com
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
RelativeLayouts are easy to use once you are comfortable with them. If
you still want to use LinearLayout, this will solve your problem.
LinearLayout
android:orientation=horizontal
android:layout_width=fill_parent
android:layout_height=wrap_content
LinearLayout
Hi,
I am all excited with the new release. I can't wait for the
documentation to be released. I am having problems with the Maps API.
Thanks and Regards,
Dexter
http://tech-droid.blogspot.com
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
In the emulator, When I open the Contact application and click on
Accounts, it Force Closes, I dont know why.
The LogCat says, Activity not found
android.content.ActivityNotFoundException: No Activity found to handle
Intent { act=android.settings.SYNC_SETTINGS (has extras)
I guess, this
Hey,
I guess there is no need to panic. Though the SDK is released, I don't
think they would be testing your apps on SKD 2.0 devices. And also,
the 2nd phase of judging will be getting over soon.
But, yes, it's extra work for the developers, for we have to maintain
different versions of our
Hi,
I am confused, as to what the default behaviour of the back button is,
as far as the Android platform is concerned.
For example, in the Contacts Application, if I am creating a contact,
I just key in a name, and the press back button, the contact is saved
with only the name. Fair enough.
Hi All,
I was just wondering if it is possible to give the intent a set of
data, instead of just one. A particular scenario where this could be
applicable would be a music application.
You select a list of songs, and pass all these data (file path) to the
Music Player's application.
Another
Hi,
I just wanted to know if there is a default Calendar View that I can
use to choose a date instead of the DatePicker.
Has anybody developed such a widget that you can share?
Thanks,
Dexter.
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
I have a TabActivity, there are 4 tabs. In each tab I have put a
single Activity. One of the activities contains a Custom List View
which uses a CustomAdapter which extends the BaseAdapter.
I get this excpetion, when I try to open the tab containing this
activity. It seems to be thrown at a
Hi,
I want to have the following functionality.
I need to have a list view which should have two fields. I need to
listen to clicks on these two fields(TextViews). Based on which text
view was clicked, I need to start different activities. Is this
possible in a ListView? I have my custom
Hi All,
I have a ListView whose layout contains several TextViews. When an
item is clicked on the ListView, is it possible to capture on which
TextView he has clicked?
Thanks,
Dexter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
64 matches
Mail list logo