yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] Edge-Case:
A little background info:

I got SL4A and Py4A and then ran the standalone script to run python from the command line over adb or ssh, but the Android api's wouldn't work. Cause, SL4A server needs to be running and python needs to be able to send info to the server via AP_PORT and AP_HOST with a socket. I don't like the normal "remoting" that is used, ie only the Android APIs gets sent over to android and the rest of python is running on my pc.

What I did to work around was export AP_PORT(54326) and AP_HOST(127.0.0.1) on Androids shell over ADB, then I use "am" to start the server activity from the command line specifying the port(54326), then I started adbd on my phone, and finally I executed python. From python (on the actual device) I imported android and asigned droid = you know the drill, and next (this would usually fail if the previous steps were not done) I did a "droid.makeToast("Hello from Montey!" ) and the toast appeared. The reason for wanting to do it this way is that you dont need to run scripts with Py4A's terminal, the scripts can now be run directly from Android's command line over adb or ssh. It may not appeal to you but it does to me.​

What I want to do:

I want to cherry pick the Java code for the server activity and the facade classes/functions that give python access to the Android api's, and I want to compile them into a form ( I think it would be a dex file) that I could execute from Android's command line and would use shared memory instead of a socket to share data. This way, I would not have to start a gui activity or adbd.​

So how do I go about this, I have the source code, I see how it works and what I need to pick from it, how would I compile this so that is would run on the dalvikvm as a command line app?
[Java for Android App Development] Edge-Case:
I found this amongst a bunch of stuff on dex2jar but all that is the opposite of what I wanted.

http://www.cs.duke.edu/~schfan/blog/blog/2013/09/19/executing-dex-file-in-android/

So I will do hello world as java to dex and see if it works on the cmd-line. If yes, then proceed to try and use Android's api's as a regular Java project (I hate xml, it's a great concept, but it just bugs out my projects, almost gave up Android dev because of xml glitches, but Android is really the only thing worth programming to me at the moment, sensors and all that.), build, if success then to dex.

I will try vanilla at first, with very little mods, then I will switch to ashmem if that works it's much better since I am not expecting to send this data remotely, but it should stay on the phone unless I have a good reason to send it to another machine, I can, and do, always remote to my phone itself.

Then I will try to get the camera to work, I have had the issue that only the interactive facade works with python, I want to use OpenCV and have a go at object recongnition. I will probably translate it all to C/C++ after I see the concepts working with python (purely for performance reasons, my application will have approxamatly 16 milliseconds (or less) to respond to events, so it better tick quick, I m using 60 frames per second model, but I don't need to render anything, I just need to store the data of the objects it detects in a database.).
[Java for Android App Development] nikwen:
Please report if you are successful. :)

(You can also design UIs in Java. It takes very much time though.)
[Java for Android App Development] Edge-Case:
Absolutly. I am using FreeBSD now insead of Linux, that being said their is near zero support for Android development on Unix OS's as of yet, which really makes no ****ing sense, why try hard as hell to use BSD/Apache2 liscenced code only to build it with GNU and GPL style licenced tools? Makes no ****ing sense, as far as I know, some gpl's require byproducts of their code to also be gpl licenced. Anyways... I am building eclipse right now, I downloaded the Android SDK for linux so I try and use the dx executable but it wasn't there and when I attempted to update the sdk, it said "platform-tools" unavailable. So thats that unless it gets ported to FreeBSD. I may be able to do it on my phone though, but please be patient, it may take till tomorrow or later tonight, thank go some-one ported adb to FreeBSD though, well, there is always ssh and sftp.

UpDate:

TerminalIDE has dx, so I can just add that /data/data/com.sparti******/bin directory to my path and I may be able to develope directly on my device, though I here the C/C++ compiler that is there doesn't work properly, maybe it's ok and I wont need what doesn't work.
[Java for Android App Development] nikwen:
Why FreeBSD instead of Linux? (Feeling like these Windows guys who always ask "Why Linux instead of Windows?" :laugh:)
[General Topics] m1bwe:
Hello I have bought another XDAII when I try and sycronise it it says, NEW HARDWARE FOUND, Generic RNDIS (PROTOTYPE-remember to change idvendor) Does that mean anything to anyone?? :?

Please help??
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] punkmilitia:
Yo. Tablet shut down and when I rebooted, I saw this messae. Is tnks a commonandroid problem?
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] fantasmanegro:
it is common for the galaxy s3 to damage sd cards...
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] moom999:
The same happened with Note 3 twice with two different card (64GB and 32GB)
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] mi7chy:
What brand is the SD card? Maybe it's Made in China junk. Even Sandisk have had batches that suffered premature death. I've never had any issues with several Samsung phones since the original Galaxy S but I stick to established brands like Samsung, Delkin, Sandisk, etc.
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] moom999:
Sandisk 64gb, toshiba 32gb
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] madsquabbles:
I had a pny 64 die in it and a 64 sandisk that works fine in every other device start acting up the way he pny did before dieing. a 32gb sandisk is working fine now with no hiccups. I'm not risking another $50 card in it whether it's the tablets fault or not.

