yashsingh1/xdaforums huggingface dataset:
[Android Themes] Primokorn:
Hi

I modified Kroz's Asul theme (OK) but now I'd like to add new themed apps like Chrome to start with an example.

I extract the apk file on my PC then I modify the .png and .9.png files.

I copy/paste the files in the right directories.

But now it seems that I have to create an .xml file in res/xml folder:

1/ How to know which name I have to use for the new .xml file?

2/ Which redirections I have to enter to apply the themed pictures?

Thanks in advance.

EDIT

Answers:

1/ How to know which name I have to use for the new .xml file? Check "package" in AndroidManifest.xml of themed app

2/ Which redirections I have to enter to apply the themed pictures? one line for each same file nam without extension. Example: one line for drawable folders and one other for mipmap folders.
[Sprint Samsung Galaxy Note II] chrischoi:
I was looking around and saw there may be a .zip to flash to restore the 0 partition back to normal when going back to a JB ROM.

I looked around and tried to search. Can anyone lend me a hand and shoot me a link?

Thanks.
[Sprint Samsung Galaxy Note II] evolving:
I copy and pasted this from the s3 side.......

We all had that problem, we can't find our backups after flashing Cm 10.1. IT IS FIXABLE! So why would you factory reset through Odin? Here is how to fix it.Step One: Make sure you are on a ROM with the play store. (When I flashed CM10.1, I had CM10 still on my sdcard with the Gapps, so I flashed that.)I use ES file explorer, but you use what you want. Be sure to rename any important folders just in case so the files don't over lap.********************************If you play games.. BACKUP YOUR DATA! THIS PROCESS DELETES GAME AND APP DATA! I AM SORRY! USE BACKUP PRO OR TITANIUM BACKUP IF YOU ARE FAMILIAR WITH IT! YOU HAVE BEEN WARNED!*********************************Step Two: Go into your 0 folder and highlight everything in there except Android. Shown here:Step Three: Hold down on a folder and select "Move to"Step Four: it will bring up a box, go up till you get to the parent folder, shown here, and select SDcard (Internal SD!).Step Five: After Selecting the internal SD Card, hit "ok" and it will move everything up to your parent folder where the "0" is. You can delete the "0" Folder (Make Sure there is nothing left in there that you need!), reboot into recovery, and get your backups back!

There are zips but not sure if we have one for the note 2, so id probably try this first..
[Java for Android App Development] MaartenXDA:
Hey guys!

I know most of you have never heard of this, but there's a organisation that provides many useful things to use in your app!

It's called "Parse"

Now, I will guide you trough the use of Parse, beginning with Parse Push. Let's get started, shall we?

Section 1:

Okay, so Parse Push is a "library" or service that makes it A LOT easier to send push notifications to the users of your app. I had searched for months on how to send push notifications, but I just never succeeded (And I can't afford a proper server :P). But that's where Parse Push comes in!

The first thing you'll have to do to setup Parse Push is download and install the Parse SDK. This is how:

Step 1: Make an account at Parse.com and setup the app you want to include Parse in.

Step 2: Download the SDK: https://parse.com/downloads/android/Parse/latest

Step 3: Unzip it into a random folder

Step 4: Copy all the files in your projects "lib" folder. If your project doesn't have one, simply make one in the root of your directory (e.g /MyApp/lib/)

Step 5: Call the "initialize" method in your onCreate method, like this:

Parse.initialize(this, "Your application ID", "Your client key");

NOTE: You can find you application ID and client key here: https://parse.com/apps/YOUR-APP'S-NAME/edit#app_keys

NOTE: Be sure you also imported these calls:

import com.parse.Parse;
import com.parse.ParseAnalytics;

Step 6: Your app needs the android.permission.INTERNET and android.permission.ACCESS_NETWORK_STATE permission to work with Parse, so add these lines in your AndroidManifest.xml file, right before the <application> tag:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Also, add this between the <application> and </application> tag:

<service android:name="com.parse.PushService" />
<receiver android:name="com.parse.ParseBroadcastReceiver">

Step 7: Place this code in your onCreate method to track how many times your app has been opened:

ParseAnalytics.trackAppOpened(getIntent());

Step 8: It's testing time!

To test if your app has been setup the right way, add this code to your onCreate method:

ParseObject object = new ParseObject("TestObject");
object.put("name", "testname");
object.saveInBackground();

And run your app!

Step 9: Get your data trough a web browser! Go to this site: https://parse.com/apps/YOUR-APP'S-NAME/collections

Then it should say something like: TestObject (1), with the name testname :)

