Are you sure that area is part of your listview, and not the layout
that contains it due to the list view height being determined by it's
contents?
I.e. I am not sure listview has any "unused area"
If so, change the background color of layout containing the list view
to match the list view color.
Honestly, you'll probably do better to have a single .apk and use an
in-app purchase to do the free to paid conversion. There was another
thread on here that discussed this extensively.
On Jul 24, 2:34 am, Davy wrote:
> Hi,
>
> I'm thinking about offering a free / paid version of my app on the M
Thanks Mark ...
Emre
> From: mmur...@commonsware.com
> Date: Sun, 24 Jul 2011 17:21:23 -0400
> Subject: Re: [android-developers] Compiling an app with JAR files or else ...
> To: android-developers@googlegroups.com
>
> On Sun, Jul 24, 2011 at 5:14 PM, Emre A. Yavuz wrote:
> > We have an app
On Mon, Jul 25, 2011 at 12:39 PM, Greg Giacovelli wrote:
> Would SharedUserId be worth calling out. I currently don't have one set on
> any of my apps, but after playing around with the feature while trying to
> get a Test Project to run as the same user ... I think it's not really
> possible to
Hi Shanmugam,
Thanks For ur reply.
Facebook Updation creates problem in previous code.
i solved this problem, but still i failed to implement SSO.
Without SSO it will work.
Check this discussion.
https://github.com/facebook/facebook-android-sdk/issues/191
Let me know if u get any solution regardi
AFAIK, if finish() is called from onCreate(), the view is never
shown. I've read this somewhere in the docs and I use this technique
to set a user configurable place to start my app. It calls an
activity and if it's not the starting "screen", it navigates away from
it and finish()-es it right awa
An interface is exactly just that (plus constant declerations). With
abstract classes, you can have static methods and everything else that
comes with a proper class. The drawback is, of course, that you can
only inherit from at most one abstract class.
I cannot think of even a single example, o
Wrote the following code to insert an item into sqlite database. This
code worked fine in Android 1.6 device but I got an error in Android
2.1 device
public static final String PROVIDER_NAME = "org.books";
public static final Uri CONTENT_URI =
Uri.parse("content://"+ PROVIDER_NAME +
Did you use the activity theme android:theme="@android:style/ Theme.NoDisplay"
--
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 ema
Hi,
Yesterday I ported one of my windows games to Android. I used AndEngine. The
game functions perfectly except when it is recreated by android. For
example, you play for a while and then use the back button, open the
browser, market and a couple of other apps and then come back to the game.
The
Those "many cases for this there is no particularly good reason one
was picked over the other" are most likely, I hope, the cases where I
gave up on trying to figure out why the Android team chose to make the
one 'abstract class' and the other 'public interface';)
On Jul 21, 10:28 pm, Dianne Hackb
Would SharedUserId be worth calling out. I currently don't have one set on
any of my apps, but after playing around with the feature while trying to
get a Test Project to run as the same user ... I think it's not really
possible to change the user_id with a live app without some big issues. The
I uploaded another .apk to the web site and clicking on the apk link
appeared to download but it didn't install. Looking around a bit I
found awesomedrop on Android market. After installing it on the Droid
x2, I activated it on the Android and then went to their web site at
labs.dashwire.com . I
Thank you Mark for taking care to answer.
I have already thought of implementing it the straightforward way you
propose, but I think that this is not satisfactory, for the reasons I
have attempted to expose in my previous post.
I'm sorry, but your answer does not answer my requirements, and as I
Mark, does this mean I could have a functionality that would start (the
rest of) my app when the manifested receiver gets the broadcast? In my case
users are asking me to start my app when they connect their A2DP speakers.
--
You received this message because you are subscribed to the Google
Hi All,
I am hoping someone out there can give me an idea what I am doing
wrong. I wanted to create a table dynamically in my application,
which I did, but also I wanted to be able to set some of the layout
parameters, specifically the gravity and layout_gravity for a couple
text views and one im
On Sun, Jul 24, 2011 at 4:29 PM, guruk wrote:
> Hi there,
> i always did wrote to sd card with
>
> String baseDir =
> Environment.getExternalStorageDirectory().getAbsolutePath();
>
> String fileName = DATABASE_TABLE + ".myd";
>
> File f = new File(baseDir + File.separator + fileName);
>
> FileWrit
On Sun, Jul 24, 2011 at 5:09 PM, kamiseq wrote:
> "I cant find any other solution then launching activity that will
> finish immediately after starting service but this shows a blank,
> white screen for a second so this is rather poor workaround. "
>
> this is what I thought but it is showing whit
On Sun, Jul 24, 2011 at 5:14 PM, Emre A. Yavuz wrote:
> We have an application which runs as an Android Service in the background.
> Let's assume that we would like to have another application (an activity
> rather than a service this time) which is supposed to bind to this service
> (assuming tha
Hi,
We have an application which runs as an Android Service in the background.
Let's assume that we would like to have another application (an activity rather
than a service this time) which is supposed to bind to this service (assuming
that the service is already up and running when thi
"I cant find any other solution then launching activity that will
finish immediately after starting service but this shows a blank,
white screen for a second so this is rather poor workaround. "
this is what I thought but it is showing white screen for a moment so
I dont know how to remove that
O
The calls to *onTick* are synchronized, maybe your code is taking more than
a second to execute. Log can be expensive, and with debug symbols enabled
your code will run a little bit slower than in real life.
Or maybe the end of times is close!! :P
On Sun, Jul 24, 2011 at 2:30 PM, Christophe <
chr
Hi there,
i always did wrote to sd card with
String baseDir =
Environment.getExternalStorageDirectory().getAbsolutePath();
String fileName = DATABASE_TABLE + ".myd";
File f = new File(baseDir + File.separator + fileName);
FileWriter gpxwriter = new FileWriter(f);
BufferedWriter out = new Buff
Yes and no. The framework will take care of it for you with software
rendering but if you can easily remove it, it's better.
On Sun, Jul 24, 2011 at 7:08 AM, Adam Ratana wrote:
> On Jul 23, 8:41 pm, Romain Guy wrote:
> > You can do something similar by setting a window background in your
> them
Thank you, I will give it a try.
On 24/07/2011 8:16 PM, Streets Of Boston wrote:
Purge the queue that is filled by your background process.
List item views (and imageviews within your list item views) are
recycled. Remember for which list-item (or image-view) the
background-thread is loading
Purge the queue that is filled by your background process.
List item views (and imageviews within your list item views) are recycled.
Remember for which list-item (or image-view) the background-thread is
loading a bitmap (you'll know this in the adapter's getView method). Later,
as soon as the
Off the top of my head, you could launch an "invisible" Activity then in
onCreate() start the Service then call finish() on the 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-developer
hi,
Im working on API 7 and I need to launch service without showing any
activity, my service will add status bar notification so user can
interact with application later.
I cant find any other solution then launching activity that will
finish immediately after starting service but this shows a bl
Run the following code in the emulator and start a chronometer at the
same time :
// log some text each second :
CountDownTimer countDown = new CountDownTimer(Integer.MAX_VALUE, 1000)
{
private int i = 0;
@Override
public void onTick(long millisUntil
How to set the color of listView unused area. in 2.3.3. I have my
list view with layout_height as match_parent. I want listView to fill
the entire height so that I can have the same color, event listeners
etc.
This was never a problem until 2.3.3 version, (Motorola Droid3, Droid
X). Now the empty
On Sun, Jul 24, 2011 at 1:06 PM, elDoudou wrote:
> As far as I understand, when an application process starts, its
> "Application.onCreate()" method is invoked, right? Since I do not want
> to check that my application process is properly initialized in all my
> Activities, BroadcastReceivers, Int
Thank you a lot Dianne and Rich for helping: I think that this
discussion will be helpful to many other Android developers ;)
I understand that I was not successful in explaining the core issue.
Let me attempt to rephrase it in a more appropriate way.
As far as I understand, when an application p
Use a transparent View. Any widget can detect clicks, so you may as
well go with the lightest-weight one out there.
On Sun, Jul 24, 2011 at 12:20 PM, bob wrote:
> What's the best way to make a 100% invisible button that can listen
> for clicks?
>
> The background already contains the button image
What's the best way to make a 100% invisible button that can listen
for clicks?
The background already contains the button image, so that's why I want
to do this.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send
On Sun, Jul 24, 2011 at 8:03 AM, saurabh kulkarni
wrote:
> Hi everyone.I want do final year big project in android.I have done
> some small apps in android.So now I want to do some smart and
> comparitively big final year project.So does anybody has ideas please
> share.
> Thanx in advance..
>
>
F
> Of course, you could just use a List*View* as well (e.g through an
> , but that is just re-using the view, not any extra code supporting
> it.
I finally got around to testing this using . Works great. The
"extra code supporting it" will end up in ActivityA both for single
and dual layout, so no p
On Jul 23, 8:41 pm, Romain Guy wrote:
> You can do something similar by setting a window background in your theme.
> Seehttp://android-developers.blogspot.com/2009/03/window-backgrounds-ui-...
> more info
>
> On Sat, Jul 23, 2011 at 5:30 PM, bob wrote:
> > Is there anything like Default.png for A
i am a 3rd year guy...n stuck with d same issue as saurabh brobut the
app we create should be something useful for d users n d idea on it should
be a bit innovativeplease help me out... thanx in
advance
with regards,
virinchy
--
You received this message because you are subscribed t
u can do big projectsbut these big projects mostly uses web
servicesbetter u can do restaurant type of applications.or else
which type of applications u want to do tell me...and which concepts u want
to cover in android...
On Sun, Jul 24, 2011 at 6:03 AM, saurabh kulkarni
wrote:
> Hi
Hi everyone.I want do final year big project in android.I have done
some small apps in android.So now I want to do some smart and
comparitively big final year project.So does anybody has ideas please
share.
Thanx in advance..
--
You received this message because you are subscribed to the Google
G
>
> See what mLocalActivityManager.startActivity() returns. You have to
> attach returned Window (or its root View) to your tab
>
Thanks. That's was what I missed. For reference (lamest approach):
final Window window = mLocalActivityManager.startActivity(tag, intent);
mTabContent.removeAllViews()
As it turns out I do have to be concerned with the y values in
glReadPixels. It was a major stumbling block. They do start at the
bottom of the screen. I used a combination of techniques to get the y
value I needed. I used 'getRawY()' from the MotionEvent and another
method of the view I was in cal
Check this resource
http://developer.android.com/resources/articles/faster-screen-orientation-change.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 unsubscri
No, just the icon.
On Jul 24, 7:29 pm, Zsolt Vasvari wrote:
> Did you also change your main activity? Doing that can cause the icon
> not to update until the next reboot.
>
> On Jul 24, 2:23 pm, William Ferguson
> wrote:
>
>
>
>
>
>
>
> > The latest version of my app has a new launcher icon, and
1. no
2. N/A
3. highly unlikely as it would mean switching from raster maps to vector
maps
4. no
--
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 t
On Jul 24, 11:13 am, Marcin Orlowski wrote:
> Hi
>
> I got tabbed UI, where I use own tab layout by utilising
> TabSpecs.setContent() to provide custom layout. As I wanted tab content to
> be Activites not Views, I set onTabChangedListener() to do the job, with no
> much success:
>
> public clas
Hi,
I'm thinking about offering a free / paid version of my app on the Market. I
currently only have a paid application on the market (let's assume the
current version on the market is called com.myapp).
The idea would be to strip off some of the functionality in the free
version. I'm thinking
Thanks. This is temporary approach which I am going to rewrite for fragments
later, but as for now, sucks or not, it have to be that way., hence my
question (despite of knowing what "deprecated" means ;)
--
You received this message because you are subscribed to the Google
Groups "Android Develop
Did you also change your main activity? Doing that can cause the icon
not to update until the next reboot.
On Jul 24, 2:23 pm, William Ferguson
wrote:
> The latest version of my app has a new launcher icon, and when the new
> version is installed (at least on the emulators and a 2.3.3 device)
> t
Please don't use Activities as tab panes. You are just setting
yourself up for all kinds of grief now and in the future. And since
this is deprecated, you will never see the many outstanding bugs
fixed.
If you must, refactor your code so that you can just use a View. I
know that can be painfu
Is onBackPressed called from a different thread perhaps? I wouldn't
have thought so, but stranger things have happened. And if that's
the case, how can I ensure that my variable is initialized. I cannot
construct it on the decleration as the object depends on the intent
passed in to the Activity
Hi
I got tabbed UI, where I use own tab layout by utilising
TabSpecs.setContent() to provide custom layout. As I wanted tab content to
be Activites not Views, I set onTabChangedListener() to do the job, with no
much success:
public class MainActivity extends TabActivity {
onCreate() {
make one class BaseActivity extending Activity class and then override the
OnCreateOptionMenu() method and write your common menu code there... then
extend all your activities with this BaseActivity class I think this
will work for you...
--
You received this message because you are subscr
you can also do it by changing android:noHistory = "true" in menifest
file for your first two screens...
On Jul 23, 6:22 pm, Zwiebel wrote:
> I made an application, with two logo activity at the start, first is
> my logo, and the second is the application's logo, they are stay for 2
> seconds, an
Its possible n for this you have to make a custom adapter (extending
BaseAdapter) and an xml file for this view. and set this custom
adapter as your spinner's adapter.
On Jul 24, 12:11 pm, Goutom wrote:
> Hi
>
> Please open the image.In the image "Font Size" is header and "Standard" is
> item.He
Sounds like it might be possible that onBackPressed can get called
before onCreate in some circumstances where the device is being slow?
If that is at all a possibility, maybe you should check for null in
onBackPressed! :-)
Doug
On Jul 23, 4:00 pm, Zsolt Vasvari wrote:
> I am getting some bugr
Lots of ways can do so.
you can use algorithms OR
when you change the color of dots, there must be some action going
with it, such as swipe or slide.
change the dot images when an action happens.
On Jul 24, 2:25 pm, vani reddy wrote:
> Hi,,
> But how to make this work at runtime??
>
> On Wed, Ju
> If my users were inconvenienced, I would try to give
> them a temporary solution to hold them over until I have a good solution.
> But that's just me. It's a difference in engineering philosophy.
Your innocence is touching :D
Google doesn't have users, it has beta-testers.
I know it's going t
I have a listbox which has an imageview in every item, the bitmaps for the
images are loaded in the background as the user brings the items into view.
The images are queued for loading in the background as the user scrolls
through the list items.
If I have a large list and I take my time scrolling
Hi
Please open the image.In the image "Font Size" is header and "Standard" is
item.Header "Font Size" will always will be in the spinner but not in the
item list.Item list just shows items.
Is this possible to build this kind of spinner? if possible please guide me.
thanks in advance.
Regards
G
Hi Kostya,
Thanks.Ur advice helped me.
Regards
Goutom
On Thu, Jul 14, 2011 at 1:57 PM, Kostya Vasilyev wrote:
> You can't add the same view to a layout multiple times.
>
> So rather than doing this:
>
> 15.07.2011 0:52, Goutom пишет:
>
> View view = layoutInflater.inflate(R.**layout.listitem,nu
61 matches
Mail list logo