I shoulda jumped on that 35 bb deal though.
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] matsuru:
I am using sandisk 64gb class 6 on my note 10.1 2014 with no problems so far
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] snake2332:
My S4 had that message happening with a Sandisk Extreme 64gb card a lot but it would always work still. Formatting it fixed it. My Samsung 64gb Extreme card hasn't had any issues yet in my Note. If you haven't formatted it yet, I would try that.
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] TranceChaos:
I had similar problem with the first note 10.1 2014, it had problem with the microsd slot. the card would work for a few minutes and then it would stop detecting it, showed corrupt sd card errors. I think the microsd module was broken, it "sunk inside", so it was really hard to insert the microsd with just fingers. I exchanged it for the new one.

The sd card works fine now, but this too has that weird defect with the module sunk in, i have to use the edge of another microsd card to fully insert one inside till it clicks in.

Not sure if anyone else have the same problem, but I may return this again and buy one from different store.
[Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl] funfun99999:
the tablet reboot when installing/update apps from play store will the sd card in (SanDisk 64gb).
[Nexus 5 Q&A, Help & Troubleshooting] EnDSK:
Hey, I just got my N5 today and it won't show any progress on the software update screen and it won't advance either.

Anyone else having the same issue?
[Nexus 5 Q&A, Help & Troubleshooting] devoureddreams:
I did when I first got it. I rebooted and reconnecting to WiFi and it went through.
[Nexus 5 Q&A, Help & Troubleshooting] brooksyx:
Same for me. Kind of a bummer but after the first time you should be fine.
[Nexus 5 Q&A, Help & Troubleshooting] EnDSK:
thanks for the quick replies.

But its not working I've rebooted multiple times even tried a factory reset

EDIT : Does it show any progress? maybe it's working and I just don't know..
[Nexus 5 Q&A, Help & Troubleshooting] ritchea:
Does it still show update available in Settings/About Phone/System Updates? You can also check version under phone stats before and after. I don't remember how long it takes or progress indicator.
[Nexus 5 Q&A, Help & Troubleshooting] brooksyx:
Boot into recovery and do a factory reset then try again.
[Nexus 4 Q&A, Help & Troubleshooting] zeromad:
Hi guys,

this is my first post here, so please be tolerant.

I have a Nexus 4 that is rooted and bootloader unlocked. Today I made the mistake to start the OTA update for version 4.4 and after that it was not able to restart, only showing the "Google" sign.

So I wanted to use adb sideload, but the device is not able to connect to my computer. The problem is that it is classified as "unknown device" and therefore it cant communicate. I already tried to reinstall the SDK and PDAnet driver, but the problem is that the the device is still unknown.

I already tried it with different pc and also with uninstalling all drivers, still no success.

I also tried the factory reset from the recovery manager, but it had no effect.