Step 10: Send a push notification: Goto https://parse.com/apps/YOUR-APP'S-NAME/push_notifications and click on + Send a push

Type in your message, hit Send notification at the bottom and your app will get a push notification!

That's it! You have now setup your app to receive push notifications :D
[Java for Android App Development] MaartenXDA:
Time for section 3!

Section 3: Parse Data

Huh, what is Parse Data? Well, that's a good question sir! (:P) Parse Data will let you save ParseObjects into the Parse Cloud. That will allow you to store all of your data, and if you want you can read it back too! This could be useful for games with highscores, forum apps and more! Another great part of Parse!

Let's start with saving a ParseObject to the cloud, shall we?

Step 1: Setup your app the same way you did in Section 1

Step 2: We'll start with a really simple ParseObject, for now it's going to be called "testObject"

Here's a quick example for a ParseObject that will save to the cloud:

ParseObject testObject= new ParseObject("testObject");

testObject.put("name", "TestObject's name");
testObject.put("random",true);
testObject.put("someint", 1337);
testObject.saveInBackground();

As you can see, we can put everything we want in it (e.g. testObject.put("ASDASDASDA", "ASDASDASD");)

They don't always have to be strings, they can be booleans, ints, strings, JSON objects, java.util.Date, byte[] or ParseObjects(That's right, you can save a ParseObject inside a ParseObject :eek:)

You can also wait for the user untill he has an internet connection, and when he finally has, save the object:

ParseObject testObject= new ParseObject("testObject");

testObject.put("name", "TestObject's name");
testObject.put("random",true);
testObject.put("someint", 1337);
testObject.saveEventually();

For retreiving the object, you can do something like this:

ParseQuery<ParseObject> query = ParseQuery.getQuery("testObject");
query.getInBackground("YOUROBJECTID", new GetCallback<ParseObject>() {
public void done(ParseObject object, ParseException e) {
if (e == null) {
// everything went okay :D
} else {
// something went wrong D:
}
}
})

Updating a ParseObject is really simple, just use the same as you did before, but with new data in the testObject.put("somedata", "the data"); section

Deleting it is farely simple as well, just use this:

testObject.deleteInBackground();

You can also delete just one field:

testObject.remove("name");
testObject.saveInBackground();

And that's it for now!
[Java for Android App Development] MaartenXDA:
And again, mine :D
[Java for Android App Development] MaartenXDA:
Last one
[Java for Android App Development] MaartenXDA:
This really is the last one!
[Java for Android App Development] nikwen:
Wow! Great. :good:

Thanks. :)

How much is the 1 GB per month which you get for free?

EDIT: Saw that this is the storage. You get 1,000,000 notifications for free.
[Java for Android App Development] MaartenXDA:
Well it's really good, as 100 push notifications is just 0.1 % of the whole 1 GB :D

So, it's enough for me :)
[Java for Android App Development] nikwen:
10 kB per message? Sounds good. Thanks. :)
[Java for Android App Development] MaartenXDA:
ParseUsers section updated!
[Java for Android App Development] nikwen:
Ok. Just saw that you get 1,000,000 messages for free.

That is great for small apps but if you go beyond that, it will be very expensive. However, I cannot compare it to the price of a server.

Any experiences?
[Java for Android App Development] MaartenXDA:
Yeah, well, the internet keeps getting more and more expensive. I don't like it either, but my app isn't that big so I can live with it

ParseData section updated!
[Java for Android App Development] xpirt:
Good job Maarten! So this is your method..! xD :D

Keep it up! ;)

xpirt
[Java for Android App Development] nikwen:
I think that the EditText for the username is empty.

Quote from second post:
[Java for Android App Development] Sandy||Striker:
no its not empty.. i tried with a few entries.. it is not signing up users??

the above code is for signing the new users
[Java for Android App Development] nikwen:
Just checked the logs again. They contain instructions to get it working:
[Java for Android App Development] Sandy||Striker:
[MENTION=5101348]nikwen[/MENTION]

this is the error now

i am getting this on clicking signup button

