[android-beginners] Re: Internet permission crash

2009-03-15 Thread Brad Gies


What happens when you start it manually? Generally, it just means that
Eclipse can't start it, so just click on your app in the emulator/phone
after Eclipse after Eclipse has installed it and killed it.




Sincerely,
 
Brad Gies
 
 
-
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com  www.truckerphone.com 
www.EDI-Easy.com  www.pricebunny.com
-
 
Moderation in everything, including abstinence
-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of The Savage Killer
Sent: Saturday, March 14, 2009 4:33 AM
To: Android Beginners
Subject: [android-beginners] Internet permission crash


When i add internet permissions to my manifest file my
application refuses to even start and i get this in my console:

[2009-03-13 20:06:17 - Funny RSS] ActivityManager: Starting: Intent
{ comp={dev.funnyrss/dev.funnyrss.FRSS} }
[2009-03-13 20:06:17 - Funny RSS] ActivityManager: [1]
Killed  am start -D -n d...

Can someone please help me fix this? heres my logcat, thanks.

03-13 18:05:59.262: DEBUG/AndroidRuntime(662): 
AndroidRuntime START 
03-13 18:05:59.262: DEBUG/AndroidRuntime(662): CheckJNI is ON
03-13 18:05:59.493: DEBUG/AndroidRuntime(662): --- registering native
functions ---
03-13 18:05:59.503: INFO/jdwp(662): received file descriptor 19 from
ADB
03-13 18:06:00.712: DEBUG/PackageParser(52): Scanning package: /data/
app/vmdl24071.tmp
03-13 18:06:00.862: WARN/PackageManager(52): Attempt to re-install
dev.funnyrss without first uninstalling.
03-13 18:06:00.862: INFO/installd(27): unlink /data/dalvik-cache/
d...@app@vmdl24071@classes.dex
03-13 18:06:00.902: DEBUG/AndroidRuntime(662): Shutting down VM
03-13 18:06:00.902: DEBUG/dalvikvm(662): DestroyJavaVM waiting for
non-
daemon threads to exit
03-13 18:06:00.913: INFO/dalvikvm(662): DestroyJavaVM shutting VM down
03-13 18:06:00.922: DEBUG/dalvikvm(662): HeapWorker thread shutting
down
03-13 18:06:00.922: DEBUG/dalvikvm(662): HeapWorker thread has shut
down
03-13 18:06:00.922: DEBUG/jdwp(662): JDWP shutting down net...
03-13 18:06:00.932: DEBUG/jdwp(662): +++ peer disconnected
03-13 18:06:00.932: INFO/dalvikvm(662): Debugger has detached; object
registry had 1 entries
03-13 18:06:00.952: DEBUG/dalvikvm(662): VM cleaning up
03-13 18:06:00.972: DEBUG/dalvikvm(662): LinearAlloc 0x0 used 529708
of 4194304 (12%)
03-13 18:06:01.252: DEBUG/dalvikvm(52): GC freed 5687 objects / 344760
bytes in 363ms
03-13 18:06:01.423: DEBUG/AndroidRuntime(670): 
AndroidRuntime START 
03-13 18:06:01.423: DEBUG/AndroidRuntime(670): CheckJNI is ON
03-13 18:06:01.653: DEBUG/AndroidRuntime(670): --- registering native
functions ---
03-13 18:06:01.672: INFO/jdwp(670): received file descriptor 19 from
ADB
03-13 18:06:02.842: DEBUG/PackageParser(52): Scanning package: /data/
app/vmdl24072.tmp
03-13 18:06:02.992: DEBUG/PackageManager(52): Removing package
dev.funnyrss
03-13 18:06:02.992: DEBUG/PackageManager(52):   Activities:
dev.funnyrss.FRSS dev.funnyrss.FRSS2
03-13 18:06:03.002: DEBUG/PackageManager(52): Scanning package
dev.funnyrss
03-13 18:06:03.012: INFO/PackageManager(52): /data/app/vmdl24072.tmp
changed; unpacking
03-13 18:06:03.022: DEBUG/installd(27): DexInv: --- BEGIN '/data/app/
vmdl24072.tmp' ---
03-13 18:06:03.252: DEBUG/dalvikvm(676): DexOpt: load 41ms, verify
39ms, opt 1ms
03-13 18:06:03.262: DEBUG/installd(27): DexInv: --- END '/data/app/
vmdl24072.tmp' (success) ---
03-13 18:06:03.272: DEBUG/PackageManager(52):   Activities:
dev.funnyrss.FRSS dev.funnyrss.FRSS2
03-13 18:06:03.442: INFO/installd(27): move /data/dalvik-cache/
d...@app@vmdl24072@classes.dex - /data/dalvik-cache/
d...@app@dev.funnyrss@classes.dex
03-13 18:06:03.453: DEBUG/PackageManager(52): New package installed
in /data/app/dev.funnyrss.apk
03-13 18:06:03.672: DEBUG/AndroidRuntime(670): Shutting down VM
03-13 18:06:03.672: DEBUG/dalvikvm(670): DestroyJavaVM waiting for
non-
daemon threads to exit
03-13 18:06:03.683: DEBUG/ActivityManager(52): Uninstalling process
dev.funnyrss
03-13 18:06:03.692: INFO/dalvikvm(670): DestroyJavaVM shutting VM down
03-13 18:06:03.692: DEBUG/dalvikvm(670): HeapWorker thread shutting
down
03-13 18:06:03.692: DEBUG/dalvikvm(670): HeapWorker thread has shut
down
03-13 18:06:03.692: DEBUG/jdwp(670): JDWP shutting down net...
03-13 18:06:03.692: DEBUG/jdwp(670): +++ peer disconnected
03-13 18:06:03.692: INFO/dalvikvm(670): Debugger has detached; object
registry had 1 entries
03-13 18:06:03.712: DEBUG/dalvikvm(670): VM cleaning up
03-13 18:06:03.762: DEBUG/dalvikvm(670): LinearAlloc 0x0 used 529708
of 4194304 (12%)
03-13 18:06:04.062: DEBUG/dalvikvm(92): GC freed 1173 objects / 60968
bytes in 351ms
03-13 18:06:04.363: DEBUG/dalvikvm(52): GC freed 4225 objects / 220864
bytes in 353ms
03-13 18:06:04.483: DEBUG/AndroidRuntime(681): 
AndroidRuntime