For now I am able to start fastboot mode, but as I already said I have no chance to communicate with the device.

Hope you guys here have some more ideas.
[Moto X Q&A] suttaroom:
I live in the middle east and wanted to have an moto x and so went ahead and order a verizon locked motox.. is the a way to unlock the phone to work witht the GSM network here ?

ANy help would be appreciated..
[Galaxy S 4 Q&A, Help & Troubleshooting] ImSo3K:
The 4.3 stock android is finally out in my country for the i9500, I tried to install it via Kies but I had that "failed to run firmware upgrade unknown error occurred" error so I download the official firmware from Sammobile, so before I flash it with Odin 3.07, do I need to do a factory reset after the update? because I don't want to lose any data.
[Galaxy S 4 Q&A, Help & Troubleshooting] erikasnoske:
Rule NR1 - KIES is just for drivers to install them on windows PC ;)

Rule NR2 - Odin is your best friend.

I remember how I did - I went to CWM, I wiped cache, dalvik cache, and files (<-- sorry, I forgot right not what is above "wipe cache partition")

than I flashed RESTORE files with repartitioning (with pit file) and then I turned on my mobile phone - everything worked. than root, than phill's touch CWM than "goldengun" (similar ROM name) and now I have good working functioning Android phone with backup in my SD card :)
[Galaxy S III Themes and Apps] MyLifeRocks10:
Blue Theme for S3

Hi everyone, I'm proud to present you guys my Blue Theme. I had made Blue Theme for S2 previously which became quite popular among S2's NeatROM users. So I decided to create similar theme for S3 as well. So here it is after working on it for a week. I hope u guys like it. :)

Preview:

​

Themed/Modded Files:

[U][COLOR="Red"]/system/app/[/COLOR][/U]
ClockPackage.apk
JobManager.apk
MusicPlayerWT.apk
SamsungCamera.apk
SecBrowser.apk
SecContacts.apk
SecDownloadProviderUi.apk
SecGallery2013.apk
SecMms.apk
SecNoteMyFiles.apk
SecPhone.apk
SecSettings.apk
SecSettingsProvider.apk
SecVideoList.apk
SecVideoPlayer.apk
SystemUI.apk

[COLOR="Red"][U]/system/framework/[/COLOR][/U]
ext.jar
framework-res.apk
twframework-res.apk

Features:

Fully Blue Themed Framework,SystemUI,Settings,Contacts App

Custom Settings to control different features

Ink with Ripple/Flare/Watercolor Lockscreen Effect

AOSP Style Data and Notification Layout

Smooth Spinner Animations

AOSP Style Call Screen

One Hand Operation

4 way Reboot

Various MMS Mods

Improved Ripple Effect

6 Column Quick Toggles

Black background in most Apps

Installation Process:

1. Nandroid Backup your ROM.

2 .Reboot in Recovery

3. Flash the zip and reboot.

*** Works only on Deodexed ROMs, so don't flash it on Odex ROMs. ***

​

Thanks:

_Sale_ for NeatROM and his great support

Vertumus for his great Domination Theme which was a point of reference in creating this theme

ficeto for his CustomSettings.apk

Crussader for his work on JB/KK Style theme for S2/S3

loserskater & Didact74 for great tutorials + resources

Goldie for Improved Ripple Effect Code + smali guides

CM/SlimRoms/OmniRom/ChaOS/AOSB for open source code

mythtrandyr for Ink Effect Color Picker

temasek/Cristiano Matos for open source code

VillainROM Team for vrtheme Template

dustinb for pngs from his Cobalt Theme

Arsaw for Lockscreen Mods

CNexus/tdunham for guides,resources

sorg for CRT/Fade Effect Code

majdinj for useful guides

OlliG for The Rom Fumbler

jovy23 for MMS Mod guides

enewman17 for Unlimited Lockscreen Pages+Widgets guide

+many other open source developers

XDA Community where I learned a lot

If I forgot anyone please PM me.

