Quantcast








     

Android: Get Time Spent Per Activity

stackoverflow.com - 2012-03-19 23:40:02 - Similar - Report/Block

Firstly, I'm not looking for time spent on a given application. There is already "an app for that", com.android.settings/.UsageStats , and a good deal of supporting code in the AOSP frameworks/base/services/java/com/androi d/server/am/UsageStatsService.java , etc. The code that I've examined so far does not seem to record elapsed time spen...

Reloading openGL assets on android

gamedev.net - 2013-03-14 00:05:00 - Similar - Report/Block

My new game on android has bigger models and textures than my previous game. The design I used for my previous game is a menu activity which would then call my play-level activity. The player would choose an item from the menu, and the game activity would load. This worked fairly well when I didn't have alot of assets. On good devices loa...

Passing values to an activity which I don't want to display

stackoverflow.com - 2012-06-05 14:51:55 - Similar - Report/Block

I've got an activity (say activity 1) which sends a bunch of extras to another activity (activity 2). I'd like those extras to be sent to activity 2, but I don't want that activity to display at all. I'd like to send the intent to activity 2, and go straight into activity 3. The reason for this is: Activity 1: User chooses some options fr...

Clear android activity stack starting a new activity

stackoverflow.com - 2012-04-06 20:42:17 - Similar - Report/Block

I have an application and every new created activity will start an async task to validate the user session. If the session is valid, the application flows continues. If not, the whole activity stack must be cleared and there should be only the login activity. This activity has a "no history" flag so it is never kept in the stack. I've bee...

onNewIntent() will not fire until phone is awake

stackoverflow.com - 2012-03-28 02:52:25 - Similar - Report/Block

I have found some interesting behavior and do not know why or how to get around it. The activity is a singletask activity, which means onNewIntent() is for the activity while the activity is on the top of the stack. This works fine and well, while the phone's screen is on . Once the screen is off however, the new intent is not received...

Android activity lifecycle - activity restarts when coming from history

stackoverflow.com - 2012-03-20 20:47:04 - Similar - Report/Block

I have a splash activity (A) that calls a listview activity (B) which calls another activity (C). When I'm on activity C and I press Home, than kill the app (or wait of Android to do it), than longpress Home and come back to activity C there's a strange problem: When I click back I go back to B. Than I have a backbutton handler that asks...

android: On refresh of an activity, fragments(list fragment & detail fragment) in it are getting dettached

stackoverflow.com - 2012-07-12 09:50:09 - Similar - Report/Block

In the app - I have a header with refresh button & in the bottom I have 5 tabs, some tabs have activity with fragments & some have just the activity. Fragments are added to the activity through xml. Typically, I have one ListFragment & the other fragment is a kind of DetailFragment for the ListFragment. Onclick of the refresh...

How to Create a Transparent over another View in android?

stackoverflow.com - 2012-03-15 12:29:53 - Similar - Report/Block

I want to create a Transparent view upon my activity. The activity gets displayed on the click of a tab. What i want is once i click any image in my activity at that time a transparent view gets overlayed upon the activity but my Tabs remain clickable. Also when the Transparent view gets created then background items of the activity shou...

Android: Unable to find explicit activity class... startActivity from a PreferenceActivity

stackoverflow.com - 2011-10-30 17:42:45 - Similar - Report/Block

Well guys, I solved it. It wasn't a problem with my code, but with Eclipse and the Android SDK. After some research, I did "Help -> Check for updates" in Eclipse and everything is working now. Thanks to who tried to help me! I'm trying to start a new Activity from a PreferenceActivity. However, it fails with "Unable to find explicit acti...

app restarts if select app from recent apps only when activity is start from Notification

stackoverflow.com - 2012-04-04 11:33:57 - Similar - Report/Block

My app has activity stack like below A: loading activity B: main activity C: detail activity and manifest is like this <activity A> <intent-filter> <action android:name="android.intent.action.MAIN " /> <category android:name="android.intent.category.LA UNCHER" /> </intent-filter> </activity> &...

android:launchMode="singleInstance" does not allow activity for results update

stackoverflow.com - 2012-05-29 08:27:01 - Similar - Report/Block

