yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] S.Keyzer:
I've been working on adding a view from camera in LibGDX application for Android. I followed this tutorial: code.google.com/p/libgdx/wiki/DeviceCameraIntegration

The view from camera is working properly on every device we've tested, but on some of them (it may depend on the Android version) there's a problem with textures. Instead of transparent backround, grey backround is displayed (on some phones however, there's a black border instead of grey background).

I've realized that this bug is caused by changing format from SurfaceView to translucent:

SurfaceView glView = (SurfaceView) graphics.getView();
glView.getHolder().setFormat(PixelFormat.TRANSLUCENT);

I've decided to change format to translucent only in this part of app, which displays a view from camera - and after turning it off, it goes back to standard opaque format. However this causes other problems: switching to translucent and turning camera on works, but going back to menu and switching displaying to opaque results only with a black screen (application code is executing, I can hear the music but the app doesn't react on input. By trial and error it turned out that on some of devices, for the reason unknown to me, the same code works properly:

public void setSurfaceFormatToTranslucent() {

try {
if ((this.graphics.getView() instanceof SurfaceView)) {
SurfaceView glView = ((SurfaceView)this.graphics.getView());
glView.setKeepScreenOn(false); //** These two lines I add only during changing to tanslucent
glView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
glView.setKeepScreenOn(true); //**
}
} catch (Exception e) {
e.printStackTrace();
}
}
public void setSurfaceFormatToOpaque() {

try {
if ((this.graphics.getView() instanceof SurfaceView)) {
SurfaceView glView = ((SurfaceView)this.graphics.getView());
glView.getHolder().setFormat(PixelFormat.OPAQUE);
}
} catch (Exception e) {
e.printStackTrace();
}
}

However on some of devices this still causes bugs similar to those mentioned above.

Does anyone know what's the problem and how to change SurfaceView format properly while the application is running?
[Verizon HTC One (M7)] Reefer Madness:
Our community seems small. How many developers do we have?
[Verizon HTC One (M7)] skiman10:
I'm getting ready to release my first ROM for this phone.
[Verizon HTC One (M7)] cstrife999:
More than enough. Not really small. We just don't have 30 copies of the same ROM like most lol.
[Verizon HTC One (M7)] jaydubbs:
This^ Previous phone was the GNex and it was unbelievable how many variants and kangs there were for CM10, AOKP, etc. I ran a lot of them but in the end there wasn't all that much that was different from the original rom. In a lot of cases, the variant ran worse.
[Verizon HTC One (M7)] nitsuj17:
Quality is always better than quantity

Like was mentioned above, some phones have 200 Rom threads, but really what's the difference between the Rom? They (aosp variants) are 90% cm based with varying mods pulled from aokp source with pa stuff as well

Really, no disrespect intended those 3 aosp roms are all that matter as everything else is just mashed up and derivative of them

As for sense, you only really need a few roms as well; something stock for those who only want root and a few basic mods, some kind of aroma Rom with user configurable options, and or a rom with a lot if built in mods (well you don't need them lol)

Really imo if you have 5 or 6 roms that meet the above criteria you are set

Unless you have a need to flash a different rom every day that has 1 more bs script or 1 different mod in it

The end user doesn't always see the forest from the trees
[Verizon HTC One (M7)] steddora:
I agree with what has been said already. Quality is better than quantity... My old S2 had about 194873 ^6 worth of different roms. Touchwiz this and AOSP that and don't forget the AOKP, with CM and a side of Sense ports. In the end I dropped myself on a really good rom called The Blu Kuban which was headed up by rujelus22 over in the Epic 4g Touch development forum. I ran that rom for about 18 months before I nix'd my device and went over to the red side here at Verizon. I heard he went forth to the S4 and has kept that rom's traditions alive. He was one dev who was helped by the many and made a rom that many made their daily drivers just like I did.

I know we have a good community over here as well as even before beaups dropped rumrunner on us we had a few devs tinkering with their roms.

Now remember! A community is only as good as the people around it. Support your devs any way you can if it's simple donations or a click of the thanks buttons. But most of all, be part of the community. List the bugs you find in the roms, mods, and tweaks. Help the devs make the best they can and we all prosper.
[Verizon HTC One (M7)] rmaccamr:
I'd still like to see old Sense on this phone. Like Sense 3 or 4.

I'd also like to see a CM variant built off Sense base. Like the old style ROMs that had all full Sense apk compatibility but no Sense launcher. Not sure if this is doable with Sense 5 though.

And last but not least, hopefully a dev will pick up Ubuntu Touch.

Just a daydreamin' wishlist.. lol
[Verizon HTC One (M7)] HypostaticOnion:
Can't port old sense to new hardware. Plus the old stuff was lower resolution.

If I've helped, please hit the thanks button
[Verizon HTC One (M7)] nitsuj17:
you could port sense4+ to this phone (someone did it on the intl one) as the kernel base is the same (3.4.x)

dont know why you would really want to, but its possible
[Verizon HTC One (M7)] Reefer Madness:
Consumer choice is always a win. I'd kill for a thread with five million views and fifty three thousand replies. Developers in different sections have had months to build their own form of paradise. Android Revolution HD has fullSnapdragon 600 (GPU) rendering. I want to try that.
[Verizon HTC One (M7)] nitsuj17:
thats a bs mod that requires the deleting of a lib (and does nothing)

the end user might enjoy that, real developers know the work done in roms and can sort out the differences between fancy features in a changelog and real code changes and development

views and posts have nothing to do with the work that go into a rom....you can have a thread that explodes because it has a leaked version of sense, a large user base of a rom that drives discussion and hypes upcoming releases, massive bug issues that require help and dicussion, new hboots or firmware needed to run new updates and so on

thread views and # of posts, as well as individual member post count and thanks count is really deceptive and a TERRIBLE barometer of worth in the development community

the best and most important kernel, rom, root exploit, recovery and so on developers that exist in the android world often have a relatively low post and thanks count, whereas guys who release stock deodexed roms made with a rom kitchen in cygwin have tens of thousands of posts and thanks which leads new users and even more experienced ones to inflate their value and skillsets

developers can generally sort out whos who amongst themselves, but its unfortunate that the end user often cant; usually through no fault of their own
[Verizon HTC One (M7)] Reefer Madness:
Perhaps you should stick to answering the questions you were asked. In any case, it would be smarter to back a winning horse.
[Verizon HTC One (M7)] dottat:
Not to start a war, but I'm going to give you benefit of doubt you probably don't know him. What he said is true.. And you probably just proved his point too.

His work on other devices is proof of that. Give it time, we will see more options now that the crowd is turning more s-off.
[Verizon HTC One (M7)] cstrife999:
He did .. You must have not read it...
[Verizon HTC One (M7)] dottat:
Here I was thinking it was truly reefer madness...lol
[Verizon HTC One (M7)] Reefer Madness:
I know what he said is true and I don't care. CPU vs GPU. That interests me.
[Android Apps and Games] Youlando:
One of the best arrow shooting games on android is here.

- Blast monsters with your arrow in a cute paper world!

- Tonnes of levels to unlock and challenge your accuracy!

- Super easy to pick up and play!

-Get awesome shooting game accuracy.

"KILL THEM PAPER MONSTER ~"

So easy to play this game. Just tap on one of the monsters to release your arrow. Once the arrow is flying then tilt your phone / device to direct the arrow. Hit the monsters to knock them over. If the monsters are holding a target, then aim for that. Some levels you'll need to shoot apples, and some levels you'll need to shoot monsters to knock over other monsters. You can do this by tapping the screen again to make the arrow fly faster.

I THINK CHILD WILL LOVE THIS GAME , AND SO DO YOU !:highfive::highfive:
[Windows Phone 8 Q&A, Help & Troubleshooting] Hashem Alrifai:
Hi,

Before I buy a Windows Phone 8 mobile (Nokia Lumia 920), Can I know if somethings that I consider them as issues in Windows Phone 7.8 are solved or not:

- Can WP8 send and receive files via Bluetooth?

- Can WP8 show a storage drive when I plug it into the USB?

- Can WP8 import and export media or pictures without the need of any software like Zune in WP7.X

Thanks :)
[Windows Phone 8 Q&A, Help & Troubleshooting] dxdy:
yes to all...

no more Zune... now you can simply plug with USB and use File Explorer on PC or use Windows Phone app...

http://www.windowsphone.com/en-us/how-to/wp8
[Windows Phone 8 Q&A, Help & Troubleshooting] GoodDayToDie:
Mind you, the USB view is only of the documents and media libraries; you still can't (without hacks) view the application stores or anything like that.

Once again, a reminder: SEARCH BEFORE POSTING please! These are, as you say, Frequently Asked (and Answered) Questions! You don't need to ask them here too.
[Windows Phone 8 Q&A, Help & Troubleshooting] Hashem Alrifai:
Thanks, What about the bluetooth file trasfere?
[Windows Phone 8 Q&A, Help & Troubleshooting] Hashem Alrifai:
So I can't access isolated storage of apps? for example, downloaded videos of an undefined application couldn't be reached? or the new sdk allows the developer of that undefined application to stored his videos in a public library?

And about searching for these questions, I've searched alot, but no clear answers..
[Windows Phone 8 Q&A, Help & Troubleshooting] dxdy:
dont except access to all data in WP as in android... this never be in WP...

BT transfer working...

if you download videos with other apps on phone, video is located in my documents and you can access to this or app have own pc tool to retrieve video to PC...
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
Swap Internal Memory To External Memory[Play Gameloft And Other Big games]

​

Installation-

Download flashable_cm 10.1_vold_fstab.zip OR flashable_Stock_vold_fstab.zip

Copy it to your external_sd

Boot CWM

Make Nandroid Backup (In Case)

Select install zip from sdcard > choose zip from sdcard

After selecting flashable_cm 10.1_vold_fstab.zip OR flashable_Stock_vold_fstab.zip file select Yes to install

Wait for the flashing to complete

That's it Now Reboot and Enjoy

Flashable Zip Files-

For Stock Rom -

flashable_Stock_vold_fstab.zip

For CM 10 OR 10.1 -

flashable_cm 10.1_vold_fstab.zip

Only one thing to remember-

don't remove your sd card without switching off your phone

In case you want to go to original vold.fstab

flash these-

Flashable Zip Files-

For Stock Rom -

ORIGINAL STOCK VOLD.STAB.ZIP

For CM 10 OR 10.1 -

ORIGINAL CM VOLD.STAB.ZIP

thanks to mohdradzi84
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
Thanks for this thread. I am currently using inspiration rom v17.3 right now. Can i use flashable stock?

Is there any risk or disadvantage of swapping memory?
[Samsung Galaxy Ace Plus S7500] TripRex:
I tried before swapping memory but it causes a lot of error such as force close app after partitioning.Might not be quite safe though :\
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
In ace plus gt-s7500? What step did u use? Just like here?
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
you will get fc's if you move your apps to sd

but as ace plus has lot of memory for apps associated already we don't need to move apps to sd

there is not a single risk in swapping memory

only one thing to remember dont remove your sd card without switching off your phone
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
I'm using inspiration rom v17.3 can i use flashable stock?
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
yes stock means 2.3.6

you can use it on any rom of 2.3.6 android version
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
Ah ok, thanks! I downloading now.
[Samsung Galaxy Ace Plus S7500] yjosipy:
definitely gonna try this mod :D
[Samsung Galaxy Ace Plus S7500] deadwood01:
Any risk of losing data on the sd card or usb storage while using the mod....?
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
It works, my external was my usb storage. Amazing!!! But got FC on XDA app (never try other app). Do you have problem like this in CM rom?
[Samsung Galaxy Ace Plus S7500] PR0707YP3:
Can i revert back the mods ??
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
Some of my games lost the data like temple run, & chaos ring. Never tried other app yet.
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
data is not lost

the data which was previously in internal memory showed in external

you have to copy data of the apps which saves data in internal storage

move folder to same location as that was previously

problem solved :)
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
thats why i gave you original vold.fstab file

