You might try writing your data to the LogCat and then capturing it
from there. Writing to a file might be introducing some of the delays
your are seeing.
Another option is to just write to LogCat when the time between
samples exceeds a certain amount.
I've seen file and other I/O impact results
I did some testing on the compass direction and the results are, eh,
interesting.
I compared the readings I was getting with the Google Sky Map and they
were basically the same. Here is what I did.
With both my app and SkyMap I had the phone in camera position. I
positioned the phone on a piece
Hi,
I want to develop a game, so I need to know elapsed time at lots
places in my game. For example, to measuring FPS. I see there is some
example use "System.currentTimeMillis" to measure elapsed time. But I
see the warning on document:
http://developer.android.com/intl/zh-TW/reference/java/lan
Hi:
I have an EditText field that is intended for only numbers ( digits,
decimal point, +/- signs). How do I tell the software keyboard to jump
to numeric mode directly?
Wah
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
G
Thank you Mark! I've been looking for a better way to do section
headers in Android 1.5 and no one has been able to help. I can't
believe that the Android developers didn't build an easy way to do
this into the API. Your SectionedDemo has been a life safer. Thanks
again!
On Jul 8, 4:18 pm, Michae
Hey all,
I will be surprised if this hasn't been asked before, but I've been
Googling for days now and haven't found anything very helpful. My
problem is this:
I'm trying to lazy-load images into a ListView--almost exactly how
Market does it, if you're familiar with that. It's not exactly like
M
Is the aspect ration is really different, or do you think youtube app
just re sizes video to fit the screen?
You can dynamically adjust SurfaceView layout parameters to take all
you screen, maintaining aspect ration.
On Jul 10, 8:26 am, glory wrote:
> Hi,
>
> I am playing the video from the you
I've been looking at all of this the last couple days.
I have an application that puts the three numeric values on the
display. The code is below and I _think_ it is working okay.
My test is to hold the phone against a wooden(!) door so I have a
nearly vertical, steady surface. Say I put the bac
It's not actually a dialog. PackageManagerService returns the information
for a special activity when resolveIntentActivity() finds multiple matching
activities. So that code does the detection, and the component it returns
is the one that ends up getting launched and displays the list of matchin
Hi,
Can you please tell me where in the android source code which invokes
the "Complete Action Using" dialog? i.e. when I start an Intent,
Android pops up a "Complete Action Using" dialog.
Thank you for any help/pointer.
--~--~-~--~~~---~--~~
You received this m
Hi,
Even for your own modifications, please do not use the com.android
package name. Even though this package is reserved for private APIs,
your changes in this package might conflict with future changes made
in Android itself (core dev team or contributions to the project.)
Just use the package
Folks,
I updated the android framework ( java code), and I was able to
compile the new java classes and test it. My issue is that i want to
make some of the new java classes part of the android.jar, and i am
unable to figure out the best way to add it to be build file.
For example:
I want to
You will need to root your device, before you can flash a new ROM.
So, yes, it appears your device is locked.
On Jul 11, 1:58 am, Nima wrote:
> Hi,
>
> I have followed the instructions in
> link:http://android-dls.com/wiki/index.php?title=Magic_Rooting
>
> but the following error is reported
Zeeshan, does (the intent solution) work on the emulator or not ?
On Jul 12, 1:10 am, Zeeshan Muhammad wrote:
> i am testing it on real device, i can see only the application title. my
> automatic orientation is already disabled .please let me know if anybody has
> tested video capture intent?
>
Breezy wrote:
> ListView, okay, that works. Now how do I make multiple TextViews and
> insert them into the ListView on the fly?
A cursory description of the process can be found here:
http://developer.android.com/guide/topics/ui/binding.html
(in their case they use a Spinner, though the techn
Hello everyone
Is any way to turn off gtalk (go offline) grammatically?
--~--~-~--~~~---~--~~
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.
Zeeshan Muhammad wrote:
> thanks for the quick reply, this is really usefull.
> can u please guide how can i receive this stream on server side?
You would have to ask them -- I have not tried their techniques.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
ListView, okay, that works. Now how do I make multiple TextViews and
insert them into the ListView on the fly?
Thanks for the fast response BTW.
On Jul 11, 6:02 pm, Mark Murphy wrote:
> Breezy wrote:
> > Kinda like if you search for
> > an app in the market. There's no way of telling how ma
i am testing it on real device, i can see only the application title. my
automatic orientation is already disabled .please let me know if anybody has
tested video capture intent?
On Sat, Jul 11, 2009 at 10:58 AM, hanged_man wrote:
>
> @Zeeshan
> Are you getting a black screen ? if yes that's pro
Breezy wrote:
> Kinda like if you search for
> an app in the market. There's no way of telling how many results
> would be returned so I figured I would have to create each textview on
> the fly within the .java file.
Use a ListView. I'm 90% certain that is what they do. It automatically
scrolls
So I have the basics down... I can create a UI with the XML, I can
show it and change the screen to another UI (another XML file) but how
do I add to the UI?
Hmmm, hard to explain...
Say I have a header (just 2 textviews) that will remain at the top and
below that is a search box and button (ma
thanks for the quick reply, this is really usefull.can u please guide how
can i receive this stream on server side?
On Sat, Jul 11, 2009 at 11:40 PM, Mark Murphy wrote:
>
> zeeshan wrote:
> > i am looking for any help in live video streaming to my server.
> > anybody can direct where can i fin
zeeshan wrote:
> i am looking for any help in live video streaming to my server.
> anybody can direct where can i find some help
http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
ssfss wrote:
> Hi. Thank you for your answer. *
> What's recompiling*? How can I do it? Please explain that completely
> with details.
Uh, I can't give too many details, as I am not familiar with the source
code in question.
You need to get the source code and build scripts for those JARs,
downl
Hi Experts,
i am looking for any help in live video streaming to my server.
anybody can direct where can i find some help
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gro
I am not familiar with KSOAP, but if that's the json response you get,
you can parse it with xstream or any json parser.
On Jul 11, 12:55 pm, "android.vinny" wrote:
> HI
>
> I want to Consume the SOAP Web Services in Android
>
> i downloaded KSOAP2 Library
>
> i have done some thing like this ..
I take it there's something wrong with your View:
> 07-11 05:13:48.969: ERROR/ZoomButtonsController(776): Cannot make the
> zoom controller visible if the owner view is not attached to a window.
--~--~-~--~~~---~--~~
You received this message because you are subs
How can I best mix in one activity a tab activity with an ImageView /
TextView? Any thoughts would be highly appreciated. thanks, christian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
The alternative would be, if I understand your question correctly, to
have one listadapter that takes data from various sources, depending
on some variable that is set. Your app would prepare the various
sources of data independently, and the getView in your listadapter
determines which of the sou
I forgot that say I used which jar files:
collection of jetty jar files version6.1.12rc2
jetty-client-6.1-20090306.224120-1
cometd-jetty-6.1-20090306.224120-1
On Sat, Jul 11, 2009 at 2:18 PM, ssfss wrote:
> Hi. Thank you for your answer[?]. *
> What's recompiling*? How can I do it? Please explai
Hi. Thank you for your answer[?]. *
What's recompiling*? How can I do it? Please explain that completely with
details.
I don't know which jar file has problems.[?]
Please help me! I'm very confused[?]I dont have any time for run this
project.[?]
On Fri, Jul 10, 2009 at 1:42 PM, Dan Bornstein
Hi,
Am I right if I say that, there is no broadcast action currently for
the SIM card state changes ?
Thanks,
Zod.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group
There isn't one; you find out what is going on with the IME by your window
being resized to accommodate it.
On Sat, Jul 11, 2009 at 4:35 AM, Albert Pinto wrote:
>
> Hi Android Developers,
>
> I need a function to know whether keypad is opened or not.
>
> Please provide me the API/function to know
It's not part of the SDK. (Actually I may not even be part of the platform,
but built into th camera app).
On Sat, Jul 11, 2009 at 7:36 AM, doubleslash wrote:
>
> This is where one can find a lot of the native drawables
> http://developer.android.com/reference/android/R.drawable.html
> I've bee
Maps.Huge.Info (Maps API Guru) wrote:
> Answered my own question, but now I have another...
>
> In this code: (which works fine)
>
> case GpsStatus.GPS_EVENT_SATELLITE_STATUS:
> GpsStatus xGpsStatus = locMgr.getGpsStatus(null) ;
> Iterable iSatellites = xGpsStatus.getSatellites() ;
>
Excellent!
That removed the warning.
Thanks...
I haven't seen any examples of this code anywhere, so for those that
want to get detailed information about the status of a GPS fix, this
code works.
-John Coryat
On Jul 11, 1:02 pm, Mark Murphy wrote:
> Maps.Huge.Info (Maps API Guru) wrote:
>
Answered my own question, but now I have another...
In this code: (which works fine)
case GpsStatus.GPS_EVENT_SATELLITE_STATUS:
GpsStatus xGpsStatus = locMgr.getGpsStatus(null) ;
Iterable iSatellites = xGpsStatus.getSatellites() ;
Iterator it = iSatellites.iterator() ;
The reason for this post was to use one ListView for multiple adapters
because I thought it would help decrease the level of complexity my
xml layout would have, therefore starting my activity much faster.
Apparently it's not such a good idea.
As of now, if this matters anyways, my fatty Activity
Moto wrote:
> Currently my lists can contain max 60 items and the
> elements are fairly complex, about 5 TextViews no backgrounds.
>
> So multiple ListViews is not good for one activity?
"Good" versus "not good" is a binary statement. In reality, it is more a
continuum of increasing "not good" a
Hey Mark,
Let me explain a little better the situation:
I only have one ListView and I'm displaying only one list at a time.
The reason that I'm doing all this work inside one activity is that it
gives me better flexibility when animating. If I could animate
activities in and out on top of my gr
The activity you specified is not present on the device that you ran
your app on.
You generally shouldn't explicitly name activities like that. You
should use a 'send' or 'share' intent, and the system will figure out
which activities support it.
On Mon, Jul 6, 2009 at 9:30 PM, Tian Yingying wro
I'm unclear about the availability of the voice recognition service. I
tried the above example on my Vodafone branded HTC Magic (API version
1.5) but it's "Recognizer not present". There seems to be no
application in the Android Market that provides this service (unlike
Text To Speech functionali
How can I derive the getMaxSatellites(), getSatellites() and
getTimeToFirstFix() from the GpsStatus Listener?
-John Coryat
I've got the listener for GpsStatus working like this:
LocationManager locMgr = (LocationManager)getSystemService
(Context.LOCATION_SERVICE);
locMgr.addGps
This is where one can find a lot of the native drawables
http://developer.android.com/reference/android/R.drawable.html
I've been informed to use in xml @android:drawable/ic_menu_camera to
get the camera icon. It's not the big blue camera icon one would see
in the home screen though. It'd be bette
Hello,
In my app I have AutoCompleteTextView and "search" button.
When user clicks "enter" or "search" an Intent is fired and new
Activity is started.
But in that "new" Activity SoftInput should be invisible, so I make
((InputMethodManager)getSystemService
(INPUT_METHOD_SERVICE)).hideSoftInputFro
I now ran into the very same problem on my ADP phone as well after
applying settings for more strict JNI checking: by default, JNI
checking is active on the emulator but not on the phone, so that is
why I did not readily see it on the phone until activating JNI
checking there for unrelated reasons
I find that my ADP1 phone has a better performance than my Google IO
phone. In some cases, the Magic gets a timeout error where the G1
doesn't, running the same software. Also, I've seen a situation where
a service would accidentally take too much resources, which the Magic
couldn't handle - the s
any clue, how to resolve this problem
On Jul 3, 6:14 pm, Casper wrote:
> Hi
>
> thanks for the reply.
>
> i even tried that.
> Interesting part is, except cavas.drawText for drawing text any other
> paint call is working. if you try by your self, you will see the same
> thing happening.
> i adde
Ian wrote:
> yes please!
>
> my release is blocked for similar reason.
>
> I got the maps key, compiled with new key, signed, but now it's all
> grey.
>
> when I redo with debug key, it works... help!
You need separate Maps API keys for debug versus production, since they
are tied to the finge
Hi Android Developers,
I need a function to know whether keypad is opened or not.
Please provide me the API/function to know whether the Virtual Keypad
is OPENED or CLOSED if anybody knows.
I know already how to open/hide the keypad by using InputMethodManager.
Thanks in advance,
Regards,
Al
HI
I want to Consume the SOAP Web Services in Android
i downloaded KSOAP2 Library
i have done some thing like this ..
private static final String SOAP_ACTION = "getRating";
private static final String METHOD_NAME = "getRating";
private static final String NAMESPACE = "http://www.w3.org/200
Clicking on
https://brtel0009000.wss3online.de
should normally popup a dialog box for entering some account/pw. This
works fine on any Windows, Mac, Linux, iPhone, but it does not work on
Android/G1 (I am using 1.5)
You will get the information:
You are not authorized to view this page
Http Err
Hi,
I want when I open my Activity it shows Built-in Control that is
id/metronome_image in given xml. but when i click over it
should replace with my Custom control that is CustomMetronome in given xml.
when i click again outside it should replace back to Built-In.
--
Thank & R
> Really strange...I found a lot of similar example, but with SDK
> 1.5_R2, the web content stays blank.
> I've set correctly permission. If I load my URL without a WebView
> Client my page is loaded correctly in default browser.
> I saw some opened bugs in Google Android tool.
>
> Can you give a
Really strange...I found a lot of similar example, but with SDK
1.5_R2, the web content stays blank.
I've set correctly permission. If I load my URL without a WebView
Client my page is loaded correctly in default browser.
I saw some opened bugs in Google Android tool.
Can you give a status of thi
@Zeeshan
Are you getting a black screen ? if yes that's probably due to a bug
in the emulator (i think starting from the latest 1.5 sdk), you might
as well have noticed that you can't run either the camera or the
camcorder from the emulator, it's not a problem in your code it's
problem in the emul
Hi,
I have followed the instructions in link:
http://android-dls.com/wiki/index.php?title=Magic_Rooting
but the following error is reported
fastboot boot recovery-RAv1.0H.img
downloading 'boot.img'... FAILED (remote: not allow)
Whether any locking is there in the device
Please advice
Thanks&
Hi all,
I want to add an ExpandableListView in a LinearLayout defined in
main.xml. But I met "NullPointerException:null" when I added it to the
xml file. I don't know what's wrong with it.
Could anyone help me to solve this problem?
Thank you in advance!
Here is the code of main.xml:
2009/7/10 UK Android Apps UK Android Apps
> I want to release a demo version of my app.
>
> I added a restriction that the app could only be used 5 times by
> storing a counter in the db.
>
> However a user can easily uninstall and install the demo again!
>
> What the best way to manage this?
>
*bump* ;-)
On Thu, Jul 9, 2009 at 9:03 PM, Mariano Kamp wrote:
> Hi,
> when accessing a website with embedded YouTube video from within the
> browser, I can play the video. When accessing it from WebView I haven't been
> able to do that. Is that not possible or is there anything I do wrong?
>
60 matches
Mail list logo