When set to single instance, the Activity does not allow another Activity to update it using Activity for results method. What is the flag I should set so that I do not have to remove the initial launch mode as single instance. Note: I am using another activity as Image Loader, that updates the launcher activity. Launcher activity should...

Unable to find activity declared in other package

stackoverflow.com - 2012-04-20 00:16:00 - Similar - Report/Block

When clicking a button in my application, I want to start an activity from another package. This is my intent: final Intent myIntent = new Intent(getApplicationContext(), com.facebook.android.Places.class) and this is my manifest: <activity android:name=".com.facebook.android.Plac es" > </activity> But i am getting unable to...

evolveStar Join

Code before setContentView trouble

stackoverflow.com - 2012-04-14 13:50:39 - Similar - Report/Block

My question is if it is possible to write code before setContentView(R.layout.main) in the onCreate method of the main activity. For instance, below i try to run the setVariables(); before setContentView but this causes my application to crash. Every time i put setVariables after setContentview it all works fine. Why is this? please find...

Android Activity starting parellel?

stackoverflow.com - 2012-03-10 13:10:32 - Similar - Report/Block

i have four activities where i use most of same data to process. like (1) (2) (3) (4). (1) is first activity or main activity. i have a bottom bar for these activities. if i click on (2) i want to open second activity. after this if i click on (3) i want to open third activity. and if i click on (4) i want to open fourth activity. after t...

Android create new Activity on Top despite "singleTop"

stackoverflow.com - 2012-04-15 20:10:11 - Similar - Report/Block

I have got a Activity with android:launchMode="singleTop" How can i manipulate an Intent in order to create a new Activity on Top. Cause in an exceptional case I need a new Activity. Or is it impossible?...

Activity Life Cycle

stackoverflow.com - 2012-03-03 16:41:57 - Similar - Report/Block

I'm trying to understand An Activity full life-cycle. So I have searched on Google and found lots of tutorials regarding activity life-cycle, but in all tutorials I have not found these methods in life-cycle diagram: OnContentChanged() OnPostCreate() OnPostResume() OnWindowfocusChanged() OnuserLeaveHint() OnUserInteraction() OnDetachedFro...

Issues with creating new Android MainActivity

stackoverflow.com - 2013-03-11 12:38:31 - Similar - Report/Block

I'm new to Android programming and am attempting to create a new Main Activity for my app (taken from the Android tutorial website). My original Main Activity is called "MainActivity". The new activity I want to be my Main Activity is called "Homepage" and it should contain a button that produces "MainActivity" upon clicking. I'm unsure w...

Android -Stuck with Bundles

stackoverflow.com - 2013-03-25 06:13:18 - Similar - Report/Block

I have three Activities in my Android Application.Activity A ,Activity B,Activity C.. In Activity A ,I'm doing the Json Parsing and I send that values to Activity B using Bundles and handle that in many ways . here is the code I used in Activity B to get values. Intent in = getIntent(); Bundle b = in.getExtras(); /*/-Future Use - Stri...

Integrate ZXing QR code scanner without installing BarCode Scanner

stackoverflow.com - 2011-12-01 12:49:30 - Similar - Report/Block

I am trying to Integrate ZXing QR Code into my android app without installing BarCode Scanner app, I have followed the steps as: 1) Firstly I have downloaded ZXing.zip file and extract it 2)open the ZXing project as an android existing project and then go to android folder and open the android folder and also include core.jar file into th...

My BroadcastReceiver is not receiving the BOOT_COMPLETED intent after my N1 boots. Help Please!

stackoverflow.com - 2010-10-14 18:20:43 - Similar - Report/Block

I am unable to get my BroadcastReceiver onReceive method called using the BOOT_COMPLETED intent. AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.co m/apk/res/android" package="com.jerrellmardis.umbrella" android:versionCode="4" android:versionName="1.0.3"> <appli...

Eclipse Juno won't create Android Activity

stackoverflow.com - 2012-06-29 13:02:59 - Similar - Report/Block