[android-beginners] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-10 Thread Brad Gies


Just in case it helps. I downloaded it yesterday, installed it, and have had
no issues whatsoever. 

I'm running Windows XP RPO, and I did use the Windows default compressed
folder utility.



Sincerely,
 
Brad Gies
 
 
-
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com  www.truckerphone.com 
www.EDI-Easy.com  www.pricebunny.com
-
 
Moderation in everything, including abstinence

-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of Justin (Google
Employee)
Sent: Tuesday, February 10, 2009 6:40 PM
To: Android Beginners
Subject: [android-beginners] Re: Android 1.1_r1 SDK released and
developer.android.com launched


We do know of an issue where the Windows default compressed folder
expander won't properly expand the zip file. Testing indicates that
other zip utilities can expand the archive without issue. We're
updating the zip archive so that its compatible with the Windows
compressed folder viewer.

Cheers,
Justin
Android Team @ Google

On Feb 9, 7:19 pm, Kevin Daly kevindal...@gmail.com wrote:
 The Windows version seems to be corrupt - I've downloaded it 3 times-
 the 2nd time in case it was garbled in transmission the first time,
 the last time with Firefox just for laughs. I haven't been able to
 extract any of them.

 On Feb 10, 11:32 am, Justin (Google Employee) j...@google.com
 wrote:

  Hey developers, today we released the new,1.1_r1SDK. ThisSDK
  includes some minor updates that you can read more about on the
blog,http://android-developers.blogspot.com/2009/02/android-11-sdk-release..
.
  . Also, we've launched the new developer site
athttp://developer.android.com
  which has updated documentation for the1.1_r1SDK.

  Cheers,
  Justin
  Android Team @ Google


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: mac jarsigner error java.util.zip.ZipException:

2009-01-27 Thread Brad Gies



Your .apk name needs to be all lower case.

Sincerely,
 
Brad Gies
 
 
-
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com  www.truckerphone.com 
www.EDI-Easy.com  www.pricebunny.com
-
 
Moderation in everything, including abstinence
-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of Jeff
Sent: Tuesday, January 27, 2009 3:28 PM
To: Android Beginners
Subject: [android-beginners] mac jarsigner error java.util.zip.ZipException:


The following works on a win but I need to be able to make it work on
a mac

keytool -genkey -v -keystore csi.keystore -alias comsi -keyalg RSA -
validity 1


jarsigner -verbose -keystore csi.keystore -signedjar spmPhr.apk
pmPhr.apk comsi
Enter Passphrase for keystore: password
jarsigner: unable to sign jar: java.util.zip.ZipException: invalid
entry compressed size (expected 1009 but got 1010 bytes)


Thanks,

Jeff




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Using built in class for game development

2009-01-08 Thread Brad Gies

Kozak,