06-03 12:12:51.893: E/SpannableStringBuilder(22529): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
06-03 12:12:51.893: E/SpannableStringBuilder(22529): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
06-03 12:12:59.150: E/AndroidRuntime(22529): FATAL EXCEPTION: main
06-03 12:12:59.150: E/AndroidRuntime(22529): java.lang.NullPointerException
06-03 12:12:59.150: E/AndroidRuntime(22529):	at com.sandy.letsfixthat.MainActivity.onClick(MainActivity.java:55)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at android.view.View.performClick(View.java:4091)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at android.view.View$PerformClick.run(View.java:17072)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at android.os.Handler.handleCallback(Handler.java:615)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at android.os.Handler.dispatchMessage(Handler.java:92)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at android.os.Looper.loop(Looper.java:153)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at android.app.ActivityThread.main(ActivityThread.java:5086)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at java.lang.reflect.Method.invokeNative(Native Method)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at java.lang.reflect.Method.invoke(Method.java:511)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:821)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
06-03 12:12:59.150: E/AndroidRuntime(22529):	at dalvik.system.NativeStart.main(Native Method)
[Java for Android App Development] nikwen:
The error is in line 55 in MainActivity.java.

Could you please highlight this line?
[Java for Android App Development] Sandy||Striker:
password=et2.getText().toString();

---------- Post added at 12:58 PM ---------- Previous post was at 12:45 PM ----------

got the error.. thanks for your help :):):)
[Java for Android App Development] MaartenXDA:
yay :D This guide is featured on the portal :D

Sent from my awesome fridge
[Java for Android App Development] Jarmezrocks:
This caught my attention. I may be looking into this sometime in the near future. Keep up the great work! Bookmarked :)
[Java for Android App Development] gauravbansal7:
Any Idea how to acheive this from behind a proxy?

Hi!

The place i am sitting is behind a proxy, we have all the connection to the internet through a proxy server, so is there a way to use this technique from behind a proxy?
[Java for Android App Development] nikwen:
Why not? This guide doesn't use your server. It uses the company Parse's server.

So it does not matter whether you use a proxy.
[Java for Android App Development] dodialfaed:
Hy Marteen!

Thank you for the tutorial :good:

I have on equestion though ... Do you know how to implement code so that users of an app can subscribe to watever channel they like in order to receive notifications only from that cannel?

I mean I have a dialog where users can choose channels but pressing the submit button doesn't do anything yet:rolleyes:
[Java for Android App Development] MaartenXDA:
Here's a quick one ;)

PushService.subscribe(context, "YourChannel", YourActivity.class);

And to unsubscribe again:

PushService.unsubscribe(context, "YourChannel");
[Java for Android App Development] MaartenXDA:
Ops, double post :P
[Java for Android App Development] dodialfaed:
Ok I got it. Thanks!

But it would be great if instead of "YourChannel" it woul get data automatically from what a user selected.

To beter explain my app a user can select from a spinner the street where he/she lives and then receive notifications only when something happens on that street.
[Java for Android App Development] dodialfaed:
Got it!

I eventually figured it out via stackoverflow :p

Here's the piece of code that I nedeed, for those of you who aree interested:

public void onClick(View v) {

String loc = localitate.getSelectedItem().toString();
String str = strada.getText().toString();
sendFeedback (loc,str);

private void sendFeedback(String loc, String str) {
// TODO Auto-generated method stub
ParseInstallation installation = ParseInstallation.getCurrentInstallation();
installation.addAllUnique("channels", Arrays.asList(loc+str));
installation.saveInBackground();
[Java for Android App Development] General.Imad:
NEED HELP!!!!

1. Please I want to know If I JUST need the first (10) Steps to be able to send Notifications...

2. And if you can post here the FULL code of the onCreate function...

Pleaaaase, I Need Your help because I'm trying to use it in my application but NO notifications are sent :(

(N.B: The SDK was installed properly, and I have checked it in the parse.com Website!). :confused::confused::confused:
[Sony Xperia P, U, Sola, Go] neoxkid:
http://www.upf.co.il/file/708543679.html
[Sony Xperia P, U, Sola, Go] amitb96:
Thanks for the upload! Does it have Hebrew as a launguage? If so I will definitely use it :)
[Sony Xperia P, U, Sola, Go] reiteravi:
all sony xperias support hebrew fully in the code

u dont need it unless u want baras stock
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] mohamedrashad:
hello xda :

whenever I use autoapktool to decompile systemUI.apk it succeds and decompiles but when I recompile it it fails and show me

