• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

New to Android Programing

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
I am in two weeks of android. I have configured eclipse Juno with android sdk 20.

This is My main activity.java



my avd is disconnecting suddendly

This is the first line of logcat and some series of messages

08-17 07:44:39.490: E/logwrapper(38): executing /system/bin/e2fsck failed: No such file or directory
08-17 07:44:39.520: E/logwrapper(42): executing /system/bin/e2fsck failed: No such file or directory

guys Iam completetly new to android and prior ihave some exp on core java and struts
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch.

my avd is disconnecting suddendly



What does that mean? What, exactly, are you doing in the app, and what, exactly, is happening as a result?
 
Indu Puvi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ulf
Iam working in eclipse IDE. what I have said is android virtual device(avd)

This is my emulator set up:

2014-08-18 09:13:34 - SDK Manager] hw.device.hash2=MD5:6930e145748b87e87d3f40cabd140a41
[2014-08-18 09:13:34 - SDK Manager] hw.device.manufacturer=Google
[2014-08-18 09:13:34 - SDK Manager] hw.device.name=Nexus 4
[2014-08-18 09:13:34 - SDK Manager] hw.gps=yes
[2014-08-18 09:13:34 - SDK Manager] hw.keyboard=yes
[2014-08-18 09:13:34 - SDK Manager] hw.lcd.density=320
[2014-08-18 09:13:34 - SDK Manager] hw.mainKeys=no
[2014-08-18 09:13:34 - SDK Manager] hw.ramSize=786
[2014-08-18 09:13:34 - SDK Manager] hw.sdCard=no
[2014-08-18 09:13:34 - SDK Manager] hw.sensors.orientation=yes
[2014-08-18 09:13:34 - SDK Manager] hw.sensors.proximity=yes
[2014-08-18 09:13:34 - SDK Manager] hw.trackBall=no
[2014-08-18 09:13:34 - SDK Manager] skin.dynamic=no
[2014-08-18 09:13:34 - SDK Manager] vm.heapSize=64



Actualy iam running a sample program on fragments
When I started run

My emulator opens up
but I couldn't see the output

this is my console output:
[2014-08-18 09:17:32 - MyFragments] Android Launch!
[2014-08-18 09:17:32 - MyFragments] adb is running normally.
[2014-08-18 09:17:32 - MyFragments] Performing com.example.myfragments.MainActivity activity launch
[2014-08-18 09:17:32 - MyFragments] Automatic Target Mode: launching new emulator with compatible AVD 'Mine'
[2014-08-18 09:17:32 - MyFragments] Launching a new emulator with Virtual Device 'Mine'
[2014-08-18 09:17:58 - Emulator] emulator: warning: opening audio output failed
[2014-08-18 09:17:58 - Emulator]
[2014-08-18 09:17:58 - MyFragments] New emulator found: emulator-5554
[2014-08-18 09:17:58 - MyFragments] Waiting for HOME ('android.process.acore') to be launched...



This is my logcat output:
?:??: W/?(?): --------- beginning of main
08-17 23:52:54.540: E/logwrapper(39): executing /system/bin/e2fsck failed: No such file or directory
08-17 23:52:54.570: E/logwrapper(42): executing /system/bin/e2fsck failed: No such file or directory
08-17 23:52:54.890: I/lowmemorykiller(44): Using in-kernel low memory killer interface
08-17 23:52:55.140: I/qemu-props(47): connected to 'boot-properties' qemud service.
08-17 23:52:55.140: I/qemu-props(47): receiving..
08-17 23:52:55.140: I/qemu-props(47): received: dalvik.vm.heapsize=64m
08-17 23:52:55.160: I/installd(53): installd firing up
08-17 23:52:55.340: I/qemu-props(47): receiving..
08-17 23:52:55.340: I/qemu-props(47): received: qemu.sf.lcd_density=320
08-17 23:52:55.400: I/qemu-props(47): receiving..
08-17 23:52:55.400: I/qemu-props(47): received: qemu.hw.mainkeys=0
08-17 23:52:55.410: I/qemu-props(47): receiving..
08-17 23:52:55.410: I/qemu-props(47): received: qemu.sf.fake_camera=none
08-17 23:52:55.410: I/qemu-props(47): receiving..
08-17 23:52:55.410: I/qemu-props(47): exiting (4 properties set).
08-17 23:52:55.440: I/DEBUG(49): debuggerd: Jun 23 2014 23:40:35
08-17 23:52:55.440: I/DEBUG(49): --------- beginning of system

and it goes on.........


 
Indu Puvi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Ulf

Actually the program above I said was about Intents

the code is about two listeners corresponding two buttons ie. Start Browser and Start Phone

Main activity.java



res/layout/main.xml

 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

but I couldn't see the output


What is "the output"? What are or are you not seeing? Remember that we don't have your screen in front of us.

Also, have you ever successfully launched an app of yours in the emulator so that you know it works in principle?
 
reply
    Bookmark Topic Watch Topic
  • New Topic