somebody will tel me the command for checking sdcard of device
what is command to check SDCARD is present ?
or in other words how to appl the sdcard is there or not?
thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
Hello!!!
this source code is no problem!
but just only Url is incorrect.
mp.setDataSource("http://asx.skypro.ch/radio/internet-64/
drs3.asx");
you should choice correct Url ( for down load file).
mp.setDataSource("http://amnhac.timnhanh.com/player/getsong/down
/35A5E94E/f255cbf3cd58dfa923867c0
hello everybody
I am capturing Image from app using :
the image captured using Intent i = new Intent
("android.media.action.IMAGE_CAPTURE");
but it is very small (25*50)
Why this is happening; will anybody suggest me solution?
thank you
--~--~-~--~~~---~--~~
Yo
Hi,
Using a DEV phone, seems I can not make calls to numbers containing
extra digits (i.e. pauses - either 'hard' or 'timed'). They are
stripped.
If I start the call from the built-in contacts app using the
ACTION_VIEW
intent and then tapping a phone field with, say - *151,#,1 it is
dialed
o
New join
--~--~-~--~~~---~--~~
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
android-devel
hi,
even i am getting same problem.if u get it solved plz send me to
swapna.annaman...@gmail.com
On Jan 17, 4:27 pm, jalandar wrote:
> emulator browser gives error "secure connection could not be
> established"
>
> is it the case that emulator browser don't have certificates, is there
> any othe
It still doesn't work for me~ :-(
It gives me the same error message~
[2009-02-09 10:01:22 - Mms] W/ResourceType( 3244): Unable to get
buffer of resource asset file
[2009-02-09 10:01:22 - Mms] (skipping index file 'D:\Project
\cupcake_20090129.tar\packages\apps\Mms\res\drawable\Thumbs.db')
[2
I can no longer view XML pages (T-Mobile web2go). Has anybody seen
the same issues? I am using android.webkit.Webview in my application
and it isn't working either.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "
Hi,
I had posted this question earlier in the Android-Beginners list but
didn't get any response :(
Saw this thread here and thought of trying my luck again!
Can someone help me with the steps to export a service to another
android application?
I have created a service and defined an interface
Hi, i found some reference to the sliding drawer but could'nt find the
code to use it..
http://groups.google.com/group/android-developers/browse_thread/thread/5d735511a2de5137/422eea2daef3dbb4?hl=en&lnk=gst&q=SlidingDrawer#422eea2daef3dbb4
any help will be appreciated.
thanks
On Jan 16, 3:10 pm
I want to create a map off-screen, so I can load it as a texture in
OpenGL. So, of course I'm not putting the MapView on the main screen,
which means I'm manually forcing the layout through the layout()
function, and then using the drawCanvas() method to write out the
screen content into a bitmap
I wanna ask a simple question to all android developers~
What is the optimized environment to develop or modify an application
in Android platform?
How are you developing an application now?
Google provided several excellent tools to develop an application such
as Emulator, Dalvik Debug Monitor,
Does anyone know If I can specify for an Android application to have
the main window and all its children draw upside down on the phone.
I'm looking for something similar to portrait and landscape
orientation but more like portrait_upside_down and
landscape_upside_down.
Thanks
--~--~-~--
Play video on android
-
I'm trying to play video files on android...can anyone please help
me...
I'm not able to see the video but audio works fine... here is the code
PLEASE HELP ME... BY GUIDING ME.. BY CORRECTING THE CODE
OR WITH ANY NEW CODE
package com.v
How can I get a development kit from HTC? I can buy phones from many
different sources but I want a development kit directly from HTC - any
ideas
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Develo
Below is a link to a blog with some preliminary ideas for promoting
Android in the mobile OS market. There are developers out there with
much greater knowledge of Android and their competitors; so, I
encourage these developers to respond to my blog here, at blogspot, or
perhaps develop your own v
Is it possible to have a vertical SeekBar? I would want this for a
tilt control slider.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develope
Hi
Currently I am using Absolute layout for my root layout. In this
Absolute layout, I have one Absolute layout on the top, followed by a
linearlayout. I want to put my viewlist in the linear layout. so it
goes l ike this
http://schemas.android.com/apk/res/android";
>
My da
Hi.
I would like to detect changes to a Contact. Registering a
ContentObserver correctly notifies when a change occures, but does not
tell where. Registering Contacts.CONTENT_URI will report a change on
Contacts.People or Contacts.Phones, but will not say which record or
which table. I could get
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?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
G
How do we define enum?
--~--~-~--~~~---~--~~
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
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?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
G
I have a subclass of android.app.Dialog and because I am using a light
theme, the dialog title comes out as Black on a dark background which
is hardly readable.
This leads me to the question: how do I change the Dialog title
background or foreground colors? Can I do this via a theme? Which
propert
Dianne,
I tried going down the 'declare-styleable' route as you suggested. I'm
a bit stuck because 'declare-styleable' needs to be placed in a
'attrs.xml' file, which gets compiled to R.java in the package
specified by the 'package' attribute in AndroidManifest.xml.
But I am creating a View for
I have one android application, which can run well in android sdk 1.0 R2.
I also rebuilt android platform in my Ubuntu, at last, the emulator can run
successfully, but when I try to install the application into the emulator,
following errors came:
a...@harry-ubuntu:~/workroom/opensource/android/my
I'll try myself,
and Thanks for your advice !
On Feb 9, 1:45 pm, Dianne Hackborn wrote:
> If you launch it as a background process it may, it depends on what the
> shell is set up to do when it gets closed.
>
>
>
>
>
> On Sun, Feb 8, 2009 at 9:11 PM, Ashrotronics <030440...@163.com> wrote:
>
> >
Does anyone know the API in the 1.0 or cupcake SDK that can turn off/
on radio or airplane mode? Thanks.
On Feb 6, 1:26 am, Nick Pelly wrote:
> Actually, android.provider.Settings is just used to persist the on/off state
> across reboot. It is not as useful as it looks. Changing these values wil
If you launch it as a background process it may, it depends on what the
shell is set up to do when it gets closed.
On Sun, Feb 8, 2009 at 9:11 PM, Ashrotronics <030440...@163.com> wrote:
>
> So,according what u said,if i modify the monkey source code to be no
> outputs,and recompile it in android
Hi,
My objective:
I want to develop two .apks as .apk#1 and .apk#2. My .apk#1 has one serice
as serv#1 and .apk#2 has serive as .serv#2. I wanna to invoke the serv#1
of .apk#1 in serv#2 of .apk#2. For time being i have created two .apks
and thinking how to commucate between them, i mean how
So,according what u said,if i modify the monkey source code to be no
outputs,and recompile it in android source code ,then the generated
new monkey tool can continue running after i close the shell,am i
right ??
On Feb 9, 12:15 pm, Dianne Hackborn wrote:
> Um, don't close the shell you are runni
Still only selects the text. Any workarounds?
On Feb 8, 7:27 pm, Chander Pechetty wrote:
> You need to tell your ListView that the list items are focusable.
>
> ListView.setItemsCanFocus(true).
--~--~-~--~~~---~--~~
You received this message because you are subscr
If you are doing your own build of the platform, please ask your questions
on android-platform or android-framework. This will reduce the noise on
this list, and help people understand the context in which to answer your
question. Thanks.
On Sun, Feb 8, 2009 at 6:43 PM, HelloWorld wrote:
>
> Th
Yes, this is standard Java stuff. Compiling happens with the standard
javac, so you get all of its regular features.
On Sun, Feb 8, 2009 at 7:44 PM, gsmd wrote:
>
> For example, will this result in any performance gain:
> --
> public static final boolean DEV_MODE = false;
>
> if(DEV_MODE){
> //
Um, don't close the shell you are running the monkey on. The monkey command
prints its result data there so it would be pretty pointless to run it and
close its shell, anyway.
On Sun, Feb 8, 2009 at 7:43 PM, Ashrotronics <030440...@163.com> wrote:
>
> Dear all:
>As you know,i started the mon
For example, will this result in any performance gain:
--
public static final boolean DEV_MODE = false;
if(DEV_MODE){
// log stuff, compute debug values etc.
}
---
TIA.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Dear all:
As you know,i started the monkey tool at adb shell,and run a
script file to send a series of commands including key and mouse
events,But sadly to see that when i close the adb DOS window,Monkey
just terminates,
I wonder why should this happen,and Will it do the same to a real
device
You need to tell your ListView that the list items are focusable.
ListView.setItemsCanFocus(true).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
Thank you Guy and Peli. Because I need preload more shortcuts in
homescreen, would you please point me how to add them into the
database Guy mentioned above?
On 2月7日, 上午3时01分, Romain Guy wrote:
> > But the broadcast intent used there is in the com.android.launcher
> > namespace, so it is not
On Sun, Feb 8, 2009 at 6:02 AM, Stefan wrote:
> Building apps with the SDK is apparently NOT enough to insure API
> compliance
> as the example with the SlidingDrawer showed - the app was build with
> the latest SDK
> 1.0 r2 and without using reflection or any other "funky" access.
I have to sa
I made my simple, custom rows and listviews. Right now, only clicking
on the text of the row is valid selection area. I want the entire
row, even the no-text area to be selectable. Where do I modify? Am I
looking for focusing or selecting?
My row xml:
-
Hi,
I am getting the "Cannot delete that URL" exception(see below):
java.lang.UnsupportedOperationException: Cannot delete that URL:
content://contacts/phones
at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:130)
at
android.database.DatabaseUtils.read
Any one has some clue about this? Thanks!
On Feb 6, 11:45 am, Eckel wrote:
> Hi,
>
> I try to create a mini player view on home screen and still use the
> music mediaplayback service by putting a IMediaPlaybackService aidl in
> home directory. the mini player can normally playback and control t
Hi,
I have the following test case which tests context.sendBoardcast() function:
public void testInstallFavorite() {
Context context = getContext();
IntentFilter filter = new IntentFilter();
filter.addAction("com.android.launcher.
In short, Android developers made it hard to customize TabActivity.
All previous attempts don't work with the latest API release.
If you've been thinking about it but couldn't figure out the right
way, here's one of the solutions:
http://tourizo.blogspot.com/2009/02/android-tabactivity-customiza
James,
Thank you.
On Sun, Feb 8, 2009 at 5:09 AM, James wrote:
>
> OK. I found it faster than I thought or I would have waited to make
> that last reply.
>
> You have two options:
> 1.) put the parcelable in an intent, then get it back out.
> -- this would be instead of calling the Creator
I was sondering the same.
It's not that my application won't work, but it would be nice to get the SDK
updated.
On Sun, Feb 8, 2009 at 3:17 PM, clark wrote:
>
> I recently upgraded to RC33 on my G1 and when I uploaded an
> application from within eclipse, I received a message warning that the
>
Michael Caughey wrote:
> Is there a SVN or other respository for the Example code? Drilling down
> through the web site is tedious.
If you mean the ApiDemos, they are installed with your SDK. Look in the
samples/ directory underneath the directory where your SDK resides.
--
Mark Murphy (a Comm
Is there a SVN or other respository for the Example code? Drilling down
through the web site is tedious.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
Thanks for the details.
I did think that the disparity might be the result of a unoptimized code
paths, but my understanding of how the Shader integrates into the rendering
implementation as a whole was too sketchy to know whether this would be an
optimization that one might reasonably expect to b
Thank you very much, this was very helpful. My apologies for jumping
to conclusions! I'm usually suspicious of the way corporations involve
themselves with with F/OSS, but this seems to be entirely on the
level. Good show.
Thanks again!
Rich
On Feb 7, 10:03 pm, Dianne Hackborn wrote:
> They are
> Any chance to see a kind of home screen container widget where you can
> drop your views and flip through them ? Right now we're using extended
> ( so now it' can accept any view(s) with in itself ) code from
> workspace for that, but it'll be nice to see this sometime in the
> future as offici
Hey guys,
I am trying to define a view with the following requirements:
1. the view should occupy the entire screen, except the notification area
(the top small bar)
2. The view should be even split into three parts, the top and bottom are
two huge buttons, and the middle is a scrollable list. No
I recently upgraded to RC33 on my G1 and when I uploaded an
application from within eclipse, I received a message warning that the
SDK version on the phone was 1.1, which did not match the SDK version
of 1.0 I am using.
I was wondering when the 1.1 SDK will be available for developers.
I'm not no
Hi Dianne,
I am afraid I don't understand how that would help. I am implementing
an image distortion algorithm. It takes in a source Bitmap and output
a distorted Bitmap.
Can you elaborate?
On Feb 7, 8:15 pm, Dianne Hackborn wrote:
> How about this:
>
> http://code.google.com/android/referen
too bad . shouldn't be a complicated change. well for time being i'll
continue to use that
http://code.google.com/p/android-misc-widgets/source/browse/trunk/android-misc-widgets/src/org/miscwidgets/widget/Panel.java
Any chance to see a kind of home screen container widget where you can
drop your
Someone on another forum, was thinking that dasher would not be able
easily allow abbreviations and informal typing that is common with
cell phone text entry.
I made this video to demonstrate that dasher adapts to however you
type, and how it can handle any kind of language or abbreviations with
I have a properly functioning service that registers a
locationlistener for GPS updates. It's registered to wake up every 30
mins (even if the object moved 0 meters).
The problem is that everytime the screen wakes up (from standby), it
fires the onStatusChanged, followed by onLocationChanged reg
This should do it ... http://source.android.com/download.
If you are having trouble downloading it, please check
http://groups.google.com/group/repo-discuss to see if your question
has already been answered, else, post a question in that forum.
-Ravi
On Feb 8, 1:49 pm, solid wrote:
> How do I
how?
On Feb 1, 5:54 pm, Mark Roberts wrote:
> Are you using Eclipse? You can load directly onto the G1 using
> eclipse.
>
> On Feb 1, 4:58 pm, solid wrote:
>
> > I am new to developing android apps. I have been writing java webapps
> > for years and decided to try my hand at this. I have my
I want to send a Bitmap to Server and I want to use Socket .
This is my code in the Class Client::: This code save the Bitmap
compressed in Jpeg in the phone , after I want send it.
ContentValues values = new ContentValues(3);
values.put(MediaStore.Images.M
A private API does not necessarily mean the class or method has the
"private" Java keyword on it. Actually there are many Java-public
classes and methods that are part of the private APIs. Normally these
are stripped from the SDK. I don't know why the internal package is
still in the SDK but indee
How do I get the source for stock android apps. I specifically want
the source for the music app and the dialer. I have tried downloading
from the git repository but every attempt complains about not being
able to find it. What is the correct procedure for accessing the
source for the stock and
> That is a good news. May i ask a request, since you guys making a
> public widget , could you provide little bit flexibility where this
> widget ca attached to .
Won't happen for cupcake.
> And ability to change drawable of the handle would be
> nice as well.
You already can. The handle is an
That is a good news. May i ask a request, since you guys making a
public widget , could you provide little bit flexibility where this
widget ca attached to . For example there are cases when i want to
attach this to the top ( currently we're using custom widget based on
SlidingDrawer ). And abilit
With AGPS the GPS unit is informed of the latest positions of the
satellites from a website (or something).
This allows the GPS to get a fix quicker than if it would not know the
latest positions of the satellites.
So when using AGPS you get a fix more quickly than without.
Cheers,
Willem
On Fe
Huh what do you mean by that:
> When I want to get a GPS fix as quickly as possible
You always get it as quickly as possible.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
HI ,
Did u change partition table in mtd files in kernel? i think file name is
mtdblock.c
U need to update u r MTD partion tables in this file, when u boot up u r
system try to capture u r hyperterminal messages , u find a partion table
which mentions u r blocks of devices , there u update thes
Hi, nice solution, I'll try do adapt it for my case. Thanks!
On Feb 8, 3:32 pm, Al wrote:
> Hi, I am doing this using the following method:
>
> - Declare int constants which will be unique to each button
> - After initializing button variables via findViewById, use
> View#setTag to set the uni
Hi, I am doing this using the following method:
- Declare int constants which will be unique to each button
- After initializing button variables via findViewById, use
View#setTag to set the unique ID to that button, and the
onClickListener to 'this'
- Declare another int variable which will hold
Hi, I am doing this using the following method:
- Declare int constants which will be unique to each button
- After initializing button variables via findViewById, use
View#setTag to set the unique ID to that button, and the
onClickListener to 'this'
- Declare another int variable which will hold
Hi,
When I want to get a GPS fix as quickly as possible do I need to add
this permission:
Or is it the same if I already ask for the following:
Or do I need to use both?
Thanks in advance,
Willem
--~--~-~--~~~---~--~~
You received this message because you are
Hi Karl,
If you just care how to set command line option in Eclipse, you can
set it in run configuration.
It's under the "Target" tab->Additional Emulator Command Line Options.
On 1月20日, 下午10时42分, Karl Ostendorf wrote:
> This is also my experience. For example, setting the timezone option:
>
Building apps with the SDK is apparently NOT enough to insure API
compliance
as the example with the SlidingDrawer showed - the app was build with
the latest SDK
1.0 r2 and without using reflection or any other "funky" access.
I firmly believe that we as developers, have the most vested interest
Any ideas? Anyone?
--~--~-~--~~~---~--~~
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
andr
we had something similiar in an older release of openintents,
called "alerts". never got around to test it on the current
release, but if there is interest we could revive it, shouldn't be
to diffcult.
zero
openintents.org
On Feb 7, 9:57 pm, Christoph Studer wrote:
> Sweet! Thanks for the reply
OK. I found it faster than I thought or I would have waited to make
that last reply.
You have two options:
1.) put the parcelable in an intent, then get it back out.
-- this would be instead of calling the Creator yourself. This is
actually where I saw the call to setDataPosition(0), in the
Dianne,
In this particular case, the SlidingDrawer class is not "private", it
is "public" but it is in the
"package com.android.internal.widget" package. This ".internal." (and
the lack of official documentation on it) is the only clue you get
that this class is probably not intended to be used d
I don't think you are missing anything. I haven't finished my test
either. I am in the same situation. My hunch is that the Parcel has
a lifecycle that must be followed. By lifecycle I mean in the same
way that when you write to a nio ByteBuffer you call flip to prepare
the ByteBuffer for read
Hi,
I'm trying to figure out a way to display different option menu groups
at a time based on various events.
For instanece, if the click listeners on certain views have been
triggered, the activity should bring up a specific option menu. On the
other hand if they are not on focussed, by pressing
Also, adding/receiving other calls while on an existing doesn't seem
to send any new events.
On Feb 8, 3:21 am, songs wrote:
> Hi,
>
> I'm a little confused by what I'm seeing with regards to phone state
> transitions via the PhoneStateListener.
>
> When I receive a call, this is what happens:
>
Hi,
I'm a little confused by what I'm seeing with regards to phone state
transitions via the PhoneStateListener.
When I receive a call, this is what happens:
(call comes in)
RINGING -> IDLE
(I pick up)
OFFHOOK
(I hang up)
IDLE
It's that first transition from RINGING to IDLE without any
in
Thanks for the response!
It'll be nice to be able to make a custom DTMF dialer.
Too bad about not being able to send a signal to bring up the dialer
for an existing call. My convenience app will only be able to solve
one issue instead of two...
Thanks,
Steve
On Feb 2, 3:08 pm, David wrote:
>
Hmm,
This sounds very similar to my situation. My game update loop takes the lock
just once, updates the game state (a relatively fast operation), releases
the lock and then performs rendering to a surface (a relatively slow
operation). The game currently executes the loop in about 50ms. The amount
I agree it's not necessary if you're building apps with the SDK, but I
see it's primary usage as being by developers wanting to check an apks'
compliance level and its' results would be firmly tied to the android
version and thus the SDK version, so an API checker from the 1.0 SDK may
generate
I'm not sure if it should be part of the sdk. any app created with the
sdk already would pass this check.
It should more be a tool built into the normal make process so you get
warnings like you get right now if you change the api.
Additionally it could notify the developer and maybe show him a
Looks like we're on the same page :).
Just PLEASE make this a public API checker (possibly as part of the
SDK). I'd happily include the check into AndAppStore, and I'm sure Shane
would be interested in putting into SlideME as well.
Al.
Romain Guy wrote:
> That said, it could be interesting to
"I'd rather trust the developers to do the right thing. "
That's probably how Microsoft felt about Windows developers before the
first virus came along.
With APK API checking at point of distribution (AndAppStore, Market,
SlideME, etc.), we could cover most user installs. I fully agree that
i
That said, it could be interesting to flag "bad" apps on Market and
warn the user that the app he's about to download might break with a
future update of the system :))
On Sun, Feb 8, 2009 at 2:06 AM, Romain Guy wrote:
> It would be way too costly to do it at install time (both in CPU and
> disk
It would be way too costly to do it at install time (both in CPU and
disk space.) We could do the check during the upload to Market but
that wouldn't solve the issue with apps installed through other means
(especially alternatives to Market.) I'd rather trust the developers
to do the right thing.
Is checking API usage in a apk feasible? That way problems could be
picked up at distribution or installation time?
Al.
Romain Guy wrote:
> That's the whole point of the SDK. It does NOT let you use private
> APIs since they are stripped out of the SDK. If you compile your app
> against the git
That's the whole point of the SDK. It does NOT let you use private
APIs since they are stripped out of the SDK. If you compile your app
against the git tree or a custom SDK, there's not much we can do. It's
also up to the developers to be reasonable.
On Sun, Feb 8, 2009 at 1:43 AM, Al Sutton wro
Maybe an API compliance test should be run as part of any app build.
Does an API usage checking tool exist? and is it publicly available?
Al.
Jean-Baptiste Queru wrote:
> Even worse, it hurts the entire ecosystem, by making users believe
> that plaftorm upgrades have bugs when in fact the appli
Romain Guy wrote:
>
> Please, please don't use private APIs, it only hurts the users :(
>
Got to admit my local doctor rarely sees people complaining about
injuries caused by private API usage, but I haven't checked with the ER
yet ;).
Al.
--
==
Funky Android Limited is registered in Eng
Hi, sorry for asking some questions that might seem stupid to some - i
don't have a G1, only the emulator: if in an app i use let's say
HttpUrlConnection to send some stuff to a server, and then i don't
need it any more (basically i don't use it anymore):
1) Does Android know i'm needing the inte
I figured out what was causing my particular problem. Both the method
that draws the SurfaceView and the method that handles the touch
events were synchronized with the same object. I'm guessing the
delays were caused because the touch event handler method couldn't
access this object while the d
The API Demos has examples. Checkout StatusBarNotifications and
NotifyingService.
For your example
Vibrating:
// if vibrate on- after a 100ms delay, vibrate for 200ms, pause for
150
// ms and then vibrate for 500ms.
notification.vibrate = new long[] { 100,200,150, 500 };
if you are not particula
96 matches
Mail list logo