yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] rodentooth:
i have now changed the view start_time to a button...because it actually IS a button (im stupid) but now, when I click on the button, it moves completely out of the screen, and if not, instead of getting the time, the app stopps again with nullpointer. It should stay in the screen, placed randomly on click and after some clicks, I want to recieve the elapsed time. what is this?

code:

public class Game extends Activity implements OnClickListener{

Button start_time;
Button sec;
int i = 0;
TextView textview1;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_game);
start_time = (Button) findViewById(R.id.start_time);
start_time.setOnClickListener(this);
textview1 = (TextView) findViewById(R.id.textView1);

}

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

@Override
public boolean onOptionsItemSelected(MenuItem item) {

int id = item.getItemId();
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}

@Override

public void onClick(View v) {

Random r = new Random();

int x = r.nextInt(R.id.wrap_content);
int y = r.nextInt(R.id.wrap_content);
long startTime =	SystemClock.elapsedRealtime();
i++;

Button b = (Button) findViewById(R.id.start_time);
b.setX(x);
b.setY(y);
if (i == 1 ) {

b.setX(+9);
b.setY(+5);
}
if (i == 2 ) {
b.setX(x);
b.setY(y);
}
if (i == 3 ) {
b.setX(x);
b.setY(y);
}
else if (i == 4) {
long difference = SystemClock.elapsedRealtime() - startTime;

Intent intent = new Intent(Game.this, MainScreen.class);
intent.putExtra("time",difference);
// Toast.makeText(getApplicationContext(), getIntent().getStringExtra("time"), Toast.LENGTH_LONG).show();
textview1.setText(getIntent().getStringExtra("time"));
finish();
}

}

}

and the xml:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="chdfss.dsfwegg.trhhGame" >

<Button
android:id="@+id/start_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="139dp"
android:text="Button" />

<Button
android:id="@+id/sec"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/start_time"
android:layout_below="@+id/start_time"
android:layout_marginLeft="17dp"
android:layout_marginTop="89dp"
android:text="Button"
android:visibility="gone"/>
<View
android:id="@+id/wrap_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content">

</View>

</RelativeLayout>
[Java for Android App Development] Jonny:
I'm not familiar with the nextInt() function (I can look it upp later when I'm home) but I'm pretty sure you shouldn't be parsing a views ID as one of its conditions - eg you're doing nextInt(R.id.wrap_content), are you sure that's right?
[Android General] uncleabubear:
Development
[Android General] rocketbo:
Battery life

Hi,

Thanks for the first details of the tablet. Have you had a chance to test battery life yet? I am thinking of buying the Chuwi or the Ramos i9s Pro Dual boot. But it seems there is no 3G version yet for the Ramos which I find useful for my purposes. On the other hand the Chuwi has a 6400mAh battery only (8000mAh for the Ramos).

Cheers
[Android General] uncleabubear:
Today I got about 5 and a half hours of normal (no gaming) use
[Android General] ayamgoreng:
I can't see any HDMI on the spec.

That's mean I have to grab usb to HDMI solution right ?
[Android General] uncleabubear:
The V89 does not have HDMI, however it has Intel Wireless Display (widi) see link above.
[Android General] ayamgoreng:
thx for the info. I just ordered one from aliexpress. Hopefully it's as good as yours

btw is the firmware/bios always posted only on Chinese forum ?
[Android General] csiz:
weight

Can you put it on a scale and find out the real weight please? Last tablet I bought is 250g heavier than what it says on the spec.
[Android General] uncleabubear:
It has wireless updates in android (latest 4.4.4)

I don't know about bios updates
[Android General] ayamgoreng:
I got mine today. :D

just want to add some rants :p

- bonus screen protector is not good.

- no exFat on android.

I doubt any "hack" to support it since chuwi doesn't release kernel source

- strange pattern under bright light when screen is off. not noticeable when screen is on.

I saw the same thing on old HTC windows 6.5 device (HD2 if I remember correctly)

other than that I'm quite satisfied.
[Android General] ils:
i'm planning to buy this tablet

is there any weakness i should know before?

preferable a comment from someone who's already using it for a few weeks :)

i'll get either this or Onda V919 or Cube i6, though i prefer smaller one

