yashsingh1/xdaforums huggingface dataset:
[Android Studio] RazorPT:
This is wrong:

Result res = new Result();

res.getScore();

You are instantiating a new Result Activity which of course will have a null bundle because its not the same original Result Activity! What you are doing is the same has storing something on your box object named "box1" and then create a new box named "box2" and hope the object you stored will be on this new box!

If i understood correctly you want to show the result activity on the end of the quiz which you seemed to have working. And now you want to show the scores activity on press of a button on the main activity correct?

For that create a listener for the scores button on your Main Activity and add code to launch the Scores Activity with an intent where you pass the score. And then retrieve the bundle on your onCreate method on your ScoresActivity!
[Android Studio] Parkie02:
Can you maybe help me. I understand what you say but do not know how to do it.

Here is my main activity:

package app.mobiledevicesecurity;

import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class MainActivity extends ActionBarActivity {
DatabaseHelper myDb;
private static Button readbtn;
private static Button quizbtn;
private static Button scoresbtn;
private static Button settingsbtn;
private static Button helpbtn;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
myDb = new DatabaseHelper(this);
myDb.insertData();

OnClickReadButtonListener();
OnClickQuizButtonListener();
OnClickScoresButtonListener();
OnClickSettingsButtonListener();
OnClickHelpButtonListener();

}

public void OnClickReadButtonListener() {
readbtn = (Button) findViewById(R.id.readbutton);
readbtn.setOnClickListener(
new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent("app.mobiledevicesecurity.Read_Category");
startActivity(intent);
}
}
);
}

public void OnClickQuizButtonListener() {
quizbtn = (Button) findViewById(R.id.quizbutton);
quizbtn.setOnClickListener(
new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent("app.mobiledevicesecurity.Quiz");
startActivity(intent);
}
}
);
}

public void OnClickScoresButtonListener() {
scoresbtn = (Button) findViewById(R.id.scoresbutton);
scoresbtn.setOnClickListener(
new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent("app.mobiledevicesecurity.Scores");
startActivity(intent);
}
}
);
}

public void OnClickSettingsButtonListener() {
settingsbtn = (Button) findViewById(R.id.settingsbutton);
settingsbtn.setOnClickListener(
new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent("app.mobiledevicesecurity.Settings");
startActivity(intent);
}
}
);
}

public void OnClickHelpButtonListener() {
helpbtn = (Button) findViewById(R.id.helpbutton);
helpbtn.setOnClickListener(
new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent("app.mobiledevicesecurity.Help");
startActivity(intent);
}
}
);

}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();

//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}

return super.onOptionsItemSelected(item);
}
}
[Android Studio] MonaSpencer:
Android Studio Eclipse - 1

I wonder if I 10 of the many many who call to use FDI. In my 20 years I have been on 1: MS Visual Studio, 2: Eclipse 3: STS (spring version of Eclipse), 4: RAD (IBM Websphere version eclipse commercially), 5: and now Netbeans 6: IntelliJ. The last one is my favorite by far far away. When you say many many Suppose you can take a little more to the list?

I let Visual Studio, because I. To Java instead of C ++ I went into eclipse, because that's what everyone else was doing, so I thought it was the only tool. I moved to STS because I look for alternatives, because eclipse was anything but stable, if you use EJB, Spring, Hibernate and one of the usual suspects in the application server where the debugging and publishing is a very regular basis. I had to use RAD, because a customer forced me. RAD6.2 and if the company that I was, I was probably still sued IBM as RAD6.2 is not even worth called a beta version. Since none of the releabed of the Eclipse-based IDE agony I have so hard to avoid, tried, I tried NetBeans. And things clarified. By integrating Maven was better than the eclipse. Honesty I admit liable that I never really know him so well, because professional, everyone was from Eclipse moving to IntelliJ, and I felt nothing but relief, where once swore. And so I joined the hive.

And I'm glad that I did it. IntelliJ is not perfect, but in my humble opinion, approaches. And if you have a problem, send an email to get these people and nine out of ten an answer within an hour. In the worst case within a day. At least in my case, as a paying customer.

I can not comment on Eclipse with the development of Android. I am pleased to talk about Java developers. For me, the Eclipse is a past long forgotten. Never again.
[Samsung Galaxy Alpha] Jeanjacque Demond:
Hi people,

Sorry for my english and my ignorance about the functioning of the forum (is my first post).

My question is if the CM12.1 project for Galaxy Alpha A5 includes the ExtSDCard access with apps and/or massive storage option connecting to computer with USB ( really anyone prefer the MTP option :confused:)