I downloaded Eclipse Juno Java EE edition and installed ADT plugin . I created a new Android Application Project from Eclipse and in the wizard I created an activity called TaskariActivity. After I pressed finish, it created the project but not the activity and the wizard didn't close. I pressed cancel. No activity or anything in the s...

Unable to start activity ComponentInfo?

stackoverflow.com - 2012-04-19 17:20:05 - Similar - Report/Block

I am using the code below and I am trying to add a button to turn off wifi but I am getting the error java.lang.RuntimeException: Unable to start activity ComponentInfo Any Ideas? Does the button code need to be placed somewhere else? Thanks! import java.util.List; import android.app.Activity; import android.os.Bundle; import android.cont...

PayPal Error - Please make sure all fields have been entered

stackoverflow.com - 2012-04-01 12:18:40 - Similar - Report/Block

I have a problem in creating a working PayPal button in Sandbox environment. After I entering my email and password in the sandbox environment. This is what I see. Here are my codes AndroidManifest.xml <uses-sdk android:minSdkVersion="15" /> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" >...

Seamless left to right activity transition animation in Android

stackoverflow.com - 2013-03-18 15:37:05 - Similar - Report/Block

I have two activities and I want that when the user touches a button on the first activity, the new activity slides in from the left and moves to the right while the first activity does the same, it moves to the right and slides out, so it would give an effect in which the new activity pushes the old one to the right and replaces it. In o...

No love for Android, Nike? FuelBand app not in the works

phandroid.com - 2013-02-11 19:53:04 - Similar - Report/Block

Fans of fitness will have to look elsewhere if they hope to track their daily activity via their Android phone, as Nike has confirmed it currently has no plans to develop a FuelBand companion app for Google’s mobile platform. Shame, shame. The news first came by way of Twitter but was later confirmed by a Nike spokesperson. “[W]e are focu...

Android Base Activity: Base's Global Variables, Can't get from some activites

stackoverflow.com - 2012-07-07 02:48:36 - Similar - Report/Block

I'm taking an android class now, so I am somewhat new to android app development. My first assumption for a Base Activity is that it's Global Variables and it's values would be available to all activities. I have found that it is available to my Main Activity, but not any activities after that. In the Base Activity I am storing an ArrayLi...

Android ::Close all activity in Tabhost when changeConfig

stackoverflow.com - 2012-03-06 13:56:05 - Similar - Report/Block

I try simple Tab application from http://ericharlow.blogspot.in/2010/09/ex perience-multiple-android-activities.htm l#comment-form I have simple problem,i run above application on emulator as well as device,I have five (such as; A , B , C, D,E). i wanna go to A-> E, after going E activity i change config using press key ctrl+ F11 on keyboar...

using onBackPressed in android

stackoverflow.com - 2013-03-25 18:18:43 - Similar - Report/Block

I am working on an android application project which has more than 8 activities just up to now. I need to learn how back button behave in android. Because I need to override it and do some actions when it pressed. When back button pressed android looks up the trace file and go to the activity which you came from to the current activity.

Newly added Activity designated as Main is not always "Main" Activity shown

stackoverflow.com - 2012-02-20 00:11:44 - Similar - Report/Block

Allow me to explain my predicament. I have been building an app for a while now where it would immediately enter my MainActivity.class . I had this Activity declared in the AndroidManifest.xml file as such: <intent-filter> <action android:name="android.intent.action.MAIN " /> <category android:name="android.intent.categor...

Android WebView back button causes force close

stackoverflow.com - 2012-08-03 22:53:36 - Similar - Report/Block

Here is my program code. I am new to Android and Java so it may seem messy. When I press the back button after adding in this code i get a Force Close. package com.alexriggs.android.gansterstreetwars; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.KeyEvent...

Jawbone’s Up Activity Tracker Now Works With Android

technobuffalo.com - 2013-03-21 07:00:25 - Similar - Report/Block

Jawbone has finally recognized Android as an existing smartphone OS by releasing an app for several Android handsets. The company has previously only acknowledged iOS, but finally wised up and figured there might be some Android (Ice Cream Sandwich and later) users that’d like to experience its activity tracker the way iPhone owners do. T...

How do you call the main launcher activity from another activity?