​
[Galaxy S III Themes and Apps] MyLifeRocks10:
Screenshots:

Note: All screenshots are taken at 245 DPI so it may not look exactly like mine.

​
[Galaxy S III Themes and Apps] MyLifeRocks10:
Custom Settings Features

UI Mods

Battery Settings:

13 Battery Styles with Color Picker

Text Only Battery Color Picker

Circle and Dotted Battery Options with Color Picker and Charge Animation

Battery Bar:

Enable/Disable

Color Picker

Bar Style

Bar Animation

Clock and Date Options:

Fully Customizable Clock and Date Options:

Clock & Date Position

Choose Font Style-> Bold/Condensed/Light/Light-Italic/Normal

Color Picker

Date on Statusbar -> Don't Show/Small Font size/Regular Font size

Choose Date Style -> Normal/Uppercase/Lowercase

Choose Date Formats

Other UI Mods:

Fully Customizable Smooth Progressbar Options with Preview

Mirror Mode

Reversed

Choose Interpolator

Change Speed

Change Stroke Width

Change Separator Length

Change Sections Count

4 Color Pickers

Notification Background Settings:

Color Fill

Custom Image with alpha

Different Landscape background

Revert back to Default background

Notifications Behaviour Options:

Normal

Never Expand

Always Expand

Old Style

Network Speed Indicator:

Enable/Disable

Use network stats with dl/ul speed

Hide when no traffic

Selectable Summary Timeout

Color Picker

Choose Signal Bar Levels -> 4/5/6 bars

Contextual Notification Panel Header Toggle

Notification Count on Statusbar Toggle

Lock Button on Notification Header Toggle

Recents Button on Notification Header Toggle

Invisible Power Button on Statusbar Toggle

Color Picker for Notification Panel

Color Picker for Ticker Text

Color Picker for Toggle Text

General Mods:

App Ops Settings

ListView Animations and Interpolator Options

Toast Animation Options

Volume Key Cursor Control Options

Screen Off Animations: -> CRT/Fade/Disable

Long Press to Kill: ->Menu/Disable

Volume Panel Timeout Options

Statusbar Brightness Control Toggle

Breathing SMS Notification Toggle

Breathing Missed Call Notification Toggle

Screenshot on Power Menu Toggle

IME Notification Toggle

Edge Zoom Toggle

Full Battery Notification Toggle

Low Battery Notification Toggle

Disable Airplane Mode Popup Toggle

Custom Carrier Label on Notification Drawer & Lockscreen

Audio Mods:

Fully Customizable Music Control:

Timeout Options

Volume Up Actions -> Next/Pevious/Stop

Volume Down Actions -> Next/Play-Pause/Previous/Stop

Link Ringer and Notification Volume Toggle

Enable/Disable Volume Adjustment Sound

Lockscreen Mods:

Ink Effect with Color Picker

Flare Effect Lockscreen

Watercolor Lockscreen

AOSP Lockscreen Toggle

Quick Unlock on PIN/Password Toggle

Lockscreen Camera Widget Toggle

Torchlight and TimeOut Options
[Galaxy S III Themes and Apps] MyLifeRocks10:
Downloads

Downloads:

Blue Theme v6 for S3
​

Mods:

Transparent Statusbar for v6

No Text on Toggles for v6

Black Dialog,Popup Menus

Bubble Effect
​
[Galaxy S III Themes and Apps] aldrinmcmie:
Can't wait for this one......something awesome!!!! Thanks in advance..
[Galaxy S III Themes and Apps] _Sale_:
So I'm the first? Great work buddy simply amazing :thumbup::thumbup:

Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100
[Galaxy S III Themes and Apps] MyLifeRocks10:
I will provide some mods tomorrow coz I'm tired today, have to go to sleep.

Thanks mate.:)
[Galaxy S III Themes and Apps] tarzan11:
Looks good mate:cool:
[Galaxy S III Themes and Apps] Ricardo_Is:
Looks nice mate!

