A bit more information:
The DATA column in the MediaStore provider contains the file path, and
it is possible to create a LIKE selection that selects content from a
specific folder -- using a content: Uri not a file: Uri.
LocalDataSource looks like the place to start.
However, I suggest you
Google people should stop telling people to go read the source or
go read the config file, when others ask for what Google should have
documented.
On Sep 25, 7:15 am, Xavier Ducrohet x...@android.com wrote:
People should read the blog post Dan posted and read the files that
comes with it.
one
What, specifically, went wrong? It should work for more than very
basic applications.
On Sep 22, 9:28 am, Craigo craig...@gmail.com wrote:
Please update the Eclipse Export Android Application feature to take
the location of Proguard and do the obfuscated build.
The instructions
Hello William,
Which android maven plugin do you use?
Have you tried to use android library projects?
I tried one a couple of months ago without much success.
On Sep 22, 11:57 pm, William Ferguson william.ferguson...@gmail.com
wrote:
You could always use Maven for your Android builds. I do
It is very easy to move to ANT build script. I spent 30 mins to setup ANT
build script for one of my projects. And for others, I just copy the
build.xml and some properties files. The only change is the project name and
external jars.
BTW, when I was using ANT in a couple of projects, dexopt
In general, the examples and hints found here, in the SDK and on
StackOverflow will get you far.
My experience is:
1: You probably want to target only Android 2.2 (or higher). As far as
I recall, SPP was not supported before 2.1 (2.0.1?), but the versions
before 2.2. had various quirks that you
Hello,
I am trying to load a picture, then run a while loop. The problem is
that the program runs the while loop and doesn't load the pictures
until the loop has finished. Any help is appreciated.
Thanks
Jake
--
You received this message because you are subscribed to the Google
Groups Android
Thanks Robert,
Sure which I could simply use the multitouch with multiple views.
Looks like I am going to have one heck of a time mapping all the
locations of the keys.
Jake
On Sep 6, 10:01 pm, Robert Green rbgrn@gmail.com wrote:
ArcDroid,
I would do the following:
Mock up the screen in
Oh - forgot to say that I'm working with a HTC Desire.
/Per
On 26 Sep., 09:42, Per p...@care2wear.com wrote:
In general, the examples and hints found here, in the SDK and on
StackOverflow will get you far.
My experience is:
1: You probably want to target only Android 2.2 (or higher). As far
thanks
On Sep 25, 8:20 am, Ryan Mattison rmattis...@gmail.com wrote:
intent-filter
data android:scheme=lol.haha.scheme /
action android:name=android.intent.action.VIEW /
/intent-filter
a href=lol.haha.scheme://pass/here
On Sep 24, 9:50 am, AnasSamara anas86sam...@gmail.com wrote:
Ummm, you should mention more details, as to what and how you are
doing things. Else, no one can answer your query.
-Kumar Bibek
http://techdroid.kbeanie.com
On Sep 26, 12:45 pm, ArcDroid jacobrjohn...@gmail.com wrote:
Hello,
I am trying to load a picture, then run a while loop. The problem
Again I ask: why do you need to call onStart()? That's reserved as a
callback for Android during its activity lifecycle maintenance.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Best advise your users, through your dev page or a FAQ, why you can't
allow app2sd when it has a home screen widget or some other
constraint that prevents it.
Ignorant one-star ratings are a fact of life, as far as I can tell.
No need to get worked up about it, but do what you can to alleviate
the first picture never loads with the while loop. Once the loop is
removed the first picture loads just fine. right now it doesn't load
the first pic, but will show the second after 5 seconds.
Thanks
//start with picture 1
main.setImageResource(R.drawable.pic1);
//after 5 seconds load another
I originally tried a separate thread, but couldn't update the
ImageView from my new thread.
On Sep 26, 1:23 am, ArcDroid jacobrjohn...@gmail.com wrote:
the first picture never loads with the while loop. Once the loop is
removed the first picture loads just fine. right now it doesn't load
the
On Sep 25, 8:03 pm, Shane Isbell shane.isb...@gmail.com wrote:
Personally, I'd use Amazon over AndroidMarket, if the rating and comment
system was any where near the quality Amazon has on their primary site.
Personally (as a person who wants to get paid for work), I'd prefer
any mechanism
I'm jumping it.
Could anyone help?
On Sep 21, 10:32 am, Omer Gilad omer.gi...@gmail.com wrote:
Hello,
I'm using a webview inside my application in order to display a web
interface. One part of the web interface is a javascript that opens a
popup.
I'm currently attempting to use
Hi Nathan,
I am working on a client app that talks to custom hardware using the
BT SPP. The UUID I am using is the well known
1101--1000-8000-00805F9B34FB. The app sends commands (a few
bytes) to the HW and that responds with anything up to a few hundred
bytes of data. The custom HW uses
The View gets updated only after your method is done executing. So, when you
call setImageResource() the view is not immediately updated. You should use
a separate thread for your for loop, and I can think of 2 options right now:
1. Use a Thread and a Handler to update the UI (
hi ,
i want to know if there is an open-source code for Android that
enables us to read the barcode from an image and parse it
i found zebra crossing hosting on Google code
http://code.google.com/p/zxing/
but i can't found the code .
and when trying to check out the code the url is invalid
groupIdcom.jayway.maven.plugins.android.generation2/groupId
artifactIdmaven-android-plugin/artifactId
version2.5.2/version
No library projects at present. But i expect that will change in the
next couple of months.
I don't expect to have much trouble though as others using the plugin
claim to be
Samsung devices (all of them) have many bugs related to audio API.
In our application we've handled this by applying specific solutions
to known device models - you will have to investigate and find
workarounds for that.
On Sep 26, 4:05 am, Steve Hugg hun...@fasterlight.com wrote:
We have been
ProGuard has great documentation. Click on the Manual link on the left
at their site:
http://proguard.sourceforge.net/
They even have an example configuration file for Android projects in
the Examples section. It was there a long time before this recent
change by Google to add ProGuard support to
yes i added this new mime-type.
the phone now seems to download it (as opposed to displaying
gibberish), but in the notification bar it says download
unsuccessful
On Sep 25, 8:03 pm, Al alcapw...@googlemail.com wrote:
Try
AddType application/vnd.android.package-archive .apk
--
You
thanks everyone - problem fixed.
i had added the correct mime type in the web.xml but
forgot about the .htaccess file.
i deleted the incorrect one in htaccess and it worked fine.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hi,
This means your server is not trusted.
The reason can be that the server certificate is not valid or self-
signed.
Either you have to bypass this by implementing your own certificate
validation (I would not do it except if you have no other choices) or
add the server certificate to your
I think you should first take a look at:
http://developer.android.com/reference/android/view/ViewGroup.html#onInterceptTouchEvent(android.view.MotionEvent)
and here:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/view/ViewGroup.java
I really think that
In ScrollView add:
android:layout_alignParentBottom=true
android:layout_below=@id/send_ok_button
Remove LinearLayout, only one view in another is not good choice,
in RelativeLayout add:
android:layout_width=fill_parent
android:layout_height=fill_parent
On 25 Wrz, 21:42, Darrin Smith
hi all,
in the webView, it dosen't work call action
// first, easy way to call action. just add a 'single line' below
a href=tel:010-7494-3852 class=telcall action/a
// problem
http://www.kandroid.org/board/data/board/AndroidTechQnA/file/1/e2fcb3d2_error.jpg
what's wrong?
// code
.manifest
Would be nice to have this at the instant the user is experiencing the issue
as opposed to a separate FAQ.
On Sun, Sep 26, 2010 at 4:23 AM, Doug beafd...@gmail.com wrote:
Best advise your users, through your dev page or a FAQ, why you can't
allow app2sd when it has a home screen widget or some
would he also need to synchronize the threads? else in the thread that he is
displaying the options he might have checked the boolean and then just
before he calls his function to display the onStop could have got called in
the other thread? possible?
On Sat, Sep 25, 2010 at 6:38 PM, Dianne
I think all these methods are called on the main thread, so this shouldn't
be an issue.
On 26 September 2010 14:23, Prakash Iyer thei...@gmail.com wrote:
would he also need to synchronize the threads? else in the thread that he
is displaying the options he might have checked the boolean and
My bad. I interpreted the Runnable in your post to assume a new thread. That
Handler syntax always confuses me! Thanks.
On Sep 26, 2010 8:45 AM, Mark Carter mjc1...@googlemail.com wrote:
I think all these methods are called on the main thread, so this shouldn't
be an issue.
On 26 September
The only thing I can think of is that the drawables in the selector
are taken in the order in which listed in the XML. So it it finds a
match for the state it will grab the first entry it finds in order.
The other thing worth trying is to put two of these buttons on a
dialog and then test. Then
What, specifically, went wrong? Client / server apps will probably
have dependent projects/libraries/jars for common code. That all
works in Eclipse, but will go wrong with Ant unless you modify it.
Looking forward to the Eclipse support!
On Sep 26, 1:57 am, Indicator Veritatis
I made game for android but have problem with stuttering.
It occurs once in 10 seconds, sometimes 30 or 60 seconds.
It is not caused by garbage collector in my game. From reading of
LogCat
I found out that it is caused by background system processes like
KeyGuardMonitor, Watchdog, LockScreen,
I have built a simple app that uses a Google MapActivity. On top of
the Map, I have 2 overlays, a Marathon Course and the position of a
runner. The latter position overlay simply shows an updated blue
dot. I update the location of the dot every second but the screen
does not refresh. If I tap
On Sun, Sep 26, 2010 at 10:11 AM, cwgrc2 ch...@transformsw.com wrote:
I have built a simple app that uses a Google MapActivity. On top of
the Map, I have 2 overlays, a Marathon Course and the position of a
runner. The latter position overlay simply shows an updated blue
dot. I update the
I have a custom ViewGroup. The idea is to be able to place controls
at absolute positions and then have the ViewGroup scale those controls
based on the difference in the screen dimensions with respect to the
original design dimensions. I am using the code below. In response
to the 'onMeasure'
Hi,
I have String Array with some strings in it [UP,L,R,R...] and I have
some sounds (audio_up.mp3, audio_l.mp3 and so on). I want go through
all the strings in the array and play sounds accordingly with pause in
between (let's say 1 second).
for (int a = 0; a string_Array_String.length; a++) {
Well the overall answer is.
This is my first Droid App and first time using Java. I am an ME and thus
not so professionally experienced on how to layout and plan software. I more
just jump in and start hacking away. So due to that I made an improper
design decision at the start of this app. Now
On Sun, Sep 26, 2010 at 12:06 PM, Lucas Boucher lbouche...@gmail.com wrote:
I don't see how my calls to onStart()
would cause this specific issue and don't want to fix something that isn't
broke just to make code look better.
Except it is broke. Do not call onStart() of an activity yourself,
Understood and fixed, now onStart is called nowhere in my app.
Here is where my code currently stands, and i can still button mash it.
I am starting to wonder if this will happen on the actual hardware.
gps_init_alt_bld =
new AlertDialog.Builder(this);
gps_init_alt_bld.setMessage(
GPS Not
in Greek language : www.androidingreece.com! Take a look!!
--
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
If you change the size of a child, you need to measure it with that size first.
On Sun, Sep 26, 2010 at 7:38 AM, John Gaby jg...@gabysoft.com wrote:
I have a custom ViewGroup. The idea is to be able to place controls
at absolute positions and then have the ViewGroup scale those controls
based
So in my onMeasure routine I need to enumerate the children, compute
their new size and call each child's 'measure' function? If so, is
there somewhere that describes how I create the parameters for that
call?
Thanks.
On Sep 26, 9:53 am, Romain Guy romain...@android.com wrote:
If you change
Hello
How could I change a text color in my tabs? I tried with custom theme
style name=MyTheme parent=@android:style/Theme.Light.NoTitleBar
item name=android:windowBackground@color/beige/item
item name=android:tabWidgetStyle@style/VacationTab/item
Move the declaration of done_once into the anonynous inner class
itself, so it's the same variable between first and subsequent calls to
this function.
The way you had it, as a method-local, meant it was getting created and
initialized to false every time through. In other words, doing
Note that this most likely means that the server's certificate is
signed by an authority that the phone doesn't recognize, because it
doesn't have that authority's root certificate installed. It seems
to be a problem with most phones that they only come with a small
subset of the root authority
Hi,
I've never used the MediaPlayer API, but by reading the docs I see this
method that might be interesting to you: setOnCompletionListener (
MediaPlayer.OnCompletionListenerhttp://developer.android.com/reference/android/media/MediaPlayer.OnCompletionListener.html
listener)
probably you can
I have been told by one of my customers that my app (and some others)
no longer works on his phone since he got an OTA for2.1-update.
a bit of a Google about and it sounds like yes - my customer and my
app are not alone.
Has any-one else encountered this - is it Verizon's fault or has my
app got
2 Words
THANK YOU!!
On Sun, Sep 26, 2010 at 1:34 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Move the declaration of done_once into the anonynous inner class itself, so
it's the same variable between first and subsequent calls to this function.
The way you had it, as a method-local,
With the server located at 192.168.1.2 it most certainly is a
self-signed certificate.
-- Kostya
26.09.2010 21:39, DanH пишет:
Note that this most likely means that the server's certificate is
signed by an authority that the phone doesn't recognize, because it
doesn't have that authority's
you should first check if the particular combination is supported or NOT.
Raun AudioCaps on this device build and see if the issue causing
samplerate/encoding combination is supported or NOT.
-Dan
On Sun, Sep 26, 2010 at 2:29 AM, Omer Gilad omer.gi...@gmail.com wrote:
Samsung devices (all of
Have you thought about adding the following into your AndroidManifest.xml
uses-feature android:name=android.hardware.camera.flash /
-Dan
On Thu, Sep 23, 2010 at 11:54 AM, runt shaun.thomas.mccl...@gmail.comwrote:
Ok,
I am trying to write an app that will only run if the phone has a
post code snippet
-Dan
2010/9/23 dmtrl...@gmail.com dmtrl...@gmail.com
Thank you for reply, but i think its not correct behavior for
platform. My data in my folder not playing from my program
On 23 сен, 06:49, dan raaka danra...@gmail.com wrote:
That is due to filepermissions.
I
Not true. Likely, but not certain.
On Sep 26, 1:18 pm, Kostya Vasilyev kmans...@gmail.com wrote:
With the server located at 192.168.1.2 it most certainly is a
self-signed certificate.
-- Kostya
26.09.2010 21:39, DanH пишет:
Note that this most likely means that the server's
Can't for the life of me get this stuff to work. It looks like it is
trying to combine folders or something?
[proguard] ProGuard, version 4.5.1
[proguard] Reading input...
[proguard] Reading program jar [C:\Android\AndroidWorkspace
\GeoTextXandy\Die\ob
f\original.jar]
[proguard] Reading
If you are using 2.2 / api level 8 you could use
http://developer.android.com/reference/android/content/ContentResolver.html#addPeriodicSync(android.accounts.Account,%20java.lang.String,%20android.os.Bundle,%20long)
For 2.1 you're going to have to use the AlarmManager to schedule your
Mystery resolved - the problem was with the phone. somehow after I ugraded
to android 2.2 my phone's GPS provider stopped working. However I what I
really want to share is my experience with the Verizon tech support and
Motorola support.
well, when I complained that my GPS provider is not working,
On Sep 24, 4:45 pm, Vesmar ves...@gmail.com wrote:
Why there is this huge difference between real world time and trace
view time?
May be because I have a lot of idle time?
The method profiler uses a per-thread CPU usage timer provided by
Linux. While other threads or other processes are
Just wanted to add my vote for MAT being a life-saver.
but hmm, I still don't see allocation tracker in the Eclipse DDMS
plugin... and I *feeel* like I have the latest version.. but
obviously I must not. Or I'm looking in the wrong place... or
both.. :-)
On Sep 13, 10:54 am, Xavier Ducrohet
Thank you, I solved it. But...how could I minimize this repetition
(this is with depth = 3, but what with for ex. depth = 10)?
mMediaPlayer.setOnCompletionListener(new
OnCompletionListener(){
@Override
I just have one simple question, is it possible to extract (and read
records) SQLite Database out of Android application/.apk file/...)?
Because I have some important information in it, so I wanna be sure
it's pretty secure (only application has access to it)?
Thank you.
--
You received this
On Sun, Sep 26, 2010 at 7:10 PM, svebee sven.kapud...@gmail.com wrote:
I just have one simple question, is it possible to extract (and read
records) SQLite Database out of Android application/.apk file/...)?
Because I have some important information in it, so I wanna be sure
it's pretty
Hi Ahmed,
On 9/26/10, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote:
hi ,
i want to know if there is an open-source code for Android that
enables us to read the barcode from an image and parse it
i found zebra crossing hosting on Google code
http://code.google.com/p/zxing/
but i
I have posted two apps under a similar scenario with similar results.
I am not satisfied with their system, and unless something changes
soon, I'll be removing my apps. Although, I fear that this is an
impossibility. I just don't feel a level of trust with them at this
point.
On Sep 20, 11:08
My application was supposed to be easy way to learn how to do android
programming but this has me stuck. The images I am grabbing are mostly
different sizes so only some of the images are overlapping the
TextView. I have tried settinga Maxheight but this only works when the
screen is in vertical
You could always encrypt the data in the database. See
http://stackoverflow.com/questions/2203987/android-database-encryption
It would be nice to be able to encrypt the enture DB, but that doesn't
appear to be possible.
See http://code.google.com/p/android/issues/detail?id=191
On Sep 27, 9:16
There is an open source SQLite-crypto package which I've used on
Symbian and seen used on iPhone. But you basically have to load an
entirely new version of SQLite onto the phone, and I suspect that on
Android there's no way to switch it in in place of the existing
version, so it wouldn't
Ah, they'd be my own classes but they're irrelevant for this example.
Replace ApcEditText with EditText, remove TableComponent from the constructor
parameters (it's not referenced), and only pass 'context' into the constructor
of your EditText.
Peter.
-Original Message-
From:
This should be trivial, but for whatever reason I can't find any easy way to
do this. Coming from C# where this is a 1 line call, I don't understand why
Java makes this so complicated, and on top of that android leaves even that
out of its libraries.
Anyway all I want to do is write an
If you thought Motorola was dismal... here's my experience with
Orange.
I have some UK specific stuff so figured it was a good idea to get in
early and have a nice front seat, hopefully.
So in June I submit, fill out the paperwork and go back and forth with
their contractor until everything's in
Yes, niko20 is right.
See
http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList
for reference.
-Zarah.
On Sep 26, 9:11 pm, niko20 nikolatesl...@yahoo.com wrote:
The only thing I can think of is that the drawables in the selector
are taken in the order in
Hello Everyone,
I am baffled by the chaos!
I understand there are two ways to distribute one's apps: 1) through
the Market and 2) directly to the user.
Now that my app is in beta, I would like to give it to a few of my
users to test. But how?
What I read on the web talks about installing SDKs,
I've got a dynamically driven TableLayout object that I've written
which needs to support clickable rows, much like the out-of-the-box
ListView widget. The API involved with what I want to do seems clear
enough, but I need to know what the system defined clicked color is
-- the orange that appears
Just give your users the link and tell them to go to it with the phone's
browser. If you have the Mime Type setup on your server, everything else
is automatic :)
Sincerely,
Brad Gies
---
Bistro Bot - Bistro Blurb
i am now making live-web-cam-viewer
some cam forward 720*480 size bitmap
it is ok ,i can see live-stream, there is no delay
only when cam forward 360*240 size bitmap
seeing speed is bed ,there is delay
to fit bitmap of 360*240 size to my phone width
i re-sized bitmap like below
mImgResized =
Hi,
yes I create self signed certificate only..now what
should i do to run the app...?
Thanks in advance,
Gold
On Sep 27, 12:24 am, DanH danhi...@ieee.org wrote:
Not true. Likely, but not certain.
On Sep 26, 1:18 pm, Kostya Vasilyev kmans...@gmail.com wrote:
With the
Hi..
I want to call my asp.net webservice for every 50
seconds (for different methods) .How can I achieve this..
Is any help file is avilable..!
Thanks in advance,
Gold
--
You received this message because you are subscribed to the Google
Groups Android
Thank you Brad. This is very comforting.
I just used the browser on my Nexus one to download the .apk file. It
downloaded fine, but now what?
the app (actually a service, since it's a keyboard) does not show up
under language keyboard.
How do I use what I have apparently downloaded?
Thanks
Go for a background service or Alarm Manager.
You can find lots of examples on them.
-Kumar Bibek
http://techdroid.kbeanie.com
On Sep 27, 8:59 am, Gold thangadura...@gmail.com wrote:
Hi..
I want to call my asp.net webservice for every 50
seconds (for different methods) .How
Implementing your own serializer to do this I guess is the most
easiest. I am not sure though if Android still doesn't have an XML
Serializer. It wasn't there a few versions back when I last checked.
You can also use third-party libraries.
-Kumar Bibek
http://techdroid.kbeanie.com
On Sep 27,
What does it say? Whats the error?
-Kumar Bibek
http://techdroid.kbeanie.com
On Sep 26, 4:22 pm, hwani hwanii...@gmail.com wrote:
hi all,
in the webView, it dosen't work call action
// first, easy way to call action. just add a 'single line' below
a href=tel:010-7494-3852 class=telcall
On Sep 25, 7:46 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
How did you set the sizes of your text (font)?
Don't use 'dp'/'dip' and certainly don't use 'px'. Instead use the
'sp' measure for fonts (scale independent pixels).
Why not dp/dip?
The docs say this.
Similarly, you should
Hello ,
Have any used ATRIS package for testing Power management. if yes
kindly let me know what exactly the test case is trying to do.
Thanks
Ln
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
There are multiple options, depending upon how your existing code is
written, and no one here can give you a complete tutorial on that.
There are a few examples out there, if you search for it.
I would also suggest to see the code for K9Mail. It's open source, you
can have a look.
-Kumar Bibek
does somebody send me code of using javascript with android
and how to use wallpaper in android
--
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
plz send me code of using wallpaper in android
--
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
Hello All Developers,
I have written video renderer application which is
using surface flinger APIs to get access of it. I am developing and
building application on eclipse. So when i build it , it is already
signed default. But when i run it on emulator, i am getting access
This is not available as a third party application; you can only do this for
applications shipped with a system image, and by having the manufacturer
sign the .apk for you.
On Sun, Sep 26, 2010 at 10:02 PM, Tejas tejasbh...@gmail.com wrote:
Hello All Developers,
I have written
Hi All,
I want to call another activity when the user clicks an
hyperlink.
Can anybody suggest me how to use Intent in this case?
Warm Regards,
Sudeep
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
That sounds terrible =)
Anyway ... you're sure the life cycle methods in the base class are
definitely being called for A and B the way you think they are? That is,
when you see onRestart, for example, you're sure that's for B and not for A?
And there's nothing with statics?
Not sure what
93 matches
Mail list logo