Hi,
See also
http://developer.android.com/reference/android/location/GpsStatus.NmeaListener.html
Regards
On Jun 3, 10:28 pm, Mark Murphy mmur...@commonsware.com wrote:
GPS fixes will arrive at a rate determined by the GPS hardware and the
environment. You cannot control this.
Either adjust
I'm trying to build ADWLauncher, but I'm getting a ton of compiler
errors in Eclipse SDK 3.7.1 in a Win7 32bit PC with JDK7. I imported
ADWLauncher to Eclipse. and I'm getting the following errors:
Description ResourcePathLocationType
Android requires compiler compliance
Hello,
I am new in android, and I am developing an app, where I want to watch a
movie in a webview, using HTML 5, but the video doesn't appear, when I run
the app I can see only the video controls...
The code in html that I am using is:
code = !DOCTYPE html +
html +
head +
titleSimple
hye..im student from malaysia..currently im doing the project base on
android Bluetooth. i try to attach sensor and to retard the sensor to
Android device. i try to refer the chatting program and modified it,
but it doesn't work. i get confuse with command inputstream,
getinputstream and
Hi Guys ,
i need to remove an contact or more from specific group via coding .. any
one can help me ??
thanks for your help ..
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
As it is said in the Dev Guide Activities could be *restored* after
the App process is killed and User navigates to the Activity.
First of all, I have never seen this happened. It doesn't seem that I
can navigates back to an Activity when its process is killed, the
Activity is simply gone from the
Hi everybody. Anybody know what is the reason to use the SipWakeLock?.
I don´t see the case in wich this is needed because even pressing the
power button to switch off my screen, the timer keep being received. I
understand that without using this partial lock, the consumption of
battery would be
Hi,
I am trying to open a html page with embedded flash object using webview.
It is not showing the flash object. Could you please help me? I am using
sdk api 10.
my code is like
package com.test5;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
public
Hi,
I want to make the following scenario work.
- In portrait mode, the page should be scrollable and has a VideoView to
show the Video.
- When user turns to landscape, the video view should be in fullscreen.
Also if the video is not playing then the layout should change according to
I just created an r15 avd. Every time it starts on my sony laptop I can
select my (internal) webcam from the list. But neither the camera active
led turns on nor I see a picture from webcam in the camera app. Skype works
just fine with the camera.
If I type
emulator -webcam list -avd Test
Thanks for the info above guys, it really helped me out.
And I'd add that it's sort of important to know how people work to try
to talk to them. They usually respond better to politeness, especially
when they've already apologised in advance for asking an obvious
question...
On May 5, 10:30 am,
Try giving bacground color to the videoview -
videoView.setBackgroundColor(Color.TRANSPARENT);
On Thursday, July 23, 2009 2:53:26 PM UTC+5:30, nuno wrote:
Hi all,
I am using a VideoView inside a LinearLayout together with other views
like TextView, and this LinearLayout is inside
Hello,
From ADT rev17 I can not add the javadoc of third-party libraries.
How is it possible to attach it?
Would you be corrected in later versions?
I have Fedora 17 64 bits + Eclipse Juno (4.2.0) + ADT 20 preview 3 but not
is possible to add javadoc (from ADT rev17).
Thank4Advanced
Best
I have a ListPreference and when the preference changes I call
notifyChanged which should update my ListView.
This does not seem to do the trick. Can someone explain what notifyChanged
actually does and maybe I can understand why it's not working?
--
You received this message because you are
I added a setting in AOSP Contacts to use smaller contact photos. I
added it as a system setting and I have a listener to catch changes. I
tested this with a Log.d message and it's all working.
If I click
Settings Sort list by
or
Settings View contact names as
and select a value, the list is
Hello,
In the past few weeks, and especially since the most recent system
update, I've had problems with my phone's battery. It will lose nearly
all of its charge when I power it off at night. Last night, I powered
it off at 90% charged and this morning when I turned it on, it was at
30%. This is
Hi,
I am new to andriod programming and needs help in population of
checkedTextView for strings in array. Could you please help me?
Regards,
Amit Gupta
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I have XML files that store data, parts of the file store recorded
information. I have no control over the files as they are from other
programs. What Im trying to do is update just a single tag text and not
have to go through and write an entirely new file. These files can get
especially
The thing that worries me is that the startScan() method also requires
permission android.permission.CHANGE_WIFI_STATE.
If you just do a scan, and will not change the wifi settings.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hi, i am developing an android application and i need help to solve my
problem on my application.
My application is consist of 2 activity, main.java and
CobaGesture.java.
Main,java has a start button that run startActivity(new
Intent(main.this, CobaGesture.class));
CobaGesture.java has a back
Hello to the group from an Android newbie. I have considerable experience
in software design and coding (including Java), but none with Android. I
have, however, read the setup info, and have a good idea how to get started.
I want to develop an app that has the ability to receive text messages
Hello,
I am trying to stream video from my server to my android phone.
The android ApiDemo doesn't work - i get error (1,-1)
I downloaded an app to my nexus one call rtspviewer --
https://play.google.com/store/apps/details?id=com.alemocni.rtspviewerhl=en
I put my link in and it worked perfectly.
I
I'm trying to optimize my grid adapter item. I'm already using ViewHolder
(as suggested by various google talks) when calling getView in my adapter.
My xml also doesn't go that deep. There are no linear layouts, only
relative layouts, and it's five layers at the deepest. Are there other
tweaks
Hello,
I am trying to implement SSL pinning following this approach:
http://blog.crazybob.org/2010/02/android-trusting-ssl-certificates.html
It all works fine on multiple test devices (Nexus, Samsung S1,
Wildfire, etc.), except on Samsung Galaxy S2 (European version with
2.3.6). Sporadically (one
Làm cái này đuối thật các pác nhĩ
On Saturday, November 17, 2007 8:45:16 PM UTC+7, John Albano wrote:
Hi all,
Does anyone have a simple example of playing video? I've tried the
following, but get an ActivityNotFoundException (no activity found to
handle intent)...
ContentURI myURL =
This is not related as hacking an android device or anything, but I'm
pretty sure I created a tool that's gonna appeal to a few Android
developpers : a drag and drop utility that takes xhdpi .png files as input,
and automatically generates ldpi, mdpi, hdpi files.
What's more, it resize 9 patch
Hello,
I think there is no way to change the expiry timeout itself.
However, you can reset the expiry event by calling
connMan.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE,
enableHIPRI);
repeatedly every 30 seconds or so.
This should stabilize your connection as long as you need
0down votefavorite
share [g+]share [fb]share [tw]
I'm an Android noob and I'm writing an application that has 3 tabs
with buttons added to the tabs dynamically in code. This works fine
with API 11 or up, but not with any lower API. I don't get an error
message with a lower API, the buttons
There is no way to change the expiry delay.
However, you can reset the timeout by calling
connMan.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE,
enableHIPRI);
every 30 seconds or so.
The connection should then be stable as long as you need it.
Hope this helps
Sascha
Am
On actual phone, Razr with Android 2.3.6 I get the address filled in but no
body.
On a Droid running Android 2.2.3, all works ok.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
0down votefavorite
share [g+]share [fb]share [tw]
I'm trying to push a 3GP file to the Eclipse emulator. I open the
emulator and in Eclipse go to the DDMS perspective. In File Explorer,
I open /mnt and highlight sdcard. I click on the Push a file onto the
device button and choose my 3GP file.
Hi Jay,
Your solution doesn't worked for me. Yes, the project could pass the
compile without errors, but the attributes are never read at runtime.
Hank
On Friday, March 2, 2012 4:22:40 AM UTC+8, Jay Kline wrote:
Im using a slightly better kludge. Instead of having to include the xml
I am also facing the same issue.
Regards,
Amit Gupta
On Mon, Jun 4, 2012 at 3:02 AM, Angélica Oliveira angelica@gmail.comwrote:
Hello,
I am new in android, and I am developing an app, where I want to watch a
movie in a webview, using HTML 5, but the video doesn't appear, when I run
just go through this link might be you get some idea!!!
http://eagle.phys.utk.edu/guidry/android/pushpull.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
just go through this link might be it helpful for you!!
http://eagle.phys.utk.edu/guidry/android/playingVideo.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
On 04/06/12 01:24, Mike Dodd wrote:
3. Use network sockets. I have written a socket server in C that runs on
Linux, for a different application, and a socket client in C#.Net. Could
sockets be used on an Android?
Why don't you want to use java socket ?
In your activity class do the following
EditText text = (EditText) findViewById(R.id.youredittextid);
EditText text1 = (EditText) findViewById(R.id.youredittextid);
and implement onclicklistener
btn.setOnclickListener(new OnclickListener(){
public void onclick(){
hi ,
I need help on CalendarView... the requirement like Android
calender(day,weak,month) view and making appointment and get
notification if have any appointments and if any one have Idea or
sample code or examples pls let me know...help me on this...
Thanks in advance
--
You received
There is at first no need to send two of the same emails, just different
subjects within a couple of hours, or days. That is just not that cool with
regard to the other people who also have questions. No need to spam the
list.
http://lmgtfy.com/?q=Calendar+example+android
On Mon, Jun 4, 2012 at
I modify my code and use bindService(new
Intent(getApplicationContext(), MessengerService.class), mConnection,
Context.BIND_AUTO_CREATE) but my service still be killed and created
with my Activity life cycle. Can you please illustrate Don't unbind
in the old activity instance -- only unbind from
04.06.2012 13:06, Greenhand написал:
I modify my code and use bindService(new
Intent(getApplicationContext(), MessengerService.class), mConnection,
Context.BIND_AUTO_CREATE) but my service still be killed and created
with my Activity life cycle. Can you please illustrate Don't unbind
in the old
The solution proposed by Mark Murphy works well.
Create a timer with the interval you want and call then
getLastKnownLocation method to obtain the gps values.
For this you will need the requestLocationUpdates and get the list of
providers from the LocationManager.
Create a loop inside the timer
First work through tutorials, then demonstrate a resonable effort before
posting a question. Nobody here will do your work for you.
On 4 June 2012 05:56, vamshi ch vamshi0...@gmail.com wrote:
hi ,
I need help on CalendarView... the requirement like day,weak,month *view*and
making
why shouldnt startservice/stopservice instead of bind/unbinding to the
service
On Mon, Jun 4, 2012 at 3:15 PM, Kostya Vasilyev kmans...@gmail.com wrote:
04.06.2012 13:06, Greenhand написал:
I modify my code and use bindService(new
Intent(getApplicationContext()**,
Why use addition instead of multiplication?
-- K
04.06.2012 14:06, sha m написал:
why shouldnt startservice/stopservice instead of bind/unbinding to
the service
--
Kostya Vasilyev
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
On Mon, Jun 4, 2012 at 5:06 AM, Greenhand cooperateonl...@gmail.com wrote:
I modify my code and use bindService(new
Intent(getApplicationContext(), MessengerService.class), mConnection,
Context.BIND_AUTO_CREATE) but my service still be killed and created
with my Activity life cycle. Can you
Hi,
Android allows to draw remote views for widget.
Remote view do not support all the view to be placed in it.
On Mon, Jun 4, 2012 at 9:49 AM, zhang guichuan codeman.zh...@gmail.comwrote:
i have search for a long time. some method can add a complex app widget on
launcher. such as add
This list is for developing applications with the Android SDK. Use a
general forum (e.g., http://android.stackexchange.com) for general
Android user questions, or contact tech support for your device
manufacturer or carrier.
On Sun, Jun 3, 2012 at 7:10 PM, Ryan Schwartz losethesh...@gmail.com
On Fri, Jun 1, 2012 at 7:19 AM, Jesús Gumiel jesus.gum...@gmail.com wrote:
Hi everybody. Anybody know what is the reason to use the SipWakeLock?.
There is no SipWakeLock in the Android SDK. There is one in the
firmware, but that is out of scope for this list.
--
Mark Murphy (a Commons Guy)
It works that way because the OS has no way of knowing your intentions :)
That permission is needed so you COULD change the settings.
On 3 June 2012 08:22, Kiral kiral.c...@gmail.com wrote:
The thing that worries me is that the startScan() method also requires
permission
What did a google search about blocking a contact tell you?
On 2 June 2012 13:19, ala hammad 3la2.7am...@gmail.com wrote:
Hi Guys ,
i need to remove an contact or more from specific group via coding .. any
one can help me ??
thanks for your help ..
--
You received this message because
I'd go for creating a multi-part copy of the originals, and then parsing
the parts.
On 2 June 2012 21:10, Alex Deering deeri...@gmail.com wrote:
I have XML files that store data, parts of the file store recorded
information. I have no control over the files as they are from other
programs.
I recommend that you work through some tutorials and demonstrate some
effort into solving this issue yourself before posting a question here.
Nobody is going to do you work for you, and you will get a better reception
to your question if show a reasonable effort.
--
Magnetic Door Alarm
On Jun 3, 7:09 pm, Kostya Vasilyev kmans...@gmail.com wrote:
03.06.2012 14:22, David Ross написал:
Sadly, this does not work at all well. Just as when you have a widget
and you uninstall the app you get the horrid Problem Loading Widget
message, the same thing happens when the user
Hi! Seems replying directly from gmail doesnt refresh this page. so im
posting again, i changed the property like you said but if i call the
dialogfragment, rotate the phone and press ok, it wont refresh the
editext.Only if i call it again, dont rotate, and press ok. The problem
happens when i
hi, I am a iOS developer, coming new to the land of android, ;)
I have started my android app, and tested some of the components, but have
problem implementing the structure and a few things...
I need to make my android app, very similar to my iPhone app, as to use the
same artwork, and keep
i posted one topic for offline sdk and could not further locate it,
hence posting a new one.
as sdk dload is forbidden , i tried getting parts of sdk and eclipse
through mails and successfully built the android tools like
eclpse 3.7.2
java 1.6
android-2.2_r03-linux (in fact all platfom, and
On Mon, Jun 4, 2012 at 7:08 AM, LordMaKo juanman...@gmail.com wrote:
but when I want to scroll left or right to have another fragment for that
tab, I have a problem, knowing how to implement this, I tried first by
sensing when a swipe happens[but cannot detect the swipe]
SO question
Use a
Hi all,
Here I want to show display gif image, for which I found the solution to
display frames of that image and use animation in that.
The following tutorial (link) helped me out in that.
http://www.blindndumb.com/2012/02/android-tutorial-playing-gif-animation.html
Here using this link, the
HI,
I have a 2 sets of latitude and longitude pairs. I want to find
path between these 2 pairs of lat and long and then show it on Google map.
How can I find the path for android?
Thanks in advance !
--
You received this message because you are subscribed to the Google
Groups Android
http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html
http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html#attr_android:oneshot
Well, that problem solved using oneshot property, by setting it to true.
(silly mistake)
Now I am suffering from the problem that I want to start the animation
again on click event like here, but it is playing only for the first click,
not after that.
image=(ImageView)findViewById(R.id.img);
just go through this link might be you got some idea
http://saigeethamn.blogspot.in/2009/09/android-developer-tutorial-part-9.html
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Good info. This actually explains some of the buggy behavior I've seen,
not on my own apps, but on various others on my own devices. Especially
when I apply an update and then the screen widget stops working with an
App not installed error popping up.
On Sunday, June 3, 2012 10:57:37 PM UTC-4,
Hi all,
I want to use tesseract ocr android tool in my app.Anyone help on
using this tool.
Thanks,
vijay.k
--
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
I think you should divide your project in two separate steps:
- storage management: I think you're thinking about db storing to protect
your document.
- pdf rendering
For the first step, I think you won't be able to put your file from db to
ram and past it to the second step: third part library
If you post up the relevant code it will help.
On 4 June 2012 11:41, Bluemercury joao.ro...@gmail.com wrote:
Hi! Seems replying directly from gmail doesnt refresh this page. so im
posting again, i changed the property like you said but if i call the
dialogfragment, rotate the phone and press
What did a google search tell you?
On 2 June 2012 13:19, ala hammad 3la2.7am...@gmail.com wrote:
Hi Guys ,
i need to remove an contact or more from specific group via coding .. any
one can help me ??
thanks for your help ..
--
You received this message because you are subscribed to
I added following two methods in my Activity:
@Override
protected void onSaveInstanceState(Bundle outState) {
outState.putBoolean(serviceBound, serviceBound);
}
@Override
public Object onRetainNonConfigurationInstance() {
return serviceConnection;
}
And in onCreate() of the Activity, I
Are you talking about some features you have seen in some appwidgets with
rich content?
Bear in mind that most advanced widgets rely in a specific home launcher,
not the stock Android launcher. For example, the Go Launcher widgets. Those
can do fancy things in the home screen because the
Did you search google?
--
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-developers+unsubscr...@googlegroups.com
For
What does a google search tell you?
On Mon, Jun 4, 2012 at 2:52 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote:
Hi all,
I want to use tesseract ocr android tool in my app.Anyone help on
using this tool.
Thanks,
vijay.k
--
You received this message because you are subscribed to
But I do not think even you write your app in c++ which can work in other
platform. There are some Framework claimed they can make compile the code
into various os. For example,
http://xamarin.com/monotouch
But I think the best way is to write a html5 app
Regards,
Michael
http://www.itblogs.info
http://lmgtfy.com/?q=android+tesseract+ocr+tutorial
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jun 4, 2012 at 6:52 AM, Vijay Krishnan vijay.vijay...@gmail.comwrote:
tesseract ocr
--
You received this message because you are subscribed to
2012/6/4 Greenhand cooperateonl...@gmail.com
if(serviceBound == false){
bindService(new
Intent(getApplicationContext(),MessengerService.class),
serviceConnection, BIND_AUTO_CREATE); //!!!
Log.d(MyMediaPlayerActivity,Activity: bindService());
}else{
In onDestroy(), I checked whether the Activity is finishing and bound.
If so, I unbindService().
if(isFinishing() serviceBound){
unbindService(serviceConnection);
Log.d(MyMediaPlayerActivity,Activity: unbindService());
}
On 6月4日, 下午9時04分, Greenhand cooperateonl...@gmail.com wrote:
I
On Mon, Jun 4, 2012 at 9:17 AM, Greenhand cooperateonl...@gmail.com wrote:
In onDestroy(), I checked whether the Activity is finishing and bound.
If so, I unbindService().
if(isFinishing() serviceBound){
unbindService(serviceConnection);
Log.d(MyMediaPlayerActivity,Activity:
So, I'm trying to figure out how much RAM is on my LG Optimus phone.
I ran two system info apps, and they both say 423MB. Here's a screen shot
of one:
http://postimage.org/image/sajk7w9eh/
Does this make any sense? Shouldn't it be something like 256MB or 512MB?
--
You received this
Most optimizations are going to be done in code... So the XML layout of
your item doesn't really help all that much. What does your adapter code
look like? Are you using a stock adapter or did you write your own? What
does your getView() method look like (so we can make sure you are using
I didn't find any help on Google .
On Mon, Jun 4, 2012 at 6:33 PM, Fred Niggle fred.nig...@googlemail.comwrote:
What did a google search tell you?
On 2 June 2012 13:19, ala hammad 3la2.7am...@gmail.com wrote:
Hi Guys ,
i need to remove an contact or more from specific group via coding ..
Well, for one, you have to take into account the size of the OS, and two,
this isn't the correct forum for this type of question... Unless I'm
mistaken, I believe you have been told this many other times with other
questions you have asked as well.
Please only ask questions that are relevant to
I can you there IS a tutorial about this - just google it.
On 4 June 2012 14:35, Mini agrawal itsmin...@gmail.com wrote:
I didn't find any help on Google .
On Mon, Jun 4, 2012 at 6:33 PM, Fred Niggle fred.nig...@googlemail.comwrote:
What did a google search tell you?
On 2 June 2012
Have you tried a USB to Ethernet converter?
- Original Message -
From: bob
Sent: 06/03/12 07:13 PM
To: android-developers@googlegroups.com
Subject: [android-developers] Ethernet cables?
Is there any way to hook an Android tablet up to a LAN using Ethernet cables?
--
You received this
It works! The context is so mysterious in Android.
Another question, in the tutorial (http://developer.android.com/guide/
topics/fundamentals/bound-services.html#Messenger), the mService is
not initialized and mBound is false until the mConnection callback is
called. In the sayHello(), it uses if
I just tried, nothing has been fixed in months.
Il giorno venerdì 1 giugno 2012 12:10:02 UTC+2, sblantipodi ha scritto:
As title,
some months ago I had some problem signing my android apps using java 1.7
that forced me to
switch back to jdk 1.6.
Is this problem fixed?
--
You received
Disable the button until it is usable.
On Mon, Jun 4, 2012 at 9:57 AM, Greenhand cooperateonl...@gmail.com wrote:
It works! The context is so mysterious in Android.
Another question, in the tutorial (http://developer.android.com/guide/
topics/fundamentals/bound-services.html#Messenger), the
Maybe this is an easy question, but I'm not quite sure.
Which is faster to read from on an Android tablet? RAM or the SD Card?
I'm guessing probably RAM, but I'm having a hard time figuring out the
typical read speed from RAM. I'm guessing typical RAM in an Android tablet
is maybe 500
Did you set anything up to tell your listview to update itself when the
preference changes?
Maybe with this:
http://developer.android.com/reference/android/preference/Preference.OnPreferenceChangeListener.html
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
An ANR is usually the result of doing too much work on the UI thread...
From the log it looks like this is happening in main. So, figure out what
you are doing that takes a lot of time and move it to a different thread.
Thanks,
Justin Anderson
MagouyaWare Developer
Just let each activity worry about itself... Use onSaveInstanceState() and
onRestoreInstanceState() in each activity and you should find that
everything will work out just fine.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sun, Jun 3, 2012 at 5:02
--
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-developers+unsubscr...@googlegroups.com
For more options, visit
But I don't think it distinguishes between breakfast, lunch, and dinner...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Thu, May 31, 2012 at 4:52 PM, Matt Kanninen mathias...@gmail.com wrote:
The native daemon will automatically eat apps as needed
*This is the xml which i want to parse and display .*
Well then, by all means, parse it and then display it... Have fun!
*
* Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Thu, May 31, 2012 at 7:09 AM, Rohan Tilekar mail.rohan...@gmail.comwrote:
Thank you!
On 6月4日, 下午10時05分, Mark Murphy mmur...@commonsware.com wrote:
Disable the button until it is usable.
On Mon, Jun 4, 2012 at 9:57 AM, Greenhand cooperateonl...@gmail.com wrote:
It works! The context is so mysterious in Android.
Another question, in the tutorial
This is not the right forum... Ask your question on one of the forums
listed here: http://source.android.com/community/index.html
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, May 29, 2012 at 7:03 AM, shailesh jagnani shaileshjagn...@gmail.com
If I change the MessengerService into an media player service, a user
can control the media player by the ServiceConnection in the Activity
and the media player service can update the UI according to the state
of media player. The downside is that the playback will be stopped
when a user leaves
Don't use bindService(). Use startService().
On Mon, Jun 4, 2012 at 11:11 AM, Greenhand cooperateonl...@gmail.com wrote:
If I change the MessengerService into an media player service, a user
can control the media player by the ServiceConnection in the Activity
and the media player service can
You can use the NDK to write C++ inside Android apps.
But you can't really write apps using C++, it's just not possible. So
you can write native code, but you don't really get access to a nice
framework that includes all the necessary pieces for apps, etc...
(Sure, you can probably hack it and
It is easy to test:
First make sure to run some other app on your device/emulator.
Run your app on your device or emulator and navigate to your activity.
Then start another app: Either through the most-recent app list or by
clicking some item in your notification list (if any).
While this other
If I use startService(), can the Activity communicate with the Service
and vice versa?
On 6月4日, 下午11時15分, Mark Murphy mmur...@commonsware.com wrote:
Don't use bindService(). Use startService().
On Mon, Jun 4, 2012 at 11:11 AM, Greenhand cooperateonl...@gmail.com wrote:
If I change the
1 - 100 of 169 matches
Mail list logo