but Onda V919 has a large community here, and Cube i6 build quality is better (than Onda, dunno VS this one)

hows the battery? also is the weight is truly ~300gr (like iPad Mini)?

Thank You
[Android General] RakeshReddy:
Available Free Space

Even am planning to buy Chuwi V89 dual boot 64gb awesome specs.... can anyone please tell me what's the available free space under Windows 8.1 and Android. Thank you.
[Android General] Bixx:
Hi, I have had this pad for 1 week and I am pleased with it so far.

Mine came with the Android version all in Chinese, you have to change the language in the settings.

Here are some points worth a mention.

PRO's / CON's

The screen is very good, sharp and responsive but is a fingerprint magnet and does not have anti-glare coating like my Nexus 7

Windows Resolution is 1920x1200 Android Resolution is 1280x800, can't seem to change it.

Windows Hard Drive is 41.2Gb Android 10.7Gb The rest must be Operating system and caches?

My Quadrant score is 12453

GPS is slow to lock but OK once done.

Bixx
[Android General] ils:
Thank You

my unit came this morning and I really like the flexibility here. Windows + Android in 1 tablet, it's the dream :D

I have a few questions actually

1. how long the charging operations usually from 0% to 100%? the LED is blinking red light and the % increase so/too slow, made me thinking my battery or charger is at fault. but after 3 hours, it sits at 51% (I'm charging in Windows env). I too using USB charger doctor to display amperage used. sometime it only charge at 0.1A and then up to 1.3A using both Chuwi charger or iPad charger. is this normal?

2. any way to Configure BIOS or resize default partition? or even install a Linux distro? because the Default we need to load 1 OS first before launching the OS switch button.

3. the official forum is using Chinese, and I'm not familiar with Chinese :). any other information for this tablet? I really curious about OS update (Windows 10 support? Lollipop?)

Thank You
[Android General] Bixx:
Hi ils,

mine arrived almost flat and I had to charge it to set up my windows account.

I usually charge overnight using my Samsung wall charger which can give 2 Amps max, It does appear to take a long time.

I managed to root it today using the links supplied in this post.

I don't know of anywhere else to find info in English, I also do not read Chinese.

The drives are visible in windows disk manager, all 16 of them!

Not looked at playing with the BIOS as I only really wanted this for Windows.

I would not expect Lolipop any time soon, But windows 10 will be a free upgrade later this year.

Bixx
[Android General] hman187:
hi guys just wanted to give my opinion on this tablet, i've had it for about a month now and as much as i love it couple of issues people may want to know....

i also find the charger very slow, can take about 3-4 hours to fully charger from below 10%, even if switched off, i found that the wifi performed better in android but it may have been down to a driver upgrade, i went back to previous driver and now it seems to work better.

i was extremely happy about the memory provided for each os as i don't require so much for android,it was and 31gb for windows after updates and 10.7gb for android, i've had no issues with the dual booting and battery life seems to last around 5-6 hours if watching movies online with bluetooth on, so quite good really, in my opinion anyway.

would like to know if anyone has been able to update to windows 10 technical preview whilst still keeping the android dual boot option?

also screen is very good quality aswell, also doesn't seem to be as much support for this unlike the onda v919 and teclast x98 but to be honest i much prefer the chuwi screen size/aspect ratio compared to the 9.7/4:3 the onda n teclast use.

hope this helped guys :)
[Android General] ils:
Thank You both

I wonder if we could change Android Resolutions to native since the text seems blurry

yeah, I also chose this tablet because the size and aspect ratio

9.7" is too big for me

about Windows 10, how can we install new Windows without access to bootloader?
[Android General] Bixx:
Hi, I found that from off, if you hold the vol - and On together you get to a bootloader.

Also Vol + and On get you to a different one.

I wiped the cache in there and it improved my slow GPS fix issue.

I also ran SuperCleaner and now my Quadrant score is 15127, up from 12453
[Android General] RakeshReddy:
Thank you

Thank you please keep us updated. maybe a youtube video review? anyway you can even connect a keyboard and click DEL or ESC button while booting to get into bootloader like any other PC. same works for teclast. and I truly feel you can install and update to windows 10 without messing up android as windows has its own partition and during installation select windows 8.1 partition to update to windows 10.

