Jump to content

So, are there people in this community working with mobile Android programing? :)

- - - - -

  • Please log in to reply
10 replies to this topic

#1
M33H-r00t

M33H-r00t

    Newbie

  • Members
  • Pip
  • 0 posts
As title says :) Would be pleased to talk about this :)

Edited by Roger, 23 July 2011 - 02:40 PM.
added prefix


#2
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
What do you want to know? My knowledge of Android is still cursory, but I've been developing something for the platform since I'd like to get into mobile development. Android platforms also have a pretty liberal structure when it comes to getting software on their platform as well, so that gives me a better shot.
Wow I changed my sig!

#3
M33H-r00t

M33H-r00t

    Newbie

  • Members
  • Pip
  • 0 posts
Well, im new with Android programming still. But im asking myself, i know that u can run program(app) in background (@service) of phone sistem, but can you run 2 apps in background witch
witch are connected but they do a different job? I mean, can u programm them to work that way, and is there some tutorial about it :)

#4
sourlemon

sourlemon

    Programmer

  • Members
  • PipPipPip
  • 99 posts
I haven't tried it, but it sounds like it can be done since Android is able to run more than one program. I don't know of any example though.


#5
lethalwire

lethalwire

    while(false){ ... }

  • Members
  • PipPipPipPipPipPipPip
  • 748 posts
  • Programming Language:Java, PHP
  • Learning:Java, PHP
Apple iPhone vs. Android Multitasking: A Comparison - PCWorld

I would say yes, but... could lead to "poor battery life" and/or lack of memory.

#6
kavery

kavery

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
Hi all, i just started looking at the adroid and java, all my knowledge is in C++ and C#. so i'm brand new to java and android but they are a derevitive of C some it's the next thing for me to learn.

Anyway to the point, i've just done the whole Hello World thing, but i'm not sure it working.
i follow the tutorial on Hello, World | Android Developers

this is all the program is :

package com.example.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;


public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        //added by tutorial
        TextView tv = new TextView(this);
        tv.setText("Hello, Android ");
        setContentView(tv);

    }
}

but in the AVD all i got is:
[ATTACH=CONFIG]3728[/ATTACH]

which looks nothing like the tutorial and seems to not have the text i want.

any ideas on what i done wrong

thanks for ya time
file:///C:/Users/ADMINI%7E1/AppData/Local/Temp/moz-screenshot.png

#7
lethalwire

lethalwire

    while(false){ ... }

  • Members
  • PipPipPipPipPipPipPip
  • 748 posts
  • Programming Language:Java, PHP
  • Learning:Java, PHP
Supposedly the emulator takes a LONG time to load on first boot. Wait for a few minutes and see what happens.

#8
kavery

kavery

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
it took 15 minutes, but ya were right, thankz. i've gone futher into the tutorials but it all xml. but very little advanced topics. AS a Games Programmer i was wondering if there was a place with higher end tutorials dealing with location render controls and how it handles class hirachacal things like ploymorphism if abstratation is possaible and under what terms.

basiclly and all android progrsmming techniques and differance from normal C or C#

#9
M33H-r00t

M33H-r00t

    Newbie

  • Members
  • Pip
  • 0 posts

kavery said:

it took 15 minutes, but ya were right, thankz. i've gone futher into the tutorials but it all xml. but very little advanced topics. AS a Games Programmer i was wondering if there was a place with higher end tutorials dealing with location render controls and how it handles class hirachacal things like ploymorphism if abstratation is possaible and under what terms.

basiclly and all android progrsmming techniques and differance from normal C or C#


I started with this : Android 3D game tutorial – Part I on Android Development

It lunched me to a right path, so I hope it will work for u 2 :)

#10
NatalieM

NatalieM

    Learning Programmer

  • Members
  • PipPipPip
  • 77 posts
I'm a full time Android dev.

To answer your question, yes, you can run two services in the background but be careful with battery life and also, services might get killed by Android to reclaim memory (they get killed fairly often on low memory phones).

#11
Parabola

Parabola

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 331 posts
I'll throw this out there about the AVD - I never use it. Seriously. I know a lot of people do, but I prefer hands on, right there on my phone. Faster load time too. Then again, I write tools that modify the system so.... kinda have to do it on real phone lol
Programmer (n): An organism that can turn caffeine into code.
Programming would be so much easier without all the users.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users