I created one resource file with colors, and i can change only the entire
background. I can't change color for widget.
I want to change background for the indicator where is a char sequence and
an icon. Resource files are following
Colors:
resources
drawable name=red#7f00/drawable
do you have a solution?
On Sep 22, 11:50 am, ZIN [EMAIL PROTECTED] wrote:
I saw in the properties MediaRecorder.AudioEncoder.AMR_NB, so the only
format audio recorder type is .AMR
But the music media in Android can't play this format?
What can i solve this problem?
have you find a solution?
On Sep 22, 11:50 am, ZIN [EMAIL PROTECTED] wrote:
I saw in the properties MediaRecorder.AudioEncoder.AMR_NB, so the only
format audio recorder type is .AMR
But the music media in Android can't play this format?
What can i solve this problem?
As I said, you need to supply your own complete graphics. All you are
doing here is making the tab a solid color. You need to draw your own
tab with the focus image using the color you want for focus.
But honestly, I would strongly discourage you from doing this. If you
are just changing the
You don't. Applications aren't allowed to inject events into other
applications.
If you are wanting to do automated testing, you can use the
Instrumentation APIs to write a separate .apk that injects events into
another .apk it is testing, but both of these need to be signed with
the same
On Sep 22, 4:29 pm, Mark Murphy [EMAIL PROTECTED] wrote:
Try ACTION_VIEW. For whatever reason, they flipped the order around of all
those Intent names.
It was done to keep the constant naming conventions consistent.
--~--~-~--~~~---~--~~
You received this
No activities are purely a stack, sorry.
On Sep 22, 5:02 pm, chouman82 [EMAIL PROTECTED] wrote:
this should be something simple but yet i can't seem to find the
answer anywhere.
I have a parent activity that starts a sub activity. From the sub
activity, i want to be able to go back to the
Days pass but I still can't find an answer.
I try to trace stack, but I can't understand how the system get
position parameter since the source code of SDK is not available:
ListView.performItemClick(View, int, long) line: 2968
AbsListView$PerformClick.run() line: 1406
When I call
Here is my problem.
when I setContentView(map), only a grid is displayed. the ddms logs
have the following messages
09-23 14:05:41.131: WARN/Maps_Persistence(447): Couldn't find file: /
data/data/MapAppProj.MapAppPack/files/DATA_Preferences
09-23 14:05:41.221: WARN/Maps_Persistence(447):
Hi all,
Now I meet a trouble with android. I run the android on my developing
board of freescale. I can visit the gmail page, but I can't
login.After sign in name and password and hit the login button, It
show a warning message of Certificate untrusted and the detail MSG
is SSL warning. Then it
I'm an Android novice, but what do you think about this solution?
MediaPlayer mNotify;
mNotify = MediaPlayer.create(this, R.raw.beep);
mNotify.start();
It should play your audio file without problems
On 23 Set, 04:13, CG [EMAIL PROTECTED] wrote:
Hey,
I try to play a local sound in a
Hi,
I'm looking for information about Android app versioning, in
particular with reference with the appstore system.
In this very moment I'm planning to develop an app with some static
contents (eg. music, background, video and pics), but within a couple
of months it will be possible to upgrade
In m5 icon in menu items was displayed both in main menu and in sub
menu.
But in v0.9 my icons in sub-menu simply disappeared.
It is the same thing when the more icon appear when there is too
many items: the items in more have no icons in this case.
I don't like this way of doing, is there any
Hi, I have a ListActivity, so I also have a ListView in it.
I want to use ListView.pointToPosition() in dispatchTouchEvent() of
ListActivity. But when I call MotionEvent.getY(), it returns the Y
coordinate of whole screen, but pointToPosition() needs an local
coordinate.
I tried many getTop() or
Do you need the child activity to return a result in your case ?
On 23 sep, 09:35, hackbod [EMAIL PROTECTED] wrote:
No activities are purely a stack, sorry.
On Sep 22, 5:02 pm, chouman82 [EMAIL PROTECTED] wrote:
this should be something simple but yet i can't seem to find the
answer
Hello All
i am getting only a grid and not map. my ddms log has the following 3
lines and doesn't any one know how to get past this?
09-23 15:10:30.061: WARN/Maps_Persistence(605): Couldn't find file: /
data/data/MapAppProj.MapAppPack/files/DATA_Preferences
09-23 15:10:30.141:
hi,
how to finalizing sqllite cursor???
09-23 10:06:08.646: INFO/dalvikvm(1662): Uncaught exception thrown by
finalizer (will be discarded):
09-23 10:06:08.646: INFO/dalvikvm(1662): Ljava/lang/
IllegalStateException;: Finalizing cursor
[EMAIL PROTECTED] on notes that has not
been deactivated or
read arm format works, in bad quality
On Sep 23, 8:17 am, jphdsn [EMAIL PROTECTED] wrote:
have you find a solution?
On Sep 22, 11:50 am, ZIN [EMAIL PROTECTED] wrote:
I saw in the properties MediaRecorder.AudioEncoder.AMR_NB, so the only
format audio recorder type is .AMR
But the music
sorry,it works
2008/9/23 De San Nicolas Jean Philippe [EMAIL PROTECTED]
another question about sound an recording. I've read that the only way to
record sound is to record it in AMR format. Is it true that the media player
does not read this format? And if it's true, is there another way to
yangrunfeiandroid wrote:
add uses-permission android:name=android.permission.INTERNET/ in
your androidmanifest.xml
good luck for you
Also, in the Android 0.9 SDK, it should be ACTION_VIEW instead of
VIEW_ACTION.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's
sudheer wrote:
Thanks a lot for that pointer. It worked and the errors went away. but
now I have the second problem. I see only grids and no map. How can I
see a map now?
I think that happens if you aren't getting an Internet connection, but
am not completely certain.
Can your emulator
I have at least no trouble displaying Simplified Chinese characters on the
screen (I do not have traditional chars installed, so I cannot check those).
Using Eclipse I simply change my IME and type in Chinese text into the
resource strings and they appear correctly on the screen (at least in
Android is unicode based, so any text will need to be transcoded into
that.
The fallback font in 1.0 supports much of the Simplified Chinese
character set, but not complete. Are you having specific problems?
mike
On Sep 23, 2008, at 9:17 AM, Ludwig wrote:
I have at least no trouble
When you're done using a Cursor before you loose all references to it
you should call close() on it to release the resources it's using.
-Jeff
On Tue, Sep 23, 2008 at 3:09 AM, Wesley Sagittarius [EMAIL PROTECTED] wrote:
hi,
how to finalizing sqllite cursor???
09-23 10:06:08.646:
Tracked down this bug in my own code. Turns out that my .jar file was
incomplete
(missing a .class file). Now that the .class is added back, all works
fine.
- Anthony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Tracked down the same VerifyError in my own code. Turns out that
my .jar file was incomplete
(missing a .class file). Now that the .class is added back, all works
fine.
You might get this error if your .jar is not properly added to the
project as well.
- Anthony
Tracked down the same VerifyError in my own code. Turns out that
my .jar file was incomplete
(missing a .class file). Now that the .class is added back, all works
fine.
You might get this error if your .jar is not properly added to the
project as well.
- Anthony
Tracked down the same VerifyError in my own code. Turns out that
my .jar file was incomplete
(missing a .class file). Now that the .class is added back, all works
fine.
- Anthony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hmm...
Okay, im beggining the studies of Android, and my goal is to create a
mini-sgbd, finishing it in july/09, so i need to learn about those
details, and im finding it hard to find...
Thanks,
Ramon,
On 22 set, 17:46, Mark Murphy [EMAIL PROTECTED] wrote:
Is there a way to manage data
When using wifi service to enable wifi, I got an error init: no
such service wlan_loader.
All Android's services are in the file /init.rc. Unfortunately, no
wlan service, only API available.
--~--~-~--~~~---~--~~
You received this message because you are
I tried to copy one jpg image to teh sdcard using
push h.jpg /sdcard/dcim/camera
when I open the pictures in the emulator
a redcolor rectangle comes and a blank screen is shown
why so ?
how can I see the copied image in the pictures ?
--~--~-~--~~~---~--~~
You
The confusion (and I will try to update the dox to make this clearer)
is that the color int is in unpremultipled form, but the internal
format for Bitmap pixels is premultiplied.
premultiplied means that the r,g,b components have already been
multiplied by their respective alpha value.
Check this out:
http://nader.shalabi.googlepages.com/androidapplications
On Mon, Sep 22, 2008 at 12:59 PM, sudheer [EMAIL PROTECTED] wrote:
Hello All
I still face the problem of a grid being shown instead of a map. my
manifest file is copied below
?xml version=1.0 encoding=utf-8?
manifest
Try
https://dl-ssl.google.com/android/eclipse/site.xml
If you chose 'Auto-update in eclipse Software Update option, Eclipse will
find itself.
Dipen
On Tue, Sep 23, 2008 at 3:05 PM, blindfold [EMAIL PROTECTED]wrote:
Anyone else having problems getting the update ADT 0.8.0 plugin from
Never mind, I found the direct link
http://dl-ssl.google.com/android/ADT-0.8.0.zip
On Sep 23, 9:05 pm, blindfold [EMAIL PROTECTED] wrote:
Anyone else having problems getting the update ADT 0.8.0 plugin
fromhttps://dl-ssl.google.com/android/eclipse/in order to get started
with
Is there any easy way of doing a similar thing with Android without
creating a layout and intent and launching it for a simple text entry?
I'm not sure about easy, but you can do it using AlertDialog, providing
your own View instead of using a stock implementation.
Or, if this is more like a
for example this one when I click on 'Graphics':
http://code.google.com/android/samples/ApiDemos/src/com/android/samples/graphics/
Going manually to
http://code.google.com/android/samples/ApiDemos/src/com/
I can navigate to the above site, which apparently changed to
Thanks for reporting this issue...it will be fixed soon.
2008/9/23 xtrawurst [EMAIL PROTECTED]
for example this one when I click on 'Graphics':
http://code.google.com/android/samples/ApiDemos/src/com/android/samples/graphics/
Going manually to
The release notes read under Significant API Changes, Improvements to
the Camera API. However, I upgraded my app from SDK 0.9 beta to 1.0
R1, and it runs OK again, but it seems that concerning implementation
of APIs little has improved for using the camera:
1. The camera still cannot be queried
I actually ended up using the AlertDialogSamples.java SDK examples and
found a pretty easy implementation.
Encase anyone run's across this in the future.
On Sep 23, 3:27 pm, Mark Murphy [EMAIL PROTECTED] wrote:
Is there any easy way of doing a similar thing with Android without
creating a
Hi everyone,
We're pleased to announce the release of the Android 1.0 SDK, release 1.
For full information, please see Dan Morrill's blog post:
http://android-developers.blogspot.com/2008/09/announcing-android-10-sdk-release-1.html
SDK Download:
Does anyone know how to set the proxy in R1.0. Thanks!
Glen
--~--~-~--~~~---~--~~
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
Where did you find the NumberFormatException message?
I'm looking for a log of somewhere I could find an indication (error
messages) of why the proxy is failing. I'm using Eclipse/GANYMEDE on
Windows XP. I've tried every combination I can think of with and
without http://, with and without
T-Mobile G1---The First Android Phone has announced,I am very excited.
I don't know how to order the android phone,can somebody talk about
such related things in details?
1) the price is $179, but plus taxes and fees; two-year agreement
requiredd,how about ethe
actual price? how about the
That's a good question. Can developers who are not with T-Mobile get devices?
On Tue, Sep 23, 2008 at 6:55 PM, PowerGUI [EMAIL PROTECTED] wrote:
T-Mobile G1---The First Android Phone has announced,I am very excited.
I don't know how to order the android phone,can somebody talk about
such
how do you get your app uploaded to the MarketPalce
--~--~-~--~~~---~--~~
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
how do you get your app uploaded to the MarketPalce
The App Market is not yet available. The beta of the Market is supposed to
be available at the time the T-Mobile G1 ships in October. Whether
developers will have an opportunity to put their apps in the Market before
then is unclear at
To use proxy connection, you must launch the emulator with -http-proxy
flag.
Usage:
http://code.google.com/android/reference/emulator.html#startup-options
2008/9/23 Glen Wang [EMAIL PROTECTED]
Does anyone know how to set the proxy in R1.0. Thanks!
Glen
It is recommended to build an application-specific keystore with only the
needed certificate(s) in it. If you have a specific server
certificate you want to trust, even if it isn't part of a complete chain,
put in into this store. Same for client certificates that might
be need for authenticating
Hi, been trying to modify the MediaController widget to add a few
custom buttons.
I have tried to subclass it and add buttons to the linearlayout before
te rewind and after tge fast forward with no success... is this even
possible?
I can always create my own MediaController class but that seems
It happens to android emulator, on xp as i know.
I depress mouse pointer to scroll a listview. While it scrolls, the
background drawable disappers. When i release the mouse, the
background still disappear till i move mouse to touch the screen.
This is a harmless issue but makes me uneasy.
hi all
I want to know whether Android support sending a text message
with a port?
If not, whether will be supported in future release?
I find SmsManager#sendDataMessage can be used to send a binary
message with a port. But not found method for text message with port.
Thanks
BR
Hi,
I finally figured out how to set the values of the variables by
looking at the codes and wsdls in the group for ksoap2. Probably I
should write a wiki on this :)
About the net connection problem I entered a hypothetical IP such as
10.0.2.2 and then I had to set the user permission on the
hi,
AssetManager assetManager = new AssetManager();
the constructor of this AssetManager(); is not visible in SDK 1.0...
can anyone show me how to create AssetManager with the path I
defined???
wesley.
--~--~-~--~~~---~--~~
You received this message because you
I can find the encodeBase64() function from the
org.apache.commons.codec.binary.Base64 package in 0.9r1.
It seems that this package is removed from 1.0r1.
Are there any base64 encoding functions available in 1.0r1?
--~--~-~--~~~---~--~~
You received this message
Thank you, butit does NOT fix the problem.
Here is what i added to layout xml of the listview:
...
android:background=@drawable/background
...
android:cacheColorHint=#000
...
android:layout_width=fill_parent
...
On Sep 23, 4:53 pm,
As you may have guessed, the emulator doesn't support Wi-Fi.
jason
On Tue, Sep 23, 2008 at 2:55 AM, Weston [EMAIL PROTECTED] wrote:
When using wifi service to enable wifi, I got an error init: no
such service wlan_loader.
All Android's services are in the file /init.rc. Unfortunately, no
Hello Mark
Y
On Sep 23, 5:17 pm, Mark Murphy [EMAIL PROTECTED] wrote:
sudheer wrote:
Thanks a lot for that pointer. It worked and the errors went away. but
now I have the second problem. I see only grids and no map. How can I
see a map now?
I think that happens if you aren't getting an
Hello Mark
You are right. It has some thing to do with internet access. I am
using a proxy server and I guess that's the reason.
Thanks a lot for the help/suggestions.
Best Regards,
Sudheer
On Sep 23, 5:17 pm, Mark Murphy [EMAIL PROTECTED] wrote:
sudheer wrote:
Thanks a lot for that
Sorry, icon support in the expanded and sub menus has been removed.
For consistency with the rest of the system, we think you should avoid icons
in sub menus. If you're dying to have them though, you can turn your sub
menu into a regular menu item that brings up an AlertDialog.
jason
On Tue,
I go through the API of android.telephony.gsm, but only SMS service is
supported. No packages provide the capability of MMS function?
Does Android provide the APIs to MMS function, similar to WMA2.0?
(but according to the introduction of HTC Dream phone, it does support
MMS feature. How the
I've gone through the package index in
http://code.google.com/android/reference/packages.html,
but there is no any APIs related to AT cmd access.
Do I have other way to enable/use this feature to communicate with
other device?
thanks,
Ring
--~--~-~--~~~---~--~~
Hi I have some question about android development.
We have a H263 codec want to porting to android. Do you know how to
integrate codec or device to Android.
(notes: Our source code is C++)
Hope you feedback.
Thanks!
Neil.He
2008/9/24 PowerGUI [EMAIL PROTECTED]
T-Mobile G1---The First Android
installed
android-sdk-linux_x86-1.0_r1
but resulted into
~$ emulator
Cannot create data directory: /home/sarigama/.android/SDK-1.0
Please specify a writable directory with -datadir.
hmmm ... but it's my home dir
why would android do this to me?
on another machine with the previous version of
I am having trouble accessing my XML resources from outside my main
activity. I suspect this is easy to do, but I am a novice to android/
java and this is driving me crazy.
I want to declare a class so it is not nested, but rather public to
all other classes in my program. However, when I
Yeah, is there an unsubsidized price?
On Sep 23, 5:56 pm, Casey Borders [EMAIL PROTECTED] wrote:
That's a good question. Can developers who are not with T-Mobile get devices?
On Tue, Sep 23, 2008 at 6:55 PM, PowerGUI [EMAIL PROTECTED] wrote:
T-Mobile G1---The First Android Phone has
Greetings, and Congratulations on the launch of Google phone!
Can anyone point me to the hardware specifications which are required
to create a phone running Android?
Thanks in advance.
Rahul
--~--~-~--~~~---~--~~
You received this message because you are
hi,
In SDK 0.9
AssetManager assetManager = new AssetManager();
assetManager.addAssetPath(path);
the constructor of this AssetManager(); is not visible in SDK 1.0...
can anyone show me how to create AssetManager with the path I
defined???
wesley.
I just found that BufferedReader.readLine() undocumentedly and
silently discards those input lines that starts with #! substring.
I checked with java.sun.com documentation and found nothing about #!
prefix at all.
Is it a bug in Android implementation of BufferedReader class??
69 matches
Mail list logo