replace the moded file in zip then flash it again and you are now on stock vold.stab

problem solved :) :P
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
no bro

data will not be lost

you just have to copy data of apps which now goes in external storage to internal storage
[Samsung Galaxy Ace Plus S7500] PR0707YP3:
I am on CM so if i want to revert i shud flash d cm vold.fstab ?? Right ??
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
absolutely right :)
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
If i flash new rom, it will revert to the original vold.stab or stays on the flash vold.stab?
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
it will revert to original vold.stab provided in rom :good:
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
Ahh, i'm using this mod now. If i flash new rom (the original vold is back) and reflash vold again. Will the position of the files will be back also? We dont have to copy the files again and put it ti where it should be?
[Samsung Galaxy Ace Plus S7500] trendchanger:
Suppose I flashed the zip file to exchange my memory.... Then if have to revert back to my original thing then I have to flash dat original named file... But it is not zip... Can v flash it with Cwm?

Sorry for silly question

Sent from Xda app

Ace plus rooted with stock
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
yes then you dont have to move the folders

as it happend to me

i flashed stock rom then swap memory and moved whatsapp folder to external memory which is now internal memory after swapping

then i flashed cm 10.1 and swaped memory and i didnt have to move that folder again simple :)

ohk i will make flahable zip for original vold.fstab too

