Hi Yusuf Saib,
Sorry for late response because i was on leave.
Using TextView for chat window i have get the idea form APIDemos-
>Text->LogTextBox.
I have modifiy that code just like this replace add button with
EditText and put it at the bottom of screen with send button same like
default me
Refer this
Intent i = new Intent("android.media.action.IMAGE_CAPTURE");
try{
startActivityForResult(i, TAKEPICTURE_ACTIVITY);
}catch(ActivityNotFoundException e){
Toast.makeText(this, "Application not available",
Toast.LENGTH_SHORT).show();
LinkedIn
Hucheng Zhou requested to add you as a connection on LinkedIn:
--
Michele,
I'd like to add you to my professional network on LinkedIn.
- Hucheng
View invitation from Hucheng Zhou
http://www.linkedin.com/e/LLkLpmh1-H9DJacyTMkv6XzPQQ
Hello,
I want to dispaly one point on map. for that i will have to create the
object of GeoPoint and we need to pass the altitude and longitude in
it in Microdegrees. so can some one tell me how can i do it ?
--~--~-~--~~~---~--~~
You received this message because
hi,
How to check if some email client is configured ? and if configured how to
get the default email client. THanks
--
Best Regards,
Atif Gulzar
I Unicode, ɹɐzlnƃ ɟıʇɐ
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
To develop an APK, I want to modify or expand ContactsProvider
functionality. GoogleContactsProvider is my role model. But I can't
put my code to Android repository, like GoogleContactsProvider does.
Mine is a 3rd party APK to develop.
http://groups.google.com/group/android-developers/browse_thre
I want to draw some Drawables in a view, for example like Rect. Then I want
to make a totate animation for each Rect when it's be clicked.
I try to use RotateAnimation, but it not work. It look likes only can make a
View rotating.
so, how can I make this work?
thanks a lot
Bear
--~--~-
Well, even if we should "normally" not call the recycle method, I see
in ApiDemos some calls to this method :
LabelMaker.java - line 281
SpriteTextRenderer.java - line 122
TriangleRenderer.java - line 106
I tried to solve a problem of memory allocation when loading big files
(4000x3000 pics) yest
Don't use AbsoluteLayout, use FrameLayout, as AbsoluteLayout is deprecated.
- Dan
On Fri, Aug 21, 2009 at 12:51 AM, peeyush varshney <
varshney.peey...@gmail.com> wrote:
> Use Absolute Layout or WebView
>
> On Fri, Aug 21, 2009 at 3:15 AM, Emre A. Yavuz wrote:
>
>>
>> Hi,
>>
>> Does anybody know
A very fast check is whether you have a valid IP address assigned.
Another more complicated way is to use the network manager and listen
for connection state changes. In case of you get disconnected you
could keep this information in a persistent storage. Check this
persistent information before
Use Absolute Layout or WebView
On Fri, Aug 21, 2009 at 3:15 AM, Emre A. Yavuz wrote:
>
> Hi,
>
> Does anybody know how to place an ImageView object to a specific location
> on the screen or a tutorial/website etc. that may help me to figure it out
> myself ?
>
> Let's say I have an image to be p
Use post and handler mechanism or RunFromUI interface.
Thanks
asif
On Aug 20, 11:16 am, tstanly wrote:
> thanks for reply,
>
> so how can I do for change thread's control to change my UI?
>
> thanks!
>
> On 8月20日, 下午1時03分, star double wrote:
>
>
>
> > My god, you must change your UI in main th
hi,
i'm trying to make a map with showing my location with an arrow that
point to the way we are facing. the arraw image is something like
this:
^
0
always pointing north, so i rotate it with sensor orientation event
( image.rotate(values[0]) )
i would like to ask if google map's north is alw
Hi folks,
I have a problem to start/create Activity in landscape mode. My
Activity need to start in landscape mode and be used in landscape mode
by users. So far, I used
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE)
to force screen orientation of my Activity to landscape mo
Thank you Dianne!!! Yes, that did it.
Cheers.
On Aug 21, 1:53 pm, Dianne Hackborn wrote:
> Be sure you put android:debuggable in your manifest:
>
> http://developer.android.com/guide/topics/manifest/application-elemen...
>
>
>
> On Thu, Aug 20, 2009 at 7:55 PM, CraigsRace wrote:
>
> > I just
Be sure you put android:debuggable in your manifest:
http://developer.android.com/guide/topics/manifest/application-element.html
On Thu, Aug 20, 2009 at 7:55 PM, CraigsRace wrote:
>
> I just read up on DDMS, and yes, the documentation says I should be
> able to debug (Ie. set breakpoints). But
Hi All,
>From weeeks i m trying to play a video file from raw folder .but no
success. I have used this code
setContentView(R.layout.mediaplayer_2);
mPreview = (SurfaceView) findViewById(R.id.surface);
holder = mPreview.getHolder();
// Create a new
Keep looking as this is not Toronto
On Aug 20, 2:34 pm, jsbelanger wrote:
> I am looking for an Android developer in the Toronto area for a 3
> month contract. Please contact me asap if you are available.
>
> Thanks,
> JS
--~--~-~--~~~---~--~~
You received this me
Hi all,
I have just ported some open source tools(userspace, not GPL licensed)
to Android. And I'm planning to put it within the Android repo. Could
someone please kindly tell me how to set up a fresh git repo under
$ANDROID_ROOT/external ?
Thanks.
Best Regards
Dinny
--~--~-~--~~--
Is this local or remote?
Fred Grott
http://mobilebytes.wordpress.com
On Aug 19, 8:30 pm, Ashwin wrote:
> We are a government Software Contracting company. We currently have an
> opening for a Google Android Developer. At the time of interview, you
> will be required to sign a Non Disclosure agr
> Can I self publish to a Tmobile G2? Does anybody have a URL w/some
> instructions on how to do this?
Its very easy. All you really need to do is...
1. Plug your phone into your development machine via USB.
2. Using Eclipse, right click your project and select Run As -->
Android Application
I just read up on DDMS, and yes, the documentation says I should be
able to debug (Ie. set breakpoints), however, it doesn't work for me.
I'm wondering if it's because I'm using a standard G1 phone (not dev
phone, and no root access). I can see all the logging ok in the
LogCat, but when I start a
Hello,
I resolved this issue!
Same as my previous post, I put a transparent layout onto the top and
make it consume all OnTouchEvent().
After this, other views under this top layout will lost focus when
OnTouch happens(It is not I want ); by tracing, I found when Ontouch
happen, before OnTouchEv
Thank for you help
2009/8/21 Dianne Hackborn
> Then write it in a flat file. That works too.
>
> There is nothing all that special about this: your app is exiting
> (finishing); you apparently want to restore some state that was saved from
> the last time it run; so write it into persistent
I just read up on DDMS, and yes, the documentation says I should be
able to debug (Ie. set breakpoints). But it doesn't work for me, I'm
wondering if it's because I'm using a standard G1 phone (not dev
phone, and no root access). I can see all the logging ok on it, and
DDMS shows me the processe
It is highly inconvenient to try to remove your contact information
and insert a company logo in a PDF.
On Aug 20, 1:34 pm, Kent Loobey wrote:
> You won't accept a "sound" version?
>
> > kevi...@talgroup.net
> > kevin (dot) b (at) talgroup (dot) net
--~--~-~--~~~---
Then write it in a flat file. That works too.
There is nothing all that special about this: your app is exiting
(finishing); you apparently want to restore some state that was saved from
the last time it run; so write it into persistent storage somewhere when you
are done and read it back when yo
Oh and you'll need these:
final int matrix_size = 16;
float[] R = new float[matrix_size];
float[] outR = new float[matrix_size];
float[] I = new float[matrix_size];
float[] values = new float[3];
On Aug 21, 3:06 am, mscwd01 wrote:
> Heres my code, which works:
>
> public void onSensorChanged(Se
Heres my code, which works:
public void onSensorChanged(SensorEvent event) {
Sensor sensor = event.sensor;
int type = sensor.getType();
switch (type) {
case Sensor.TYPE_MAGNETIC_FIELD:
mags = event.values.clone();
I have a sensor event handler that gets fired and I have no problem
getting and processing acceleration readings. However this code
always fails.
if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER)
{
float[] geomagnetic = new float[3];
shared preferences couldn't store array.
2009/8/21 Dianne Hackborn
> Put it in your shared preferences, put it in a raw file, whatever.
>
>
> On Thu, Aug 20, 2009 at 6:04 PM, 宋庆欣 wrote:
>
>> Have I another way to store an array between sessions? DB is too
>> complex.
>>
>>
>> 2009/8/21 D
Put it in your shared preferences, put it in a raw file, whatever.
On Thu, Aug 20, 2009 at 6:04 PM, 宋庆欣 wrote:
> Have I another way to store an array between sessions? DB is too
> complex.
>
>
> 2009/8/21 Dianne Hackborn
>
>> If you finish your activity, that instance is gone, so you won'
Have I another way to store an array between sessions? DB is too
complex.
2009/8/21 Dianne Hackborn
> If you finish your activity, that instance is gone, so you won't get the
> instance state. onSaveInstanceState is for restoring the activity to its
> previous state after the user leaves
It is the soft keyboard.
On Thu, Aug 20, 2009 at 2:15 PM, human android
wrote:
>
> I always see this process running, does any one know what this process
> does?
> >
>
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note: please don't send private questions to me, as I don't
No, an .apk can not be modified once it is installed.
On Thu, Aug 20, 2009 at 3:08 PM, zeeshan wrote:
>
> Hi Experts,
>
> as my app is too big in size and it seems a long job downloading
> resources from web server.
>
> i want to move my files from assets folder in the app to sdcard on
> first r
There is no limitation -- you may run out of memory, though. That said, I
wouldn't really recommend doing this for a situation where a user could just
continue navigating indefinitely and wouldn't necessarily think about going
back over everything they have visited. For example, the standard bro
On Thu, Aug 20, 2009 at 4:44 PM, CraigsRace wrote:
> I've found many differences between the emulator and the device with
> regards to OpenGL, now I only test my OpenGL stuff directly on the
> device. Which is annoying, as it means I can't debug
What do you mean you can't debug? Developing on
Maybe they are doing the Apple approach. Keep it all quite, then go
out with a bang. If that is the case, I would expect the site to open
around the 26th. That would give devs 5 days to submit, and the
public would hear the buzz and they would be able to d/l the apps only
6 days later. ...but I
Fixed point is about twice as fast, however, in the grand scheme of
things (unless you're doing a crazy amount of math), it doesn't really
matter.
I've found many differences between the emulator and the device with
regards to OpenGL, now I only test my OpenGL stuff directly on the
device. Which
Hi,
I copy this sample code from book, because it show "NotifyMessage
cannot be resolved to a type" message,
can anybody help me, how can I find a NotifyMessage.class? thank you.
Ryan
import java.util.Timer;
import java.util.TimerTask;
import android.app.Ac
Is it necessary to limit how deep the activity stack can become within
an application?
I'm implementing a browser-type app. Every time the user clicks a
link, I could launch a new PageView activity, but then the activity
stack might become very deep. Alternatively I could have a single
PageView a
Ravi,
I would first try to check out whether in general your code is able to
receive the intents you are looking for.
You can verify this with configuring the Wifi settings on the phone
first and then by turning on/off your AP. If you are bale to see the
events, then the next step would be to con
Hi,
I am not able to see video preview. Here is is how I set up the
MediaCorder, before I fire it up:
mrec.reset();
mrec.setVideoSource(MediaRecorder.VideoSource.CAMERA);
mrec.setAudioSource(MediaRecorder.AudioSource.MIC);
mrec.setO
Are you referring "call picked up" to "call is accepted"?
After the call is accepted (state CALL_STATE_OFFHOOK) you are able to
get your dialog displayed but not earlier (at least I was not able to
manage this )
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The vi
or: http://hasthelargehadroncolliderdestroyedtheworldyet.com/
On Thu, Aug 20, 2009 at 6:38 PM, Yusuf Saib (T-Mobile USA) <
yusuf.s...@t-mobile.com> wrote:
>
> http://notyet.com/";>
>
>
>
> Yusuf Saib
> Android
> ·T· · ·Mobile· stick together
> The views, opinions and statements in this email are
http://notyet.com/";>
Yusuf Saib
Android
·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 20, 12:14 pm, Sebastian wrote:
> Someone s
The G1 has no floating point unit. Apparently fixed point can be much
faster, depending on what you're doing.
On Aug 20, 2:29 pm, "Dmitry.Skiba" wrote:
> Ha, nice bug. I'm using floats though.
> Why do you use fixed point? Is it (much) faster than float?
>
> Dmitry
>
> On 21 авг, 00:50, Robert
You will not accept a java version of the resume?
On Aug 20, 3:16 pm, Kevin - IT Recruiter
wrote:
> I have 3 month contracts (extendable) available for Android Developers
> in Toronto
> You must be local (no remote work)
>
> Send me a word version of your resume ASAP
> kevi...@talgroup.net
> kev
"Fwiw, the emulator is a software OpenGL implementation written in arm
code, with the arm code being emulated."
Dianne,
That's all you had to say right there. I went from being annoyed with
it to be impressed that it works as well as it does!
On Aug 20, 2:47 pm, Dianne Hackborn wrote:
> For
What is the simplest way to check whether my app can access the
internet? I am using some APIs that use the internet, but they crash
if there is no connectivity. So I just want to check if there is
internet access by any means. thanks
--~--~-~--~~~---~--~~
You re
Yes, I agree with you :) I was just noting that in my situation,
simply checking the permission won't do.
On Aug 19, 5:20 pm, Dianne Hackborn wrote:
> Then keep track of the uid that owns the data, and compare that with the uid
> of incoming calls.
>
> On Wed, Aug 19, 2009 at 4:13 PM, Jonathan
For the first 2 weeks, it was understandable. But good lord, theres no
news. If there was news, it would be posted. Hundreds of people are
waiting for it, just check the adc site each day, and it will eventually
open...
On Thu, Aug 20, 2009 at 5:40 PM, Sergo wrote:
>
> Is there any news about
Hi Experts,
as my app is too big in size and it seems a long job downloading
resources from web server.
i want to move my files from assets folder in the app to sdcard on
first run.
is this possible?
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
Does anybody know how to place an ImageView object to a specific location on
the screen or a tutorial/website etc. that may help me to figure it out myself ?
Let's say I have an image to be placed exactly at a certain location (when x
and y coordinates are provided) on the screen.
Is there any news about submission site?
--~--~-~--~~~---~--~~
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
Hi greatinnovus.
I could not give you any suggestions because I'm still getting errors.
In fact, I supposed is the your same error as our codes are very
similar. At the moment Jason Proctor is the only one who claims to be
successful in video capturing, maybe he could help us resolve the
issue.
hi,
I wonder if it's possible to get music player state, like which is the
current music playing, title, author and so on ?
Better, is it possible for an activity (or a service) to be notified
on music state changements (start playing, pause, etc.)
Someone can help me ?
--~--~-~--~~-
I always see this process running, does any one know what this process
does?
--~--~-~--~~~---~--~~
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@googlegro
On Thursday 20 August 2009 13:16:21 Kevin - IT Recruiter wrote:
> I have 3 month contracts (extendable) available for Android Developers
> in Toronto
> You must be local (no remote work)
>
> Send me a word version of your resume ASAP
You won't accept a "sound" version?
> kevi...@talgroup.net
> k
I have an active Q clearance and lots of Android experience.
Where are you located?
Robert Chou
Http://www.rcreations.com
Http://hit-mob.com/forums
On Aug 19, 6:30 pm, Ashwin wrote:
> We are a government Software Contracting company. We currently have an
> opening for a Google Android Develop
I have 3 month contracts (extendable) available for Android Developers
in Toronto
You must be local (no remote work)
Send me a word version of your resume ASAP
kevi...@talgroup.net
kevin (dot) b (at) talgroup (dot) net
--~--~-~--~~~---~--~~
You received this messa
I forgot to include a line, and although it's kind of obvious, I want
to be complete:
//
private AudioManager am;
am = (AudioManager)activity.getSystemService
(android.content.Context.AUDIO_SERVICE);
am.setRouting(am.MODE_NORMAL, am.ROUTE_EARPIECE, am.ROUTE_ALL);
/
Hi all. I'm trying to change the audio path to earpiece from
speakerphone, and I cannot get it to work on the G1: the audio always
goes through the speakerphone. Here's the code snippet:
//
private AudioManager am;
am.setRouting(am.MODE_NORMAL, am.ROUTE_EARPIECE, am.ROUTE_
Hello! I have a CheckBox in my layout. Such as following:
This works fine, but I want to set a custom background for it. So I do
this:
The background appears now, but ChekBox now looks strange. The text
("Sound mode on/off") now begins just where checkbox butto
I am looking for an Android developer in the Toronto area for a 3
month contract. Please contact me asap if you are available.
Thanks,
JS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
Because a Parcel isn't an argument you pass through interface functions, it
is the underlying container used to transfer the function arguments.
On Thu, Aug 20, 2009 at 2:36 AM, bear tung wrote:
> hi, i sent a intent to call a service interface which returns a parcelable
> object.
>
> but get er
For this kind of stuff, you should probably focus mostly on real devices.
Fwiw, the emulator is a software OpenGL implementation written in arm code,
with the arm code being emulated.
On Thu, Aug 20, 2009 at 10:50 AM, Robert Green wrote:
>
> I found the problem with the orthographic projection a
getChildAt(whatever).invalidate()
On Thu, Aug 20, 2009 at 12:41 PM, alkar wrote:
>
> Hmm, I suspected that :)
> Good to know for sure. Any ideas on the topic?
>
> On Aug 20, 10:33 pm, Romain Guy wrote:
>> invalidateViews() does not just redraw, it relayouts and flushes the
>> cache of Views. Do
Someone should build this site... http://istheadcsubmissionsiteopenyet.com/
All it needs to do, if you're too lazy to do some hand-coded HTML, is
redirect it to http://code.google.com/android/adc/
I'd pay the $10 for the domain, and build the site myself, if I
weren't too busy coding my ADC subm
Hmm, I suspected that :)
Good to know for sure. Any ideas on the topic?
On Aug 20, 10:33 pm, Romain Guy wrote:
> invalidateViews() does not just redraw, it relayouts and flushes the
> cache of Views. Do not use this unless you have a very good reason to
> do so.
>
>
>
> On Thu, Aug 20, 2009 at 1
invalidateViews() does not just redraw, it relayouts and flushes the
cache of Views. Do not use this unless you have a very good reason to
do so.
On Thu, Aug 20, 2009 at 11:22 AM, alkar wrote:
>
> I have a custom ListView and I want to redraw a View inside each row
> under some circumstances. How
I have a custom ListView and I want to redraw a View inside each row
under some circumstances. How would I do that in the ListActivity?
I can use:
ListView l = (ListView) findViewById(android.R.id.list);
l.invalidateViews();
But that seems a waste, redrawing the w
Ha, nice bug. I'm using floats though.
Why do you use fixed point? Is it (much) faster than float?
Dmitry
On 21 авг, 00:50, Robert Green wrote:
> I found the problem with the orthographic projection and documented it
> here -http://groups.google.com/group/android-developers/browse_thread/threa
Is anyone using this to determine uniqueness with a phone?How would you
set that in the emulator?
Wayne
--
Writing code is one of few things
that teaches me I don't know everything.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hello! I have a CheckBox in my layout. Such as following:
This works fine, but I want to set a custom background for it. So I do
this:
The background appears now, but ChekBox now looks strange. The text
("Sound mode on/off") now begins just where checkbox butto
I found the problem with the orthographic projection and documented it
here -
http://groups.google.com/group/android-developers/browse_thread/thread/86270803dbf1f88/263cb69723b36495?lnk=gst&q=opengl#263cb69723b36495
Emulator performance is still really bad, though. I've started to use
the device
Hi All,
I have made one app in which i have used ExpandableListView to
make the tree structure. In that i have keep some nodes empty (Only
parent having no child) & some with child nodes.
Now the scenario is that when i click on the parent node, if it
has the child then it is expan
hi, i sent a intent to call a service interface which returns a parcelable
object.
but get errors: "return type Parcel can't be marshalled"
#MyTest.aidl
import android.os.Parcel;
interface MyTest {
Parcel testSetRect(int a, int b, int c, int d);
}
why?
thanks for help.
Bear
--~--~-
Any news about the ADC submission site. Is it open yet???
Thanks
idriss
--~--~-~--~~~---~--~~
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
https://android-client.forge.funambol.org
On Aug 19, 11:22 pm, Tdj wrote:
> Hello,
>
> On Jul 28, 5:49 pm, angelo wrote:
>
> > funambol do have a second release of the syncml client which did do
> > contacts,events and tasks but I couldnt get it to work with my
>
> where can I donwloa
We are a government Software Contracting company. We currently have an
opening for a Google Android Developer. At the time of interview, you
will be required to sign a Non Disclosure agreement and if you are
hired a criminal background check will be conducted. The reason being
is that you will be
I'm using a WakeLock to keep the CPU alive for a few minutes while my
timer runs.
However, the CPU still seems to go to sleep after 5 minutes if I use
PARTIAL_WAKE_LOCK.
If I use SCREEN_DIM_WAKE_LOCK, it works as expected. In fact, I can't
tell if PARTIAL_WAKE_LOCK does anything at all; the CPU
Posting this on 'developers' instead of 'discuss' because I strongly
prefer to hit only developers with this "free app" offer.
I have had a very hard time getting any "real" users to volunteer to
be beta testers for my app, despite calls on the app description and
inside the app itself.
...so, i
I'd like to be able to somehow either log or visually detect what the
sleep state of the phone is. I have an app called DevTools which has
a checkbox to show the sleep state on the LED but this isn't working
(cannot check the checkbox).
Does anyone know of a way to do this?
Thanks,
Fraser.
--~
Peli, I think I love you :)
No seriously, I changed:
SensorManager.AXIS_X,SensorManager.AXIS_Z,
To
SensorManager.AXIS_Y, SensorManager.AXIS_MINUS_X
and it basically works, its slightly out but I am almost sure its down
to my projection code being slightly wrong ;)
Three days of bother and on
anybody ?
On Aug 19, 5:27 pm, cadlg wrote:
> Hello friends.
>
> I'm using this code to pick a contact:
>
> Intent i = new Intent(Intent.ACTION_PICK,
> People.CONTENT_URI);
> startActivityForResult(i, PICK_CONTACT_FROM_LIST);
>
> And this to read the phone numbers of the picked
Why hasnt there been any update anywhere regarding the status of the
adc2,
Or has it been mentioned somewhere that the submission sites will open
only after a specific dates?
Regards,
R.Karthik
--~--~-~--~~~---~--~~
You received this message because you are subsc
I'm not familiar with JUnitReports, but one way you could do this is
to parse the results outputted by 'adb shell am instrument -r -w ...",
and convert it into whatever XML format you needed.
There is existing parsing code in the Android open source project at
development/testrunner and
developme
Hi Guys,
Im still stuck up with this issue,
Can someone help me out, my jpeg image is always saving with a lower
quality where as if i save it as a png image its fine.
I have tried different compression levels.
Thanks in advance.
--~--~-~--~~~---~--~~
You recei
Hi Guys,
Im trying to save a bitmap in a JPEG format, and i can see that the
image is always stored with a lower quality even if i give the
compression level as 100, however for PNG it is working fine.
SImilaarly during Media.insert() or getContentResolver().insert() the
image is stored with a
Hi,
This is due to an incompatibility between Java signed byte type and
OpenGL's unsigned byte type. I get around this issue by casting the
returned byte value to an int. If the value is negative, add 256, due
to two's complement arithmetic. For example, a signed byte value of
-1 is the same
I'd register the control as a context menu receiver. That'll allow you
to have the list item perform the default or preferred activity on
click as well as hold click for further operations. This caters for
fast simple use and powerful functionality.
Something along these lines (where LIST_VIEW is
A couple of possible issues come to my mind:
* Did you make sure that your compass is calibrated? (figure 8 in the
air with the phone several times in various directions)
* Are you far enough away from computers, steel, loudspeakers, or
other objects that may deflect magnetic field lines (and thu
Thank you for the correction. I just removed that flag and everything
worked the same as you have stated. Guess I didn't experiment with it
as much as I should have.
Also, I have found a solution to my problem with auto cancel as well.
On Aug 20, 2:01 pm, Dianne Hackborn wrote:
> Er.
>
> FLAG_A
This does NOT exit the application, it just kills its current process, and
if the user is down in a couple activities, all this ends up doing is
removing the top activity (because it went away without saving its state)
and goes to the previous one. And if there are other things running in the
proc
Er.
FLAG_ACTIVITY_NEW_TASK will be added for you if you haven't set it already,
since the status bar is not part of a task, so it must launch the activity
into a new task.
And FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY has absolutely -no- impact on how
the activity is launched -- it is just set by the t
If you finish your activity, that instance is gone, so you won't get the
instance state. onSaveInstanceState is for restoring the activity to its
previous state after the user leaves it (WITHOUT finishing it) and later
returns and it needs to be restarted. Or if the configuration changes
(rotatio
That does fire the dialog, but now I've lost the item clicked on,
looks like the MenuItem is null?
On Aug 20, 11:01 am, Nivek wrote:
> If you use a ListActivity, try calling getListView().showContextMenu()
> in your onListItemClick() implementation.
>
> Nivek
>
> On 20 août, 16:49, Mark Hansen
can you give me any code snippt for it ?
On Aug 20, 6:17 pm, Mark Murphy wrote:
> Honest wrote:
> > The following is my java file code as i am adding controls in java
> > file so please take a look at it and let me know..
>
> > Country.setAdapter(adapter);
> > layout.addView(Country);
After some experimenting with the suggestions given here, I ended up
changing the Intent flag from FLAG_ACTIVITY_NEW_TASK to
FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY and that has given me the desired
behavior which I believe would also do the same for your app Gustav.
While I'm here, I would like for
1 - 100 of 202 matches
Mail list logo