Thanks a lot
[Nexus 6 Q&A, Help & Troubleshooting] MKP101:
im planning to buy a US version of nexus 6 unlocked form amazon..now im going to use the phone in india for a while,,and india we still dont have LTE connectivity quite all over the place,,where i live we have 3G connection at 2100 Mhz frequency(may be,,im not sure of it)..bt we use 3G connection all the tym and after that im going to use phone in south america in guyana where even there no 4G bands are there still..

SO,,is it good to buy the US version unlocked as its quite cheaper than internationl version unlocked,,and im going to use just 3G bands all the tym out side US?
[Nexus 6 Q&A, Help & Troubleshooting] prdog1:
I know as far down as Brazil they are using the International Version. Gonna depend on what bands you need. That is what need to research.

https://en.wikipedia.org/wiki/Nexus_6

http://www.androidpolice.com/2014/1...of-the-worldhere-are-all-the-supported-bands/

http://www.androidcentral.com/what-radio-bands-do-i-need-my-unlocked-phone

These links are a start. Need to be compatible here also. 3rd link gives you that. There are probably better links that give more info but should be a start.
[8125, K-JAM, P4300, MDA Vario ROM Development] manuelcalavera:
can I remove two icons (power & commmgr) inserted in a line on the bottom of screen ?

how can i delete the lowest item contains battery bar and wifi icon permenantly ?

i deleted powertray and wifitray on taskmanager but it didnt remove the bar-line and it bring it back after reseting

what should i do ?!
[8125, K-JAM, P4300, MDA Vario ROM Development] boto:
remove the shortcute on \windows\startup
[8125, K-JAM, P4300, MDA Vario ROM Development] taeksoo:
Which ROM did you flash.. most I've flashed didn't have them by default.

But, I'm not sure if you can, but I think you can install BatteryStatusExt.1.04 and use the TrayLaunch tab to do this... I think if you just check it first.. so it shows... then uncheck it by coming back in the option.. then I think it will get rid of it.. I think I did that before from my previous flashes but can't remember... couldn't hurt to try.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
if you ment the tray icons which are located on the bottom of the screen, to remove them:

Remove the Battery Icon:

[HKEY_LOCAL_MACHINE\Services\Power]

"ShowIcon"=dword:00000000

Remove the Wireless Manager Icon:

[HKEY_LOCAL_MACHINE\Services\WirelessMgr]

"Keep"=dword:00000000
[8125, K-JAM, P4300, MDA Vario ROM Development] manuelcalavera:
im using wm6 ( XDA Mobile 6 r2a ) but in registry edit there was no "Power" and no "Wirelessmgr" !

i want to remove them by codes , not with any app.
[8125, K-JAM, P4300, MDA Vario ROM Development] manuelcalavera:
i also used battery status and it cant remove them !
[8125, K-JAM, P4300, MDA Vario ROM Development] xeno1:
In activesync, click explore and go to windows-->startup and remove the Init_Tray.lnk and once you reboot it will be gone.
[8125, K-JAM, P4300, MDA Vario ROM Development] jagr:
i removed init_tray from startup but now it seems activesync doesnt auto start up. It doesnt connect to my desktop when I plug in the USB, I have to go to programs click activesync. Any workarounds?
[8125, K-JAM, P4300, MDA Vario ROM Development] kpaznb0i:
Hmm that is very strange. I deleted init_tray many months ago and activesync was never a problem.
[8125, K-JAM, P4300, MDA Vario ROM Development] madrascafe:
there is something else amiss here... pls. check if you have poutlook in your startup folder....

also removing Init_Tray from startup will in no way mess up activesync... there are not related at all..
[8125, K-JAM, P4300, MDA Vario ROM Development] xfooser:
I removed Init_Tray & WiFiInit in the startup folder and that removed the icons and the bottom tray bar. It doesn't have any other affect that I can see. BT, Wifi and activesync all works fine. Battery Status does not remove these icons but adds more if you are using the extended version and enable tray icon option.
[8125, K-JAM, P4300, MDA Vario ROM Development] curious george:
I have a program running in the tray, screen rotate, but I can't find it anywhere else on my device. how do I get to it and see where the command line is from so i can copy/paste it to my programs?

CG
[Other SmartWatches] frankandwendy:
How about No.1 Watch S3 Vs No.1 S2 Vs No.1 G2 smartwatch ? :confused:
[Other SmartWatches] frankandwendy:
NO.1 S3 Newest News:

No.1 have made a last minute update to the chipset in their No.1 S3 Smartwatch to improve speed while maintaining a low retail price.

[IMG="no.1 s3"]http://en1.data.coolicool.com/images/MHBNOS3/MHBNOS3/D9_1.jpg[/IMG]

Phone maker gone Smartwatch maker No.1 have updated the processor on the No. S3 smartwatch to a Mediatek MT2502 processor. The switch in chipset has been made to enhance performance of the wearable while also offering better support to both iOS and Android smartphones.

The S3, like other Chinese watches, does not use Android Wear but a simple OS running on a Mediatek chipset to bring notifications and sports monitoring to your wrist. What is unlike other wearables though is the inclusion of a SIM card slot for native calls and room for an SD card so you can save files, music etc.

No.1 will release the S3 later this month for only $65, but if you wanted to get one for Free you can take a look at the giveaway the company are currently holding on their official website.
[Other SmartWatches] nickt1988:
S3/T3

Has anyone brought the S3/T3? I've been looking for a smartwatch with HR for a while and i like the look of this one.
[Other SmartWatches] probstc:
Nice watch, great deal for $60 USD

I received my No. 1 S3 last week and I must say I was pleasantly surprised. The build is better than I had read (ex. I was told it was plastic, whereas it is metal) and there are many features preinstalled on the watch. The only criticism I have so far is that the watch will pair with your smartphone, but if you want to use its standalone calling features and you want to pair it with a Bluetooth headset (to avoid the **** Tracey talking to a watch feeling), this does not work; it pairs but the sound still comes through the watch.

As for aesthetics, my wife who thinks people who wear smartwatches all look like nerds, actually thinks this watch looks nice and is willing to be seen in public with me. :)
[Nexus 5 Q&A, Help & Troubleshooting] D3_:
So I replaced the front frame/screen of my nexus 5 today, after accidentally damaging the ribbon cable on the original.

The new screen seems to work fine, but now my nexus 5 won't boot.

Holding the power button does nothing. Plugging a charger in will result in the charging icon for a few seconds, before it turns off and displays the charging icon again.

I can't boot into the OS or recovery, the phone just reboots after a few seconds on the google logo, but I can boot into fastboot just fine and even flash recovery/system images. I've got no idea what's wrong, any help would be appreciated.
[Nexus 5 Q&A, Help & Troubleshooting] dicecuber:
Post pictures
[Nexus 5 Q&A, Help & Troubleshooting] chaco81:
open it again and make sure ALL the connections are back in as normal

sounds to me you either missed a hardware connection, or shorted or damaged out the motherboard when handling it apart

like the other guy said, post pic of the internals
[ZTE Z7, Z7 Max, Z7 Mini] edvinasb:
Hello. Could someone help me with downloading rom from Baidu? I can't register there. Could someone download the file and upload it to mega or dropbox or somewhere where I could download it?

Link : pan baidu com/share/link?shareid=2901506192&uk=2436317143

password: zq8d

Thank you :)
[Sony Xperia P, U, Sola, Go] shouhu1993:
i am studying to compile the rom for my android device from a month ago. today i was trying to compile twrp for my device,but i face some problems which i cant solve. does anyone can help me?

this is the error

============================================

including ./abi/cpp/Android.mk ...

including ./art/Android.mk ...

including ./bionic/Android.mk ...

including ./bootable/recovery/Android.mk ...

bootable/recovery/gui/Android.mk:140: ****************************************************************************

bootable/recovery/gui/Android.mk:141: * TW_THEME () is not valid.

bootable/recovery/gui/Android.mk:142: * Please choose an appropriate TW_THEME or create a new one for your device.

bootable/recovery/gui/Android.mk:143: * Valid options are portrait_mdpi portrait_hdpi watch_mdpi

bootable/recovery/gui/Android.mk:144: * landscape_mdpi landscape_hdpi

bootable/recovery/gui/Android.mk:145: ****************************************************************************

bootable/recovery/gui/Android.mk:146: *** stopping。
[Sony Xperia P, U, Sola, Go] Sudarshankakoty:
Open the boardconfig.mk file add add this line RECOVERY_VARIANT := twrp

TW_THEME := portrait _hdpi
[Sony Xperia P, U, Sola, Go] mathew2214:
that doesnt fix it
[G3 Q&A, Help & Troubleshooting] Vivek_Vivek:
Hello!

I'm running CloudyG3 2.5 on my phone. Lately, I'm having a lot of issues with Google maps & navigation. The GPS positioning is inaccurate most of the times, and the pointer stops moving every now and then. What's the issue here?
[Android Apps and Games] Francesco Casella:
Hi, I'm an Italian guy and I just released this game on google play, I'll introduce you.