btw you can just copy and paste it in system/etc with root access
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
Good! Thats amazing! Have you experience FC of some apps in CM rom w/ this MOD? This only my concern FC.

Anyways thaks:D
[Samsung Galaxy Ace Plus S7500] veershekawat9:
will I lose files and folders stored on my external sd card

will flashing it will make me lose files and folder stored on external SD card
[Samsung Galaxy Ace Plus S7500] mohdradzi84:
Im using this mod from inspiration 8 to 17.. and also cm10 to cm10.1.. no single FC i get from this mod.. this is only simple way just modified some code to make android mount yoir internal as external and vice versa..

Sent from my GT-S7500 using my finger.

---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------

vickyg.coolest.. thanks coz u put my name there.. but i think i don't deserve it coz im only modified the vold.fstab.. u the one make it as flashable ZIP.. u the great one..

Sent from my GT-S7500 using my finger.
[Samsung Galaxy Ace Plus S7500] fideldesu:
I don't quite understand..

so you mean all the content in now in external_sd to sdcard ?
[Samsung Galaxy Ace Plus S7500] vickyg.coolest:
yes buddy thats correct

your external sd is now sd card and sd card is external sd
[Samsung Galaxy Ace Plus S7500] mohdradzi84:
The simplest thing to understand is the meaning of the word 'swap' then u can get the picture what is his mean..
[Samsung Galaxy Ace Plus S7500] mcomia.xp:
working for 10.1.2?

