Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - open popup window with widget

open popup window with widget

News, information, contests and special event announcements from members of the anddev.org community.

open popup window with widget

Postby dgnakouri » Mon May 25, 2009 1:36 pm

Hi excuse my english i am french
I want to open popupwindow when we click on my widget
my source
RemoteViews updateViews = null;
updateViews = new RemoteViews(context.getPackageName(), R.layout.widget_word);
updateViews.setTextViewText(R.id.word_title, aTableauresult[0]);
// updateViews.setTextViewText(R.id.definition, aTableauresult[1]);
updateViews.setTextViewText(R.id.word_title2,aTableauresult[2]);

updateViews.setTextViewText(R.id.word_title3,aTableauresult[4]);
//lien http a ouvrir dans le line
String definePage = "http://android-france.fr";
Intent defineIntent = new Intent(context,Popupnews.class);
PendingIntent pendingIntent = PendingIntent.getActivity(context,
0 /* no requestCode */, defineIntent, 0 /* no flags */);

updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent);



but nothing happen
thx
dgnakouri
Freshman
Freshman
 
Posts: 4
Joined: Mon May 25, 2009 11:11 am

Top

Return to Open News

Who is online

Users browsing this forum: No registered users and 3 guests