Android :: Best Resource To Get Started With Development
Aug 29, 2010
I'm looking for something to get up and running quickly with Android development. Perhaps a great tutorial covering the basics. I see a lot of posts on getting started but the ones I have looked over so far aren't great. What do people here recommend?
View 2 Replies
Aug 16, 2010
I want to get started with mobile development , I know HTML,CSS,JavaScript,PHP and C#.
What is the best way to get started?
I know that for example, if i want to create an iphone application i need to know objective c (and get mac),Which language is the best for mobile development (and cross platform - works on Nokia,IPhone,android,palm,Blackberry).
View 2 Replies
View Related
Aug 10, 2010
I am just starting to get setup for android development. I have installed pulsar and the proper sdks I think. I want to develop for the droid x.
I can't find any information on how to create a new project using the installed sdks. Shouldn't there be a project type for android? Nothing like this is showing up.
Are there any tutorials for getting started using pulsar for android dev?
View 1 Replies
View Related
Feb 25, 2010
Anyone know of any good resources to get me started with test driven development on the Android platform?
View 2 Replies
View Related
Nov 24, 2010
I have a String Array Resource that has about 1000 drug names
<string-array name="index">
<item>Aspirin</item>
<item>Levitra</item>
....
</string-array>
I tried to load this string array into a String[] inside an activity. Using the same syntax provided by Google's java documentation found here.
Resources res = getResources();
String[] drugs = res.getStringArray(R.array.index);
It appears my string-array has too many records and its causing my App to crash (stack-overflow?) When I reduce the string-array resource to about 506 records, the app works again, but adding even 1 more element in the string-array would crash the app. What should I do? I want to code logic to filter and do other things to the list. I do not have a SQL db in the app so I can't do the processing in the DB. Is there a way to iterate through the string-array resource without loading it into a String []? I notice the resource is a pointer. Or is there an alternative data structure or approach that would work?
View 1 Replies
View Related
Jul 11, 2009
Can somebody suggest the best book or online resource for beginning android apps development?
View 25 Replies
View Related
Aug 3, 2010
I have an XML resource file:
<resources> <section>
<category value="1" resourceId="@xml/categoryData1" />
<category value="2" resourceId="@xml/categoryData2" />
<category value="3" resourceId="@xml/categoryData3" />
</section> </resources>
Using XmlPullParser, on the START_TAG, I can use:
int value = parser.getAttributeIntValue(null, "value", 0);
to get values 1, 2, 3...however:
int resourceId = parser.getAttributeIntValue(null, "resourceId", 0);
doesn't work...it just yields the default value 0, or whatever I change the default value (3rd parameter) to be. Does anyone know what I am doing wrong or if this is possible?
View 1 Replies
View Related
Sep 28, 2010
I'd like to create an app for iOS that does VOIP, presumably by interacting with a website. I can start with Android too.Does anyone know of any tutorials, suggestions or libraries that would be of any use.(The app would need to be rewritten for BB and android eventually, too.)
View 2 Replies
View Related
Jun 22, 2013
I want to start programming android apps , but dunno how.
View 1 Replies
View Related
Dec 7, 2009
Rumors have started flying all over the net that the droid update has started being sent out.
View 1 Replies
View Related
Oct 13, 2009
My application is background application.It uses WIFI lock and INTERNET permission. It is doing some socket communication with a Remote Host PC and as well as with a local android application. It will start based on incoming SMS. While my application is running, I tried to use the browser application. Within a minute my application is getting crashed.(in DDMS log, I found the application process has died) And again I restarted my application, it is always getting crashed within a minute. I could not find the reason from the DDMS log. Someone can help me to figure out the problem.
View 6 Replies
View Related
Jan 19, 2009
I want a countdowntimer to halt on a menu and also when the user goes from that menu to another activity. When the user comes back from that activity or when the menu is closed, the timer should still halt. However when the user went to the home screen and clicks on the icon again, I want the timer to restart. So my question is, is there a way to detect if the user has just opened your application, or if the user comes back from another activity or menu?
View 4 Replies
View Related
Mar 31, 2010
I just want to get numbers of times to be used for each Activity.
So the very straightforward method I thought is increasing the count for an Activity when it was started. But how can I get the information?
View 3 Replies
View Related
Jun 14, 2009
How can I know who started(bind) service?
I already check 'RunningServiceInfo()' but I couldn't find.
View 2 Replies
View Related
Jun 18, 2009
Is there a way to do this?
Can you access the activity stack in a way to grab what activity came before the one now in view?
I have a situation where an activity needs to know where it was started from, so it knows what data to display in that current activity.
View 7 Replies
View Related
Jan 27, 2009
There's already been some discussion of this, in various lists and blogs. I finally got an AnimationDrawable to work, but I cannot start it from onResume. I can start it from a timer that onResume starts, or an onClickHandler.
I've poked around the source a bit and I can't figure out, specifically, what state the view has to be in, in order for the background AnimationDrawable to start.
Can anyone enlighten me?
View 5 Replies
View Related
Aug 14, 2010
I would like my app to do something when another application is opened.
The current approach I have taken is to create a broadcast receiver that monitors all
android.intent.action.MAIN
events, but either I am not doing it correctly or the way I am going about it is incorrect. The section of the manifest looks like this code...
I included the launcher category just as a test. GetApp currently is only set to make a log entry when called.
View 1 Replies
View Related
Dec 15, 2009
In my application, I have created a ContentProvider. Is there a way for me to instantiate this ContentProvider when my apk is started? RIght now, the ContentProvider only instantiate when some one does a query.
View 2 Replies
View Related
Jul 8, 2010
I am writing a service that will be compiled into a .jar file for use in other apps. is there any way to get the name of the package that uses or launches the service?
View 2 Replies
View Related
Oct 19, 2010
How can I know what Activity has started the current Activity? Is there any specific method like, i.e. getIntent().getCallerActivity() or the only way is saving some information within the Intent using putExtra()?
View 1 Replies
View Related
Oct 12, 2010
I've got a HTC Wildfire and in the last couple of days the battery has started draining really quickly. Usually I could leave my phone overnight with wifi and mobile web etc switched off and the battery would drain by a maximum of a couple of percent but now it's losing 25% of its charge overnight with nothing running. Looking at the battery usages since unplugged 3% is phone idle, 4% cell standby and 93% maps!! I haven't even used the maps for a couple of days so what could be causing this? The only apps I've downloaded in the last couple of days are WordUp!, Air Control Lite and Shopping List manager.
View 7 Replies
View Related
Aug 10, 2010
I have a main activity and a sub activity.The main activity starts the sub activity using startActivity, and passes an object in the intent.The sub activity reads the object out of the intent in its onCreate action.The sub activity updates the object, then returns to the main activity using startActivity, again passing the updated object back.However, the main activities onCreate function is not called, so the code it contains to read the passed object does not run.Further investigation indicated that the main activity onPause event is firing, i.e. it is only paused when the sub activity runs, so when the sub activity starts the main activity again, it just on Resumes.Does anyone know if there would be any disadvantages if I moved my data restore/store activities to the onResume and onPause events?I'm not using the onCreate saved Instance State, should I be?
View 4 Replies
View Related
Jun 25, 2010
I have a service that will monitor location changes daily. What I know so far that to start a service at boot, I have to follow the linked tutorial. This way I can get the service started at boot, but to save battery I need it only between 9am-9pm.
Question is pretty simple, so I will repeat:
How can I ensure a service is started at 9am and stopped 9pm every day?
View 2 Replies
View Related
Aug 25, 2010
I have a central activity that can be launched from two separate classes. I was hoping that in this central activity I could have an IF statement like
if(this.getIntent() == MainMenu.class)
{
// Do something here
}
But obviously that isn't legal so how could I structure an expression to check from what class an intent was started.
View 2 Replies
View Related
Jun 25, 2010
I have small simple Service and big MainActivity with UI. Service is called periodically from AlarmManager. My Service need to know if MainActivity is on the screen and inform MainActivity about state changing.
View 3 Replies
View Related
Dec 16, 2009
Does anyone know how to programmatically send a MMS via the Android SDK? Any version of the SDK will do, just need to know where to get started. I know how to send / receive SMS, I now need to add a picture to the message before sending.
View 8 Replies
View Related
Aug 9, 2010
I want to receive a broadcast receiver whenever any app is started.
for example: I have an app which has the broadcast receiver which listens for the app started event .
I installed this app on the device.
Now I have opened the Phone or Contacts app. Now my app which is listening for this kind of event(app opened or started) has to be invoked.
View 6 Replies
View Related
Jan 12, 2010
I have registered a BOOT_COMPLETED Receiver in my application, i want to listen for changes on SMS Database.
The BroadcastReceiver starts a temporary Service which registers the ContentObserver.
Now i want to notify my main activity (which is not started) that the Observer was registered successful.
(I want to do this, because if a user installs the app for the first time he don't restart his phone but needs the ContentObserver too. If you have another idea how to do that you can post it. I just want the information that the observer is registered already)
My idea was to notify the activity with a static attribute:
CODE:........
But i think that is not good and doesn't work because the activity isn't started and this is ignored.
View 1 Replies
View Related
Jul 21, 2010
Suppose my application P started Activity A, and A started Activity B, then the activity stack contained A and B, with B at the top.
After that, I opened other apps by pressing Home button. Suppose after a while, the process of application P is killed by the OS. Then, I press Home button to select application P. At this time, which activity will be brought to the front, Activity A or Activity B?
View 1 Replies
View Related
Jun 17, 2010
I've a service which listens to user request for ending one activity and starting another activity. For Ex: Say there are activities1,2 ,& 3. Now if there is already activity1 started by someother activity then based on the user request i need to stop activity1 and start activity2 or activity3. If the acitivity1 is started by my service then i can do finishactivity(requestcode) and shall receive a call to onActivityResult() then i can start next activity 2 or 3. But can i stop the activity1 which is started by some other activity from a service?
View 2 Replies
View Related