is it working for 10.1.2??
[Samsung Galaxy Ace Plus S7500] mohdradzi84:
Read OP please..
[Samsung Galaxy Ace Plus S7500] mcomia.xp:
its perfectly working,..

its perfectly working with my GT-S7500 cm 10.1.2

thanks man :D
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
Bro will this work on other device?
[Samsung Galaxy Ace Plus S7500] mohdradzi84:
This cannot be applied to other device.. Because of different vold.fstab content.. All u have to do is open that device's vold.fstab and do the swap trick by modifying the code.. Make sure that device have external and usb storage support like ace plus.. For example, s5570 or gio cannot applying this trick..

Sent from my GT-S7500 using my finger
[Samsung Galaxy Ace Plus S7500] ANDROID-000:
Thanks!:thumbup::thumbup::thumbup::D:D
[Samsung Galaxy Ace Plus S7500] PR0707YP3:
Can i use this mod on the techkang build cm 10.1 kernel 2.6.xx ??

---------- Post added at 02:35 PM ---------- Previous post was at 02:35 PM ----------

Plzz sum1 reply fast !!
[Samsung Galaxy Ace Plus S7500] mohdradzi84:
Already do that.. All works with no error or fc :D

Sent from my GT-S7500 using my finger
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
I just got my new Wizard (Dopod838@Chinese).

As I used Magician (O2Mini@WWE) before, there is a smart dial option for the phone.

I can make a call with "ONE Finger" but in my Wizard..I have to scroll all contacts to make a call.

Is Smart Dial option available in others e.g. Qtek, i-Mate...etc?

Can please help to extract this for me???

Many thanks
[8125, K-JAM, P4300, MDA Vario General] dalamario:
If you go in the ftp under uploads\kjam you can find the extended rom of this device (imate kjam) that support smart dialing. Inside the extended rom there is a file named Default_SmartDialing_enable_0915_signed.cab. Perhaps this help you.
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
thanks

BTW, what's the username and password for login ftp.xda-developers.com?
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
Or....would anyone can help to extract the files for me?

Thanks!!!!!!!!!!!!
[8125, K-JAM, P4300, MDA Vario General] nmx77:
Copy the files to your ppc and run then from within the ppc exporer,

then it will be installed, you don't need to extract anything.
[8125, K-JAM, P4300, MDA Vario General] wardy:
I will send you the files tonight ;o)
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
Thanks guys!!!
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
I final got the files "Default_SmartDialing_enable_0915_signed.CAB" and install into my Wizard Chinese Version.

But there are no different and no way to enable SmartDialing.

Would anyone can have a screen capture on it or show me how to enable it.

I still need to search thru the whole contact to start a call.

Thanks
[8125, K-JAM, P4300, MDA Vario General] pfc:
Could you please post the file cause i have the same problem on my i-mate k-jam

Thanks
[8125, K-JAM, P4300, MDA Vario General] dalamario:
If you have a KJAM you already have smart dial.

