Re: [android-developers] Re: New to Android

2013-05-03 Thread TreKing
On Fri, May 3, 2013 at 10:30 AM, bob b...@coolfone.comze.com wrote:

 You will want to put your code in a file called beta.java.


 Then you can add this to your onCreate function:

 *   *

 *beta.main(null);*

 *   *


That's a joke, right?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: New to Android App Development need Advice in Designing UI

2012-10-17 Thread Anees Thyrantakath
Thanks for the information..i'll check it out

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

RE: [android-developers] Re: new to android

2011-05-25 Thread Tommy
It would also help to have an understanding of Java or at least some type of
OOP experience... If you have none I'd start with learning some basics of
java and OOP. Or if you are a fast learner just go through the tutorials and
examples. 

-Original Message-
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of Ali Chousein
Sent: Wednesday, May 25, 2011 4:37 PM
To: Android Developers
Subject: [android-developers] Re: new to android

http://developer.android.com/sdk/index.html

Everything is explained on this web site.

Good luck and enjoy it.

--
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: New to Android Need Help

2011-04-22 Thread TreKing
On Fri, Apr 22, 2011 at 2:10 AM, edprog edwin...@gmail.com wrote:

 but now i need to figure out how to make the images swap on their own when
 the system is playing


Did you need help on that or are you just typing out loud?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New to Android Need Help

2011-04-22 Thread TreKing
On Fri, Apr 22, 2011 at 2:42 PM, edprog edwin...@gmail.com wrote:

  Now just one question do you recommend to create the Thread in the main
 Activity or do it in a separate class?


Actually, neither. Don't use raw Threads unless you really have to. I don't
think you really have to here.
See this article:
http://developer.android.com/resources/articles/timed-ui-updates.html

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New to Android Need Help

2011-04-21 Thread TreKing
On Thu, Apr 21, 2011 at 8:47 PM, edprog edwin...@gmail.com wrote:

 Basically I would like to draw from myView class and not from the
 main Activity, right now I have the OnTouch events in the main Activity
 as you can see, I want to move all that code (The ontiuch) to myView class.


You're missing the fact that you can create *ONE* touchlistener class that
acts on an arbitrary view, then assign a new instance to each view that
requires it.

If this does not make sense, I think you need to spend some time brushing up
on Java.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New to Android Need Help

2011-04-21 Thread TreKing
On Thu, Apr 21, 2011 at 11:46 PM, edprog edwin...@gmail.com wrote:

 I understand java, inheritance, creating classes...


If you say so. No offense, but the fact that you called your own code a
mess and the fact that you copied and pasted the exact same code 4 times
instead of making a class would indicate that you're missing something. Did
you understand what I said in my last post?


 I am just having trouble making it work on Android, when i add a thread or
 something..


Android is another piece of software written in (quasi) Java. There's
nothing fundamentally different about it. This also doesn't explain what
you're actually having trouble with.


 it blacks out the screen...


OK. This also does not explain anything about the actual problem you're
having.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New to Android Need Help

2011-04-21 Thread TreKing
On Fri, Apr 22, 2011 at 12:30 AM, edprog edwin...@gmail.com wrote:

 public class myView extends View implements OnTouchListener{}


Sure. Or a member in the Activity that you then set on the ImageViews.

private mTouchListener = new OnTouchListener() { /* CODE */ }
...

imageView1.setOnTouchListener(mTouchListener);
imageView2.setOnTouchListener(mTouchListener);
imageView3.setOnTouchListener(mTouchListener);
imageView4.setOnTouchListener(mTouchListener);

Then you're still within the scope of the Activity which is usually handy.

I think,... and yes it is a mess because in the main Activity is where at
 least I was able to make the user click on the images and swap them with
 another one while I tried the same from the view it did not work... it just
 shows a black screen, and I tried to look it up in the LogCat but did not
 tell me something that i would pick up right away.


Yeah, graphics stuff is always a pain to debug and there's not much anyone
can do to help with graphical issues like that.


 Just on the side note.., I am new to android, at least give me that,...


Given :-)


 you might be an expert..


Hardly. I know what I need to know to do what I need to do. And I know where
to look when I have to learn something new. ;-)

Again, no offense, just going off what you said and the code you posted.
Anyways, good luck.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New to Android and programming

2010-08-24 Thread TreKing
On Tue, Aug 24, 2010 at 11:22 AM, msacks ntw...@gmail.com wrote:

 The best way to learn, is by doing, as in just write apps with no prior
 experience.


If no prior experience means you have never programmed, you've never heard
of Eclipse, and you haven't touched the SDK, you're simply not going to jump
straight into writing an app. You could certainly try, but good luck
understanding the Android Activity Lifecycle before you know what a class
is.

