Aller au contenu
View in the app

A better way to browse. Learn more.

Forum de Frandroid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[question] Hello World, Eclipse, Emulateur : problème

Featured Replies

Posté(e)

Rebonjour à tous !

J'ai trouvé ! un seul mot Attendre, attendre. en fait l'émulateur est très lent environ 5 minutes.

Je n'ai trouvé pour changer le titre avec la mention "résolu"

Merci et à bientôt

Michel

Bonjour à tous,

Je suis newbie et je viens d'acquérir un smartphone (Xperia comme James ...). Je souhaite lui programmer une appli et donc j'ai installé la config suivante :

Ubuntu 12.04

Eclipse Platform Version: 3.7.2 Build id: I20110613-1736

Android 4.1.2

Premier programme naturellement : Hello World !

J'ai écris un petit de prog (voir ci-dessous) et lorsque que je "run" l'émulateur démarre mais pas mon appli, en fait rien n'apparait dans l'emulateur (voir sortie console).

Si quelqu'un à une pirte de recherche, je le remercie d'avance.

Michel

Sortie console

===========

[helloworld] Android Launch!

[helloworld] adb is running normally.

[helloworld] Performing com.example.helloworld.HelloWorldActivity activity launch

[helloworld] Automatic Target Mode: launching new emulator with compatible AVD 'Test'

[helloworld] Launching a new emulator with Virtual Device 'Test'

[Emulator] emulator: emulator window was out of view and was recentered

[Emulator]

[helloworld] New emulator found: emulator-5554

[helloworld] Waiting for HOME ('android.process.acore') to be launched...

Mon prog

========

package com.example.helloworld;

import android.app.Activity;

import android.os.Bundle;

import android.widget.TextView;

public class HelloWorldActivity extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_hello_world);

TextView tv=new TextView(this);

tv.setText("Hello World ! Voici ma première application Android !");

setContentView(tv);

}

}

Modifié par michel54

Posté(e)

as tu test de lancer 2 émulateur en même temps ,

le emulator-5554 me pose des problèmes, je lance un 2éme en parallèle le 5556 et tous vas plus vite

Modifié par carx

Rejoignez la conversation

Vous pouvez poster maintenant et vous enregistrez plus tard. Si vous avez un compte, connectez-vous maintenant pour poster.

Invité
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Répondre à ce sujet…

Account

Navigation

Rechercher

Rechercher

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.