[*] "C:\Documents and Settings\Copy Center\Desktop\AutoAPKTool2.0.4\_INPUT_APK\SystemUI"
recompiling "C:\Documents and Settings\Copy Center\Desktop\AutoAPKTool2.0.4\_INPUT_APK\SystemUI"...
I: Smaling...
I: Building resources...
I: Building apk file...
The system cannot find the drive specified.

I used many options to recompile :

recompile apk <folder>

build usable apk

recompile build <folder>

and all of them fails.

additional info : I installed frameworks.apk

help please , sorry if am asking to much , I am a very noob at this
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] Psykic:
Is ur output target another storage device or target ...maybe ur sd card or whatever is not properly connected...
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] mohamedrashad:
no

I tried in many devices but alway show me thris error :crying::crying:
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] Psykic:
Try downloading another apktool package....
[General Marketing & SEO] wap30:
Hi, this is my first post on this forum, so hello everybody. :d

I'm currently working on my bachelor thesis titled "Which Android game is most profitable?". I split Android games in two groups, easy to learn and play action or logic games (A-type), and harder to learn managers, tycoons and such (B-type). In the first group, I distinguished Angry Birds, Cut the Rope, Where's my Water?, Granny Smith, Fruit Ninja and Ski Safari. In the second, Star Traders Elite, Templar Assault RPG Elite, Cyber Knights Elite, New Star Soccer and Rebuild.

The point of the paper is to compare the sales data (two first months) to see how the popularity and income shaped. The problem is with colecting the acctual data. Contacting with developers succeded with two games, but brought no result with other. I tried to estimate the sales using wayback machine, but the results were very limited. I also tried to use Google Trends to show the popularity, but B-type games were mostly not indexed.

So here's my question to you: do you have any ideas where I could get the achived data of popularity/ income of the games mentioned? Or maybe you developed a game that matches the description and would share the sales data from 2 first months? I'd be very grateful for any help, as the core of my paper is the data I don't seem to be able to get.
[Xperia SP General] jeopardise:
Dear all, especially to Xperia SP owners,

I am (We are) starting this thread to find support from users to get a device for a recognised developer, kernel guru; DooMLoRD. Contribution are used solely for this purpose; getting hardware to improve and extend support for Xperia SP M35H; such as kernel development, root, recovery or others.

This thread is also a continuation from Facebook Group SONY XPERIA SP : Development and Discussion

The discussed topic read as the following:

so a few users on XDA approached me if I would be working on DooMKernel for the Xperia SP...

just to be clear the Xperia SP has a different board (viskan){msm8960t} compared to the rest of the devices which i have:

fusion3 - apq8064 -> Z [ZL, Tab Z]

blue - msm8960 -> T [V, TX]

fuji - msm8660 -> S [SL, Ion, Acro S]

I dont have the devices in [] brackets but they have same board as the one I have and hence it becomes easier to support them..

since this device is different than the ones I have, unless I have device with me to do testing I cannot support it...

so this is what I want to know... would the Xperia SP user community here be willing to donate a device to me for working on it?

regards,

DooMLoRD​

The device (Xperia SP) currently costs about USD450 / INR24,000 / MYR1299.

UPDATE!!! The device (Xperia SP) currently costs about USD360 in India.

We already have donators, and we hope more will step forward to support. When the total amount of donation is reached, donation will be sent.

Please PM me or reply here if you are in!

We ask that if you find the development useful, please consider SHARING what you think is worth to this purpose.

Many thanks in advance!
[Xperia SP General] puneethv:
M in for it....
[Xperia SP General] xPeRiA_RaVi:
i m in! but where to donate??
[Xperia SP General] jeopardise:
you could pm Doomlord directly

I would like to put the details here but i am afraid that's against the forum rules
[Xperia SP General] hasoon2000:
Was just browsing around in the forums and I saw this. Bounty threads are allowed, but those who are higher up look down upon them. Also, it'll be more encouraging if Doomlord himself posts in this thread and agreeing what is said. It makes others feel more confident.
[Xperia SP General] DooMLoRD:
lets wait to see how many people are actually interested...

this isnt exacty a bounty thread, rather an interest to see if people are willing to donate thread ;)

and yes i did agree to this:

as i myself posted it on the Facebook group page before XDA alloted the Xperia SP users a separate sub-forum...
[Xperia SP General] jeopardise:
Thanks Doomlord and hasoon2000.