I agree that the best way to learn is to do, but there are steps involved in
what you do and what you learn. If you put the cart before the horse, you're
going to step in it's manure ... or whatever the saying is.


 I spent 4 years (and a lot of money) in college working on a Bachelor of
 Science in Information Technology, and I didn't learn as much as I did
 just from writing apps.


I'm willing to bet though that in those 4 years you learned enough to allow
you to get started writing apps.


  I wrote this article to help folk like you get started, so that at least
 you can have a full toolbox to start playing around with some demo apps.

 http://www.thebitsource.com/featured-posts/getting-started-with-the-android
 -sdk-in-10-minutes/


Nice article indeed (good work), but again, if the OP has no programming
experience at all (which he hasn't clarified), all the playing around with
demo apps isn't going to help until he understands the language.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-18 Thread Phill Wiggin
On Thu, Aug 5, 2010 at 4:48 AM, String sterling.ud...@googlemail.comwrote:

 On Aug 4, 8:51 pm, Tommy droi...@gmail.com wrote:

  Why should a user have to go out of the way to
  figure out how to use ADB to do this.

 A user shouldn't have to. I absolutely agree with you, and think it's
 pretty crappy of ATT to have done this.


Well, even though ATT removed the settings option, they didn't actually
disable sideloading entirely. I've used the Android Central Sideload Wonder
Machine with the Captivate and it works great. (As long as you're using .Net
4.0+)

Windows:
http://www.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine

Linux/Mac:
http://www.androidcentral.com/android-central-sideload-wonder-machine-linux-and-mac-talented-forum-member

(Don't let the irreverence of the name deter you. It was a name that came
out during one of their podcasts and stuck.)


However, the OP asked about a dev phone, and [as a dev] he will be
 using ADB already. This wasn't a discussion about end-user experience,
 hence I felt inclined to post my counterpoint. Not trying to start a
 fight, just trying to stay on topic. :^)

 String


--Phill W.

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

RE: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Tommy
STAY AWAY FROM ATT WITH ANDROID IF YOU CAN!!! I currently own the HTC
Aria with ATT. Don't get me wrong HTC makes great phones I love the aria.
BUT ATT had to go in and fiddle with everything totally locking down their
android phones just like an IphoneWhats the point? Unless you feel like
rooting the phone which will void your warranty you will not be able to
download whatever apps you want unless they are from the Market app. I am
very disappointed in ATT. I also owned a Moto Backflip before I yelled
enough they game me the HTC. Backflip = 1 giant POS btw don't even bother
same on MOTO and Massive shame on ATT for marketing it in such horrible
conditionandroid OS 1.5 WTF? Honestly you could go to Verizon and get
the new droid  X for a 149.99 with a 2 year contract


This is my personally Experience as I also own a Droid with Verizon and I
can tell you Verizon  ATT when it comes to android. I hope this helps you
make an informed decision and not get bent over the bench like me.

-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Jeremiah Sellars
Sent: Wednesday, August 04, 2010 11:42 AM
To: Android Developers
Subject: [android-developers] Re: New to android finally leaving Windows !!!

I would recommend the Captivate. It's Hummingbird processor is very
nice (basically the same as what is in the IPhone 4... samsung sold
them their chips as I understand it... though the IPhone 4 SOC has one
other component (though CPU and GPU are the same)). If it's okay to
say it now... it is rootable (legally I suppose as things are now...)
and I'm quite happy with it. The driver setup, however, to get it
hooked up to my computer was a tad difficult... but it is the one and
only Android device worth getting on ATT. The Aria (forget the
manufacturer) is nice, but doesn't have the same caliber of CPU.

On Jul 7, 10:17 am, Martin martinj...@gmail.com wrote:
 I would love to start developing for Android- I am currently on the
 ATT network. How does one acquire a test 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 this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Mark Murphy
On Wed, Aug 4, 2010 at 2:40 PM, A Curious Developer imdb...@yahoo.com wrote:
 Can we use *any* Android-based phone for testing and debugging?

Any that has the Android Market on it should be safe.

 That is, can we download, run, and debug our applications from the
 Eclipse environment?

See above.

 Can we do that with just the device itself and no phone service?

Yes, though some phones may require phone service with a data plan to
get the phone up and running. If you choose a GSM phone, all you need
to do is borrow a friend's SIM for five minutes, long enough for you
to get the phone activated and get WiFi working, and then you no
longer need the SIM.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


RE: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Tommy
I realize that you can push apps to the phone but you shouldn't have to,
that is the point of my rant. Why should a user have to go out of the way to
figure out how to use ADB to do this. 