Will try latter coz I so tired today...

Did you used some blue icon package?

Is possible have clock on the corner on statusbar? Hehehe, many questions :rolleyes:

Thanks for sharing.

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Themes and Apps] Ricardo_Is:
Tapatalk and XDA Premium are fail sometimes.

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Themes and Apps] MyLifeRocks10:
All icons you see on screenshots(gallery,camera,myfiles,video,etc) comes with my theme. By default clock is in right side.

Haven't seen that upto now but I usually have two blank spaces at the top when using old version tapatalk/xda, with newer version there's no problem.
[Galaxy S III Themes and Apps] Ricardo_Is:
Really good job mate ?

How can I get center clock?

EDIT: Forget, I'm sleeping..Hehehe find Mods download in your thread. ?

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Themes and Apps] memo50:
It's very good theme thx
[Galaxy S III Themes and Apps] toma62:
as it is called the clock?

thank you
[Galaxy S III Themes and Apps] bender_007:
Loks Sek-seeeh
[Galaxy S III Themes and Apps] Michelbr:
Good job , work fine ! tanks :)
[Galaxy S III Themes and Apps] memo50:
The clock widget is beautiful we're is uploading sorry my very bad English:)
[Galaxy S III Themes and Apps] Ricardo_Is:
Awesome theme mate but in NeatRom feel like ram usage hight with your mod.

After 6 hours I came back to stock coz was getting transitions lag in TW.

Maybe is coz I'm using Note 3 TouchWiz.

Enviado de meu GT-I9300 usando o Tapatalk 2
[Galaxy S III Themes and Apps] pricey2009:
Does this work with the xposed framework?
[Galaxy S III Themes and Apps] hierarchy666:
It's fine as it is.
[Galaxy S III Themes and Apps] _Sale_:
+1 :)
[Galaxy S III Themes and Apps] ThE ROckStar:
+2 ;)
[Galaxy S III Themes and Apps] blue_moon:
Maybe you do a seperate patch for transparent panel like previos versions.
[Galaxy S III Themes and Apps] MyLifeRocks10:
This is what it looks like with transparent background.

Since there is different opinions for it I will release as it is now and release transparent background patch.
[Galaxy S III Themes and Apps] highwar:
I am waiting forward to the new version

;)

at the end it wasnt theme that made problems with otg it was the rom...so I upgraded to omega 53 and now its fine
[Galaxy S III Themes and Apps] MyLifeRocks10:
v3 Changelog:

Added Watercolor Lockscreen Effect

One Hand Operation

Fixed color changing bug

Fixed statusbar icons padding bug

Implemented ROM Control to control mods on the fly. ;)

ROM Control features:

Clock Mods:

Right or Center or Left or No Clock

Small or Regular or No AM/PM

Small or Regular or No Weekday

Clock Color Picker

Battery Icon Styles:

Stock Icon

Text Only

Icon with Text

Icon with Centered Text

AOKP

Castaway

Circle

Clock

Tacho

Xor Circle

Zoopa

No Battery Icon

Battery Bar:

Enable/Disable

Regular/Center-mirrored Style

Bar Color Picker

Bar Thickness

Enable/Disable Charging Animation

Full Battery Notification:

Enable/Disable

Low Battery Notification:

Enable/Disable

Traffic Meter:

Enable/Disable

Traffic Color Picker

Lock Button on Notification Header:

Enable/Disable

Screen Off Animations:

CRT

Fade

Disable
​
[Galaxy S III Themes and Apps] Rizzen:
Transparent looks nice! :D
[Galaxy S III Themes and Apps] jj92942000:
Rom control mods apply to any custom rom like Omega v53????
[Galaxy S III Themes and Apps] MyLifeRocks10:
It should. Roms with lot of ported features and apps may not be fully compatible. So I recommend anyone who uses my theme to choose close to stock deodexed roms. Looking at Omega Rom changelog it should be fully compatible. My theme will fully support NeatROM as that is Rom I am using.