To enable smart dial you have to open the dialer (press green button) and then press right softkey to open the menu, the bottom selection is SMART DIALING OPTIONS that enable/disable the function.
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
Here is the smartdialing cab...I have installed in chinese Dopod 838 (K-Jam) and no effect
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
I just think the files seems too small...do anyone know is it enough for installing SmartDialing????
[8125, K-JAM, P4300, MDA Vario General] TseLawrence:
Hey, I'm also using Dopod838 Chinese... The quick dial is enabled by default... no need to do anything in addition. When you're in the phone applet, press your right softkey and select "快速撥號 (I)" can setup speed dial numbers. 8)
[8125, K-JAM, P4300, MDA Vario General] CL55:
He's refering to Smart Dialing, not Speed Dial Tse... The file size is correct miko... How did you install it? Did you copy the cab file to your storage card or whatever and run it from there?

One thing I missed, is the O2 Dial Wizard on my IIs.. It let you edit the number before dialing and set carding card prefix etc.. Too bad it doesn't seem to work on WM5 or my Exec :(
[8125, K-JAM, P4300, MDA Vario General] Grill Oven:
I recommend on using Phoneplus which I realized is suitable for WM5.
[8125, K-JAM, P4300, MDA Vario General] milklok:
I have tried the CAB file and it is not working, too.

Anyone successfully run Smart Dialing on Dopod 838? I miss this application very much! :roll:
[8125, K-JAM, P4300, MDA Vario General] milklok:
I found the CAB file actually only activate the smart dialing, which does not contain any program file. The program files should already installed in the K-Jam default ROM.

So I think the smart dialing will be able to run in Dopod 838 by copying the following files from K-Jam devices:

- \windows\phcanhtc.dll

- DPadMenu.dll

Anyone can help? :wink:
[8125, K-JAM, P4300, MDA Vario General] Vincentfung:
This is the Smartdialing program i used for XDAIIs before, u can try to install it into the 838, please give result after try.
[8125, K-JAM, P4300, MDA Vario General] milklok:
Thanks Vincentfung for the file. :wink:

I have tried to install the cab. However it doesn't work nor have any change to the dialer. I think it is for WM2003SE. So... we need the WM5 version of Smart Dialing that found in English K-Jam or English Dopod 838, or maybe Universal...
[8125, K-JAM, P4300, MDA Vario General] nmx77:
This one is on my device, and it should work ?

qtek9100 / Vario
[8125, K-JAM, P4300, MDA Vario General] milklok:
Dear nmx77, Thanks for the CAB file. It doesn't work either.

I found that the actual file are locate at the ROM of Wizard. Would you dump the following files from your Wizard? These files are referred by the registry setting in the CAB file you provided.

- \windows\phcanhtc.dll

- DPadMenu.dll

Thanks a lot. I missed smart dialing very much.

:wink:
[8125, K-JAM, P4300, MDA Vario General] nmx77:
Hi Milklok,

i attached a rar with the following files:

dpadctl.mid

dpadmenu.dll

phcanhtc.dll

phcanoverbmp.dll

phcanrc.dll

phcanrc.dll.0413.mui

i attached the others only because of the same name, so it might

save asking again if it doesn't work ;)

i hope this can help you (and others)
[8125, K-JAM, P4300, MDA Vario General] milklok:
Thanks again nmx77. Still no luck... Looks like we need a full dump of rom files plus full registry of Wizard.

If anyone have time, please use ssnap or other tools to dump the complete registry. And also upload the Wizard files (especially at \Windows) to ftp.xda-developers.com. I know it's a bit difficult but your help is much appriciated. 8)

Many thanks. Still desperate for the smart dialing. :twisted:
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
milklok....do you know the CAB name in Rom?
[8125, K-JAM, P4300, MDA Vario General] milklok:
I think there is no smart dialing CAB in ROM. The smart dialing is already "installed" or located in ROM by default. That's why I need a full dump of all files in the Wizard, or at least all files from \Windows folder. So that I can try the files. Of coz registry setting is also required.

Does anybody else have any other idea to enable the smart dialing? :?:
[8125, K-JAM, P4300, MDA Vario General] mikokwan:
does anyone help?
[8125, K-JAM, P4300, MDA Vario General] timpda:
Do you have Smartdialing program for XDA2s? can you share it with me?

thanks a lot
[8125, K-JAM, P4300, MDA Vario General] mwilmar:
Request...

Does anyone have this smart dial...??? :?: :cry:

It's like working on WM5...