I love Mastermind, but please do the Super Mastermind version :) (5 pegs x
12 chances) :). Or even better, give the user the option to use the tougher
version :)



Sincerely,
 
Brad Gies
 
 
-
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com  www.truckerphone.com 
www.EDI-Easy.com  www.pricebunny.com
-
 
Moderation in everything, including abstinence

-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of kozak
Sent: Wednesday, January 07, 2009 11:11 PM
To: Android Beginners
Subject: [android-beginners] Using built in class for game development


Hi All,
I am trying to build a board game, Mastermind
http://en.wikipedia.org/wiki/Mastermind_(board_game).

Briefly put, the player has to guess a a set of colour codes set by
the codmaker (2nd player).

To draw the board itself I need to draw about 48 (12 chances x 4 pegs
each ) holders for the pegs and an additional 48 holders to indicate
the status of each combination. Check out the picture in the wiki
link.

My doubt is regarding the design of the game.

One way to draw the board is to have an image Button (built in class )
for all the pegs and the status pins.

Another way is to take a canvas and draw all the objects for each
move.

I would like to know which is the most efficient way of doing things.
Please feel free to post your suggestions if any.

Thanks and Regards
Kozak


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: notification

2009-01-04 Thread Brad Gies



test_app.this will do it :)



Sincerely,
 
Brad Gies
 
 
-
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com  www.truckerphone.com 
www.EDI-Easy.com  www.pricebunny.com
-
 
Moderation in everything, including abstinence

-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of Teena
Sent: Sunday, January 04, 2009 1:27 PM
To: android-beginners@googlegroups.com
Subject: [android-beginners] Re: notification



-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of Raymond Rodgers
Sent: Sunday, January 04, 2009 11:45 AM
To: android-beginners@googlegroups.com
Subject: [android-beginners] Re: notification


Teena wrote:
 Thanks for the response, Cyril.  Is this how I would do it?  I'm still 
 not seeing any text feedback on the screen when I click the button.
   
Log will put strings into a log that's viewable in debug mode in Eclipse
with the Logcat view added to the overall list of views. That's very useful
for debugging purposes [obviously] without displaying anything to the app's
user. However, if you want to display something on screen, you can use the
Toast class
http://code.google.com/android/reference/android/widget/Toast.html to
display a message on screen briefly. The message will fade automatically
after a short amount of time, and could be useful for what you're trying to
accomplish.

Raymond


Thanks Raymond, I really appreciate the help.  One more question though, I'm
trying to use the toast widget properly, but cannot figure out the 'context'
that I need to put in as a parameter.  Updated code below:

package test.app;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

public class test_app extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
/* Find the button from our XML-layout. */
Button b = (Button)this.findViewById(R.id.btn_open_search);
b.setOnClickListener(new OnClickListener() {
public void onClick(View agr0) {
// Place code to handle button click here
Toast.makeText(test_app, btn-click, 9);
}
});
}
}


The error I'm getting is 'test_app' cannot be resolved, but test_app is my
activity as specified in the AndroidManifest.xml.  What am I doing wrong?





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Source for android.widget.TimePicker

2008-12-30 Thread Brad Gies



Not directly related to the question, but I have a need for a Money editor
and I like the look of the Date and Time pickers in Android. Has anyone
created anything similar to use for money or float fields?



Sincerely,
 
Brad Gies
 
 
-
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com  www.truckerphone.com 
www.EDI-Easy.com  www.pricebunny.com
-
 
Moderation in everything, including abstinence

-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of Skooter Columbo
Sent: Sunday, December 28, 2008 6:33 PM
To: Android Beginners
Subject: [android-beginners] Source for android.widget.TimePicker


Where can I find the source for TimePicker? I need to create a widget
similar to TimePicker and I wanted to use it as a pattern.

Skooter



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] How to Layout

2008-11-25 Thread Brad Gies
 

Ok, I'm finally frustrated :-). 

 

How do I layout a single row with a TextView, an EditText, and a Button such
that the TextView is on the left (wrap_content), the Button (also
wrap_content) is on the right and the EditText fills all the available space
in between?

 

It seems that it should be such an easy thing to do, but I can't seem to get
it to work exactly the way I want it. I don't want to hard code the pixels
because then I need two separate layouts for the portrait and landscape
views, and the problem of it looking funny on the next phone if the screen
width is not the same. 

 

Anyone want to save the little hair I have left? 

 

Thanks.

 

 

Sincerely,

 

Brad Gies

 

 

-

Brad Gies

27415 Greenfield Rd, # 2,

Southfield, MI, USA

48076

-

 

Moderation in everything, including abstinence

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---