Also I recommend you guys to flash v3 on clean Rom i.e. without any mods. There's been lot of changes from v2 so I recommend v2 users to reflash ur Rom, reboot then only flash v3. I will provide download link soon.
[Galaxy S III Themes and Apps] MyLifeRocks10:
Update

Like I said before flash v3 on clean Roms. Even v2 users are suggested to flash v3 after reflashing Rom.

It took a lot of time, effort and bootloops to implement some of the features.:o:victory: Enjoy the new update. :)

Blue Theme v3

Transparent Notification Panel

I will provide transparent statusbar mod tomorrow.
[Galaxy S III Themes and Apps] ThE ROckStar:
finally

refresh button can now take rest:P

test report: awesome!

found a bug:greenify force closes..uninstalled it and again downloaded again from market but error came up when installing showing insufficient storage..working well before the theme..no mods installed previously!
[Galaxy S III Themes and Apps] highwar:
finally :)

I stopped refreshing the page :)
[Galaxy S III Themes and Apps] MyLifeRocks10:
And now me too.:)
[Galaxy S III Themes and Apps] _Sale_:
Downloading... :)

Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100
[Galaxy S III Themes and Apps] MyLifeRocks10:
It's working fine here. Also my theme will not cause that issue. Are u using lucky patcher to patch apps?
[Galaxy S III Themes and Apps] ThE ROckStar:
yes

got it
[Galaxy S III Themes and Apps] highwar:
flashed the mod working well no lags

had force close android at first restart but after the 2 restart had no fc

looks and works great

if I ll find bugs I ll report back
[Galaxy S III Themes and Apps] jj92942000:
It's working here Omega v53 also, no issues. All 6 modules on xposed working alongside v3. Great job, looks awesome. Thanks mate. I'll try some of the mods you added and report.
[Galaxy S III Themes and Apps] _Sale_:
Amazing job mate. It works like a charm

Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100
[Galaxy S III Themes and Apps] alberto 63:
if you setting battery icon style/text only the text is green and no change in blue.

It works like a charm . Very compliments.Sorry for my english
[Galaxy S III Themes and Apps] mkim055:
When you say transparent notification bar, does it have gradient like neat rom?
[Galaxy S III Themes and Apps] dyval:
When you say clean rom does that include mod of xposed framework? I only have status bar icons mod from xposed..thanks :)
[Galaxy S III Themes and Apps] jj92942000:
Did you read my post previous pg, xposed and modules working well in conjuction with v3. 1st deactivate xposed, reboot then flash v3, reboot activate xposed reboot. No issues, xblast, wannam, greenify etc
[Galaxy S III Themes and Apps] wicked wizard:
Great work, loving the theme and the easy settings :thumbup:

Sent from Planet Neat
[Galaxy S III Themes and Apps] MyLifeRocks10:
While charging it will be green otherwise it will stay blue.

What type of gradient?? You can see screenshot of that mod on previous page.
[Galaxy S III Themes and Apps] SavanTorian:
awesome!! :good::good::good:

is this for all "4.3" or only a version like mj9, mk6, mk7, ml2?
[Galaxy S III Themes and Apps] maxq1:
awesome work once again, OP! btw, you'll have to update your recovery to the latest for the zip file to work. had to do so on the one i'm using (see my sig). at first i though it was just a bad dl then later on the rom i'm using (& some mods i forgot i flashed before). HTH

hope you would consider adding these on future versions though...

cheers, everyone!
[Galaxy S III Themes and Apps] mrjoy:
The job is great but sometime the dpi size & blue colour looks wired. Plz if possible add the more theme colour & DPI size in control option. Thank you very much.
[Galaxy S III Themes and Apps] dyval:
Hi. Is there a flashable zip for transparent status bar for ML2? Thanks
[Galaxy S III Themes and Apps] II GHOSTFACE II:
He said he was releasing that today so just keep an eye out for his post. Patience is key.