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?
--~--~-~--~
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?
--~--~-~--~--
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:
#7f00
#77ff
#7700ff00
#7700
Xavier,
Thanks for that clarification. The situation that I'm talking about
is
in fact within a 3rd party library.
After ensuring that the properties files are correctly placed inside
the .apk file, I still get an error when the 3rd party code tries to
access the ResourceBundle.
I've presented
Hey,
I try to play a local sound in a notification. The issue I meet is the
folowing : I am unable to load the file.
My code is :
Uri uri = Uri.parse("android.resource://com.xirgonium.android/raw/
beep");
mNotify.sound = uri;
The package name is the one described in my manifest.
I get the err
Does Android support Chinese Traditional Language(Big5)?
--~--~-~--~~~---~--~~
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 unsubscr
add in your
androidmanifest.xml
good luck for you
在2008-09-23,april <[EMAIL PROTECTED]> 写道:
>
>Follwoing is my code :
>String url="http://www.google.com";;
>Intent i = new Intent(Intent.VIEW_ACTION,Uri.parse(url));
>startActivity(i);
>
>
>I got error:
>"No Activity found to handle Int
Hello Mark
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?
Best Regards,
Sudheer
On Sep 22, 4:16 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> sudheer wrote:
> > I have the same problem.I
Follwoing is my code :
String url="http://www.google.com";;
Intent i = new Intent(Intent.VIEW_ACTION,Uri.parse(url));
startActivity(i);
I got error:
"No Activity found to handle Intent {action=android.intent.action.VIEW
data=http://www.google.com}
I remembered I have used same code to launch we
Just give the listview a height of 0dip and a weight of 1.0.
On Sep 22, 2008 1:46 PM, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> I have a problem to display the view (e.g. Button after the ListView >
which I will bind and popu...
> The list displays perfectly, however, the button at bottom n
If this is the case, then how do I simulate pressing the hardware keys in
other screens (for instance, pressing the right key in home screen)?
2008/9/23 hackbod <[EMAIL PROTECTED]>
>
> As it says, one application inject key events in to another
> application. It would be a huge security hole to
Find out tomorrow
http://www.engadget.com/2008/09/16/its-official-t-mobile-unveiling-first-android-handset-next-tue
On Sep 22, 12:35 pm, BikingBill <[EMAIL PROTECTED]> wrote:
> Is there any source to buy one of these phones at this time? I want
> to make sure our titles look their best on the ha
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 parent activity without
terminating the child activity. Both activities will have UI so i
don't think
> I was able to bring up a web browser with the following in m5:
>
>
> Intent myIntent = new Intent(Intent.VIEW_ACTION, Uri
> .parse("http://www.cnn.com/";));
> startActivity(myIntent);
>
> Now that VIEW_ACTION has b
Hi,
I was trying to set up my app to play a video.
I tried to load it form local and net both, but no way to get it
working: I still receive a "Cannot play video" error.
Basically I used the same src that we are able to find in sample dir.
Here you are my media.xml
http://schemas.android.com
I was able to bring up a web browser with the following in m5:
Intent myIntent = new Intent(Intent.VIEW_ACTION, Uri
.parse("http://www.cnn.com/";));
startActivity(myIntent);
Now that VIEW_ACTION has been rem
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 read
with the mediaplayer the sound that we'we recorded?
2008/9/23 Megha Joshi
thank's. another time...
2008/9/23 Megha Joshi <[EMAIL PROTECTED]>
> Yes...the sample is intended to be used for 0.9 sdk, it wont work correct
> for m5.
>
> 2008/9/22 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
>
> me again...
>>
>> I think Ive resolved the problem with sdcard but I have ano
Yes...the sample is intended to be used for 0.9 sdk, it wont work correct
for m5.
2008/9/22 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
> me again...
>
> I think Ive resolved the problem with sdcard but I have another problem...
>
> the error message in red
>
>
> ERROR/AudioHardware(518): Er
> Fwiw, an EditText is just a TextView that has input methods and such
> set for editing. All of the text layout and other basic behavior is
> inherited from TextView.
Understood. However, I wasn't sure if having the input method be set for
editing would impact scrolling behavior.
--
Mark Murph
Fwiw, an EditText is just a TextView that has input methods and such
set for editing. All of the text layout and other basic behavior is
inherited from TextView.
On Sep 22, 12:54 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > yes, text it more or less 5 times bigger than TextView's area could
me again...
I think Ive resolved the problem with sdcard but I have another problem...
the error message in red
ERROR/AudioHardware(518): Error 16 opening record channel
ERROR/AudioFlinger(518): openRecord returned error 16
ERROR/AudioHardware(518): Attempt to close without open
I run the sam
Hello,
I try the same sample and I have nearly the same result.
have you installed an sdcard and try another time? Have you a positive
result?
I try to install an sdcard but I've always the same line In the
logcat: "sdcard access error"
I think I've an error in the path but don't arrive to resolve
> Is there a way to manage data without using SQLite?
Local XML files. Local JSON files. Local
anything-else-you-have-some-parsing-code-for files. SharedPreferences.
Is there a particular problem that you are trying to solve for which you
feel SQLite is unsuitable? We might be able to provide mo
Is there a way to manage data without using SQLite?
--~--~-~--~~~---~--~~
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 f
Is there any source to buy one of these phones at this time? I want
to make sure our titles look their best on the handset when it ships.
Thank you,
William Volk
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "And
Hi,
I want to display a page with Google Visualization stored in device,
but got an error message like this:
Console: ReferenceError: Can't find variable: google line: 5 source:
file:///android_asset/area_chart.html
line 5 referers to this line -google.load("visualization", "1",
{packages:["
On 22 Wrz, 19:54, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
>
> I'm really sorry. All through this discussion, I have been thinking you
> were using EditText, not TextView.
no problem, will return to my original setup
>
> So, going back to your original situation...
>
> It might not be possible
> PS: Any thoughts on another problem I posted earlier about focus
> issues when a WebView partially obscures a ListView? - DS.
I saw that one. I didn't have any ideas. It feels like a bug -- WebView is
more complicated and has more third-party code in it than any other
widget, so it's going to b
On 22 Wrz, 19:54, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
>
> I'm really sorry. All through this discussion, I have been thinking you
> were using EditText, not TextView.
no problem, i'll return to my initial configuration. it's a pity that
it must be so complex - simple TextView wuyld be much
As always, Mark Murphy to the rescue. Thanks a bunch, Mark.
Regards,
DS.
PS: Any thoughts on another problem I posted earlier about focus
issues when a WebView partially obscures a ListView? - DS.
On Sep 22, 2008, at 3:55 PM, Mark Murphy wrote:
>
>> Here is a simple test activity that is una
You can't just change the color, you'd need to make your own tab
drawable graphic (with the various required states) and have it use
that instead.
On Sep 22, 8:37 am, "Valentin Chifa" <[EMAIL PROTECTED]> wrote:
> Can sommebody help me with a litle question. I'm beginner in
> Android's Pl
> Here is a simple test activity that is unable to show www.google.com.
> However, www.yahoo.com shows properly. It is strange that the same
> URL, "http://www.google.com/"; renders just fine in the web browser
> application built into the SDK.
This baffled me for the longest time, but somebody
> yes, text it more or less 5 times bigger than TextView's area could
> show.
> i found in other threads that i should yet use ScrollView as a
> TextView parent. are you sure i don't have to use ScrollView?
I'm really sorry. All through this discussion, I have been thinking you
were using EditTex
Hi,
Here is a simple test activity that is unable to show www.google.com.
However, www.yahoo.com shows properly. It is strange that the same
URL, "http://www.google.com/"; renders just fine in the web browser
application built into the SDK.
Any ideas?
Thanks,
DS.
public class WebVie
> I have a problem to display the view (e.g. Button after the ListView
> which I will bind and populate from a CursorAdapter).
> The list displays perfectly, however, the button at bottom never shows
> up.. If I put the button on top of the list, it works fine.
Have you tried putting a specifi
On 22 Wrz, 18:58, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > i removed ScrollView and yes i can see TextView's scrollbar but cannot
> > scroll TextView in any way (finger/mouse or keyboard).
>
> Do you have enough text in there to require scrolling? If there's nothing
> to scroll, it won't scr
Hi,
I have a problem to display the view (e.g. Button after the ListView
which I will bind and populate from a CursorAdapter).
Here is the part of the XML file:
The list dis
It seems like you want to check if any Activity from your app is visible to
the user. There is no easy way to do this except for checking in each
Activity. Or you can do what the Messaging app does, and show the
notification regardless of whether the Activity is visible to the user or
not.
2008/9
> i removed ScrollView and yes i can see TextView's scrollbar but cannot
> scroll TextView in any way (finger/mouse or keyboard).
Do you have enough text in there to require scrolling? If there's nothing
to scroll, it won't scroll.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy
On 21 Wrz, 20:44, Mark Murphy <[EMAIL PROTECTED]> wrote:
> Delete the ScrollView, then set android:singleLine="false" in your XML
> layout.
>
> TextView does its own scrolling, and putting self-scrolling widgets in a
> ScrollView causes problems.
>
> --
> Mark Murphy (a Commons Guy)http://commo
i would like be able to find the authors write books Android in China.
Through our efforts, For the popular android to do something.
If you are interested in the ability, welcome to join us.
mail: [EMAIL PROTECTED]
beijing
--~--~-~--~~~---~--~~
You received this
Can sommebody help me with a litle question. I'm beginner in
Android's Platform and i want to change the defult color orange when a tab
is selected and i d'ont know from where. A short sequece code will be
helpfull for me. Thanks a lot!
--~--~-~--~~~---~--~
I am developing an application and would like to have the user
navigate the app using gestures. I tried using the GestureDetector but
some of the gestures are not detected. I am trying to allow them to go
backwrds and forward by doing a left-to-right and right-to-left
gestures. I tried to detect t
Hi
When using the Androdi SDK emulator, I saw that when you make calls
and sms messages the Android phone keeps a record of when these were
made.
For example there is a list of all the recent calls which includes
times and dates.
But when I look at the database of the Android platform i cannot s
Any luck in getting the onFling or onScroll event to fire? I am facing
the same problem.
On Sep 12, 5:14 pm, Mark Hansen <[EMAIL PROTECTED]> wrote:
> Ok, I'll keep trying it.. for some reason the events aren't firing
> such as Fling etc.
>
> On Sep 12, 10:12 am, Kavi <[EMAIL PROTECTED]> wrote:
>
Hi all!
A quick question - is there a way to determine if an activity is
visible to the user or not? I'd like to display a notification to the
user but only then when the user is not seeing any of my Activities.
I figure that one possibility is to raise a flag in onResume() and
lower it in onPau
Hi
When I make a test call using the emulator the phone seems to make a
record of all the calls made.
ie when you look at the recent calls list on the emulator, it knows
when the last calls were made.
But when I interrogate the database file:
/data/data/com.android.providers.contacts/databases/c
Hi all,
I'm fairly new to android. I've been building a very basic SMS
application as a way to get to know the system but I'm having problems
reading a text file back into the app.
The code looks like so:
FileInputStream inFile = openFileInput(SMSFile);
InputStreamReader
hi clavigo,
afaik, to access google spreadsheets you will need a *google account*,
not nescessarily a gmail account.
On Sep 22, 1:16 pm, clavigo <[EMAIL PROTECTED]> wrote:
> Some time after participating at the challenge, I got an email
> suggesting to fill out a form for further information abou
Hello,
My problem is that I can not to scroll horizontally. I have table
from several columns and all theses columns do not fit to screen. So,
I need to scroll it horizontally. I tried to use ScrollView, but this
view can scroll only vertically.
So what I must to use, that I can s
As it says, one application inject key events in to another
application. It would be a huge security hole to allow such things.
On Sep 22, 1:54 am, Tigers <[EMAIL PROTECTED]> wrote:
> How do I simulate a keyevent in the home screen?
> I can simulate a keyevent with "windowManager.injectKeyEvent"
It means that you didn't call unregisterReceiver() for something that
you had previously registered. You must unregister by the time
onDestroy() returns.
On Sep 22, 2:29 am, Wesley Sagittarius <[EMAIL PROTECTED]> wrote:
> hi all,
>
> May I know what is this error below??? it happen when I trying
In browser settings, there is an option to enable/disable gears and a
place to view websites that have been granted permissions to use
gears.
On Sep 18, 8:03 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> I don't see it mentioned on either the Gears site or anywhere in
> Android-dom...
>
> Is there
goat wrote:
> In browser settings, there is an option to enable/disable gears and a
> place to view websites that have been granted permissions to use
> gears.
Interesting...I had been focusing looking at WebSettings and didn't
think to examine the Browser activity's own preferences.
I'll have
On 21 Wrz, 20:44, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> Delete the ScrollView, then set android:singleLine="false" in your XML
> layout.
>
> TextView does its own scrolling, and putting self-scrolling widgets in a
> ScrollView causes problems.
thank you Mark so much, i'll try your advice
Peterman wrote:
> I would like know if we can create a custom calendar with android.
>
> The reason will be show month a month and can pick some days to view
> if a client has a appointment.
There is no built-in Calendar widget, or Events content provider, in
Android 0.9 that I'm aware of.
Thi
Some time after participating at the challenge, I got an email
suggesting to fill out a form for further information about showcasing
my application. The form was made available by this link:
https://spreadsheets.google.com/a/google.com/viewform?key=
(Key value omitted here.)
When clicking on t
sudheer wrote:
> I have the same problem.I made all mentioned changes to
> androidmanifest.xml.
> here is my manifest file
>
> ?xml version="1.0" encoding="utf-8"?>
> http://schemas.android.com/apk/res/android";
> package="BuddyProj.BuddyPack">
> android:name="android.permission.ACCESS_C
stanchat wrote:
> I sort of new to this and downloaded the following jars. Where is the
> actual source code located? I do not see a package with src and lib.
http://ksoap2.sourceforge.net/
Click on either Browse Source (if you want to peruse it online) or SVN
Access (if you want to do a Subv
Hi
I would like know if we can create a custom calendar with android.
The reason will be show month a month and can pick some days to view
if a client has a appointment.
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
I didn't realize I was using the "wrong order" in my first test, and
the "right order" in my recent test...
Thanks for the tip hackbod, I'll try to remember that for future
drawables...
On 22 sep, 10:51, hackbod <[EMAIL PROTECTED]> wrote:
> The drawabletries each item in order, until it finds the
Hello All
I still face the problem of a grid being shown instead of a map. my
manifest file is copied below
http://schemas.android.com/apk/res/android";
package="BuddyProj.BuddyPack">
Ca
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?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Oops, I'm wrong, I can't get position.
Is there other ways to get position in a ListView using X and Y
message in MotionEvent?
On 9月22日, 上午9時24分, Urakagi <[EMAIL PROTECTED]> wrote:
> That sounds good, but I also have a problem for it.
>
> protected void onListItemClick(ListView l, View v, int pos
hi all,
May I know what is this error below??? it happen when I trying to quit
my activity???
09-22 09:18:39.226: ERROR/ActivityThread(1167): Activity
com.basic.ui.BasicUI has leaked IntentReceiver
[EMAIL PROTECTED] that
was originally registered here. Are you missing a call to
unregisterReceive
hi,
I don't know how to make it transparent/translucent background???
I try the same code as in ApiDemo it working inside the demo... then I
copy as similar as ApiDemo...
but it does not working in my project... did I miss out something???
it only show black background, but I wants it to be trans
How do I simulate a keyevent in the home screen?
I can simulate a keyevent with "windowManager.injectKeyEvent" in my
application, but after I send the KEYCODE_HOME(Go to Home Screen), the
other simulate keyevent can't be sent.
The log is as below, please help me, Thanks.
09-22 08:34:13.911: WARN/
Hi,I connect to gmail with developing board with android. But I can't
login and it show a warning cetificate untrusted. Is it for the
android can't store the CA?
On 9月8日, 下午11時47分, maennel <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am trying to connect with Android to a server which I develop
> mys
Oh, it explains what it fails the first time.
I didn't realize the second time I tested it, I used the "right"
order.
Thanks for that tip !
On 22 sep, 10:51, hackbod <[EMAIL PROTECTED]> wrote:
> The drawabletries each item in order, until it finds the
> first that matches the current state. So y
Luckily, it's what I've done, but I will try to remember that for
future drawables :p
On 22 sep, 10:51, hackbod <[EMAIL PROTECTED]> wrote:
> The drawable tries each item in order, until it finds the
> first that matches the current state. So you want the one with the
> least specific state (in
Don't use Display.getOrientation(), it is the low-level screen
rotation constant.
On Sep 20, 12:54 pm, Huebi <[EMAIL PROTECTED]> wrote:
> There are several classes where int values for screen orientations are
> available (Configuration, ActivityInfo). Unfortunately, none matches
> the values retu
That is behaving as expected -- startActivity() launches a new top-
level activity. You need to explicitly add tabs just like you put
your first in the tab host.
On Sep 22, 1:09 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
> Ok, here is a sample project:http://tinyurl.com/test-tabs
> Two tabs
The drawable tries each item in order, until it finds the
first that matches the current state. So you want the one with the
least specific state (in this case the one that requires no states) to
be after ones with more specific state requirements.
On Sep 12, 4:00 am, Guillaume Perrot <[EMAIL P
Well, this is another problem(logic problem)...
But my first solution to your problem is:
First, you need to know what's the latitude, longitude of your central
point in your MapView...
Second, you catch the point where user make a mouse click ( the up
left side of screen have the coordinates 0,
In fact I was hacking "focus" to handle a "selection" mechanism.
It will be useful in a next version of the SDK to have both states
handled.
I also found in the documentation: "It also dispatches Tap and Focus-
change events to optional listeners. "
But we can only listen to focus-change, I had to
For those who are interested:
@Override
protected boolean onTap(int index)
{
/* Set focus on tapped item so that he's drawn over others */
setFocus(getItem(index));
/* Consume tap event */
return true;
}
@Override
public boolean onTap(GeoPoint p, MapView mapView)
{
> It's probably because MapView doesn't set the state of the bubbles.
In fact it works well with state_focused, but we have to handle the
focus ourself, I had to override the onTap functions to set the focus
myself.
I am not sure to understand the concept of focused overlay item...
On 12 sep, 18:
I have the same problem.I made all mentioned changes to
androidmanifest.xml.
here is my manifest file
?xml version="1.0" encoding="utf-8"?>
http://schemas.android.com/apk/res/android";
package="BuddyProj.BuddyPack">
Ok, here is a sample project:
http://tinyurl.com/test-tabs
Two tabs, each tab is an activity.
There is one menu item in each tab that allow to jump to the other via
an intent.
The problem is, instead of jumping into the expected tab, a new
activity is launched full screen.
I tried different combin
:D. Thank "ema first". Does anyone help me to built the application to
turn off the Android mobile ? What is the key character of Red-Key
(Cancel) ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers"
81 matches
Mail list logo