Is there a callback that gets a call when everything in the current
Activity got rendered?
Because I need to know the exact sizes of some of my ViewGroups (their
width/height are set using layout_weight in the layout xml), so I know
how many elements fit inside them without scrolling. But I can on
Hello Paul,
no, i have tried to keep within java. Since this is my first game:
Do the "big ones" also use c(++) in the way you have described?
Does it seamless integrate in Eclipse, or is it very complicated to do
so?
Kind regards,
Peter
On 2 Aug., 04:00, Paul Turchenko wrote:
> First guess: ha
Try AndEngine. The examples are on the market as well as google code.
On Sat, Aug 6, 2011 at 12:06 PM, Deeraf wrote:
> I have a free game engine library with complete example. The game
> engine is rokon. But unfortunately it is not displaying background
> image. I spent a complete day but in vai
If so, please consider starring and commenting on the following bug
report to give it attention:
http://code.google.com/p/android/issues/detail?id=16263
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send emai
Are you sure that whatever the user rooted their phone with is compatible with
whatever you are doing?
--
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
Hi,
I am playing with web view but i can't get this to work with html
files:
http://code.google.com/apis/ajax/playground/?type=visualization#line_chart
any idea how to use this charts with android.
thanks a lot.
cheers.
--
You received this message because you are subscribed to the Google
Gro
Google have already raised the limit to 4GB per apk some time ago...
Is it not implemented yet?
http://androidcommunity.com/android-market-upgrading-app-size-limit-to-4gb-20110511/
On Aug 6, 12:28 am, Thế Hiển Đoàn wrote:
> Hello, I write my apps which are kind of 3D animations. My apps would ru
On Sat, Aug 6, 2011 at 1:46 AM, John wrote:
> In the case of the Gallery application i.e.
> "com.google.android.gallery3d", which throws the "Application is not
> installed" error in the shortcut, it shows up both in
> getInstalledPackages and also in queryIntentActivities with the given
> Intent,
That widget does not have a constructor suitable for instantiating it
from onCreate() of an activity. You will probably need to modify the
code or simply inflate it via a layout XML resource.
On Sat, Aug 6, 2011 at 1:04 AM, Dev_red wrote:
> Hi
>
>
> i am using float picker from this
> htt
On Fri, Aug 5, 2011 at 4:23 PM, Tobiah wrote:
> Thanks, that's what I'm going to have to do. I can send this guy
> a link, but then the best way I can imagine to have him install it
> is to have the browser save it, then have him install and use Astro
> file manager to get to it. The stock brows
dear Raghav Sood : i've tried the link. but why is the result is
always false? i have no idea about it. thanks before...
On Jul 21, 6:29 pm, Raghav Sood wrote:
> Maybe you should visithttp://www.google.comand type your query once in a
> while:
>
> http://hoang17.com/posts/android/android-how-to-u
Does the market actually check with individual devices or just the model?
He is having the same problem with some other apps, and I asked him if he
rooted the phone and he said no, wasn't even sure what that is.
On Saturday, August 6, 2011 6:35:13 AM UTC-4, rich friedel wrote:
>
> Are you sure
On Fri, Aug 05, 2011 at 11:39:43PM -0700, String wrote:
> There's a setting in AppMonger to "Include Uncharged Orders", IIRC it's off
> by default. If you don't turn that on, you won't see orders until they're
> charged.
That was checked (and still is). I heard my very unique (not associated
w
I brought up the root idea because you stated they sent you a screenshot... I
assumed you were talking about a screenshot of the device's screen.
Anyway, they did some major stuff to the market recently and things have been
abnormally out of whack for the last week or so. Maybe, this is the caus
@Randy I would suggest asking the article author... or reading the comment
where a bunch of people have already faced this issue with the article's code
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to a
You do realize that email can have attachments right? Why send them a link to
download and install something you could send directly?
--
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@g
I would hate to have to pay for a tiered data plan and have to update a 4GB app
more than once/month!
--
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 f
On Sat, Aug 6, 2011 at 9:17 AM, rich friedel wrote:
> You do realize that email can have attachments right? Why send them a link to
> download and install something you could send directly?
Unless the email client puts the proper MIME type in, the Android
email app probably won't know what to do
You have a lot of "needs" but what you really need is to do a damn search on
google and find the information yourself and then come on back and ask specific
questions ;)
hint: seach this... android open source ocr
--
You received this message because you are subscribed to the Google
Groups "An
True, which is why they make tAttachApkInstaller ;)
All this aside though, none of this drives to the heart of the problem... the
OP cannot login to their account... I should also have asked what they have
done to deal with that issue as well.
--
You received this message because you are subsc
Hi,
I'm trying to connect an Android with such printer. The printer has
this information retrieved by BluetoothClass: Class: 1664/1536: Render
What (BluetoothClass.Service.)Render means? Is there a specific UUID
for it?
I tried to connect to the device using the well known SPP UUID,
however, And
you can enlarge eclipse heap
2011/8/6 Doug :
> If so, please consider starring and commenting on the following bug
> report to give it attention:
>
> http://code.google.com/p/android/issues/detail?id=16263
>
> Doug
>
> --
> You received this message because you are subscribed to the Google
> Group
Not quite the same thing as skipping PNG optimizations, or using
multiple cores...
06.08.2011 19:10, a a пишет:
you can enlarge eclipse heap
2011/8/6 Doug:
> If so, please consider starring and commenting on the following bug
> report to give it attention:
>
> http://code.google.com/p/andr
Nice day!
I tried to show random images in my application in an ImageView. I
tried this code:
public class r extends Activity{
ImageView secret;
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
On Fri, Aug 5, 2011 at 11:09 PM, Chris Stratton wrote:
> I was frankly operating under the assumption that tracking down the precise
> source would be futile and thinking it more pragmatic to look at the
> application code instead
You're right, that's a good assumption; it's usually the case that
There is no callback - you can set flags in onResume() to know when
the activity is done with that part of the lifecycle. However, by
using layout_weight, you're telling Android to decide the size, which
it can't know until the screen is drawn, so a callback to change the
size won't work without a
I was able to print by changing the printer to have a PIN. However,
doing this in 300 devices will be a headache. :-(
guich
--
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@googlegroup
Hi, i want to process an image that the phone has not enough memory to
load all in memory. BitmapFactory.decode() fails and an out of memory
exception is raised.
Is it possible to load only some part of an image? If i can how can i
make an image output stream so i can write the processed parts int
Perhaps you can try adding a synchronized lock that protects your data array.
Lock it before going into onDraw() and unlock it when finished, and do
the same when calculating your array data.
Do you have a separate thread that calculates positions?
On Fri, Aug 5, 2011 at 6:23 PM, niko20 wrote:
>
Add some logging so that you can see what n is.
Then find out why it's not generating a random number.
On Sat, Aug 6, 2011 at 8:33 AM, Zwiebel wrote:
> Nice day!
>
> I tried to show random images in my application in an ImageView. I
> tried this code:
>
> public class r extends Activity{
>
>
Why I will search for OCR? I don´t want a OCR, it´s a image processing
to align the image.
On 6 ago, 10:38, rich friedel wrote:
> You have a lot of "needs" but what you really need is to do a damn search on
> google and find the information yourself and then come on back and ask
> specific ques
I tried it out and sadly n is 0 everytime, but I don't know why.
On aug. 6, 17:23, Miguel Morales wrote:
> Add some logging so that you can see what n is.
> Then find out why it's not generating a random number.
>
>
>
>
>
>
>
>
>
> On Sat, Aug 6, 2011 at 8:33 AM, Zwiebel wrote:
> > Nice day!
>
>
On Sun, Aug 7, 2011 at 2:38 AM, Zwiebel wrote:
> I tried it out and sadly n is 0 everytime, but I don't know why.
>
Reading the docs usually helps:
public static double random()
Returns a double value with a positive sign, greater than or equal
to 0.0 and less than 1.0.
You are casting t
Or one could use the tools already provided by the framework ...
... by subclassing a xxxLayout class or a ViewGroup and overriding
onMeasure and onLayout ...
... or by subclassing the appropriate view and overriding onSizeChanged ...
-- Kostya
06.08.2011 20:42, Jim пишет:
There is no callb
Sure. I'd start here:
http://developer.android.com/guide/topics/ui/custom-components.html
The layout process involves these three onXXX overrides, as listed in
the table halfway down the page:
||onMeasure(int, int)
||onLayout(boolean, int, int, int, int)
onSizeChanged(int, int, int, i
I built the android source and running it in the Eclipse debugger, am
trying to understand where is the point in the calling sequence when
it has all the information about the event.
So I run the calculator and press key '1'. There is a breakpoint at
EventListener.onClick()
In the call stack I see
Hi,
There are different listeners and you capture the keys by a KeyEvent
class.
On Sat, Aug 6, 2011 at 3:07 PM, Anil wrote:
> I built the android source and running it in the Eclipse debugger, am
> trying to understand where is the point in the calling sequence when
> it has all the inform
Thanks, I could make it with your helps. But now I'm found a new
problem. I try to modify my textview with .setText method, but I got
this error:
ERROR/AndroidRuntime(3745): android.content.res.Resources
$NotFoundException: String resource ID #0x1
ERROR/AndroidRuntime(3745): at
android.content
You are calling TextView.setText(int)
counter_txt_foe.setText(counter_foe);
which expects an R.string resource ID for the text.
Do this instead:
counter_txt_foe.setText(String.valueOf(counter_foe));
to call TextView.setText(CharSequence)
-- Kostya
07.08.2011 0:01, Zwiebel пишет:
Thanks,
Oh, and here is another one:
nextInt(3) can be one of: 0, 1, 2.
nextInt(3) +1 then becomes one of: 1, 2, 3.
This:
imageArr[rndInt]
expects values 0, 1, 2
So, take out the "+1", to avoid getting an index-out-of-bounds exception.
-- Kostya
07.08.2011 0:01, Zwiebel пишет:
Ran
I think you misunderstood my question. I do understand about
registering listeners for callbacks to my application.
My question is about the android system - for all applications.
On Aug 6, 2:44 pm, Feign Narula wrote:
> Hi,
>
> There are different listeners and you capture the keys by a KeyEv
Thanks I made it only forget to delete from here.
On aug. 6, 20:23, Kostya Vasilyev wrote:
> Oh, and here is another one:
>
> nextInt(3) can be one of: 0, 1, 2.
>
> nextInt(3) +1 then becomes one of: 1, 2, 3.
>
> This:
>
> imageArr[rndInt]
>
> expects values 0, 1, 2
>
> So, take out the "+1", to
Thanks I will try it!
On aug. 6, 20:04, Kostya Vasilyev wrote:
> You are calling TextView.setText(int)
>
> counter_txt_foe.setText(counter_foe);
>
> which expects an R.string resource ID for the text.
>
> Do this instead:
>
> counter_txt_foe.setText(String.valueOf(counter_foe));
>
> to call TextV
Mohamed Ramadan writes:
>
> HI,
> I had two problems when I try to connect the simulator with the
> connection Center in open nfc
>
> 1-"ccrouter.dll" file not found in the connection center folder
You can get connection center and its required DLLs by downloading the OpenNFC
core edition. The N
The problem isn't tearing, as the images shouldn't be drawn there yet
anyway. I don't have my position calculations in a separate thread,
should I? I have tried locking the array (though because of my limited
knowledge I've gone about it probably the wrong way, by basically
having a boolean that te
Specifically, is it, for example, better to release an app on a weekday,
as opposed to over a weekend, or on a holiday, etc.? I'm just wondering
if there are typically drops in sales over weekends, on holidays, when
major sporting events are on, and so on, or, is it more or less even
across the bo
You did not ask for "image aligning" anything... you asked for something like
GeniusScan... or as you called it "scam papper" which I can only assume was
supposed to mean "scan paper". Therefore I suggested searching for "android
open source ocr"... OCR stands for Optical Character Recognition.
I want to fetch name of a contact by its id.My code as below:
public void Get_Contact_Name(String id)
{
String[] projection = new String[]
{ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME,
ContactsContract.CommonDataKinds.StructuredName.FAMILY_NAME,
Contact
That would be more a market question...
--
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...@go
Sorry for fonts.Here is the code to modify:
public void Get_Contact_Name(String id)
{
String[] projection = new String[]
{ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME,
ContactsContract.CommonDataKinds.StructuredName.FAMILY_NAME,
Conta
Thanks Mark, much appreciated, that works. Just to let you
"com.google.android.gallery3d" is the package name, but for some
reason simply calling setPackage() on the intent works for some
packages but not others. Now, that I know the issue, I suppose
"Application is not installed" makes sense, alth
If you attach a logcat with the error maybe we can help you.
--
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-deve
Hi Nick
Thanks for reply.It dont stop my app.But skips this step.I think my problems
in these two lines:
String where = ContactsContract.Data.CONTACT_
ID + " = ? AND " + ContactsContract.Data.MIMETYPE + " = ?";
String[] whereParameters = new String[]{id,
ContactsContract.CommonDataKi
On Sat, Aug 06, 2011 at 05:32:09PM -0700, rich friedel wrote:
> That would be more a market question...
Of which there are rather a lot in this group. Do you respond to
them in the same way? I've never noticed, if you have.
So basically, your answer is that there is no best timethat the
On Sat, Aug 6, 2011 at 9:49 PM, Goutom wrote:
> Hi Nick
> Thanks for reply.It dont stop my app.
Check the log anyway, maybe there is a hint of whats happening there.
But skips this step.
What step?
> I think my problems in these two lines:
>
>String where = ContactsContract.Data.CO
Well - the issue I am running into now is this:
Calling startActivity() from outside of an Activity context requires
the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
I start the activity with the NEW_TASK flag and it works fine. If I
use the SINGLE_TOP then
the exception above occur
Actually never mind that - I should have been using addFlags the
second time and
not setFlags on both flags. Still the issue seems to be that the
preview freezes
after the first pic is snapped and every additional call to the
service takes
pictures the same size as before regardless of where the
The maximum value seems to be defined
at
./packages/providers/DownloadProvider/src/com/android/providers/downloads/StorageManager.java
/** the max amount of space allowed to be taken up by the downloads data dir
*/
private static final long sMaxdownloadDataDirSize =
Resources.getSystem(
On Aug 6, 11:20 pm, rich friedel wrote:
> I would hate to have to pay for a tiered data plan and have to update a 4GB
> app more than once/month!
LOL, I would hate to see app download failed and then restart, etc
when trying to download a 4GB app ;)
I wonder if anyone would post negative feedbac
59 matches
Mail list logo