Regards,

Rakesh
[Android General] ils:
I found the ROM for V89 Dual OS

but the files is in Chinese

http://www.needrom.com/download/chuwi-v89-dual-os/
[Android General] jukeboxie:
Windows 10 update

Hello

I have a problem, i tried many times to update the chuwi v89 to windows 10

I tried a couple of times with the tool en several times with the reservation of windows 10

It's download windows and install it, but when after install the windows restart, i come in the android os.

Then i have to switch to windows and there;s no chance (windows 10) i still have windows 8.1

Do you know the problem?????

Must i mayby change in q2s utility different settings, on the right stands default boot os: OS1

Is OS1 android en must i change this with os2 when windows install en set it later back to os1!!!

Thx, if you can help me.......(sorry I'm Dutch for mij writing)

jukeboxie

]
[Android General] yopy:
From the chinese forum, there is a suggestion you should disable the Q2S via the "services" before doing any upgrade or simply uninstall it.

After finishing the upgrade, then re-install the Q2s. I have upgrade my V89 via the reserved Windows 10. After the upgrade, the Q2S icon disappear. You need to go the program file(find the folder) and re-create the shortcut.

I did not have the reboot to android problem but some users on the chinese forum does have similar issue.

I have attached at Q2S in case you need it. I have installed it. No problem. There are two files inside. One is X64 and X86. I have installed the X86. Its works.
[Android General] jukeboxie:
First try

Now I try for the first time to install windows 10 (reserved) with service Q2S shut down

Hopely it works.........................

thx
[Android General] jukeboxie:
boot up

Now i have a next bigger problem.

Windows 10 is installed and I turn on in the services q2s back to automatic

After switching, the tablet goes to android, but when I switch from Android to Windows 10, windows 10 opens but close immediately en switch back to android...!!!!!

Help again
[Android General] yopy:
interesting... i was quite fortunate i did not encounter this problem. maybe you re-install the Q2S that i have attached on the previous post. It might work. It's just a suggestion.
[Android General] jukeboxie:
q2s

Hello Yopy

How do I do that, re-install q2s!

I can't get into windows, when windows comes with the startupscreen, I get the message CLOSING and restart to Android.

Jukeboxue

QUOTE=yopy;62510519]interesting... i was quite fortunate i did not encounter this problem. maybe you re-install the Q2S that i have attached on the previous post. It might work. It's just a suggestion.[/QUOTE]
[Android General] yopy:
techtablets.com/forums/topic/os-switching-problem

go to this link...it's has another suggestion

[/QUOTE]
[Android General] Bixx:
Hi, did you manage to fix this boot issue?

I have the same and have been trying all evening to interrupt my start up and disable the dual boot.

Update*****************

Using the Rom from here h*t*t*p://www.needrom.com/download/chuwi-v89-dual-os/

I have put Win8 with bing back on.

Now to disable dual boot and update to win10
[Android General] iamyours:
linking games on Playstore using Andriod OS

