Edited by Roger, 23 July 2011 - 02:40 PM.
added prefix
So, are there people in this community working with mobile Android programing? :)
Started by M33H-r00t, Feb 16 2011 08:23 AM
10 replies to this topic
#1
Posted 16 February 2011 - 08:23 AM
As title says :) Would be pleased to talk about this :)
|
|
|
#2
Posted 16 February 2011 - 08:33 AM
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
Posted 17 February 2011 - 01:51 PM
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 :)
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
Posted 18 February 2011 - 10:20 PM
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
Posted 18 February 2011 - 10:28 PM
Apple iPhone vs. Android Multitasking: A Comparison - PCWorld
I would say yes, but... could lead to "poor battery life" and/or lack of memory.
I would say yes, but... could lead to "poor battery life" and/or lack of memory.
#6
Posted 21 February 2011 - 05:41 PM
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 :
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
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
Posted 21 February 2011 - 07:33 PM
Supposedly the emulator takes a LONG time to load on first boot. Wait for a few minutes and see what happens.
#8
Posted 22 February 2011 - 01:59 PM
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#
basiclly and all android progrsmming techniques and differance from normal C or C#
#9
Posted 27 February 2011 - 06:10 AM
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#
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
Posted 24 July 2011 - 01:32 AM
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).
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
Posted 16 August 2011 - 04:00 PM
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.
Programming would be so much easier without all the users.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









