Hello Hackbod
I added uses-permission id=android.permission.DUMP in the
android manifest.xml file and ran the application again.but the result
seem to be the same. a 0 size logfile is created at the specified file
path. am I doing any thing wrong?
any pointers are appreciated.
Best Regards,
Sudhe
This may not be necessary. You will have onPause() called when the
screen is turned off, which is the usual situation while the lock
screen is up -- so you would only be unpaused when the screen is
turned on with the lock screen, which is not that often. The behavior
of going to sleep is slightl
Thank you for you answer. I've added the additional parameter to the
values and this works now. But the problem with the restart and the
lose of meta information is still there. At the moment I am recording
something and the meta information is added to the database which can
be seen in the music
Yes... I was trying to do that.
I am creating ContentProvider which stores data in a table with (for
now) only 2 fields:
_id (unique identifier)
_data (a String which stores the full path of the file)
I was unable to call openInputStream or openOutputStream on the Uri
cause of documentation was no
I did have the same error. It turned out to be because of the proxy
blocking the communication to the geocoding service. Before I had
system admin guys to poke a whole in the firewall for Android because
I could not configure the proxy for maps. The problem was that the
geocoding service probably
I've got the context menu showing up properly but can't seem to catch
the onclick event on it. I'm guessing I'm missing something fairly
obvious but I'm stumped.. anyone have any ideas?
Code here:
notesCursor = nm.GetAllNotes();
NotesViewAdapter nva = new NotesV
It seems that nine-patch behaves wierdly when scaled down.
I created button and specified it to be 20x20 pixels. Button drawable
is 44x48 and has 2x2 stretchable area. Downscaling produced weird
results. In fact, the result didn't seem to be the result of scaling
at all. It looked like result of o
It is normal.
The whole point of a 9-patch is to preserve the corners. It is
therefore not really possible to scale them down correctly.
On Tue, Sep 9, 2008 at 10:15 AM, sahn0 <[EMAIL PROTECTED]> wrote:
>
> It seems that nine-patch behaves wierdly when scaled down.
> I created button and specifi
Hi ,can anyone help me with this?
I installed android-sdk-windows-0.9_beta on my laptop.
I use ADSL and home router was set to auto dialing.
My laptop get ip address by dhcp,so My laptop can access the
web without any proxy settings.
IP Address. . . . . . . . . . . . : 192.168.0.100
Subnet Mask
Sure.
And the ADT on Ganymede.
Is that also what you are using?
Perhaps some setting there changed slightly?
I cannot say how you did it, but the only way I now found is
New Android Project (import form existing source)
This works and even recognizes the name, but unlike Import
where you have t
You need to modify the code of gdata.
The certificates used by HttpURLConnection are not available to
validate the hostname during a SSL connexion.
A small workaround below.
around line 332 in com.google.gdata.client.http.HttpGDataRequest
You might also want to disable GZIP compression as it seem
http://jinnov.googlepages.com/index.html
--~--~-~--~~~---~--~~
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 gr
hello,
no I using the m. Is it the reason?
thank's for the response...
2008/9/8 Megha Joshi <[EMAIL PROTECTED]>
> Are you using the latest sdk 0.9?
>
> 2008/9/7 jphdsn <[EMAIL PROTECTED]>
>
>>
>> hello, I'm a new french developer on android.
>>
>>
>> I try the "SMSAPISample" but it doesn't work
2008/9/9 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
> hello,
>
> no I using the m. Is it the reason?
>
Yes, please use the latest sdk and ADT plugin.
>
>
> thank's for the response...
>
> 2008/9/8 Megha Joshi <[EMAIL PROTECTED]>
>
>> Are you using the latest sdk 0.9?
>>
>> 2008/9/7 jphdsn
Well, you can scale down and preserve corners at the same time. Just
copy four image corner parts of (width/2 x height/2) size each. This
of course is not an ideal solution, but it will work for most
drawables & most sane sizes (will work for my case too).
Just a proposition. I checked out help a
2008/9/9 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
> Yes... I was trying to do that.
> I am creating ContentProvider which stores data in a table with (for
> now) only 2 fields:
> _id (unique identifier)
> _data (a String which stores the full path of the file)
> I was unable to call openInputStream
> but isn't that why you list an app's permissions before
> installation (as shown in the marketplace screens)?
To some extent yes, but there are some permissions that are just not
available, for example rebooting the phone. Consuming SMSes is another
one of these. The question of where to draw t
Hello,
Is there any documentation on the current state of the code anywhere?
Regards,
Kelsey Wright
On Aug 22, 3:31 pm, l1ghtm4n <[EMAIL PROTECTED]> wrote:
> I've decided to open source the Text2Speech project for Android. The
> code can be found athttp://code.google.com/p/android-text2speech/
OK thank you. I hope give you help if I can in the future.
2008/9/9 Megha Joshi <[EMAIL PROTECTED]>
>
>
> 2008/9/9 De San Nicolas Jean Philippe <[EMAIL PROTECTED]>
>
>> hello,
>>
>> no I using the m. Is it the reason?
>>
>
> Yes, please use the latest sdk and ADT plugin.
>
>>
>>
>> thank's for t
Thanks Stefan, for providing the additional route. I just included a
trivial one and the hope is that users will input what ever route data
source makes sense for them.
In the future I might work on enhancing the program to include a set
of routes to choose from and the ability to just specify di
I'm assuming RTP == RTSP. The emulator doesn't support using RTSP
because it doesn't handle routing of UDP packets properly.
However, the devices will support RTSP. In a sense, you are trying to
solve a problem that doesn't exist, although I realize not being able
to test on the emulator is frust
Since Android supports downloadable widgets, does anyone know if the
upcoming Application Market will support the sale (or free download)
of widgets?
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Androi
> I've got the context menu showing up properly but can't seem to catch
> the onclick event on it. I'm guessing I'm missing something fairly
> obvious but I'm stumped.. anyone have any ideas?
You could try this approach:
1. Calling registerForContextMenu() in your activity, passing in the ListV
One think I noticed is that this does not seem compatible with the
latest release of the SDK (0.9), which removed javax.sound. So many
many fixes are going to be needed to port it to the new SDK. Does
anyone know if there is an API in Android that is intended to replace
this funcitonality?
Kelse
Are you using the emulator behind a proxy? Can you load web pages in
the browser? Can you provide the output from "adb logcat" when you try
running this program?
Cheers,
Justin
Android Team @ Google
On Sep 4, 7:03 pm, Cezar Augustus Signori <[EMAIL PROTECTED]>
wrote:
> Thanks for the response!
>
Are you sure there's no proxy? 100% of the cases I've seen with these
symptoms have been the result of a proxy. Try searching this forum
for some solutions to dealing with proxies on Windows.
Cheers,
Justin
Android Team @ Google
On Sep 4, 8:38 pm, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
>
widgets = applications ?
Yes (free from the beginning, sale some 'time' later)
Regards, plusminus
# anddev.org - Worlds largest Android Developer Community in the
world
On Sep 9, 2:57 pm, BikingBill <[EMAIL PROTECTED]> wrote:
> Since Android supports downloadable widgets, does anyone know if t
Thanks Peli, it works like a charm now! In fact my compass code needed
no adaptation, but it was very nice to simulate it to make sure. Your
demo sample was particularly helpful. Great stuff! Before I had just
not realized that I had to download the documentation bundle rather
than read the variou
The javax.sound stuff should be replaced by equivalent functionality
from android.media.MediaPlayer which hopefully it not hard using a low-
level wrapper around the audio function calls. However, Android (SDK
0.9 beta) lacks support for in-memory sound synthesis and playback, so
one is forced to
My concern would be dealing with javax.sound.sampled.AudioFormat
though, which is sprinkled throughout the code, and not just in the
players section.
On Sep 9, 4:28 pm, blindfold <[EMAIL PROTECTED]> wrote:
> The javax.sound stuff should be replaced by equivalent functionality
> from android.media
Ok, I implemented onContextItemSelected and am now able to get ahold
of the menu click.. the issue now is that I can't seem to get the
position of the the ListView click.
In other words, the user holds down on the ListView which spawns the
ContextMenu, but the value for the ListView position is n
> In other words, the user holds down on the ListView which spawns the
> ContextMenu, but the value for the ListView position is not present?
If this is a ListActivity, you could try getSelectedItemId() or
getSelectedPosition().
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Cod
Yea I tried both of those, neither seem to return the position on the
ListView.
It appears onListItemClick is never called when I when I'm creating my
ContextMenu.
On Sep 9, 5:59 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > In other words, the user holds down on the ListView which spawns
The OnItemClickListener is used to listen to clicks on the ListView,
not in a context menu. There is another callback to override to
respond to clicks in a context menu:
Activity.onContextItemSelected(MenuItem)
On Tue, Sep 9, 2008 at 3:19 PM, Mark Hansen <[EMAIL PROTECTED]> wrote:
>
> Yea I tried
Oh and if you want to know what item the user long pressed to create
the context menu, you cannot use getSelection(), because selection
does not exist in touch mode. Instead, in onContextItemSelected(), you
can get the ContextMenuInfo, cast it to AdapterContextMenuInfo, and
this will give you the
I'd like to theme one of my ListViews. I'm having no luck. I can apply a
theme to the activity itself, and that seems to be taking, but the theme
doesn't seem to be working for the list entries themselves --- they're
being created at run time by a SimpleCursorAdapter. Either I need to
separately se
Hi all!
Same problem here. Any advances/diagnostic?
Best regards,
Jorge
On Aug 26, 10:05 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > I just checked our changelogs and this is a bug we fixed after the SDK
> > was cut. Sorry for this inconvenience, the next SDK will provide you
> > with
This also uses javax.sound to write the sound file in the first place,
which will need taken care of.
On Sep 9, 4:41 pm, kelseywright <[EMAIL PROTECTED]> wrote:
> My concern would be dealing with javax.sound.sampled.AudioFormat
> though, which is sprinkled throughout the code, and not just in the
Data messages sent over SMS are limited in length (133 bytes
actually), so this is probably the crash that you are running into.
The port number is the port on the receiving device that the receiving
service is listening on. Presumably your service is bound to this port
and waiting for messages.
This did the trick.
I did just that and it pulled I have it now.. thanks for the tips
guys.
Mark
On Sep 9, 6:29 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> Oh and if you want to know what item the user long pressed to create
> the context menu, you cannot use getSelection(), because selection
I'm refactoring code cause I made a huge number of tests before
getting something right.
I'll post it ASAP.
Thank you for your support.
On 9 Set, 20:10, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> 2008/9/9 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
>
>
> > Yes... I was trying to do that.
> > I am cre
I found the DST information of TZ DB is incorrect.
Here is an example.
String strTZ = "Asia/Taipei";
TimeZone tz = TimeZone.getTimeZone(strTZ);
Log.d("wc", strTZ + " UTC=" + tz.getRawOffset() / 1000 + " DST=" +
tz.useDaylightTime());
The output is
Asia/Taipei UTC=28800 DST=true
As we know, the
How about porting Python to Android instead. Just like Nokia does for
S60.
Regards Gary
On Sep 7, 11:21 am, PowerGUI <[EMAIL PROTECTED]> wrote:
> This is the original link in android-challenge discuss
> group:http://groups.google.com/group/android-challenge/browse_thread/thread...
>
> Hello ev
I mean I want to call the webview's zoom function to show the
zoomslider.
So I using WebView view = new
WebView(mContent);view.invokeZoomPicker();
why it can't work?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "An
Hello everyone,
I wanted to find out if there is any way for a native applicaion
written in C/C++ can start an android app. From this group I could
find answers to how to run a native app on the Andorid simulator and
also how to start an android app through adb shell (am start -n test/
test.Hello
Thanks Megha.
I think my first question is:
In the map application on Android, I can not only see the street view
(blue outline on the map) but also I can click one location and launch
the street view (like in Google Map).
I am developing an Android application, I am wondering whether the SDK
h
i have a few apk packages that I want to push on the emulator.
the push fails saying that the filesystem is a read only file system.
Some background, I built the helloworld and started the emulator. Once
the emulator is up I did a adb push which failed since the file system
is read only.
Any wa
Hello,
When the android:windowIsTranslucent flag is set, instance state is
not saved properly when changing orientations if you have multiple
activities on the activity stack.
For example, given the following two activities:
ActivityTest & SecondActivity.
1) ActivityTest launches SecondActivity
I'm referring to javascript/web widgets. I believe (correct me if I'm
wrong) that Android supports downloadable web widgets as Nokia has
started to (and I wish the iPhone did).
Thank you.
Bill
On Sep 9, 12:36 pm, plusminus <[EMAIL PROTECTED]> wrote:
> widgets = applications ?
> Yes (free from
For PhoneIDE system,adding some script languate,more than one
(Waiting for the android code,hahaha!).
so the PhoneIDE will run without remote server as a second way.
BTW,an chinese developers has already ported Python to Android.
Best Regards
PowerGUI
-
Android DotPh
For PhoneIDE system,I am adding some script languate support ,more
than one
intepreter language will available(also Waiting for the android
code,then we can modify
the android system for adding more powerful feature! hahaha!).
so the PhoneIDE will run without remote server as a second way.
BTW,a
I posted the ContentProvider implementation here:
http://lucabelluccini.blogspot.com/2008/09/android-developers-google-group-focus.html
Soon the WebView section.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Andro
Where are you pushing the files? They should be pushed in /data, not /system.
On Tue, Sep 9, 2008 at 12:29 PM, vic <[EMAIL PROTECTED]> wrote:
>
> i have a few apk packages that I want to push on the emulator.
>
> the push fails saying that the filesystem is a read only file system.
>
> Some backg
Thank you for the great feedback!
In the mean-time I've updated the documentation here:
http://code.google.com/p/openintents/wiki/SensorSimulator
Yes, a Java Precompiler would indeed come handy in cases like this.
Maybe you can reduce the number of places where you have to comment
out code to a
On 9 сент, 23:01, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote:
> I'm assuming RTP == RTSP. The emulator doesn't support using RTSP
> because it doesn't handle routing of UDP packets properly.
>
> However, the devices will support RTSP. In a sense, you are trying to
> solve a problem tha
Hi all,
Would appreciate your support if some one could provide the linux
patch file or pointers for PXA-27X based Development Board, which
helps in porting Android linux kernel on the development Board.
--~--~-~--~~~---~--~~
You received this message because you
I was under an impression that we need to push .apk packges to /system/app
Thnxs for the info.
/data/app-private is the location for pushing private apps.
On 9/9/08, Romain Guy <[EMAIL PROTECTED]> wrote:
>
> Where are you pushing the files? They should be pushed in /data, not
> /system.
>
> On
57 matches
Mail list logo