Re: [android-developers] career in android

2011-06-19 Thread Rakshith S Kumar
I do understand your question. Android is not a kind of platform that you
learn and you get a job for that in a company. If you are really serious of
your career in android its better to do it with few friends rather than for
some small companies which live on such kind of apps.

On Thu, Jun 16, 2011 at 12:31 PM, jeniffer hills saloni9...@gmail.comwrote:

 hey ol!!
 well m  doin engg wid cs deptt. n rcntly m done wid my 4th sem xams.
 few dayz back i hv learnt about android apps n also registerd for the
 same. Though i hv learnt dat in future android may achieve sm demand
 in the market. still i hv a cnfusion regardin d CAREER IN ANDROID as
 android apps r used only in cellphones. dere is no pc or laptop wch is
 based on android apps so far. i hv several ques in my mind like
 1. is dere any career in android apps?
 2. hw good it is frm career point of view?
 3. cellphons r smthing wch will olwayz be in demand so r dere
 sufficient nmbr of cmpanies dat provide gadgets based on android apps?
 4. in outside country, is android a good technology wch hav a good
 demand and future as well?
 5. in a career for engg, wat is more imprtnt? a good programming
 skills or knowldge of sch apps.
 ladies n gentlements plz go thru my quries n help me out by tellin me
 ol ups n dwns of android apps n guiding me for selecting a crrct path
 for a good future carrer.

 --
 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: Adding animation to LinearLayout

2011-06-10 Thread Rakshith S Kumar
My layout id is declared as menu.

On Fri, Jun 10, 2011 at 12:14 AM, Mansoor mansoor@wipro.com wrote:

 hi,
 In your onCreate  method  u doing something wrong

 LinearLayout layout = (LinearLayout) findViewById(R.layout.menu);

 u have to give linear layout id instead of using R.layout.menu

 it should be somthing as follow:

 LinearLayout layout = (LinearLayout) findViewById(R.id.your linear
 layout id given in xml);

 regards
 Mansoor V.M

 --
 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

[android-developers] Adding animation to LinearLayout

2011-06-09 Thread Rakshith S Kumar
I have just started up with android and I am having trouble with
adding animation to the LinearLayout


I have added the log and java coding below, Please Help

Thank you
Rakshith S Kumar





package com.androidbook.triviaquiz;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.LayoutAnimationController;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;


public class QuizMenuActivity extends QuizActivity {

@Override
 public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.menu);
Log.i(Started,create list);

Animation fade1 = AnimationUtils.loadAnimation(this,
R.anim.fade_in);
LinearLayout layout = (LinearLayout) 
findViewById(R.layout.menu);
LayoutAnimationController controller = new
LayoutAnimationController(fade1);
layout.setLayoutAnimation(controller);

ListView menulist =(ListView) findViewById(R.id.listView1);
String[] items = { getResources().getString(R.string.play),
getResources().getString(R.string.scores),
getResources().getString(R.string.settings),
getResources().getString(R.string.help) };
ArrayAdapterString adapt = new ArrayAdapterString(this,
R.layout.menu_item, items);
menulist.setAdapter(adapt);
menulist.setOnItemClickListener(new
AdapterView.OnItemClickListener() {
public void onItemClick(AdapterView? parent, View 
itemClicked, int
position, long id){
TextView textview = (TextView) itemClicked;
String strtext = (String) textview.getText().toString();

if(strtext.equalsIgnoreCase(getResources().getString(R.string.play)))
{
startActivity(new Intent(QuizMenuActivity.this,
QuizGameActivity.class));
}
else
if(strtext.equalsIgnoreCase(getResources().getString(R.string.scores)))
{
startActivity(new Intent(QuizMenuActivity.this,
QuizScoresActivity.class));
}
else
if(strtext.equalsIgnoreCase(getResources().getString(R.string.settings)))
{
startActivity(new Intent(QuizMenuActivity.this,
QuizSettingsActivity.class));
}
else
if(strtext.equalsIgnoreCase(getResources().getString(R.string.help)))
{
startActivity(new Intent(QuizMenuActivity.this,
QuizHelpActivity.class));
}
}
});

}

