#3 is the best option. Every time you need to show the file, check if it
exists on the SD card, if it does just send the path to the reader other
wise copy it first.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, s
Needless to say #1 and #2 are not even possible.
--
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+unsub
Why are you answering if you don't have an answer?
--
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+uns
JP,
You ask a question and then insult the only person who tries to help with a
very pointed (and correct) answer.
The power in VA is meaningless in this context as the battery capacity is
always given in terms of mAH. Please notice that voltage is missing here
since it does not matter. What m
In your base Activity class, add this:
protected RadioButton findRadioButtonById( int id ) {
return (RadioButton) findViewById( id );
}
This could of course throw an exception if the id does not represent a
RadioButton.
--
You received this message because you are subscribed to the Google
All this is fine but OP needs to take a step back and ask himself why he
needs to use a string as an identifier? In Android, numeric resource ids
serve the same purpose and are already defined for you by the resource
compiler.
--
You received this message because you are subscribed to the Goog
Make sure you have the correct Vendor id listed for your device. Use lsusb
to get this. Then make sure you are a member of the group that gets the
permission (plugdev in this case).
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
I will do it for $85/hr with no extra charge for any ending of your choice.
Don't you love competition.
--
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 their FAQ:
Q: What does VitamioInstaller.VitamioNotCompatibleException mean ?
A: A VitamioInstaller.VitamioNotCompatibleException indicates that you're
using a device which is not supported by Vitamio. By now, Vitamio can work
with most ARMv6 and ARMv7 based devices, but not x86/MIPS/ARMv
You are not taking this seriously are you? Because none of us are.
--
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
androi
How are you ensuring that they are being reassembled in the same order?
>From the code, it looks like you just get a list of all the files in the
assets directory and concatenate them in the order they were returned by
the API. This order may or may not be the same as the natural order of
these
Then copy the corrupted file to your desktop and do a binary compare with
the original. This may give you some clues about what is going wrong.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-de
The above should work for you very well. Also, consider using
RelativeLayout instead of the deeply nested layout that you have.
--
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@googleg
- Does Google currently facilitate the transfer of acquired apps/games
from one developer account to another?
No. They only care about your developer account and signing key.
- If so, what are the requirements?
- If not, is this something Google may plan for the future?
Am I go
It's like asking what is the difference between apples and oranges.
Did you even bother to read the developer docs about services and threads?
It should be clear if you take time to read.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
On Wednesday, March 28, 2012 10:20:22 AM UTC-4, Rob Jackson wrote:
>
>
> Google generates revenue by facilitating a marketplace for these goods to
> be bought and sold, and to be quite honest, transferring ownership of an
> app should be no more foreign a concept than a registrar allowing the
>
On Wednesday, March 28, 2012 10:45:27 AM UTC-4, Rob Jackson wrote:
>
>
> And Nadeem, I certainly appreciate hearing all angles/opinions, but
> perhaps you should be a bit more open minded regarding the possibility that
> other people have different opinions than you're own? And they might be
>
Rename your "lib" directory to "libs". Clean and rebuild the project and
try again.
--
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, se
It would really help if you learned a bit more about Java.
--
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-develo
The MarkChat.Name.get() returns the same value for all your list items.
That is causing the name to be the same for all items. It should return the
name based on the "position" of the item in the adapter.
Also, as Justin noted, your ViewHolder usage seems to be incorrect. Try
something like bel
Justin,
You are right. In that case, I think the culprit is the "flag". It is
supposed to be true for incoming and false for outgoing. But, it remains
static while listview is building its items. I think this flag should be in
the adapter along with message.
--
You received this message becau
I have a free app and been seeing a marked reduction in daily installs for
a few days.
--
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,
And that too yes. Good catch. I did see the two layouts but was too focused
on the issue reported.
--
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
As it has already been pointed, there are several things wrong with that
small piece of code. You should go back and read more about listviews in
Android.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email t
To me it looks like you have been sent here to spread FUD. You have not
clearly defined what your *technical* problems are. You are throwing around
conjectures and at every point praise WP7 for some imagined merits. You
claimed that this forum "sucks" when it was your fault for not being clear
No, I don't hate you and not going to. If this discussion took place from
your side entirely in earnest as it looks like, I don't think anybody would
mind in the end. Live and learn.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
I use Eclipse on Kubuntu 12.04 installed from repo. Works fine.
--
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-d
I think this behavior does make some sense.
The non-removable external storage is what the platform expects the apps to
use to read/write arbitrary files. So this location is made visible to the
apps via the Environment API. The removable external storage is expected to
be used to swap in/out m
>
> That hasn't stopped many devices from making the removable storage their
> primary one. But if this is by design, I'd like to link to the design
> philosophy document. Maybe I can send that to the users. I can't find
> anything official, though. If the other devices are going to be unwritea
On Tuesday, April 17, 2012 7:44:34 PM UTC-4, Kostya Vasilyev wrote:
>
> It also hasn't prevented from existing a few hundred million devices with
> removable, writable, user controllable and understandable, officially
> supported "external" microsd memory cards.
>
> Yes, I'm talking about phone
Environment.getExternalStorageDirectory() returns the non-removable
external memory location. But I see what you mean, on devices with only
removable external memory, it could return that location. However, the
point remains that the framework only considers one external storage as
general purp
On Wednesday, April 18, 2012 12:55:00 PM UTC-4, digi owl wrote:
>
> Seems to me like what has happened is that manufacturers have cooped a
> feature that was supposed to be for removable storage to support larger
> non-removable capacity (a simple way to upsell). In the process, we have
> found
Thanks. Very interesting indeed. I see that there is a long history with
this.
Anyway I see a direct contradiction is Dianne's responses:
*The current CDD requires that the API return the directory of the primary
"external" storage, that is the one you can count on always being there,
that is
Mike,
I think you are on the wrong list :)
--
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..
"*The Web page at ontent://com.android.htmlprovider/sdcard/company
info.html?test/html could not be loaded as: Th request file was not found.*
"
The URL looks malformed to me. The scheme part is "ontent"? Or is this a
copy/paste issue?
--
You received this message because you are subscribed t
Also, see this:
http://android.stackexchange.com/questions/4775/how-can-i-open-an-html-file-i-have-copied-from-pc-to-sd-card-of-phone
--
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
I am not exactly sure if this is the cause of your problem but your
fragment creation code is flawed. When you use *setRetainInstance(true)* you
don't need to create the fragment every time the activity is created. Also,
I don't know why you check for saveInstance to be null. When the phone is
I think there is another forum specifically for people trying to write
"spy" applications on Android. I am unable to recall where. Or maybe I saw
it when I was dreaming in my sleep. I just don't seem to remember.
Oh and reading the docs to understand basic framework concepts also help.
--
You
My app targets sdk 15 (tested on CM9) and uses AsyncTask in every activity
but only one at a time. Explains why I did not notice the change. I agree
that this change deserves better documentation in the API reference in
addition to a blog post.
--
You received this message because you are subs
3/ In your code you re-add the Fragment to the container even if it was
> found. It doesn't do harm, but this is unnecessary because the framework
> already does it for you. The FragmentTransaction should be inside the if.
>
You are right, the fragment needs to be added to the container only
I use Fragments+ViewPager+ViewPageIndicator in my app. Hope you would find
it helpful:
https://github.com/nhasan/Airports/blob/master/src/com/nadmm/airports/wx/WxDetailActivity.java
https://github.com/nhasan/Airports/blob/master/src/com/nadmm/airports/utils/TabsAdapter.java
ViewPageIndicator
The view provided in setContentView() is only that, the content part of the
activity. The system creates the top-level view along with any optional
chrome (titlebar/actionbar) and a top-level FrameLayout within which the
content view you set is displayed.
If you don't call setContentView(), you
Stats are only updated overnight and are very erratic at times.
--
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-d
Your phone is using wifi as the location source. If wifi is set to stay up
during phone sleep, LocationManager will continue to provide updates unless
you remove your location update subscription in onSuspend().
--
You received this message because you are subscribed to the Google
Groups "Andro
Did you try creating an RFCOMM session and reading the NMEA sentences
directly from the device?
--
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
Lim,
> You are looking at the wrong place. What you should worry about is the
> alignment (gravity) of the list item not the listview itself. Make the
> listview layout_width=match_parent with a layout_marginRight=100dp right
> margin. Then for the textview of your listitem, set
> layout_widt
>
> Justin,
>
>
I know you are a nice guy and always do the search on other's behalf but I
think the best response is to not respond at all just like everyone else
here. If the poster is not smart enough to first try the options that are
already available to him/her then he/she does not dese
s because unless you actually tell people who post questions
> like this to go and do the work on their own they usually just keep
> spamming the list with pointless questions.
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
Use a FrameLayout with an ImageView and a TextView as children. Use a
9-patch as the background of the TextView.
On Friday, August 3, 2012 10:26:36 AM UTC-4, Luiz Fernando Rodrigues wrote:
> Thanks for your answer.
> That's actually what I'm doing.
>
> The problem with this approach is that onc
That would be extrapolation. And that is actually the exact reason why the
GPS lags on exits if they are off-route because it has extrapolated your
position based on your route till the next actual GPS location update
arrives. I have seen this behaviour with my Garmin device too when I decide
n
its position, since we're on a straight
> road.
>
> So that must mean that it uses sensor data, right? Or am I missing
> something?
>
>
>
> On 08/03/2012 08:47 PM, Nadeem Hasan wrote:
>
> That would be extrapolation. And that is actually the exact reason why the
&
You absolutely wrong here. Please try to understand what OP wants. All root
are not equal.
On Monday, August 13, 2012 5:19:00 AM UTC-4, asheesh arya wrote:
> /** Method to check whether external media available and writable
> and to find the
> root of the external file system. *
On Monday, August 13, 2012 4:05:55 AM UTC-4, Jovish P wrote:
>
> Justin Anderson , how to set clicked status on the adapter for the
> clicked item ? Can you explain a little bit more if you don't mind. It will
> be a great help for us.
>
> Thanks ,
> Jovish
>
What he means is that you should a
Have you read the following blog post?
http://android-developers.blogspot.com/2012/03/android-apps-break-50mb-barrier.html
You can use the expansion files to provide your data. This is stored on the
shared SD card storage and does not take up internal storage space.
On Thursday, August 16, 20
>
> onPause() is called whenever there is a change in current foreground
> "Context". The outgoing Context gets onPause() and incoming context gets
> onResume(). Showing a dialog does not change the Context. Starting a new
> activity does. Starting a service is different since its always in the
You want to wait for 5 sec before launching just so that you can show a
progress bar and appear to be doing something important? If you do, just
use a handler instantiated in the activity and post a runnable in the
thread which calls setProgress().
--
You received this message because you are
I have this in my base Activity:
protected View createContentView( int id ) {
View view = inflate( id );
return createContentView( view );
}
public View createContentView( View view ) {
FrameLayout root = new FrameLayout( this );
root.setLayoutParams(ne
How about:
d.setColorFilter( color, PorterDuff.Mode.SRC_ATOP );
*
*
--
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
andr
Use the "work queue processor" pattern inherently present in IntentService
where all the request are serialized into a FIFO queue. Let the refresh
logic and the content provider send intents to the service with distinct
actions and you can be sure that they won't be fighting with each other.
--
Do the same think but in an AsyncTask and read in chunks instead of reading
the whole asset into a buffer like in the demo. This approach would scale
very well. Of course, I am assuming that what you want to do with that
asset is compatible with chunked processing.
>
>
--
You received this mes
I don't have any sample code but I think I gave you enough information to
try it out yourself.
>
>
--
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
Why don't you factor out the functionality into a custom widget and use it
in both the listview and fragment?
--
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 unsub
And how will the system know to map any file to this custom mimetype? You
can register an intent filter with your own custom mimetype but that won't
do anything at all.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group
Not strictly. You can always use the projection map.
--
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+u
Why do people come here expecting others to teach them Android programming?
--
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
Is your proxy activity getting destroyed when it starts the 3rd party
activity? This could be related to the lifecycle of your proxy activity.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-dev
Are you calling this activity using startActivity(intent)? or are you
explicitly calling the onCreate() from your GolfCaddie activity? If the
latter then it will not work as you are bypassing a lot of activity setup
logic that is needed. Using "DBHelper.this" as the context will not work as
the
Another issue is that even if it was working, the progress dialog would
never show up as you are blocking the GUI thread. You should use an
AsyncTask<> and show the progress dialog in onPreExecute(), do all the db
operations in doInBackground() and dismiss the dialog in onPostExecute().
--
Yo
You must be passing the DBHelper.this as the Context parameter when it
clearly would not be if DBHelper was not an Activity.
--
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
DBHelper should take the Context object as a parameter in the ctor. Use this
passed context in the call to ProgressDialog.show(). When you instantiate
the DBHelper object in GolfCaddie activity, pass "this" as the parameter in
the ctor. Also make sure you call the DBHelper method to create the d
I am not quite so sure it was uncalled for. There are other people on this
list who want to do such invasive things as recording phone conversations.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andr
You need to allow the gui thread to finish the layout and display the views
before their metrics are set. Use Handler.postDelayed() to run your code.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andr
That is too easy :) Just read the following RFC and implement relevant
parts:
http://tools.ietf.org/html/rfc1035
--
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 u
That would be an option but judging by what he is trying to do I don't think
he is at a stage where he can write his own custom layout classes at the
moment :) You have to tailor the response according to the audience.
--
You received this message because you are subscribed to the Google
Groups
Agreed. But he also would like to learn how to use Handlers and do
operations in the gui thread ;)
--
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
Or...let the user specify which one he would be using.
--
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
Are there so many people writing Android apps for the spy agencies?
--
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
andro
You would be surprised :)
--
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
Use a ResourceCursorAdapter and override bindView().
--
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+u
How about posting the relevant code here so people can actually try to help.
--
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
Try the following in bindView():
ImageView tvRecurent = (ImageView) view.findViewById( R.id.isrecurentimg );
int visibility =( cursor.getInt( cursor.getColumnIndex( "fk_reccurent" ) )
== DatabaseWrapper.NO_RECCURENCY )? View.VISIBLE : View.INVISIBLE;
tvRecurent.setVisibility( visibility );
--
Use the cursor position by calling Cursor.getPosition().
--
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-develope
You are running this in the emulator right? The emulator does not have GPS
hardware (duh) so the only way for the Location api to return a location is
to provide it to it via adb as you just found out.
On the other hand if you are running on an actual device, no idea. Make sure
GPS is turned on
83 matches
Mail list logo