Dots Invaders. Set in the universe, Dots Invaders is a simple game, the goal is to save the Earth from dots Invaders, this with a simple swipe to the left or right of the screen and collect points with circles of the same color dots.

There are three modes, Arcade, infinity, double.

Arcade: The speed of the dots increases every 10 points, this mode is for people who like challenges, and even if you lose, you can get 3 lives to try again.

Infinity: the speed of the dots is constant, this mode is for those who want to learn to play and develop reflexes.

Double: This mode is the most difficult, this is because the points are from above and below, the speed of the points does not vary.

* If you want to play in this mode, no advertising, just close the game and re-open directly in this mode *

ACCEPT CONSTRUCTIVE CRITICISM :good:

Screen:

DOWNLOAD

https://play.google.com/store/apps/details?id=com.DevCas.DotsInvaders
[Android Apps and Games] Francesco Casella:
V2.2

Bug fix

DOWNLOAD

https://play.google.com/store/apps/details?id=com.DevCas.DotsInvaders
[Android Apps and Games] issamaf80:
Good game
[Android Apps and Games] Francesco Casella:
Thanks a lot!It is my first game and I'm happy to receive compliments!:D:D
[Android Apps and Games] evildog1:
cool game. could you make google leaderboard?
[Android Apps and Games] Francesco Casella:
hi, thanks for the compliment, :D google play games is implemented, and the leaderboard is the key at the bottom left.

Thank you! I would love you if you review my first game on google play!!:laugh::fingers-crossed:
[Android Apps and Games] Francesco Casella:
Feedback?
[Android Apps and Games] Francesco Casella:
good performance, you have tips?:confused::highfive:
[Moto G General] frekele:
Moto G XT1032 - Official Motorola Rom - OTA Brazil - Android 5.1.1 (Untouched)

File name: Blur_Version.220.21.28.falcon_umts.Brasil.en.BR.zip

[ download here - mega.nz ]

I hope this helps.
[Moto G General] MarckozZ:
This is surely 5.1 instead of 5.1.1... :cool:
[Moto G General] moralesnery:
Could someone please describe how to install this, and what firmware is required to be installed on?

Can confirm, it works.
[Moto G General] fonz93:
220.21.28.falcon_umts is 5.0.2
[Moto G General] AgentChaos:
the way Motorola updates work is that update files are named after the version they are updating from

but this update is indeed 5.1

here is the info from the update script

motorola/falcon_retbr/falcon_umts:5.1/LPB23.13-56/57:user/release-keys

and during the update, it will check if your phone is running the following firmware

motorola/falcon_retbr/falcon_umts:5.0.2/LXB22.46-28/28:user/release-keys
[Moto G General] WhiteBubbles:
Asia retail - brazil retail difference ?
[Moto G General] Dnlz:
220.27.1 to 5.1?

Does anyone have the german retail zip to update from 220.27.1.falcon_umts.Retail.en.DE to 5.1?

I don't have the update yet and my system-ui is glitched.
[Moto G General] moralesnery:
Try a factory reset from the stock recovery, or flash 5.0.2 again.
[Moto G General] Dnlz:
Factory reset

Sadly I already performed a factory reset, no luck. Is it possible to flash 5.0.2 with a locked bootloader?
[Moto G General] moralesnery:
Yes, if you have the ROM file you can flash it using mfastboot via fastboot mode, even with a locked bootloader. After flashing you will get an OTA update to 5.1.
[Moto G General] Dnlz:
Flashing

Will my data be lost when I re-flash 5.0.2?
[Moto G General] moralesnery:
If you use the comand "mfastboot erase userdata" all your files will be deleted. Just dont use that command, save your files on the first boot and then make a factory reset. Doing this will prevent problems with files from the old installation.
[Moto G General] Dnlz:
Guide

Could you send me a step by step guide on how to do this? So I can do this in a bit.
[Moto G General] sucessoideal:
Ow , Very good :good:
[Moto G General] jmfn_007:
Once you have the 5.0.2 version, move the 5.1 version to the root, then go into the recovery and search it and install it. Good LUCK
[Moto G General] Dnlz:
Installing

When I tried to clean install this over the 5.1 GPE rom, it successfully flashed but I got stuck in bootloop.