stackoverflow.com - 2012-04-14 02:24:46 - Similar - Report/Block

In my program I have an activity that gets launched when the application opens. If I open a couple more activities, how can I go back to the main activity? In the intent filter, the name of the activity is "android.intent.action.MAIN", and it will not allow me to call startActivity() on it. What do I do?...

Run time Error in android application

stackoverflow.com - 2011-10-29 13:55:34 - Similar - Report/Block

While running the android application, I got the following error, 10-29 17:02:12.454: ERROR/AndroidRuntime(253): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dummies.android.silent modetoggle/com.dummies.android.silentmod etoggle.SilentModeToggleActivity}: java.lang.NullPointerException How can I solve it? Please h...

LED Notifications

java-forums.org - 2013-05-20 06:21:01 - Similar - Report/Block

I was just messing around creating an app for fun, that I could possibly add on to later. I just started throwing together a simple activity with three buttons that when pressed would activate the led to a specific color. I'm having trouble getting the notifications to work. Here my main activity any one have any pointers for me? Code: im...

Application Not Installed Android

stackoverflow.com - 2012-03-02 22:38:38 - Similar - Report/Block

When I try to install my application on my phone it says "Application not installed" Here is the code of my manifest file : <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.co m/apk/res/android" package="tasklite.android" android:versionCode="1" android:versionName="1.0" > <uses-sdk andr...

android.view.InflateException: Binary XML file line #11

stackoverflow.com - 2011-04-30 21:18:31 - Similar - Report/Block

i have a listview with some items.when the user touch the first list item it starts a dialog activity with a photo and some text below.that happens for every list item.but unfortunately i m getting this force down error..this is a part of my manifest: <activity android:name=".kalamaki" android:label="Beaches in Chania" android:scr...

Android Native Application API

packtpub.com - 2013-05-13 09:02:20 - Similar - Report/Block

Thanks to the Android native application APIs, it is possible to write an Android application with pure native code since Android API level 9 (Android 2.3, Gingerbread). That is, not a single line of Java code is needed. The Android native APIs are defined in several header files under the /platforms/android-/arch-arm/usr/ include/android...

Edit text not recieving text

stackoverflow.com - 2012-07-27 15:32:19 - Similar - Report/Block

i have tryed to solve it for hours but been unable to. What is going on is that i setted this editText, called the layout on the activity, and conect it to my variable on the activity, when you click on the field it opens the vistual keyboard, but when you press a key, it takes you to a browser-like search screen, instead of just updating...

Android widget multiple sizes do you determine what size they picked in the configure activity

stackoverflow.com - 2012-03-02 03:20:22 - Similar - Report/Block

I have built a android widget that allows for multiple sizes 2x2 and 4x2. So when someone is on the widget picker screen they see both sizes. They click on one of the sizes and it goes to my configuration activity. How do I know what size they picked on the widget picker screen. I need to know which one was chosen on the configuration...

New to forum, seeking advice.

scoobynet.com - 2013-05-09 01:49:52 - Similar - Report/Block

Firstly I will start off by saying hello to everyone, um, Hi everyone. Now the formalities are out of the way I will proceed. After several weeks of looking for my next car and doing many hours of research on the top 10 choices I have narrowed it down to an Impreza, hence me being here. I have spent many hours looking at all the specs of...




dialogShowMessage!

Fill out the form you see below. Registration is free, fast and simple.
If you are already registered, sign in page login.


Web Site :
Required Field
First Name :
Required Field
Last Name :
Required Field
Email :
Required Field
Sex :
Required Field

evolveStar.com is free for ever !


evolveStar.com provides a search engine that allows you to gather information to write their own blog.


evolveStar.com enhances the sources displaying the logo of the site.


If you want to remove your site or you believe a site listed infringes copyright, please report it to: info@evolvestar.com


Specifies the subject copyright violation and the url of the page


evolveStar.com respecting the law DMCA (Digital Millennium Copyright Act) will immediately remove whatever its merits.


Next will be effectual and relevant checks.







Who We Are Advertising Contacts Help & FAQ

© Copyright 2010-2014 Fabrizio Fichera. All rights reserved.