@Override
protected void onPause() {
// TODO Auto-generated method stub
super.onPause();
LinearLayout layout = (LinearLayout) findViewById(R.layout.menu);
layout.clearAnimation();
}

@Override
protected void onResume() {
// TODO Auto-generated method stub
super.onResume();

 Animation fade1 = AnimationUtils.loadAnimation(this,
R.anim.fade_in);
 LinearLayout layout = (LinearLayout) 
findViewById(R.layout.menu);
 LayoutAnimationController controller = new
LayoutAnimationController(fade1);
 layout.setLayoutAnimation(controller);
}
}




I get the following error on LogCat



06-10 15:30:38.019: ERROR/AndroidRuntime(270): Uncaught handler:
thread main exiting due to uncaught exception
06-10 15:30:38.068: ERROR/AndroidRuntime(270):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.androidbook.triviaquiz/
com.androidbook.triviaquiz.QuizMenuActivity}:
java.lang.NullPointerException
06-10 15:30:38.068: ERROR/AndroidRuntime(270): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2496)
06-10 15:30:38.068: ERROR/AndroidRuntime(270): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2512)
06-10 15:30:38.068: ERROR/AndroidRuntime(270): at
android.app.ActivityThread.access$2200(ActivityThread.java:119)
06-10 15:30:38.068: ERROR/AndroidRuntime(270): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
06-10 15:30:38.068: ERROR/AndroidRuntime(270): at
android.os.Handler.dispatchMessage(Handler.java:99)
06-10 15:30:38.068: ERROR/AndroidRuntime(270): at
android.os.Looper.loop(Looper.java:123)
06-10 15:30:38.068: ERROR/AndroidRuntime(270

Re: [android-developers] HELLO WORLD PROBLEM

2011-05-21 Thread Rakshith S Kumar
The problem might be with your AVD's (Android Virtual Device) skin. Try
choosing a different on in the built- in column. It worked for me.. :)

On Sat, May 21, 2011 at 11:08 PM, Mustafa Elbehery
eng.m.beh...@gmail.comwrote:

 I was running the Helloworld tutorial, when I had a message on the
 emulator saying  the application launcher
 (process.com.android.launcher) has stopped unexpectedly. please try
 again.


 any suggestions coz its my third day on the same problem and im
 getting crazy :D

 --
 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] Trade my Android Open Accessory Developer Kit (ADK) trade for your new Sprint Nexus S 4G?

2011-05-12 Thread Rakshith S Kumar
I would be interested in the deal, If you are ready to give the ADK for the
price of new Sprint Nexus S 4G phone. So, you can buy one...

On Wed, May 11, 2011 at 11:56 AM, Ben ben.metca...@gmail.com wrote:

 I have one of the first official ADK (Android Open Accessory Developer
 Kit) Arduino kits distributed by Google during IO today and I'm
 looking to trade it for the brand new Sprint Nexus S 4G phone.  I hope
 it is not inappropriate to put this out to android-developers mailing
 list.

 I happened to be in the room at IO when they gave out the ADK kits to
 those attending the session, however I'm not a hardware hacker and I
 doubt I will make much use of it.  I am building Android apps however,
 and I'd really like to experiment with NFC which is on the Sprint
 Nexus S device.

 I'm not into price-gouging and won't put this on eBay for the highest
 bidder (others will, I'm sure). Instead I just want to trade it for a
 device more suited to my development.  For reference, a link on the
 official Google pages to purchase this kit points to a Japanese online
 retailer who are selling these for 31,500円, ~US$390 (http://www.rt-
 shop.sakura.ne.jp/rt-shop/index.php) although they are currently out
 of stock.

 Accounting for shipping, customs fees and the fact this is out of
 stock I think this equates to a fair trade for the phone.

 If you are interested please send me an email.  I will also be at Day
 2 of Google IO if you are interested in trading in person.

 Thanks,
 Ben

 --
 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