I have been away from developing for a while and have lost track of the
changes that have been made in file access rules.
It used to be that the WRITE_EXTERNAL_STORAGE permission gave full access
to create public files.
When my Note 3 was updated to KitKat my app lost the ability to write to
I would like to create some home screen app widgets that are
entry points into an application. I can put a button in the app
widget
that uses setOnClickPendingIntent to start the activity.
The problem occurs when I want to have two of these app widgets that
are
entry points to different parts of
I create a media player for playing an audio file.
After it plays for a while I pause it.
I then seek to a position 5 seconds earlier (the new position) than
the current position (the old position).
I immediately call getCurrentPosition and it returns the correct new
position.
I have an
I need to know whether headphones are plugged in and receiving
my audio stream. I have tried using isWiredHeadsetOn from the
AudioManager, but this seems to always return false, even when
I am hearing audio through the headphones. I have only tried this
on my EVO.
Any suggestions?
--
You
or not.
On Tue, Jun 8, 2010 at 9:56 PM, info.sktechnol...@gmail.com
info.sktechnol...@gmail.com wrote:
I need to know whether headphones are plugged in and receiving
my audio stream. I have tried using isWiredHeadsetOn from the
AudioManager, but this seems to always return false, even when
I
I have a WebView which has been loaded with local content
using loadData(String data, String mimeType, String encoding).
I want this to initially display with a given substring of the
first parameter visible. This is, I want to scroll to a position
given the content at that position.
If
Could someone point me to the documentation or example on how my
application can intercept button pushes on an already paired and
connected bluetooth device?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
I have an application with 2 projects. Works fine in SDK1.1 and
compliles fine in SDK 1.5.
I am still using the 1.1 target.
But when I try to run it on the emulator in 1.5 it crashes. Logcat
indicates that it cannot find the
classes of the second project.
Is there something special I need to
http://code.google.com/android/kb/commontasks.html#selectingtext
On Feb 16, 11:08 pm, zcj0429 zcj0...@gmail.com wrote:
Hello, everyone:
How to set the color of texts which are in the same textview to be
different? I'm now developing a simple IM, so I need to show the
message. But I want
a client to scan a directory.
Michael
On Feb 14, 7:05 am, info.sktechnol...@gmail.com
info.sktechnol...@gmail.com wrote:
If I progammatically store new media files on the SD card, the
MediaStore does not know about them until I remove and reinsert the SD
card. Is there a way to tell
If I progammatically store new media files on the SD card, the
MediaStore does not know about them until I remove and reinsert the SD
card. Is there a way to tell the MediaStore to rescan the SD card
without first unmounting the SD card?
--~--~-~--~~~---~--~~
You
Can someone point me to info on how to create an Android service (that
uses IPC) using eclipse?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Is there a preferred way to find the data directory of an application,
other than starting with android.os.Environment.getDataDirectory()
and appending /data/ and the package name?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
If I setOnTouchListener for a view the only events I get are
ACTION_DOWN events.
What do I need to do to capture ACTION_MOVE events which should occur
when the user drags a finger across the view?
--~--~-~--~~~---~--~~
You received this message because you are
My application has 2 packages because one is shared with my other
applications.
I want to start an activity of the shared package.
I tried the following:
Intent intent = new Intent();
intent.setClassName(shardedPackageName,sharedActivityName);
startActivity(intent);
It throws an
at 9:47 AM, info.sktechnol...@gmail.com
info.sktechnol...@gmail.com wrote:
My application has 2 packages because one is shared with my other
applications.
I want to start an activity of the shared package.
I tried the following:
Intent intent = new Intent();
intent.setClassName
Not the best solution, but may save your users some memory:
Have 2 versions of the software, one with the database and
one without. After the database is installed, have the user
download the new version wothout the database. You could have a menu
item in the large application that downloads
I want to find out the width of a string if it is put into a TextView.
I see the graphcis.Paint.FontMetrics.
How do I get this from a TextView?
How do I determine the width of a string from this?
--~--~-~--~~~---~--~~
You received this message because you are
What is the preferred way to reduce the height of a button and
maintain the label in the center?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
try:
if(position ==0)
row.setBackgroundColor(Color.CYAN);
else
row.setBackgroundColor(Color.BLACK);
getView will sometimes return a view that was scrolled off the screen
rather than creating a new one.
On Jan 13, 4:17 pm, Alx alxw...@gmail.com wrote:
Hi there
When I'm trying
Go to Settings - Applications - Manage Applications
Use the hardware Menu button and Sort By Size.
Near the top you will probably find Package Installer.
If it is large, choose it and then Clear Data
I had this problem too, until I figured it out.
On Jan 10, 3:43 pm, Stoyan Damov
What is the meaning of the three numbers given for each app in the
developer market listing?
There is a number in paren right before the stars.
There are also numbers for total and active installs.
What makes an install active?
--~--~-~--~~~---~--~~
You received
of comments, and an active installation is
one that hasn't been uninstalled.
On Jan 6, 5:39 am, info.sktechnol...@gmail.com
info.sktechnol...@gmail.com wrote:
What is the meaning of the three numbers given for each app in the
developer market listing?
There is a number in paren right before
setLastModified in the File class seems to always return false, even
for files I have
created on the SD card? Has anyone been able to get this to work?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
24 matches
Mail list logo