What could be the issue? Not that it matters much since I flashed CM instead.
[G4 Q&A, Help & Troubleshooting] s4vva:
I use Google Keyboard and as far as I can tell it should show emoji amongst the predicted words. It seems from various guides I have seen I need to add the 'Emoji for English words' via an add-on dictionary from the language menu. I can't see the emoji dictionary in the list.

Is anyone else using the Google Keyboard seeing emoji word predictions?
[Galaxy Note 4 Q&A, Help & Troubleshooting] zambara:
As far as i know this is the only coston ROM for the SN-M9100 model.

It doesn't have Note 5 features tho...

http://xdaforums.com/note-4/snapdragon-dev/2015-7-16b-rom-n9100-r1-0-odin-tar-t3158714
[Galaxy Note 4 Q&A, Help & Troubleshooting] saudmsn:
Thank you sir
[Galaxy Note 4 Q&A, Help & Troubleshooting] Zanr Zij:
The most famous Rom for Duos variant of Samsung device: SVA ROM from Russian dev. But this is paid Rom! I'm quite happy with it now.
[Galaxy Note 4 Q&A, Help & Troubleshooting] reall0ve:
I find any thing, but only for n9100 chn, not for n9100 tgy, tried flash n9100 chn for n9100, but get some troubles.. i am waiting

---------- Post added at 11:51 AM ---------- Previous post was at 11:47 AM ----------

Sva rom made me happy, but i want some note 5 port rom for n9100 tgy beacause only note5 rom can change theme...new air command...and so on
[AT&T LG G3] TheNetwork:
Anyone done it? The clear plastic lens cover over the actual camera lens has become quite scratched and I think it's starting to affect picture quality significantly, especially in lower light situations.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] njaltengs:
Here's the deal: I need help!!!!!!

I have a HTC TYTN and upgraded it's ROM from WM5 to Custels Ultimate WM6 as he got a lot of good reviews for it. However, there's a bug in it - apparently a bug Mr. Custel was aware of. After upgrading to WM6 my Active sync does no longer work when using USB.

Here's my details:

HERM200

spl-2.10 Olipro

IPL-1.04

Windows Mobile 6 Professional

CE OS 5.2.1238 (Build 17745.0.2.3)

ROM Version: CUSTEL Ultimate

ROM Date: 05/05/07

Radio version: 1.41.00.10

Protocol version: 32.74.7020.18H

I run Active sync 4.5 on my PC.

I have checked that the setting for Active sync is correct on my computer and that the 'Enable advanced network functionality' box is unchecked in the USB-to-Pc setting on my TYTN

I have tried to manually put my TYTN into Bootload to see if it can connect via USB then - and it cannot even if it says USB on my TYTN tricolor screen.

I've deactivated firewall, checked to see if settings for Outlook is correct etc... etc...

I've even tried to put a .nbh file on my SD card and put TYTN into Bootload mode - but it never got past the tricolor screen.....

In other word: I cannot connect my TYTN to my PC and I cannot flash another ROM onto my TYTN to make it work properly with Active sync.

What can I do? Any ideas would be appreciated.

Regards,

Njål
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] robertscd:
I will try

Well I had the same problem with active sync when I installed wm6 on my cingular 8525 (hermes). Once I figured out to remove the check in the USB to PC window, I removed activesync 4.5 and restarted my pc. Then I reinstalled activesync. I then restarted my pc. I then hooked the usb cable from the cradle that my phone sits in and then placed the phone in the cradle. Everything has worked fine since then. I know for sure that check in USB to PC has to be unchecked. It will not work unless. So try that and see what happens. That is what I had to do. It would not work until I unistalled and reinstalled activesync. Hope this helps.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] njaltengs:
A little more info:

Here's a little more info when it comes to my problem.

I've read the thread regarding Mr Custel's WM6 Final ROM and after I upgraded my phone, several others has complained about the same problem as I have.

Mr Custel has written that he's aware of the problem and that he will fix it - however, I now see a new ROM upgrade from Mr Custel called Custels Ultimate WM6 ROM. The problem is that I cannot install it since I cannot get an USB connection to work.

I've tried uninstalling Active sync - restart PC - reinstall active sync - restart PC and try to connect. Several times, actually. It doesn't work :(

Any ideas?

Regards, Njål
[Galaxy Tab 2 Q&A, Help & Troubleshooting] KR_:
Anyone give me a stock deodexed 4.2.2 Rom on p3100? Thanks! ? :confused:
[Android Studio] Aswathy Smiju:
Examia - General Knowledge Exam Kit app helps you in preparing for competitive exams, Job Exams , Quiz Shows etc . The app is available for your all type of android devices such as smart phones and tablets