Hello, i just bought the v89 from a friend. However I'm having a major issuE connecting on play store games such as COC and Pocket Hereos app everything else is fine except linking the games on googleplay. Can somebody help me? I'm really slow on doing technical stuff.... :(
[Android General] Tonyfowles:
WIN 10 successful?

Hi,

Have you guys been successful in upgrading to Win10 (from the upgrade prompt)? Any major issues? I note above there seems to be a Win / Android switching problem - did anyone get to work OK?

How is performance generally? I do see on TechTablets they made a comparison of boot times with a Teclast 98. Anyone noticed a similar issue?

Thanks!
[Android General] uncleabubear:
As I wrote on Page 1

"Update 03/Aug/15 Windows 10

To upgrade immediately go to this page and select Download Tool Now 32 Bit version.

The upgrade will not affect dual boot.

Update 31/Aug/15 Windows 10 Windows update has improved stability so I recommend getting all the updates. To get the latest screen drivers install the Intel Driver Update Utility and follow instructions."

I don't know why people are having issues it all went smoothly for me and Windows 10 feels smoother and more responsive although this is hard to measure!

Abu
[Android General] siguetea:
What about the 3G function when using simcard? Have you tested using windows 10, is it working fine?
[Android General] TheDaddy187:
anyone tried a linux distro on this with any success?
[Android General] TheDaddy187:
not sure if this has come up...

but might be helpful http://detail.zol.com.cn/picture_index_1447/index14463390_5080_p389452.shtml
[Android General] TheDaddy187:
***tumbleweed blows past***
[Android General] electriceel:
GPS slow to lock etc.....

Finally sorted out the gps on my v89.

But first, a few personal observations.

1. My original Chuwi charger failed within a couple of hours of use.

I've read somewhere that Chuwi aren't the most reliable when it comes to their chargers, and this was certainly true with mine.

I bought a generic 2.1A capable usb charger to replace it.

2. Using a cheap usb charge display unit which shows voltage, current, and cumulative mAhr capacity, I found a lot of variation in charging current when using different usb leads. The tablet can take three times as long to charge with some leads! The "best" performing lead I found (which wasn't actually a lead, but was a keyfob style usb to microusb adaptor) this charged the tablet at a rate of just under 1.5Amps. Make sure you use a good quality lead when you charge your tablet.

3. Absolutely love my tablet, so I was distraught when the lcd developed a fault after about a month of ownership! There was a permanent vertical bar approximately 1" wide, which was a different brightness to the rest of the screen. Full marks to my supplier "Banggood" for performing a fast warranty repair (even though it cost me to send it back to China by recorded delivery).

4. I successfully upgraded windows to Windows 10 without any headaches. The switching facility still worked ok (had to deselect "tablet mode" in the notifications panel so that the OS switching icon appears on the task bar).

5. Rooted it successfully, but the root procedure is in Chinese, so it's a bit hard to do unless you use another device to translate the words as you muddle through it.

Now to the gps issues......

This worked for me, so give it a try if you are having issues........

For Android, don't use assisted gps. Don't download agps data. Using "es file explorer" go into /device/etc/ and locate the "gps.conf" file. Rename it to something else......such as gpsrenamed.conf then exit. For me, the slow fix problems have now gone.

For Windows 10 go to "file explorer" , select "this pc", right click, and select "device manager". in the "sensors" folder find the Broadcom geolocation device, and remove it. Then from Lenovo.com download the executable drivers file for "Broadcom BCM4752 gps driver for windows 10 32bit (for Thinkpad 10 type 20C1 20C3)". This file end up your "Downloads" folder. Just select it and run it. This will install the correct drivers and fix the gps chipset operation on your Windows 10 operating system.

Hope this information helps other owners of this great tablet.
[Android General] psloo35:
Wifi too weak?

is there anyone facing this problem?
[Android General] jamparras@gmail.com:
Where can I download a PDF manual for CHEWI V89? I can not make work SIM card, I installed a boost, metropcs and telcel and chuwi does not find any network.
[Android General] jukeboxie:
installing windows 8.1

Hello

Since a year ago I bought the chuwi v89

Then I update to windows 10, but the tablet only goes to the inlogscreen from windows and then reset to android.

I heard that the Q25 switch is the problem, that should be diasabled before upgrading to windows 10. but I never new this.

I have only for a year android but I want also windows, it's a dual boot and I miss windows.

Now I want to install windows 8.1, I have the rom on a usb-stick and my question is "how do I do that"??????

Please can you help me!!!!

Greetings,

Jukeboxie

---------- Post added at 06:41 PM ---------- Previous post was at 06:37 PM ----------

Hello

Since a year ago I bought the chuwi v89

Then I update to windows 10, but the tablet only goes to the inlogscreen from windows and then reset to android.

I heard that the Q25 switch is the problem, that should be diasabled before upgrading to windows 10. but I never new this.

I have only for a year android but I want also windows, it's a dual boot and I miss windows.

Now I want to install windows 8.1, I have the rom on a usb-stick and my question is "how do I do that"??????

Please can you help me!!!!

Greetings,

Jukeboxie

---------- Post added at 06:43 PM ---------- Previous post was at 06:41 PM ----------

Hello

Since a year ago I bought the chuwi v89

Then I update to windows 10, but the tablet only goes to the inlogscreen from windows and then reset to android.

I heard that the Q25 switch is the problem, that should be diasabled before upgrading to windows 10. but I never new this.

I have only for a year android but I want also windows, it's a dual boot and I miss windows.

Now I want to install windows 8.1, I have the rom on a usb-stick and my question is "how do I do that"??????

Please can you help me!!!!

Greetings,

Jukeboxie
[Android General] electriceel:
I assume you have the option of "OS Switch" in the pull down menu when in Android?

And then windows starts but then boots back into android once the windows log-in is displayed?

Just a long shot.....but maybe you should try plugging a usb keyboard in via the otg adaptor, and then try to halt Win10 as it boots up, to get into "safe mode" (F8 key maybe, but research it more on google to see the options)

If, and it's a big if....this does work, then you should be able to have a play in safe mode with the switching program in C:/program files/inside/insydeQ2S (maybe the dualosconfigtool.exe).

My tablet, when switching to win10, loads win10 (with auto logon set) and then displays "going to switch OS" "OK or Cancel"

I just hit "cancel" to stay in windows10

Good luck!
[Android General] jukeboxie:
F8 does'nt work

Safe mode is disabled in windows 10 so I can't get into safe kode
[Android General] Bixx:
Hi Jukeboxie,

I can't test this as I am away from home but I remember that you could get to the startup options by attaching a keyboard and holding down the shift key while booting.

When you get to the login screen where it tries to reboot back to android select restart from the bottom right of the screen, still holding the shift key. it will now go the the options for repair/modifying the startup etc...

Sorry I can't be more specific but working away for the next 2 weeks.

best of luck

Bixx
[Android General] jukeboxie:
reboot

Hi Bixx

It doesn't work....................

When the logon-screen appears I have 1 or 2 seconds and windows closes and restart to Android, there is no time to select restart!!!!!!

jukeboxie

---------- Post added at 04:38 PM ---------- Previous post was at 04:31 PM ----------

How do you did that to install windows 8.1 ?????? please give me the steps to do this............

Now as you know i have windows 10 but restart to android

jukeboxie
[Android General] Bixx:
Hi, still not able to try this but I had a keyboard and a mouse attached which made it easier.

lt is still very quick but when you catch it right it will work.

don't give up

Bixx
[Android General] jukeboxie:
re install

Hello

How do you did it to put windows 8 again installed???

Can you help me what I must do.

I can put a usb keyboard on it and have the rom on a usb-stick, but I don't know how to re-install!!!!

jukeboxie
[Android General] jukeboxie:
re install windows 8.1

Hello Rakesh

I am almost 1 year on this forum, but my big problem is not solved, send many messages around.

My question is, hopely you can help me, because iI see in your message above that you get into bootloader.

When I updated to windows 10 the tablet load windows 10 and closes in 1 or 2 seconds and restart to android again.

I can't get into windows to disabled Q2S, that's maybe the problem when I updated.

How can I get windows 8.1 back to this tablet or a new windows 10 that I have on my usb stick, so that I have 2 systems android and windows again.

Regard,

jukeboxie
[Android General] Ananin78:
Good morning

I had the same problem one year ago.

finally i had to reinstall the system like new. I used the infomation of needrom web.

It is very clear and it is easy to follow it

i hope it can help you.

When you restore Windows, it will ask you if you want to update to Windows 10. You can say yes...

bye.
[Android General] sarshar:
mind has been updated to Windows 10 10.0.10586 recently

it seems be bit hotter and tablet can't be charged while Windows is selected in dual OS even while tablet is off.

I have to switch to android, no matter tablet is on or off, then it will be charged up to 100%

I'm not sure what has been changed in Windows kernel but I'm disapointed.

By the way, sometimes having Android 5+ is vital for some apps/BT Devices, is there anyway to update this little stubborn ?
[Android General] electriceel:
Not charging in Windows 10 ....after update?

Thanks to the previous poster "reza..." I too found that my tablet refused to charge.

Initial thoughts were that it had developed a hardware fault, until I read his post.

Tried swapping over to Android.....and the tablet charges up ok.

In Windows it won't charge, and when the battery level is displayed, it won't show remaining time left. Just says "Calculating".

Must have been a recent Windows 10 update that has caused this.

Let's hope this is resolved soon in another update.