Hello everybody.
I have been looking the home Screen source code (The Launcher code) in
the Android project page: http://android.git.kernel.org/
And, in this case, there are some classes that are not implemented in
the actual public SDK (1.0), like android.provider.LiveFolders. I
supose that is
I need to use a CursorAdapter to display the contacts in an auto complete
view.When the user has selected/typed the contacts he wants , how do i
retrieve the ids of the contacts he has typed in or selected.
I tried to use the onItemClicked,but if the user has typed the contact name
himself,I have
I am trying to read write a text file, what am I doing is
1- Have made a text file raw folder in res (in my project)
2- try to read this file from code, inside an activity, below is the code
InputStream
inputStram=appContext.getResources().openRawResource(R.raw.TestFile);
byte
Hi,
I have used media player in my formal game which was 2d game ...
At that time I used view . But now its 3d game and so i have
extended surfcae view . So much rendering is done at run time
. So i thing this must be issue as cpu is overloaded and i have
I met the same problem as you, if any solution please let me know?
Best Regards
Eric Chan
On Fri, Jan 9, 2009 at 1:17 AM, NitroDesk gsuku...@gmail.com wrote:
Hello,
We have pulled a lot of hair out for this one.
We use the DefaultHttpClient to connect with exchange servers. In
order to
otherwise try it with your own theme. you need to take a look at
theme.xml and styles.xml in your sdk in order to manipulate your list
selector (which is shown above your list items, so manipulating them
wont help)
greetings
darolla
2009/2/6 BoD bodl...@gmail.com:
Thanks a lot, I'll try that.
you need to create an xml for each children row. please take a look at
the 14 list source codes inside your api samples.
greetings,
darolla
2009/2/6 munish munish.sha...@lntinfotech.com:
Can any one please tell me how to add multiple items (images/text) in
list view
hey thanx
Marco.
On Feb 6, 3:16 pm, Marco Schmitz netzprofi.ma...@googlemail.com
wrote:
you need to create an xml for each children row. please take a look at
the 14 list source codes inside your api samples.
greetings,
darolla
2009/2/6 munish munish.sha...@lntinfotech.com:
values.clear();
doesn't look right, right?
On 6 feb, 08:30, Meryl Silverburgh silverburgh.me...@gmail.com
wrote:
Hi,
I am trying to programmically add a new contact in android.
What I did is this:
Uri uri = Contacts.People.CONTENT_URI;
I had only problems with memory leaks beetween application launches.
I had exactly the same problem until recently, and for the time being
just used System.exit(1) at the end of onDestroy() for a fresh
restart. Causing a memory exception might have partially the same
effect, but probably
I get an apk file from somewhere. I tried to install it the emulator
successfully. (The emulator is built from the latest code in AOSP
which should be cupcake or later). But I can't launch the application
from the GUI. It complains The application xxx has stopped
unexpectedly. After checking the
There is not (afaik) yet. What specific uses do you have (to help
scope the request)?
On Fri, Feb 6, 2009 at 5:43 AM, GiladH gila...@gmail.com wrote:
Hey guys,
Is there a way to directly access a Jpeg's file metadata, without
having to go through the ImageManager services?
Tnx, GiladH
Doh! You've stumbled across a known missing optimization. No promises,
but this has been identified as an future optimization.
The dirty details are that the current code has special optimizations
for a straight drawBitmap when there is no matrix (other than
translate). In addition, there is
This was a little confusing to me at first so I hope this code extract
will help you out:
Java:
--
public View getView(int position, View convertView, ViewGroup parent)
{
// Inflate row layout from 'list_row.xml'
View row = inflater.inflate(R.layout.list_row,
Hey guys,
Is there a way to directly access a Jpeg's file metadata, without
having to go through the ImageManager services?
Tnx, GiladH
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
hi,
maybe you start with the onTouchEvent which each Activity has:
public boolean onTouchEvent(MotionEvent event) {...}
then you can get the Id of each button.
changing the way the button looks can be manipulated using
button.setBackground().
there you can add a resource (like a .png or a
When i added a media file to the sdcard an update in the MediaProvider
database is not happening. When i bootup the emulator it happens .
Is this the expected behaviour ?
- Rishi Kaura
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
you can download the whole 2gb android sources using GIT (there is a
windows implementation for that, too)
:)
greetings,
darolla
2009/2/6 Jose Cortes jbeerb...@gmail.com:
Hello everybody.
I have been looking the home Screen source code (The Launcher code) in
the Android project page:
I met the same problem with you, pls let me know if you got the answer.
*
*
On Fri, Dec 5, 2008 at 3:20 AM, BobW b...@whelanhome.com wrote:
When I run my map application in the debugger, I can see the map on
the emulator (I have a MAP key for my debugger from Google), but I
can't see it from
I have been looking for this information can you detail if it occurs
both in emulator and/or device?
On Feb 5, 9:46 am, Mark Nuetzmann mark.nuetzm...@gmail.com wrote:
I just tried adding an OnTouchListener to the webview and I get ALL
the touch events. However, the links in the webview to
That line is after my first insert.
On Fri, Feb 6, 2009 at 4:23 AM, MichaMicha micha.okker...@gmail.com wrote:
values.clear();
doesn't look right, right?
On 6 feb, 08:30, Meryl Silverburgh silverburgh.me...@gmail.com
wrote:
Hi,
I am trying to programmically add a new contact in android.
Is it possible to piggyback the audio stream or the microphone and
get raw sample data from it? Can anyone point me to some
documentation?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
I've had debugging on from the beginning. What I need is something
that can tell me exactly what is in the application's data area that
Android reports via Settings for managing applications. I am sure my
application is adding to it somehow, but I have no handle to tell what
content is stored
Hi,
The GIT repository has a branch called release-1.0 which contains
the source code of Home as found in SDK 1.0.
On Fri, Feb 6, 2009 at 3:48 AM, Jose Cortes jbeerb...@gmail.com wrote:
Well, I can download the branch of the project I need (I have done
that). The point is, that I need to
Exception throwed on application start causes bitmaps memory freeing.
That's all, I had only problems with memory leaks beetween application
launches. So that's the best solution for me right now.
Regards.
avram
On Jan 27, 12:09 am, blindfold seeingwithso...@gmail.com wrote:
Check first, and
Well, I can download the branch of the project I need (I have done
that). The point is, that I need to work with the present SDK, the
official, and I need to know how present Home is made. The fires that
are on the web (Android source code) are in development, so they are
using, probably, the SDK
Ronald,
I've asked the Market team to take a look at your app specifically.
I'll update you as I get new information.
Cheers,
Justin
Android Team @ Google
On Feb 5, 12:43 pm, Ronald van der Lingen lin...@jsource.nl wrote:
At this moment the developer console is still showing 0 downloads
You need to call setResult before calling finish(), e.g.
setResult(RESULT_OK);
finish();
You can also pass data back to the previous activity using:
setResult(int, Intent);
On Feb 6, 6:24 am, jj jagtap...@gmail.com wrote:
how to set RESULT_OK when activity exit?
I am launching list
Hi, I'm not sure exactly what you mean. If you mean something like
mysql command line interface, you can use sqlite3 from adb shell to
execute queries directly.
On Feb 6, 6:32 am, And-Rider rahulregunat...@gmail.com wrote:
Is it possible to pass a query directly and check the values that has
Unfortunately it's a little tricky, because only your app (and some very
very low-level parts of the system) can touch your data. You can, however,
just add some code to your app that iterates through your data directories
with the standard Java File APIs and prints out what it finds.
On Fri,
How about something like this:
public class myClass extends Activity implements OnKeyListener {
private EditText mInput;
@Override
public void onCreate(Bundle savedState) {
//set layout and initialize mInput and set the keyListener to 'this'
}
@Override
public boolean onKey (View v, int
So do I need a special update package other than the ones signed by
Google linked here:
http://forum.xda-developers.com/showthread.php?t=479571
On Feb 5, 9:52 pm, Jean-Baptiste Queru j...@android.com wrote:
The bootloader does allow unsigned filesystem images. The recovery
system still
I'm getting some strange results when enabling ambient lights in
openGL. After some experiments, I determined that for some reason, the
ambient light color is multiplied by 0.2f. That is, setting an ambient
light of color ( 5.0f, 0.0f, 0.0f, 1.0f ) is needed to get a pure red
ambient, not the
No, this is not supported in SDK 1.0.
On Feb 6, 8:34 am, Sundog sunns...@gmail.com wrote:
Is it possible to piggyback the audio stream or the microphone and
get raw sample data from it? Can anyone point me to some
documentation?
Thanks.
--~--~-~--~~~---~--~~
Alright, folks, I was a WM5 user - TMobile MDA (in UK TMobile MDA
Vario), and I switched to Android (TMobile G1)
There are some important messages that I want to keep (i.e. transfer
from MDA to G1). But as HTC (makers of MDA)'s website says, there's no
way of synching SMSs with PC...that there
I found SoundPool is very useful!
On Feb 6, 1:22 pm, suhas gavas suhas.ga...@gmail.com wrote:
Hi,
No ... i m not playing 6 to 7 mp3 files at same time ..
later that day i have tried with just playing one single file and same issue
. But then i tried SoundPool
code:
@Override
protected void onListItemClick(ListView l, View v, int position,
long id)
{
LinearLayout line = (LinearLayout)getListView().getChildAt
(position);
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed
You shout creat new MediaRecorder one time, so that you shout creat
new MediaRecorder() inside
part of buttonRecorder.
And also, you shout use method audioRecorder.stop().
if you correct 2 issue above, you will fix this bug.
if(v==buttonRecording){
audioRecorder
Hi Daniel,
Your post is a good news for me.
Actually, the dex jar files that were signed is so strange for me.
Currently, when DexFile wants to load a class of them (i.e. the dex
jar file), they define this class with a null ProtectionDomain
parameter. A way to fulfill the security for the dex
Hi
I am new to android, I am creating a app in which i want to send
and receive SMS. using Android 1.0 r2 release, found that there is
less classes is there which is provide support then compare to
prevoius release, so by reading some fourum comment I get success in
receiving the sms
Dear all,
Would you please point me how to add more shortcuts in home screen?
-- I want to do this by modifying config file rather than draging an
app and dropping it on home screen. Namely, I want to know which
config file contains these shortcuts. Thanks for your help in
Advance.
Thanks,
i want to access gphone's sd card when the gphone connect to the pc
via usb, but i need click mount on notifications...is there any way
when the gphone connect to pc, then pc can access the sd card?
--~--~-~--~~~---~--~~
You received this message because you are
hello Dear friends!
i am trying to implement seekbar or progress bar, but i am getting
problem to synchronize with file.
so, if any body has code for seekbar/progress bar in media player
kindly send me.. or give me process to implement.
Thanks and regards
Er. Syed Imran Ali
Hi,
I am new to android, I am creating a app in which i want to send and
receive SMS. using Android 1.0 r2 release, found that there is less
classes is there which is provide support then compare to prevoius
release, so by reading some fourum comment I get success in receiving
the sms which
Can any one help me in getting the tool for code coverage for Android
Application,
How to intergarte with Eclipse.
I had tried with EclEmma Code Coverage tool, it gives code coverage for the
normal Java Applications,
Can u please suggest any Code Coverage tool for Android Application
With
You need to tell the media scanner that you have added a new file. See
http://code.google.com/android/reference/android/media/MediaScannerConnection.html
On Feb 6, 4:38 am, Rishi kaurari...@gmail.com wrote:
When i added a media file to the sdcard an update in the MediaProvider
database is not
There is a lot of new audio support in the Cupcake SDK release. This
includes working SoundPool for low-latency sounds and streaming audio
API's.
On Feb 6, 2:13 am, suhas gavas suhas.ga...@gmail.com wrote:
Hi,
I have used media player in my formal game which was 2d game ...
At
The shortcuts are contained in a private database. There is no config
file you can modify directly.
On Fri, Feb 6, 2009 at 1:46 AM, HelloWorld xiaolong_...@yahoo.com.cn wrote:
Dear all,
Would you please point me how to add more shortcuts in home screen?
-- I want to do this by modifying
Hello HelloWorld,
AnyCut can create custom shortcuts on the home screen - and it is open
source:
http://code.google.com/p/apps-for-android/source/browse#svn/trunk/AnyCut
But the broadcast intent used there is in the com.android.launcher
namespace, so it is not part of the public SDK API, and
But the broadcast intent used there is in the com.android.launcher
namespace, so it is not part of the public SDK API, and may break in a
future version of Launcher. Right?
It will not break. It is not considered a private API, it's just not a
platform API.
Peli
www.openintents.org
On
Why not add SampleView to your main.xml? You could then add a button
to main.xml as well. Another approach may be to do hit testing within
SampleView. You could draw a bitmap of your button then detect if
the user click in/on that area.
On Feb 5, 11:19 pm, ipeg.stud...@gmail.com wrote:
Hi all
Hi Mark,
I was having the same issue. What worked for me was changing the
layout_height of the WebView from wrap_content to fill_parent.
Depending on your UI you may also want to add a layout_weight of 1.
I'm not sure why if layout_height is set to wrap_content that the
WebView doesn't seem to
Hello.
I am working on a game that displays its graphics through a modified
SurfaceView. The game scrolls around a map based on the location of
the main character. That all works fine.
I am trying to add a feature to the game that allows you to touch the
screen and drag the camera around to
There does appear to be some problem here. We're looking into it
further.
Cheers,
Justin
Android Team @ Google
On Feb 6, 9:29 am, Justin (Google Employee) j...@google.com wrote:
Ronald,
I've asked the Market team to take a look at your app specifically.
I'll update you as I get new
Is there an API to support setting MMS upload and download message
size ? Are there predefined sizes that limit how big the outgoing and
incoming messages can be ?
Ajith
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
greetings.
i can not determine a straight forward way to power down the voice
service (ie enter airplane mode) from code.
i have found the TelephonyManager, and i see how i can register my
PhoneStateListener and subsequently obtain a ServiceState object upon
a change of voice service state. i
Hi,
I follow the following example in creating a Parcelable object:
http://code.google.com/android/reference/android/os/Parcelable.html
And I did the following to unit test the CREATOR and writeToParcel method:
Parcel dummyParcel = Parcel.obtain();
MyParcelable p = new MyParceable(12345);
I've been struggling with similar issues on-and-off with a game I've been
slowly incubating.
The drop in frame-rate experienced with touch events may be caused by their
continual generation (fingers aren't like mice, even an apparently static
finger will exhibit variation). If this is the case it
On Feb 6, 7:38 am, johnny johnny...@gmail.com wrote:
I get an apk file from somewhere. I tried to install it the emulator
successfully. (The emulator is built from the latest code in AOSP
which should be cupcake or later). But I can't launch the application
from the GUI. It complains The
Thanks for the update. I hope you can find the cause of the problem
and that the download count for the last week can still be recovered.
Kind Regards,
Ronald
On Feb 6, 9:00 pm, Justin (Google Employee) j...@google.com wrote:
There does appear to be some problem here. We're looking into it
Thanks.
Anyone know of any other info on how to decode .mp4s by hand then?
On Feb 5, 7:35 pm, Dave Sparks davidspa...@android.com wrote:
This is not possible in SDK 1.0.
On Feb 4, 1:01 pm, Natalie natlinn...@gmail.com wrote:
I would like to be able to extract frequency/amplitude info from
Hi,
I read this old email and I have the same problem. Now, anyone knows how to
do it? I need more instances of the emulator in the same machine or some
method to start many emulators and configure them to comunicate with each
other.
Thanks in advance,
Lillian Brandão.
On Thu, May 8, 2008 at
Hi, guys.
I'm using the following code:
_articleView.loadArticle(section.getResource());
_articleView.clearHistory();
to ensure that nothing is left in the history and back button behaves
as usual.
Unfortunately, this code doesn't work for me
Maybe Google fixed things a moment ago? I had a related issue that
although I live in The Netherlands, I could not even find the Dutch
ING Wegwijzer (for finding local ATMs) today when searching Android
Market with my dev phone 1. However, now I suddenly can, and I also
find PimPam (did not try
Did you declare a permission to access the Internet in the manifest?
The android system doesn't throw any 'bad permissions' exception with
sockets as it would with something like wifi locking.
On Feb 6, 10:55 am, Maddy malli.ar...@gmail.com wrote:
Hi All,
I am trying to implement Yahoo
Thanks Dianne. The odd thing is that I am NOT creating any files.
And let me make sure we are talking the same thing... when I say
data, I don't mean the data directory... I am talking about going to
Settings/Applications/Manage applications/myapp/Storage/Data... if
that is the data directory
How to remove a contact with a specified phone number?
I try this:
String phone =1234567;
context.getContentResolver().delete(Contacts.Phones.CONTENT_URI,
phone, null);
But I get an error with this:
java.lang.UnsupportedOperationException: Cannot delete that URL:
content://contacts/phones
Well, on Linux, I just dropped to the command line and ran
android/tools/emulator twice and it brought up two instances of the
emulator. Of course, the second one complains about the disks being read
by another emulator, so you'll have to set up a set of disks (really, just
binary files) for each
I have tried this, it is a dead end. The reason you can't apply the
standard RC33 update is because it is not signed for the dev phone. I
downloaded a modified recovery image that works with test keys. Then I
used a small java script to sign the image with test keys. Even after
this some
I'm trying to set the selection of a Gallery in code. I would like to
have the Gallery smoothly roll down a few items over the duration of a
second or two. At frist glance, it appears that two members would to
the trick:
Gallery.setAnimationDuration(int animationDurationMillis);
setSelection() is not meant to be animated.
On Fri, Feb 6, 2009 at 4:15 PM, drasticp drast...@gmail.com wrote:
I'm trying to set the selection of a Gallery in code. I would like to
have the Gallery smoothly roll down a few items over the duration of a
second or two. At frist glance, it
I dont think assets/ files are compressed all that great. For my app,
I was able to cut down the size of overall apk by almost 50% by using
GZipInputStream. I posted the numbers a while back.
But now I am paying the cost of decompression while loading those assets.
I hope the Android platform
I am using WebView in a number of screens in my application, and
notice that it takes couple of seconds when starting up for the first
time.
What can I do to speed it up besides trying to create one in a
separate thread beforehand?
Thanks
Inder
hi all,
now i have a ExpandListActivity,now i want to change it's background color
,when i change the color to White,i can not see the font.just focus the item
that can see it!why?
/:includetail
--~--~-~--~~~---~--~~
You received this message because you are
Hi, have you checked the trace file that is written when an anr
occurs? It shoud be in /data/anr with the filename traces.txt. This
will show exactly what was running and at what line of code when the
anr popped up and should help locate the problem code.
On Feb 6, 7:03 pm, Zombies and Robots
The delay is it is processing these items in your head..loading
javascript, css and etc.
The way I handled it was setting background color to zero for
transparency and using style to load a application logo image that
user sees while stuff loads.
You will not be able to speed it up however.
runOnUiThread is your friend for this situation :
http://code.google.com/android/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable)
Emmanuel
http://androidblogger.blogspot.com/
On Feb 4, 7:04 pm, cindy ypu01...@yahoo.com wrote:
I figure out the problem.
You can't change
Install jf's 1.41-rc33. http://andblogs.net/tag/jf
It is signed with test keys -and- its a full install instead of a patch, so
no perquisites.
On Fri, Feb 6, 2009 at 6:59 PM, camurphy camur...@gmail.com wrote:
I have tried this, it is a dead end. The reason you can't apply the
standard RC33
Mark,
I think I had this problem myself and could solve it by using the
following code:
webView.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
switch (event.getAction()) {
case
I tried to deploy a timer and switch the user to another dialog for setting
if times out. But the dialog just cannot display. No error/exception
reported. Vibration works fine though.
What's wrong?
Code:
private void setAutoPhonecardSelector(int interval) {
Date timeToRun = new
Sorry, the code format was somehow messed up in previous email. Here is the
one that is easier to read.
/*-*/
Code:
private void setAutoPhonecardSelector(int interval) {
Date timeToRun = new Date(System.currentTimeMillis() +
Hi,
I'm writing a little utility to go and check a couple of things after
an SMS has been sent or a call has been made. The checking bit is fine
but I can't find a suitable intent. Do you know what I can hook into
to determine if either of these has occured?
Many thanks,
Tom.
Hopefully some one will nmotice my 'obvious' mistake.
I have created 2 tables in the database (below). When I access table
c, no problem. But when I attempt to access table s I get an error
message that column name x (all names give the same error) does not
exist. How can 1 table get created but
I tried to deploy a timer and switch the user to another dialog for setting
if times out. But the dialog just cannot display. No error/exception
reported. Vibration works fine though.
What's wrong?
Code:
private void setAutoPhonecardSelector(int interval) {
Date timeToRun = new
Anyone run into the flashing marker used by MyLocationOverlay on the
MapView to show the user's current location disappearing after a
certain amount of time (looks like about 1 minute)? Seems like it
should either be a setting or should stay on by default as long as the
MapView is displaying.
Hi,
I'm running into an IllegalSelectorException in my application which
can be reproduced with the following code (I put this test code right
after the super() in onCreate() of an Activity):
try {
SocketChannel channel = SocketChannel.open();
channel.configureBlocking(false);
Selector
Hi
I would also like to know if that is possible have tried a number of
solutions without success. Have managed to Receive incoming sms but
outgoing is still a difficulty for me.
Would be grate if there where some sort of ACTION_NEW_OUTGOING_SMS
(Broadcast Action: An outgoing sms is about to be
We welcome patches.
On Fri, Feb 6, 2009 at 4:45 PM, Inderjeet Singh inder...@gmail.com wrote:
I dont think assets/ files are compressed all that great. For my app,
I was able to cut down the size of overall apk by almost 50% by using
GZipInputStream. I posted the numbers a while back.
But
That is everything in the root data directory, which includes your raw data
files, plus SQLite databases, preferences, etc.
On Fri, Feb 6, 2009 at 2:45 PM, Rmac ry...@mac.com wrote:
Thanks Dianne. The odd thing is that I am NOT creating any files.
And let me make sure we are talking the same
I subitted a new issue http://code.google.com/p/android/issues/detail?id=1932
On Feb 7, 2:13 am, sdehne de...@colibria.com wrote:
Hi,
I'm running into an IllegalSelectorException in my application which
can be reproduced with the following code (I put this test code right
after the super()
Hi, guys.
I'm trying to make an image darker, but the image has some pixels
transparent. I want to keep those pixels intact. I tried DARKEN and
couple other filters, but they seem to alter transparent pixels as
well.
Do you know if there is a way to keep transparent pixels intact while
applying
91 matches
Mail list logo