• Register

Recent activity by amna

1 answer 10 views
Problem: Since upgrade to adt14 I can no longer build my project. It was the construction of the fine before the update. The error: [2011-10-23 16:23:29 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/myapp/R$array; [2011-10-23 ... Tools Eclipse re-installation (updated to latest 3.7.1 version) Created a new import project from file system Created a new subversion project.
answer edited Apr 7
1 answer 5 views
Problem: I want to store a time value and I need to retrieve and edit it. Can anyone guide me here with sample / project code please? Hope someone would guide me.
answered Apr 7
1 answer 6 views
Problem: I like the android platform. In fact, with some friends, they even participate in the ADC with the Spoxt project. But Java is not my favorite language. We are working on an S60 version and this platform has a nice Python API. Of course there is nothing official about Python on Android, but since Jython exists, does anyone know a way to allow the snake and the robot to work together?
answered Apr 7
1 answer 4 views
Problem: In eclipse, I created a project from a source and now it is noticing errors - "R cannot be resolved from a variable". From what I found here, I had cleaned up and rebuilt the project, but still the R file doesn't show up in the / gen folder. Any ideas?
answered Apr 7
1 answer 3 views
Problem: I am learning how to create user interface elements. I have created a couple of EditText input fields. At the click of a Button you want to capture the content written in that input field. Hope someone could help me with this.
answered Apr 7
1 answer 5 views
Problem: I have developed a small application to display text at the intervals defined in the Android screen emulator. I am using the Controller class, the little snippet of my code handler=new Handler(); Runnable r=new Runnable() { public void run() { tv.append("Hello ... r, 1000); When I run this appication the text appears only once. Please anyone know how to run a thread with Handler help me.
answered Apr 7
1 answer 5 views
Problem: I want to pause between the two lines of code, let me explain a bit: -> the user clicks a button (a card, in fact) and shows me by changing the background of this button: thisbutton.setBackgroundResource(R.drawable.icon); -> after say 1 second, I have to go ... does not work. Maybe it is the process and not in the Thread that I need to pause ?? What is the best solution to implement this?
answered Apr 7
1 answer 3 views
Problem: I want to close my request so that it no longer runs in the background. How to do it? It is this good practice on the android platform. If I have the "back" button, the application closes, but remains in the background. There is even application called "TaskKiller" to kill background applications.
answered Apr 7
1 answer 2 views
Problem: Does anyone have or know where I can get an android color xml resource file that contains all the X 11 / w3c color codes? Hope someone could help me.
answered Apr 7
1 answer 7 views
Problem: Is it possible to add more languages for android? My current Android phone only supports English and Chinese the input language. I would like to have Dutch too, as I am going to use it for word completion. The question is, how to easily switch between these languages in the input text (keyboard) GUI? Hope someone could help me.
answered Apr 7
1 answer 4 views
Problem: I am about to start developing an android application and need to get an IDE. eclipse and the android eclipse plugin seems like the natural choice. However, I am familiar with intelliJ and re-sharper so I prefer to use intelliJ. Has anyone used http://code.google.com/p/idea-android? Is this good? Should I just bite the bullet and learn from Eclipse?
answered Apr 7
1 answer 4 views
Problem: I want to try installing the apk file and running it in the emulator.How can I install an APK file on the Android Emulator? Hope someone could help me.
answered Apr 7
1 answer 5 views
Problem: In my android application, when I turn the device (slide the keyboard) and then my activity restarts (onCreate is called). Now this is probably the way it's supposed to be, but I have a lot of initial setting in the onCreate method, so I need to: 1 ... do so onCreate is not called again, and the layout is adjusted or 3. Limit the application only portrait so that onCreate is not called.
answered Apr 7
1 answer 4 views
Problem: I'm not sure it's me or what, but I'm having a problem converting a double string. here is my code: double total = 44; String total2 = Double.toString(total); Am I doing something wrong or am I missing a step from here. I have an ... in an onTouchListener. Ill post more code, basically when the user touches the edittext box I want the information to calculate to fill the edittext box.
answered Apr 7
1 answer 6 views
Problem: How can I send data from one activity (intent) to another? I use this code to send data: Intent i=new Intent(context,SendMessage.class); i.putExtra("id", user.getUserAccountId()+""); i.putExtra("name", user.getUserFullName()); context.startActivity(i); Hope someone could help me with this.
answered Apr 7
1 answer 3 views
Problem: I am using eclipse android plugins to build a project, but I am getting this error in the console window: [2021-02-03 10:31:14 - androidVNC] Final file generating error: Debug certificate expired on 01/30/21 2:35 PM. How can I solve that?
answered Apr 7
1 answer 5 views
Problem: When hitting the back button, I would like my request to go to the stop state, instead of the destroy state. In the android docs it says: ... not all activities have the behavior that is destroyed when BACK is pressed. When the user starts ... then initiating an activity from the home screen, effectively putting my app's activity in the stop state. Thanks in advance for any advice.
answered Apr 7
1 answer 4 views
Problem: I cannot connect to my device using adb via command line or in eclipse. Running the command: adb devices returns the device name, but it says offline. Things I have tried. Toggle android debugging mode Re-install the Google USB driver Restores the operating ... phone / computer multiple times Updated the Android SDK I really have no idea what is going on, Hope someone could help me.
answered Apr 7
1 answer 5 views
Problem: I have a scenario where after login via login page, there will be session button on each activity. Clicking on signout will pass the session id of the logged in user to signout. Can anyone guide me on how to keep session id available for all activities ? Moreover, is there any other solution to this problem?
answered Apr 7
1 answer 4 views
Problem: How can I disable landscape mode for some of the views in my android app? Hope someone could help me.
answered Apr 7