I must admit that I am relatively new here and has no reputation at all. However I've discussed with several users including Doomlord himself to start a thread for this purpose. I believe Doomlord himself has a reason not to start this thread by himself. This will show that this

thread is genuinely from the users that need support for their device (Xperia SP).

To kickstart, I am willing to fund 10% of the cost of the device.

So I'll put a list for funder/donator in the main post so that everyone can see the progress of this project.
[Xperia SP General] Redeque:
Small contribution is not a problem!

I am in!
[Xperia SP General] jeopardise:
PM replied Redeque.

If you wish I may disclose your nickname and amount at the main post. Hope this will encourage others to donate ya :)
[Xperia SP General] z28tovette:
Count my $10.00 dollars in,I don't have an sp but ill help.

sent by a paranoid NOTE 2,saying HALO.

---------- Post added at 01:48 PM ---------- Previous post was at 01:25 PM ----------

I need a huge favor from you xperia sp owners, can you guys please visit this thread and click the" tip us ".

We xda users should help one another,my xperia T friends need a developer to unlock the bootloader,so just by clicking "tip us" should be a lot of help.

Thank you

http://xdaforums.com/showthread.php?t=2287897

sent by a paranoid NOTE 2,saying HALO.
[Xperia SP General] jeopardise:
Thanks z28tovette and Redeque. You have been added to the list.
[Xperia SP General] hasoon2000:
No worries. Just wanted to give you my input on it since I've seen quite a few of these before. Also, I'll pitch in $5. Just PM me when the number has been reached and I'll send it his way.

I can personally vouch for Doomlord since I used to use his recoveries in my early days of the toolkits I make! Great guy and great dev!
[Xperia SP General] jeopardise:
Many thanks hasoon2000!
[Xperia SP General] hakatu:
I'm willing to donate $5 for the cause. PM me when the number has been reached and I'll send it.
[Xperia SP General] Cervcz:
I will buy XSP soon. So I am contributing $10 to this cause
[Xperia SP General] ShaggyB90:
Count me in too. But I don't know why both of the recognised developers for Sony : DoomLord and Rachit left the Facebook group. :(
[Xperia SP General] shravanchoudhary9:
i can donate $10 but don't know how to pay via HDFC debit card or internet banking. :confused:
[Xperia SP General] DooMLoRD:
i dont know where u got this... i am still there in that group :p

hold on buddy... there is still A LONG way to go ;)

[MENTION=4338115]jeopardise[/MENTION] can u keep updating the OP?

[MENTION=848723]hasoon2000[/MENTION] thanks!
[Xperia SP General] ShaggyB90:
My bad. Sorry. I think Facebook was doing something to Groups this morning.
[Xperia SP General] shravanchoudhary9:
[MENTION=2784807]DooMLoRD[/MENTION]

:) i really didn't get your point of above line. is that mean my chances are low? or payment method is not acceptable?
[Xperia SP General] DooMLoRD:
arey baba... sabar karo... baki logon ke liye to ruk jao... pehele dekhte hai kitne log interested hai... uske baad donations final karenge :p

Translation:

hold on mate... have some patience... first lets see who all are interested... then we can work out how to send/receive donations :p
[Xperia SP General] shravanchoudhary9:
Thank you :)
[Xperia SP General] jeopardise:
Hi ShaggyB90, how much you want to contribute?

Thanks OP updated.
[Xperia SP General] DooMLoRD:
if you guys can come up with 90% of the amount i am willing to personally chip-in the remaining 10%
[Xperia SP General] jeopardise:
Awesome!
[Xperia SP General] c_c_c_66:
Count on me for 10 euros.

PM me when and how make the donation.

Thank you!
[Xperia SP General] jeopardise:
I've added you to the list :)

10 euro is about 13 dollars, right?

Cheers!
[Xperia SP General] New Ireland:
put me down

Hi Doomlord,

I've always appreciated your work. Thank you

Thanks for doing this jeopardise, Put me down for 10dollar :)
[Xperia SP General] jeopardise:
Thanks to you and you're in! :)
[Xperia SP General] technaudio:
I've just bought an SP, cost £225 from eBay, which is about $345 or €265 brand new, but bootloader isn't unlockable, although there's no operator branding on it.

Just thought I'd mention it, as its a good $100 less than stated in OP
[Xperia SP General] K Singfield:
Hey guys, you can count me in, too. Put me down for 15$.