-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of String
Sent: Wednesday, August 04, 2010 3:24 PM
To: Android Developers
Subject: [android-developers] Re: New to android finally leaving Windows !!!

On Aug 4, 6:41 pm, Tommy droi...@gmail.com wrote:

 BUT ATT had to go in and fiddle with everything totally locking down
their
 android phones just like an IphoneWhats the point? Unless you feel
like
 rooting the phone which will void your warranty you will not be able to
 download whatever apps you want unless they are from the Market app.

I'm no friend of ATT, and am as disappointed as anyone about the
restrictions they've put on all their Android phones to date, but
please get your facts straight before launching into a rant. They've
only disabled installing non-Market apps using the phone itself;
there's nothing stopping you from pushing APKs onto the phone using
ADB. And someone's even written a Windows application to do that.

For a dev phone, an ATT 'set is not intrinsically a bad choice.
Except, perhaps, on ethical grounds.

String

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Mark Murphy
On Wed, Aug 4, 2010 at 3:24 PM, String sterling.ud...@googlemail.com wrote:
 I'm no friend of ATT, and am as disappointed as anyone about the
 restrictions they've put on all their Android phones to date, but
 please get your facts straight before launching into a rant. They've
 only disabled installing non-Market apps using the phone itself;
 there's nothing stopping you from pushing APKs onto the phone using
 ADB. And someone's even written a Windows application to do that.

Bear in mind, though, that you can't test installs this way, in terms
of seeing what the user will see (e.g., security screens). The Windows
app presumably uses the same mechanism as the SDK, and therefore
probably does not prompt the user for security-related stuff.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: New to android finally leaving Windows !!!

2010-08-04 Thread Shane Isbell
You really need at least two devices for testing. High-end 2.1+ devices and
a pre-2.0 device. I find that the emulator does a good job of matching
pre-2.0 device behavior but you can get really burned trusting the emulator
to behave the same for the later devices. I've found differences between the
emulator and the device, in everything from NPE's being thrown on the device
to completely different layouts in the UI.

On Wed, Aug 4, 2010 at 11:46 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Wed, Aug 4, 2010 at 2:40 PM, A Curious Developer imdb...@yahoo.com
 wrote:
  Can we use *any* Android-based phone for testing and debugging?

 Any that has the Android Market on it should be safe.

  That is, can we download, run, and debug our applications from the
  Eclipse environment?

 See above.

  Can we do that with just the device itself and no phone service?

 Yes, though some phones may require phone service with a data plan to
 get the phone up and running. If you choose a GSM phone, all you need
 to do is borrow a friend's SIM for five minutes, long enough for you
 to get the phone activated and get WiFi working, and then you no
 longer need the SIM.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Shane Isbell (Founder of ZappMarket)
http://apps.facebook.com/zappmarket/

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: New to android

2010-03-30 Thread Prasanjit Deka
just go to *developer*.*android*.com where u can get details and basic
knowlege of android

On Tue, Mar 30, 2010 at 11:56 AM, patbenatar patbena...@gmail.com wrote:

 Yea... Check out the tutorials and API Demos under the Resources tab.
 Great starting point.



 On Mar 29, 12:30 pm, Felipe Silveira webfel...@gmail.com wrote:
  The first place you need to go is:http://developer.android.com
 
  Felipe Silveirawww.felipesilveira.com.br
 
 
 
 
 
  On Mon, Mar 29, 2010 at 8:53 AM, iftekhar iftekhar...@gmail.com wrote:
   Hi,
   I am new to android/mobile application .I have exp in developing
   applications using Java/J2EE but no knowledge of mobile application/
   games etc.
   Please suggest me any link/help from where I can study and develop
   application using android.
 
   Thanks
   Iftekhar
 
   --
   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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs
 cr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
   To unsubscribe from this group, send email to android-developers+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.
 
  --
  Felipe Silveira
  Engenharia da Computação
  Universidade Federal de Itajubáhttp://www.felipesilveira.com.br
  MSN: felipeuni...@hotmail.com
  Skype: fsunifei
  -

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: New to Android...how does android handle application versions/updates...

2010-03-02 Thread Mark Murphy
MaTT wrote:
 Okay, great!
 
 So, if I needed to make changes to the existing database, would I need
 to perform any kind of backup of the old database?

If you use SQLiteOpenHelper to assist you, you will be notified when
your database schema differs from the schema your upgraded app wants to
use. Then, you will be able to use ALTER TABLE statements or temp tables
or whatever you want in order to modify your schema in-place in your
application.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Online Training: 26-30 April 2010: http://onlc.com

-- 
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en