I have an activity using an xml layout where a WebView is embedded. I am
not using the WebView in my activity code at all, all it does is sitting
there in my xml layout.
Now, when I finish the activity, I find that my activity is not being
cleared from memory. (I check via hprof dump). The act
);
vidView = (VideoView) findViewById(R.id.vidView);
vidView.setVideoPath("/sdcard/myapp/main/videos/main.mp4");
vidView.seekTo(16000);
vidView.start();
}
}
On Jun 16, 12:53 pm, Mathias Lin wrote:
> I'm implementing a custom video player because I
be the only
way?
Rgds, Mathias
BTW:
this is a re-post through my email client since my post isn't
searchable/visible from within the android dev group when I post through
the google groups web client. Can somebody explain this weird behaviour?
My thread of June 15th is obviously there
I'm implementing a custom video player because I need custom video
controls. I have an app with only one activity, which on start-up
shall starts playing a video right away.
Now, the problem I have (on my Nexus One):
I don't want the video to start from the beginning, but from a later
position. T
I noticed that the default position of the builtInZoomControls in
WebView (bottom, horizontal right) is not consistent with the default
position in the MapView (bottom, horizontal center).
Why is the position not consistent in these two views?
(In the Google Maps app the zoom control is also only
You could use sax parser to read the xml:
http://developer.android.com/reference/org/xml/sax/XMLReader.html
A tutorial is here:
http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html
What's the best way to store your data depends on what you want to do
with it afterwards.
There is no (virtual) sdcard in the emulator. You need to create it
via http://developer.android.com/guide/developing/tools/othertools.html#mksdcard
On May 21, 7:40 pm, coolbanana wrote:
> Hi,
>
> i am working with eclips with the new SDK2.2.
> i cannot find the sdcard in emulator 2.2!
>
> thank
Hi Kevin,
I tried to include acra v2 following the HowTo2, but get a
NullPointerException when acra tries to read the crash data. I filed a
bug report here: http://code.google.com/p/acra/issues/detail?id=2
(I just tried to use the default silent mode for now.)
Regards,
Mathias
On May 20, 8:35
Yes, you can just use the nexus one with 2.1, is SIM-unlocked.
See here: http://developer.android.com/guide/developing/device.html
"If you want a SIM-unlocked phone, then you might consider either an
Android Dev Phone or the Google Nexus One. Both are SIM-unlocked so
that you can use them on any G
Yourkit, http://yourkit.com/overview/index.jsp, is another profiler
tool that could be used.
In sdk2.1, you can also do it on a non-rooted device - you can create
a hprov from within the app and write it to sdcard.
Debug.dumpHprofData("/sdcard/myapp.hprov");
At least in v2.1, possible that this
I want to show a signal strength icon in my application with the same
logic as the icon is doing in the standard Android status bar. But I
am wondering, what exactly does this icon represent and what kind of
scale is it using?
Does it represent the gsm signal strength as of
signalStrength.getGsmSig
I have the same problem that sometimes my app doesn't show up in the
process list properly but just with a ?
I figured that it might depend on where I started the app from, i.e.
from within my IDE (IntelliJ or Eclipse) or if I start if from the
device, i.e. right after a fresh reboot of the device,
Nice, it's my favorite forum. I like the new skin, better than before.
But agree with the contrast, it should be higher, either darker
background or text font brighter.
Regards, Mathias
On May 18, 2:28 pm, Anthoni wrote:
> > The black color background is not at all looking good.
I am using the Android 1.6 Market.
On Dec 17, 7:48 am, Mathias wrote:
> What determines the market search result order?
>
> It doesn't seem to be downloads or rating.
>
> The Top free/paid listing does not make much sense either...
--
You received this message because you a
What determines the market search result order?
It doesn't seem to be downloads or rating.
The Top free/paid listing does not make much sense either...
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to a
UI thread (DISPLAY_PRIORITY), and therefore competes with it. This
will be fixed in a future version of android. Unfortunately, there are
no easy workaround.
Mathias
On Dec 8, 12:13 am, Heiko wrote:
> With SENSOR_DELAY_GAME I get very unstable sample rates. Mostly it
> averages around 9 sampl
e.
I hope this helps.
mathias
On Dec 8, 3:16 am, Heiko wrote:
> Problem solved. In case others experience the same problems:
>
> The constants for the sensors seem to be wrong. I used: getSensorList
> (SensorManager.SENSOR_ACCELEROMETER).get(0); which returned a handle
> to
Services.
Kind regards
Mathias
--
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-developer
Hi
Is it possible to switch off Anti-aliasing for a view or the
application?
Thanks
Mathias
--
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 unsubs
I use
synchronized(ExampleDbAdapter.class){mDb.insert/update/delete/query...} in
ExampleDbAdapter to avoid this. Let me know if there's a better way.
On Mon, Aug 24, 2009 at 10:58 AM, Armond Avanes wrote:
>
> So how can I create an in-memory database? I just took a quick look at the
> API and co
When I start the emulator from command line as below (on windows) I
get the following warnings.
C:\android-sdk-windows-1.5_r3\tools>emulator -sdcard D:\android-sdk-
windows-1.5_r3\tools\sd256m.img -skin HTC_HERO -avd my_avd
emulator: WARNING: ignoring locked SD Card image at D:\android-sdk-
wind
How can I get an event when the user opens or closes the virtual
keyboard on the G2?
Thanks for your help
Mathias
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Thank you!! moving super.onCreate did the trick! super.onCreate seems to
call getTheme which initiates it(?).
On Thu, May 21, 2009 at 9:01 PM, quanghuytruongd...@gmail.com <
quanghuytruongd...@gmail.com> wrote:
>
> You can try to put setTheme() before super.onCreate() --> your
> background wil
ighly appreciated!
Best wishes,
Mathias
--~--~-~--~~~---~--~~
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
on the Android
> Market.
>
> On May 1, 1:26 pm, fadden wrote:
> > On May 1, 8:06 am, mathias axelsson
> > wrote:
> >
> > > When running 'su', in terminal, I get 'uid X not allowed to su'.
> > > 'logcat' gives permission d
Hi,
After installing Android 1.5 on my ADP I can't check logcat directly from
the phone.
When running 'su', in terminal, I get 'uid X not allowed to su'.
'logcat' gives permission denied /dev/log/main.
If I get an exception/force close in any of my apps I'd like to be able to
check the stac
nit.main(ZygoteInit.java:497)
01-27 17:00:18.605: ERROR/DataConnectorTS(182): at
dalvik.system.NativeStart.main(Native Method)
I already added the uses-permission Internet Tag to the manifest.xml
(above the application tag).
I can create the URL Instance but not call openStream().
Any Idea w
nd make the
> Surface work again with all 2D rendering? Is there a way to re-create
> the surface of the View object?
>
> By the way, my OpenGl clean-up code is exactly same as the
> GLSurfaceView sample code, it should have any problem.
>
> Many thanks for any suggestions!
>
plify your life]).
Also, for 2D rendering, consider using the draw_texture extension
(glDrawTexi), it's available on most h/w implementations and is
usually faster than using geometry.
Information about OpenGL and OpenGL ES extensions is available on the
intertubes.
Good luck!
Mathias
On
101 - 129 of 129 matches
Mail list logo