I need to create dynamic UI. How can I add margin to the left side of
the button.
newPost =new Button(BlogsList.this);
newPost.setText(Add Entry To Blog);
newPost.setPadding(10, 10, 10, 10);
newPost.setLayoutParams(new LayoutParams
The default button turns yellow|orange when it is pressed.
I just replaced the background through Drawable given below. But now
it stop changing the color on press. Sure I have to provide another
drawable (lets call it pressedButton) for that. But how and on which
even I should apply this
You haven't told us how many dots that you have, but I do think it
sounds like an odd design. What kind of application is it? How often
are they moved? How many dots do you have? What do they represent?
I might of course be wrong here, but this sounds a bit like a common
problem that I often see
I want to place three button on the bottom of screen. I place these
button in a linear layout and sets its gravity bottom.
Currently these button wrap according to their labels so have
different widths. But I want these button equi size. Means all three
button should have same width (without
The PackageManager allows you to retrieve information about application
components. I don't really know exactly what you are asking for to help
more.
On Tue, Aug 11, 2009 at 10:14 PM, Atif Gulzar atif.gul...@gmail.com wrote:
is not it an extra task for client to list all activities provided by
Maybe this will help you:
http://www.anddev.org/tinytutcustom_button_backgrounds-better_imagebutton-t4298.html
regards,
Jiri
Atif wrote:
The default button turns yellow|orange when it is pressed.
I just replaced the background through Drawable given below. But now
it stop changing the
Yes, onPause().
On Tue, Aug 11, 2009 at 9:45 PM, eags eagsala...@gmail.com wrote:
I guess a related question is, how do I guarantee that my app finishes
whenever it is not in the foreground? onPause() I guess.
On Aug 11, 2:44 pm, Dianne Hackborn hack...@android.com wrote:
I would guess
No, by design those settings are only for the system.
On Tue, Aug 11, 2009 at 9:46 PM, Riyaz goo...@riyaz.otherinbox.com wrote:
Is there anyway I can embed my application's settings to global
settings screen (resides in launcher as Settings) without modifying
the Android Settings application
I don't want to
choose de widget from a list, instead of this, I want to insert a
specifically widtget, so, is it necessary to use the
android.appwidget.action.APPWIDGET_PICK intent in this case?
The platform only offers that PICK intent, which requires the user to
interactively pick from
The MD5 requested is only of the /keystore/ used to sign your app, not
of the app itself. As long as the app is always signed with that same
key, there is still only a single MD5.
j
On Mon, Aug 10, 2009 at 12:17 AM, Electronpcedb0...@gmail.com wrote:
In the Web When we apply the Map Keys, we
Thanks Jiri,
That is exactly what I was looking for. Thanks again.
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
On Wed, Aug 12, 2009 at 12:52 PM, Jiri jiriheitla...@googlemail.com wrote:
Maybe this will help you:
The current (1.5_r3) ContentResolver API doesn't offer bulk updates,
or a method of wrapping multiple operations into a transaction. One
way to optimize your code is to allocate a single ContentValues object
outside of the loop, and recycle it during each pass by calling
clear(). (Currently
That's correct, ListView is not supported through RemoteViews, and no
other views are supported to emulate scrolling. One reason for this
is that many AppWidgetHosts override fling gestures to switch
workspaces or perform other actions.
j
On Sun, Aug 9, 2009 at 7:25 PM, fenix
Cool, let me know if u run into problems.
Jiri
Atif Gulzar wrote:
Thanks Jiri,
That is exactly what I was looking for. Thanks again.
--
Best Regards,
Atif Gulzar
I ◘◘◘◘ Unicode, É¹É zlnƃ ɟıʇÉ
On Wed, Aug 12, 2009 at 12:52 PM, Jiri jiriheitla...@googlemail.com
Hi~~Now I'm facing this problem:
I want to hold part of http requests which send by webview, and send
after modified. How should I do?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
The Help activity is the best solution for now. Also, if your users
would like to remove that icon from their all-apps drawer after
they've read the instructions, you can use
PackageManager.setComponentEnabledSetting() to hide it, while leaving
your app installed.
j
On Tue, Aug 11, 2009 at
all,
Is there any method to control popup window in
AutoCompleteTextView? Such as location, background...?
thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
The look of a Spinner is just defined through a framework style, and
you can override that style in your XML. In this case, the look of
a spinner is provided by its android:background, which is defined
here:
You're probably looking to launch ACTION_SEND, wrapped in a
createChooser() to let the user pick which application to share using.
Here's an example of how sharing is triggered from the Camera app:
I'm trying to upload an app to the market, but am getting the
following error.
The icon for your application is not valid. Please use a 48x48 PNG.
I checked my icon and its definately PNG and 48x48. Does anybody know
how to fix this?
-Ben
Ps. I've tried re-creating my eclipse project and
Since the buttons are inside a LinearLayout, assign
android:layout_weight=1 to each of the children. Or, any fraction
thereof, as long as the weights are identical.
j
On Tue, Aug 11, 2009 at 11:44 PM, Atifatif.gul...@gmail.com wrote:
I want to place three button on the bottom of screen. I
Hi all,
in my application I would like to catch all exceptions globally - it
should not matter, where those exceptions occur. Some runtime
exceptions are practically impossible to catch (OutOfMemoryError for
instance), but I want to show an informative dialog and resume
execution at some
Oh, I forgot my test program:
-
package test.exceptiontest;
import java.lang.Thread.UncaughtExceptionHandler;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
public class ExceptionTest extends Activity {
@Override
Hi,
Does anyone know if there is some way on Android to determine what set
of languages the user has set up for text entry? E.g. could I call a
function like
getKeyboardEncodings()
that would return a list of strings like en, ja etc which would
indicate that the device was set up for English
With J2ME devices you can construct a binary SMS, called a service
message, which has the location of a JAD encoded in its payload. When
sent to a handset, the OS recognises this and doesn't attempt to store
it as an ordinary SMS, instead just prompts the user to Install
XYZ?. This then starts
Having problem with the custom viewsss
LinearLayout ll = new LinearLayout(this);
DrawHeaderPanel header=new DrawHeaderPanel(this);
PlayPanel cv = new PlayPanel(this);
DrawFooterPanel footer=new DrawFooterPanel(this);
Create a adpter extends BaseAdpter to fill AutoCompleteTextView
On Aug 12, 3:40 pm, Gavin fjm...@gmail.com wrote:
all,
Is there any method to control popup window in
AutoCompleteTextView? Such as location, background...?
thanks.
--~--~-~--~~~---~--~~
Figured it out. The problem was a \n in my app name string. Had
nothing to do with my app icon.
Ps. @google-devs: Please fix error message.
On Aug 12, 3:49 am, bw ben.weisb...@gmail.com wrote:
I'm trying to upload an app to the market, but am getting the
following error.
The icon for your
I guess it may control the display stytle of listview in popup window.
But how to adjust the location of popup window?
On Aug 12, 4:38 pm, peter heywoodpres...@gmail.com wrote:
Create a adpter extends BaseAdpter to fill AutoCompleteTextView
On Aug 12, 3:40 pm, Gavin fjm...@gmail.com wrote:
AutoCompleteTextView has an instance of Popup window. But the class
AutoCompleteTextView doesn't have any public method to control popup
window. :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
AutoCompleteTextView has an instance of Popup window. But the class
AutoCompleteTextView doesn't have any public method to control popup
window. :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
AutoCompleteTextView has an instance of Popup window. But the class
AutoCompleteTextView doesn't have any public method to control popup
window. :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
unfortunately it will not make button equi size. As android:layout_weight
only distribute empty space.
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
On Wed, Aug 12, 2009 at 1:52 PM, Jeff Sharkey jshar...@android.com wrote:
Since the buttons are inside a LinearLayout, assign
Atif Gulzar wrote:
unfortunately it will not make button equi size. As
android:layout_weight only distribute empty space.
So, set android:layout_width=0px for both. Then, the entire width is
empty space, and two equal android:layout_weight=1 values will result
in two buttons of equal size.
--
Thanks mark, it works
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
On Wed, Aug 12, 2009 at 3:46 PM, Mark Murphy mmur...@commonsware.comwrote:
Atif Gulzar wrote:
unfortunately it will not make button equi size. As
android:layout_weight only distribute empty space.
So, set
Hello List,
in my manifest I set an custom object Dots that extends a
BroadcastReceiver to receive a certain broadcast string.
receiver
android:name=.model.Dots
android:enabled=false
intent-filter
action android:name=org.dadata.demo.receiverTest /
/intent-filter
/receiver
I dont want Android
Sena wrote:
I have several tabs in my application. Each of which contains an
activity. One of these is a ListActivity and I would like to open up
another activity (in the same tab) when the user clicks on a ListItem.
I am not convinced that this is possible.
--
Mark Murphy (a Commons Guy)
Hi Dear,
i have 5 versions of an android application and wanted to package them
all in my eclipse environment.
i believe there is xcode tool does the similar job for iphone but dont
know about the android.
can anybody help?
--~--~-~--~~~---~--~~
You received this
Atif Gulzar wrote:
is not it an extra task for client to list all activities provided by my
Lib?
Yes. Libraries are not designed for having many activities.
Bear in mind also that your library cannot package any resources, making
activities that much more difficult to package in a library.
yes sure
thanks for the reply anyway
On Aug 11, 4:58 pm, karthikr karthik.scintill...@gmail.com wrote:
Hi zeeshan,
Even ive been trying to implement this but in vain.
Will post and also mail you incase if im able to get through.
Do post in case your able to find the actual
Solution found. Set adjustPan for the android:windowSoftInputMode
parameter for the activity in the manifest.
Emanuele
On 11 Ago, 16:09, EPecorari emanuele.pecor...@gmail.com wrote:
I have the following layout:
?xml version=1.0 encoding=utf-8?
LinearLayout
Hi there,
A 'Button' view comes up with text, while the 'ImageButton' widget
comes up with an image but no text, is there a way to relatively
easily (e.g. method calls, say), either:
1. Add text to ImageButton (like those buttons that appear in menu
item/via the physical menu button)?
or
2.
you can use a default button. Just use Drawable bottom | top | right | left
for image.
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
On Wed, Aug 12, 2009 at 5:53 PM, gosh steve...@unimelb.edu.au wrote:
Hi there,
A 'Button' view comes up with text, while the 'ImageButton'
So the content of a tab is fixed once that tab has been initialised?
That seems like a severe limit. Or am I missing something, should I be
trying to achieve the same net result (to the user) some other way?
Thanks
S
On Aug 12, 12:16 pm, Mark Murphy mmur...@commonsware.com wrote:
Sena wrote:
Sena wrote:
So the content of a tab is fixed once that tab has been initialised?
No. Use Views instead of Activities.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android 1.5 Programming Books: http://commonsware.com/books.html
have you tried TabActivity
http://developer.android.com/reference/android/app/TabActivity.html
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
On Wed, Aug 12, 2009 at 6:02 PM, Sena s...@imkon.com wrote:
So the content of a tab is fixed once that tab has been initialised?
That
Thanks for that clarification.
I haven't been able to locate where I saw it, but, if I stop looking,
it will probably come up some time - and when it does I'll pass it on
to you... Given what you've said, it was probably written somewhere
'not' within the Android documentation.
Cheers
Steve
On
There are many drawables defined under R.drawable
http://developer.android.com/reference/android/R.drawable.html;. Just
curious if their visuals are available somewhere?
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
--~--~-~--~~~---~--~~
You received
Hi Atif,
MainTabActivity is a TabActivity. What I'm tryginf to do is start a
new Activity inside a Tab. I can easily just use start task but this
would place a new Activity over the original TabActivity. I would like
the new Activity to run inside my Tab so the user can choose to
navigate to
Thanks for the tip. Can you point me at what I need to be looking up
to find the documentation about changing the view inside the Tab? I
was doing this very late last night so I may have missed it.
Thanks
S
On 12 Aug 2009, at 14:06, Mark Murphy wrote:
Sena wrote:
So the content of a
Sena Gbeckor-Kove wrote:
Thanks for the tip. Can you point me at what I need to be looking up to
find the documentation about changing the view inside the Tab?
You don't change the View inside of a tab. You cause the existing View
to show something else (e.g., use FrameLayout and make one
Hello,
If i have a apk file and want to know the package name and class
hierarchy, how do i do it?
Suppose I have some sample APK file named SampApp.apk which contains
classes inside com.android.sampApp.
Is there any tool in Android SDK which shows the package name when APK
file is passed as a
Thanks for the pointers Mark.
S
On Aug 12, 3:16 pm, Mark Murphy mmur...@commonsware.com wrote:
Sena Gbeckor-Kove wrote:
Thanks for the tip. Can you point me at what I need to be looking up to
find the documentation about changing the view inside the Tab?
You don't change the View inside
Hello !
I would like to receive the body (all of his entity) of a http post.
I use this:
--
DefaultHttpServerConnection serv_con = new DefaultHttpServerConnection
();
serv_con.bind(client_socket, new BasicHttpParams());
EDIT:
action=localhost:8080 - action=
I first do a get method for give this html page...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
dude, maybe you should not try to mess with other ppls code if u don't
know basic reverse engineering. seriously.
On Aug 12, 3:26 pm, Sudha sudhaker...@gmail.com wrote:
Hello,
If i have a apk file and want to know the package name and class
hierarchy, how do i do it?
Suppose I have some
Try this link:
http://kapsencode.com/android_drawable/
If you extract android.jar, you will also find them under the res/
drawable directory.
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author
Thanks Jack
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
On Wed, Aug 12, 2009 at 8:23 PM, Jack Ha jack...@t-mobile.com wrote:
Try this link:
http://kapsencode.com/android_drawable/
If you extract android.jar, you will also find them under the res/
drawable directory.
Hi every body,
I am working on IM and i want to make Chat Window but i don't know
how to start it. Currently I am using EditText field, a text view and
a button, after entering text in EditText field on pressing send
button i am getting text from EditText filed and appending it to
TextView
currently i don't think there's an easy to use or explain solution to
that. you can do this by crafting your own ant scripts, either calling
different targets or using some sort of conditions, but the
implementation depends on the specifics of your project. not much of a
help, sorry :/
On Aug
In my app, a user picks video content with
Intent i = new Intent(Intent.ACTION_GET_CONTENT);
i.setType(video/*);
startActivityForResult(i, MEDIA_SELECTED);
and they start recording video with
Intent i = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
startActivityForResult(i,
Hi, My Java knowledge is very limited so it's quite an easy question
(probably) but how can I get the code below to work? I'm basically
trying to check that the device is connected to the internet to that I
can access and parse an RSS feed. This is also the 1st android app I
have written so I'm
Hi to all :) i need a help. Actually i am doing an application in
french and i am using the DatePicker. I am wondering of is it psooible
to have the datepicker UI to be in french for example the Month
Spinner to be displayed as Aout instead of Aug
Many thanks.
How i can create android project's library that can be used in any
different project.
Problem:
I create a jar file that contains all activities and add this jar file
into my eclipse project build path. But if i need to use any activity
then i must need to register this jar activity into my
Hi,
in Android Mobile i need to get the SMS count for the outgoing message
between the particular date / or taken the count from the given date
to the current Date.
as the same like the call counts also out going call counts
Please Help me to found that email me to my Id :
damu...@gmail.com
i modify the android source code.after capture a picture i want to
upload this image to picasa.when run the application,it shows Could
not find class 'com.google.gdata.client.photos.PicasawebService',
referenced from method com.google.gdata.client.photos.PicasawebService
$Versions.clinit.can
Hi
can anyone tell me that where can i download the source code of TourIt
application. I have read the busy coder's android development ebook.
it was very nice if i get that application source code it would be
helpful to reference.
their source code bundle don have this sample application
Hi,
I've recently got into Android development and am writing a basic
podcast app as a learning exercise. I've come up with an issue I can't
find a good solution for. Rather than post code (it's getting big!),
I'll try and summarise:
I have an ExpandableListView showing podcasts and each
Hi, this may seem like a stupid question but I need to be sure. I was
wondering if it was possible to programmatically change the Content
Provider used when making a query given a Content URI. The reason
being I need to know if it's possible to force the Calendar/Contacts
applications to read
Hello,
I am trying to compile the Latest android i got the below errors,
You are attempting to build with the incorrect version
of java.
Your version is: java version 1.6.0_10.
The correct version is: 1.5.
Please follow the machine
I really need this feature also !
On 17 juin, 12:05, jfcog...@gsyc.es jfco.g...@gmail.com wrote:
Yeah, what's the reason, is there anyone in this task? co's it will be
great if this works in the next version, till then I think I have to
look up a provisional solution.
thanks ;)
On 6 mayo,
Hello all,
How many people out there are using the above?
My team tell me that non_syncable appears to be a special value that
can be set in the Sync Account field of Contacts and Calendar data
tables. When set, the PIM object in question is not sync'd with the
device's linked Gmail address book
I found that too with the LunarLander model - especially when trying
to develop a touch and drag style game. Do you know of any other
example app/code that demonstrates a better method?
On Jul 22, 3:56 pm, Micah mi...@ourmailbox.net wrote:
Check out the LunarLander example that comes with the
The main Hero widget is a clock with the weather. Every time you turn
your screen on, it reads your gps locations and gives you the weather
in that location. It is obviously reading the gps sensor from the
widget. I am looking to do something similar, except I want to read
the compass.
Hi,
Can you set custom http headers when launch url in the native browser?
Ex:
Intent myIntent = new Intent(Intent.VIEW_ACTION,
Uri.parse(http://www.google.com;));
// set additional http headers below?
...
startActivity(i);
Thanks,
Jack
--~--~-~--~~~---~--~~
I've modified the code a bit since the last time, and now it crashes
at runtime.
I've got the log-cat and code below.
Any suggestions, or links to a tutoiral on how to go about debugging
would be appreciated.
Thanks,
Declan
package com.wissen.android;
import java.util.List;
import
Ali Adnan wrote:
How i can create android project's library that can be used in any
different project.
Problem:
I create a jar file that contains all activities and add this jar file
into my eclipse project build path. But if i need to use any activity
then i must need to register this
You have a ClassCastException at line 61, its all in logcat
08-12 15:39:02.912: ERROR/AndroidRuntime(548): Caused by:
java.lang.ClassCastException: com.example.North.North
08-12 15:39:02.912: ERROR/AndroidRuntime(548): at
com.example.North.North.onCreate(North.java:61)
Whatever is on
abu wrote:
can anyone tell me that where can i download the source code of TourIt
application. I have read the busy coder's android development ebook.
it was very nice if i get that application source code it would be
helpful to reference.
their source code bundle don have this sample
n command line what does java -version command produce?
On Aug 12, 8:07 am, Vinu pjvinayku...@gmail.com wrote:
Hello,
I am trying to compile the Latest android i got the below errors,
You are attempting to build with the
So, Gears, is not support in a WebView, but if you really *need* Gears
features they're easily addable. WebView.addJavascriptInterface will
allow you to add arbitrary functionality to a given WebView instance.
You can add an interface to Javascript which accesses a Java object
you specify. Gears'
Hi Jason.
What do you mean with my own MediaRecorder code?
On Jul 17, 11:50 am, Jason Proctor jason.android.li...@gmail.com
wrote:
if you're using the camera on the emulator, then you have to disable
auto orientation changes to get it to work. at least, i picked this
info off the network
You want to use a WifiManager instead the TelephonyManager to find out
about the WifiConnection state.
Use the following APIs below
private WifiManager mWifiMgr;
mWifiMgr = (WifiManager)mContext.getSystemService(mWifiService);
mWifiMgr.getConnectionInfo();
If you are interested to find out in
Even tough the updates ticks with 500ms, it still takes about 3-4
seconds for the device to discover that I stopped moving.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Yes, this is inconsistent, but there is a way to do what you want with
audio. Take a look at
http://developer.android.com/reference/android/provider/MediaStore.Audio.Media.html#RECORD_SOUND_ACTION
Cheers,
Justin
Android Team @ Google
On Aug 12, 7:32 am, Christine christine.kar...@gmail.com
Thanks for the feedback Atif - I'll give that a try.
Cheers
Steve
On Aug 12, 9:57 pm, Atif Gulzar atif.gul...@gmail.com wrote:
you can use a default button. Just use Drawable bottom | top | right | left
for image.
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
On Wed, Aug 12,
Spot filled!
Thanks to everyone that replied.
Paul
On Aug 4, 1:57 pm, iPaul Pro mr.paulbu...@gmail.com wrote:
I am in independent Android developer, creating an app to enter the
Second Android Developer Challenge. I am looking for a developer
experienced in RESTful or JSON web API's.
How can get a list of the codecs for video playback that Android will
support?
thanks,
LT
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
LT wrote:
How can get a list of the codecs for video playback that Android will
support?
http://developer.android.com/guide/appendix/media-formats.html
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0
Hi, sorry there is no way to do this.
On Wed, Aug 12, 2009 at 3:11 AM, Chirag Patel chi...@gmail.com wrote:
Hi, this may seem like a stupid question but I need to be sure. I was
wondering if it was possible to programmatically change the Content
Provider used when making a query given a
Thanks Roman,
That's pretty much what I came up with too.
To my knowledge an application is a single APK, so if I wanted to have
two APK's installed I'd have to get the user to download both, and run
through the install process for each.
Installing apps outside of the Market isn't exactly a
1.) Does OpenCore Handle RTP creation and RTP sessions?
I'm looking to implement a phone based streaming server broadcasting
RTP over UDP.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
Runtime.getRuntime().exec(ls -a);
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 11, 8:26
Runtime.getRuntime().exec(ls -a);
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 11, 8:26
The built-in widgets on the hero do not use the widget framework. They run
inside integrated inside of the home screen. What you can do with the
platform widget framework is more limited, since it needs to carefully
juggle security, overhead, and performance issues while allowing for two
Airplane mode does switch of all radios also GPS.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 12, 2:33 pm, pcm2a reeeye...@gmail.com wrote:
The main Hero widget is a clock with the weather. Every time you turn
your screen on, it reads your gps locations and gives you the weather
in that location. It is obviously reading the gps sensor from the
widget.
Also, it's probably
Getting GPS location is a very different thing than hooking into the
orientation sensors. For GPS, you fire off (at certain intervals) or
as it seems in your response, upon turning on the screen. I'd imagine
it is not hooked to the screen turning on, to be honest, but tied to
other events or
IMHO, much better to do this from Java with File.listFiles()
much fewer clock cycles die this way :-)
Runtime.getRuntime().exec(ls -a);
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in
i mean the code inside my application which calls MediaRecorder to
record video.
btw, since 1.5 i have not found any problems with MediaRecorder. the
order of the configuration set() methods must be right, but if you
read the documentation and look at the error log, the order becomes
clear.
1 - 100 of 141 matches
Mail list logo