How could I remove the blank screen that appears when switching from
preview to recording mode?
Grabador.java
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Hide the window title.
hi all
i am trying to access sms messages and view them within my
application, can any one help me about how to acceass the sms
messages
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Hi,
I am trying to crop an image on a key for a soft keyboard.
i want to do the following:
1.create a key with an icon (from a Bitmap)
2.take that Bitmap and crop it
3.set the new Bitmap back on the key as an icon
Optional:
4.do some or most of this from the XML using the parser (i could not get a
I hope someone can share some light on a issue I have with using the
convertView that is supplied by the BaseAdapter.
The problem is that I have a couple of different listviews in my app.
When using the convertView with listviews that only shows one type
everything works fine, and I experience a
Romain,
Just like John and Pavel, I cannot figure out how to set some
RelativeLayout XML attributes programmatically in Java.
For example, I cannot find a programmatic way to define
layout_centerVertical=true with only Java. Here is some example XML
from my relativeLayout file:
EditText
Hi, I have just encountered this promblem and solved it ! Just delete
if (convertView==null)..
you may have a try!
Good luck
On 6月30日, 下午12时51分, Romain Guy romain...@google.com wrote:
Do not inflate a new view every time, not only is it less efficient
but it can make your application run out
Try,
TabWidget tw = getTabWidget();
for (int i = 0; i tw.getChildCount(); i++) {
View v = tw.getChildAt(i);
v.setBackgroundDrawable(getResources().getDrawable
(R.drawable.tabindicator));
}
On Jul 28, 10:01 am, Ludwig Heinz ludwighe...@googlemail.com wrote:
I have the same question. Just got a new HTC hero and apparently
Android does not support Persian. Anywhere out there to help us?
On Jul 25, 7:58 am, Saeed saeed.est...@gmail.com wrote:
Hi
How can I getFarsifont on my HTC Dream Android phone?
Saeed
Hi,
Is there a quick start mode for android emulator. It is a PIA to start
the emulator many times since it is very slow. It will be great value
to developer if there is a quick start mode which simply get the app
loaded without any other unnecessary loadings.
Thanks,
Jack
From the twitter search API documentation, this will grab a bunch of tweets
from user al3x:
http://search.twitter.com/search.atom?q=from%3Aal3x
and this will find tweets with the word twitter in them, in json format,
using a callback called foo.
even I am looking for a way to control the android phone through
computer for testing purpose.
I want to know how to do it could any one give a complete info on
it...
On Jul 28, 11:04 am, chicochen chic...@gmail.com wrote:
Thanks, I just read something about the instrumentation, and have the
Dear developers,
I just got a new HTC hero and I can say my first introduction to
Android has already made me a big fan. But it does not support Farsi
(or Persian) fonts, i.e. the pages which were readable even in my Sony
Ericson old brick (K800) are not supported here. Is there any chance
that
hi.
you could use setOnItemClickListener for your listview
the parameter of arg2 is the ID you selected
onItemClick (AdapterView? arg0, View arg1, int arg2, long arg3)
On Jul 30, 3:02 pm, frog bluewater0...@gmail.com wrote:
hi,all
I had this questions a few days ago.but no one give the
Just trying to search for a user's latest public twitter post. I have
not worked with http in java before, so I don't know how it all comes
together with http gets and requests, and such.
I just want to get the latest post from a user (say Fred1000), in the
form of a json object. If there is a
er...
On 6月30日, 下午10时40分, Streets Of Boston flyingdutc...@gmail.com wrote:
Your code in your getView implementation of the adapter looks good at
first sight. The structure of this method looks good.
I think there are a few issues though.
In your getView(...) method, you access the variable
Hi all,
I try to query contacts in a specific group by GroupMembership.
But It only works fine with system built-in group Starred in Android.
My codes is like this:
--
private static String[] GRP_PROJECTION = new String[] {
GroupMembership.PERSON_ID,
[b]Hi,
I am creating 4 buttons in the linear layout at the very bottom of the
screen using the below code snippet
[/b]
LinearLayout
android:clickable=true
android:layout_width=fill_parent
android:layout_height=wrap_content
Hi,I have just encountered this problem. I guess you may have put a
similar sentence into getView() as follows:
if (convertView==null).
just delete this and have a try!
On 6月24日, 下午4时34分, Peter pkana...@gmail.com wrote:
I have alistviewthat is populated by a couple threads that pull in
On Jul 30, 1:53 pm, Shang Hao sahilz...@gmail.com wrote:
Hi,
It is observed that while entering text in password mode, first the
text is displayed and then after 1 second the asterisk (star) is
displayed Is there no way to directly display the asterisk??
code:
Hi,
I found an answer to my previous question (the code for it is attached
below).
i think the solution is not too elegant so if you have any input on how i
can make it less hard coded i would love to hear it
for example i would like to set the name of the original image with xml and
also the
I'm trying to figure out how to emebed a listview in a tabhost
Whenever I call
l1 = (ListView) findViewById(R.id.list);
l1.setAdapter(new ArrayAdapterString
(this,android.R.layout.simple_list_item_1, SITES));
it dies a rather unglamorouis death.
List is defined as
ListView
Hi I'm also a programmer on this project.
These arrays are class variables of our Activity class. When we
change these from instance variables to static class variables it
seems that the problem goes away in relation to these arrays ( we then
start bumping into problems with other instance
Hello devs,
This seem pretty trivial, but I can't find the key event constant for
the backspace button. Which one is it? I tried KEYCODE_BACK,
KEYCODE_CLEAR, etc.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I want unsubscribe Android Developer's Group.
Please Don't Send These emails any more...
-Original Message-
From: Andrei Bucurlt;andrei.bu...@gmail.comgt;
To: Android Developerslt;android-developers@googlegroups.comgt;
Cc:
Sent: 09-07-30(목) 17:45:59
Subject:
Hi developers,
As I'm just an Android user, I might be illegally here. But I just
found out that being left handed, I have a slight problem with my
recently purchased HTC Magic. I have searched Market already, but
could not find anything to help me. My problem is this: as I am left
handed, I like
Hi
I am also currently trying to get MipMaps to work and eventually this
is the thread that pops up several times in the search ^^'.
The problem I have with your posted solution, it does not work for me.
As soon as I try it your way I do not get any texture at all. It just
stays white. What
do not close the emulator after run and you can run your application again and
the emulator will be updated with out closing it
this way is faster than close and run again
From: jack jack.j...@gmail.com
To: Android Developers
It does only happen from Eclipse a, but I am not sure if this behavior
would be identical when someones installs the app and launches it the
first time.
Thanks
On Jul 30, 11:31 am, Michael Elsdörfer mich...@elsdoerfer.info
wrote:
Make sure this doesn't just happen when you launch from Eclipse
Have you tried addrule?
On Jul 29, 4:47 pm, bpellow bpello...@gmail.com wrote:
Romain,
Just like John and Pavel, I cannot figure out how to set some
RelativeLayout XML attributes programmatically in Java.
For example, I cannot find a programmatic way to define
layout_centerVertical=true
Hello,
Not long ago, I read a post at
http://androidcommunity.com/google-to-expand-android-market-payment-choices-20090716/
about coming updates to the Android Market. These updates had to do
with expanded options for billing beyond the current ones (free vs.
paid). I was wondering if anyone had
Ok.. so i already have an receiver for the widget... and adding
screen_on/screen_off should do it ?
!-- Broadcast Receiver that will process AppWidget updates --
receiver android:name=com.package.NewsWidget
android:label=@string/app_name
intent-filter
Ok.. so i already have an receiver for the widget... and adding
screen_on/screen_off should do it ?
!-- Broadcast Receiver that will process AppWidget updates --
receiver android:name=com.package.NewsWidget
android:label=@string/app_name
intent-filter
Oh man.. that not going to fly .. I can't do it from the service,
because service runs like for a second to update the widget and
stopSelf(). So if i register something onStart() i'd have to
unregister that onDestroy(). Therefore to actually catch that event
while service is running becomes kind
is there anyway to get to the state of the phone/screen without
listening to broadcasts ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Did you call setContentView() in onCreate()? BTW, why did you
instantiate the buttons inside onClick()?
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
hi,
i'd like to use CursorAdapter but Cursor its based on cannot be
returned by simple sql query, since in db i have two fields and based
on some criteria they build the String that would be displayed in the
ListView.
what is the best solution: forget CursorAdapter and use ArrayAdapter
or
Take a look at this link:
http://code.google.com/p/android-smspopup/source/browse/trunk/SMSPopup/src/net/everythingandroid/smspopup/SmsPopupUtils.java
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the
skink wrote:
i'd like to use CursorAdapter but Cursor its based on cannot be
returned by simple sql query, since in db i have two fields and based
on some criteria they build the String that would be displayed in the
ListView.
what is the best solution: forget CursorAdapter and use
doubleslash wrote:
Just like John and Pavel, I cannot figure out how to set some
RelativeLayout XML attributes programmatically in Java.
For example, I cannot find a programmatic way to define
layout_centerVertical=true with only Java.
droidin.net wrote:
For the test purposes I need to terminate my app from within my code.
Doing Activity#finish() doesn't do it. Doing
Activity#getMainLooper#quit fails with exception. Here's sequence of
steps I'm trying to do:
1. Activity calls another application
2. Original application
I don't see that you have CREATE_TABLE_COMPUTERS defined.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA,
In the first line in the last post, I meant to say, I just exited
eclipse and ddms, then STARTED the emulator from the command line,
and ddms from the command line and it looks to work.
On Jul 30, 2:05 pm, shaun shashepp...@gmail.com wrote:
I just exited eclipse and ddms then the emulator from
Some of those Home apps such as Better Home, change the graphics for
some of the core apps, such as contacts? How do they do that? Are
they opening up the apk, and replacing resources, and then zipping it
back up again? You can always go back to the original Home though, so
I don't get how
If you write your own phone application you are able to add whatever
checks you want. Problem is how to prevent that children are still
using the old phone app?
If you want to restrict the current phone application you might need
to add your changes on framework level.
--
Roman Baumgaertner
Sr.
On Jul 29, 12:15 pm, choff choff_2...@hotmail.com wrote:
[...] This would
suggest that ANDROID itself is not letting go of the Activity
instances. That some how they are being queued up or hung on to...
Again, your best bet is to look for the objects in the hprof data and
see what's holding
I think the calendar should be installed in /system/app/ by default if
it is already installed.
BTW, I've met the same problem as you have. I tried to run calendar on
emulator or on a custom device, both failed to launch.
I searched in this group, someone said that google login service which
is
Hello all,
I'm just curious about the proxy setting in APN, it seems that this
setting will lead default browser traffic to pass through it.
Is this APN proxy setting the same as HTTP proxy ?
Any feedback will be highly appreciated.
Best regards,
Aaron
Hello,
I am playing an audio file of about 1 minute length in a Service. I
used startService method yet when I move away from the activity which
starts the Service, playback stops after few seconds. If I stay with
the Activity then I can listen to the whole audio. I thought playing
an audio file
I'd like to get the projection matrix of my view using OpenGL on
Android. What's the API call?
I cannot find it.
Thanks.
Richard Schilling
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
Hi Guys,
As the subject states Can i make a Gallery to Vertical insted of
Horizantal ?
i tried but couldn't found anything that makes it vertical.
Thax in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
No. Gallery doesn't support vertical mode.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.
On Jul
I think I just solved it by calling setForeground(true). I wonder how
I missed it in the API reference :P
On Jul 30, 9:15 pm, Farhan russ...@gmail.com wrote:
Hello,
I am playing an audio file of about 1 minute length in a Service. I
used startService method yet when I move away from the
I don't know anything about datasetobserver, and I'm sure there are
better ways to do this, but a hack that works for me is to keep track
of when you need to refresh the list. If the user creates a new entry
while in the expandable list, then I launch that as an activity for a
result, and if it
In an activity, how do detect the fact that the user pressed the home
button?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Can you post your logcat output with the stack trace?
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA,
Hi Everyone,
Does the apk compiled in the old version of android src run on the
newer version?
Does google keep the api interface all the time during the update
process of android src?
I hear that a APK should be signed and then can be installed on the
specific device, is it? Any article that
You won't be able to detect that as KeyEvent.KEYCODE_HOME can't be
intercepted. It is for internal use only.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and
Hi.
My goal:
- Re-build the (built-in)Launcher application and modify/re-skin it
then publish as the new .apk.
My current situation:
1. I installed Ubuntu on my machine and follow the instructions on
this page: http://source.android.com/download
2. I successfully execute $ repo sync. Now the
Are you running on the emulator or a device? There are some reports
that on the emulator, espeically in debug mode, memory is not GC'd
because the debugger is holding a refernece. I haven't experimented to
see if this is true but it is worth checking into.
You might try calling the GC prior to
Ya i hav called setContentView()
wat is the problem if i create adn instantiate the buttons inside the
onCreate()...?
On Fri, Jul 31, 2009 at 2:17 AM, Jack Ha jack...@t-mobile.com wrote:
Did you call setContentView() in onCreate()? BTW, why did you
instantiate the buttons inside onClick()?
Hi ,
I am also facing the same issue.My app exiting automatically after
showing this error message
in logcat
log - INFO/ActivityManager(56): Low Memory: No more background
processes.
can you tell me how to solve this.I am using thread in my app.so i
thought may be it becoz of that.
But after
101 - 161 of 161 matches
Mail list logo