Friday, July 18, 2014

How To Edit Modify Android Apps .Apk Full Solution

hello everyone... I want to share the tool for editing apk, and making a slightly guide for decompile/recompile apk and basic editing xml/smali... and this guide and tool for Windows user...





REQUIREMENTS :

Download and Install on your computer

1. JDK here

2. 7zip here or Winrar (recommended) here

3. Notepad++ here

4. Android SDK for patch 9.png until Zipalign the apk here

5. Apktool & baksmali/smali + Signer for all GB/ICS/JB ROM here

6. Apktool & baksmali/smali + Signer for all GB/ICS/JB ROM v2 here

7. Apktool & baksmali/smali + Signer for all GB/ICS/JB/KK ROM v3 (4.4 Kitkat support/optimized) here




Save or extract apktool to folder directory :

Windows XP : C:\Document and Settings\folder your computer name\here

Windows 7 : C:\User\folder your computer name\here






CREDITS & BIG THANKS TO :

- Brut.all for apktool
- Team Reject for Quick baksmali/smali file
- Yorzua for Sign apk file
- Rizal Lovins for support me
- pantrif13







1. How to Decompile and Recompile *.jar file or classes.dex


- Copy *.jar file to apktool folder (make sure is the same folder). for example : android.policy.jar

- Open android.policy.jar using Winrar or 7zip and extract classes.dex file

- Drag & drop classes.dex to Quick-Baksmali.cmd (decompile process)

Screenshot example for Baksmaling/decompile classes.dex using drag & drop method :



- wait and you will see a folder with the name "classout"

- now you can start editing smali file on classout folder (use Notepad++ for editing it)

- After editing is complete, Drag & drop classout folder to Quick-Smali.cmd (recompile process)

Screenshot example for Smaling/recompile classout folder using drag & drop method :



- After recompile is complete, there will be a file with a name "new-classes.dex"

- Open android.policy.jar using Winrar or 7zip

- Rename new-classes.dex to classes.dex, and Drag & drop to android.policy.jar with normal compression

- finally, push back android.policy.jar into the system your device. push manual using root explorer/similar application or make a flashable zip.



2. How to Decompile and Recompile *.apk file


a. Copy framework-res.apk to apktool folder (make sure is the same folder).
(Attention : to edit other default apk on system/app like Contacts.apk, Phone.apk. MusicPlayer.apk etc.. needed framework 2.for example : twframework-res.apk)

b. Copy other *.apk you want to edit to apktool folder. for example : GreenRockers.apk

c. Open Command Prompt.bat

d. Decompile and install framework

Code:
apktool if framework-res.apk
apktool d GreenRockers.apk
Screenshot example for installing framework and decompiling apk :


if your apk is Contacs.apk, Phone.apk, Camera.apk etc.. follow this guide :

Code:
apktool if framework-res.apk
apktool if twframework-res.apk
apktool d Settings.apk
Screenshot example for installing framework 2 and decompiling apk :



e. wait and you will see a folder with the name "GreenRockers or Settings"

f. now you can start editing png, xml, even smali file

g. After editing is complete, Now Recompile

Code:
apktool b -f -d GreenRockers
or 

Code:
apktool b -f -d Settings
Screenshot example for decompiling dan recompiling apk :


h. After recompile is complete, go to GreenRockers or Settings folder, Open dist folder and open GreenRockers.apk or Settings.apk using Winrar/7zip

i. Open Original GreenRockers.apk or Settings.apk Using Winrar/7zip

j. Drag & drop META-INF folder and android.manifest.xml (if you not edit android.manifest.xml), also lib folder if there in Original GreenRockers.apk to Modified GreenRockers.apk or Modified Settings.apk on dist folder.

Screenshot example for Drag & drop META-INF folder etc :



k. Now Sign apk, example :

Code:
java -jar SignApk.jar testkey.x509.pem testkey.pk8 GreenRockers.apk GreenRockers_signed.apk
(Attention : Sign apk is only for 3rd Party apps, you can sign apk from system/app. but not all apk on system/app support)

l. Rename GreenRockers_signed.apk to GreenRockers.apk

m. Zipalign the apk

Code:
zipalign -fv 4 GreenRockers.apk GreenRockers-new.apk
n. Rename GreenRockers-new.apk to GreenRockers.apk

o. finally, push back xxxxxx.apk into the system your device. push manual using root explorer/similar application or make a flashable zip.



3. How to Zipalign the *.apk


1. Download and Install Android SDK (if you've downloaded, do not need to download again)

2. Go to C:\Program Files\Android\android-sdk\tools

3. Search + copy zipalign.exe and draw9patch.bat then paste in the c:\windows\here

4. Open cmd and typing this code (For example : Zipalign SystemUI.apk) :

Code:
zipalign -fv 4 SystemUI.apk SystemUI-new.apk

Saturday, July 12, 2014

Friday, May 23, 2014

List of Android "Secret" Codes, Tips, and Tricks

As pointed out from comments these are mostly for Samsung, I have added some for HTC below. Like I said this is just a start we can build form it. If anyone would like to create a Google Doc from this information please feel free I will add a link to this post.






SAMSUNG CODES
CodeDescription
*#*#4636#*#*Display information about Phone, Battery and Usage statistics
*#*#7780#*#*Restting your phone to factory state-Only deletes application data and applications
*2767*3855#It's a complete wiping of your mobile also it reinstalls the phones firmware
*#*#34971539#*#*Shows completes information about the camera
*#*#7594#*#*Changing the power button behavior-Enables direct poweroff once the code enabled
*#*#273283*255*663282*#*#*For a quick backup to all your media files
*#*#197328640#*#*Enabling test mode for service activity
*#*#232339#*#* OR *#*#526#*#*Wireless Lan Tests
*#*#232338#*#*Displays Wi-Fi Mac-address
*#*#1472365#*#*For a quick GPS test
*#*#1575#*#*A Different type GPS test
*#*#0283#*#*Packet Loopback test
*#*#0*#*#*LCD display test
*#*#0673#*#* OR *#*#0289#*#*Audio test
*#*#0842#*#*Vibration and Backlight test
*#*#2663#*#*Displays touch-screen version
*#*#2664#*#*Touch-Screen test
*#*#0588#*#*Proximity sensor test
*#*#3264#*#*Ram version
*#*#232331#*#*Bluetooth test
*#*#7262626#*#*Field test
*#*#232337#*#Displays bluetooth device address
*#*#8255#*#*For Google Talk service monitoring
*#*#4986*2650468#*#*PDA, Phone, Hardware, RF Call Date firmware info
*#*#1234#*#*PDA and Phone firmware info
*#*#1111#*#*FTA Software version
*#*#2222#*#*FTA Hardware verion
*#*#44336#*#*Displays Build time and change list number
*#06#Displsys IMEI number
*#*#8351#*#*Enables voice dialing logging mode
*#*#8350#*#*Disables voice dialing logging mode
##778 (+call)Brings up Epst menu
HTC CODES
CodeDescription
*#*#3424#*#*HTC function test Program.
*#*#4636#*#*HTC Info menu
*#*#8255#*#*launching GTalk Service Monitor
##3424#Diagnostic mode.
##3282#for EPST.
##8626337#for VOCODER
##33284#Field trial menu.
##786#Reverse Logistics Support.
##7738#Protocol Revision.
##775#Unknown
##2539#Unknown
CodeDescription
*#1234#to check software version of phone.
*#12580*369#to check software and hardware information.
*#0228#Battery status (ADC, RSSI reading)
*#0011#Service Menu
*#0283#loopback test
*#06#imei
*#03#nandflashheaderread
*#0808#usb service
*#9090#service mode
*#7284#FactoryKeystring
*#34971539#camera firmware standard
*#1111#servicemode
*#0*#Testmodus
CodeDescription
*#*#4636#*#*Display information about Phone, Battery and Usage statistics
*#*#7780#*#*Resetting your phone to factory state-Only deletes application data and applications
*2767*3855#It's a complete wiping of your mobile also it reinstalls the phones firmware
*#*#34971539#*#*Shows completes information about the camera
*#*#7594#*#*Changing the power button behavior-Enables direct poweroff once the code enabled
*#*#273283*255*663282*#*#*For a quick backup to all your media files
*#*#197328640#*#*Enabling test mode for service activity
*#*#232339#*#* OR *#*#526#*#*Wireless Lan Tests
*#*#232338#*#*Displays Wi-Fi Mac-address
*#*#1472365#*#*For a quick GPS test
*#*#1575#*#*A Different type GPS test
*#*#0283#*#*Packet Loopback test
*#*#0*#*#*LCD display test
*#*#0673#*#* OR *#*#0289#*#*Audio test
*#*#0842#*#*Vibration and Backlight test
*#*#2663#*#*Displays touch-screen version
*#*#2664#*#*Touch-Screen test
*#*#0588#*#*Proximity sensor test
*#*#3264#*#*Ram version
*#*#232331#*#*Bluetooth test
*#*#7262626#*#*Field test
*#*#232337#*#*Displays bluetooth device address
*#*#8255#*#*For Google Talk service monitoring
*#*#4986*2650468#*#*PDA, Phone, Hardware, RF Call Date firmware info
*#*#1234#*#*PDA and Phone firmware info
*#*#1111#*#*FTA Software version
*#*#2222#*#*FTA Hardware verion
*#*#44336#*#*Displays Build time and change list number
*#06#Displsys IMEI number
*#*#8351#*#*Enables voice dialing logging mode
*#*#8350#*#*Disables voice dialing logging mode
There, I fixed it

Wednesday, May 21, 2014

IGNOU Hall Ticket Dec. 2015 Download here

IGNOU Hall Ticket Dec. 2015

IGNOU Hall Ticket June 2014 – Download or Check out now IGNOU Hall Ticket of all Courses. Here you will able to see all of your Courses Hall Ticket at one place so please check out by below link and get print out o this Ticket for upcoming Examination.

How I Download my Hall Ticket:
After opening below link please enter your 9(nine) digit number in box and select your subject and click on submit so you get your Hall Ticket and save in your Computer or get print from cyber café or your own printer.


Included Courses in Hall Ticket: MBA, MCA, MSW, MTECH, M.Com, Med, B.Com, BBA, BCA, B.Ed, BSW, DELED, PGDID, PhD and all Master Degree, Bachelor Degree, Diploma, Certificate, Post Graduate Diploma, Post Graduate Certificate, PhD Doctoral Courses and more courses included in this section.

Please leave your comment for any doubt or query with your Hall Ticket of June 2014 session Exam.

Ignou TEE Hall Ticket June 2014 - You will download here Term-End Examination held in June 2014 online. You can download here BA, B.Ed, BPP, BDP, B.Com, B.Tech etc. hall ticket online through entering their Nine Digit Enrolment Number.The Term End Examination for June, 2014 of Indira Gandhi National Open University (Ignou) is going to commence from 2nd June, 2014 and will conclude on 28th June, 2014.

The University has established 781 examination centers including 41 overseas centers and 56 centers in Jail for jail inmates. Hall Ticket (Examination Intimation Slips) will be issue to 4,48,320 eligible students who had applied for appearing in the Term End Examination.


Ignou TEE Date Sheet June 2014 - You will find here Indira Gandhi National Open University (Ignou) Term-End Examination (TEE) Bachelor's, Master's, Diploma & Certificate Date Sheet/Time Table for examination June, 2014 online.


In this section you will find here Date Sheet/Time Table of Ignou BA, B.Sc, B.Com, BDP, B.Ed, B.Tech, MA, M.Sc, M.Com, M.Ed etc. program Term End Examination June 2014.


The Term End Examination for June, 2014 of Ignou is going to commence from 2nd June, 2014 and will conclude on 28th June, 2014.


Permission for appearing in the examination is provisional and is subject to the following conditions:
  • Your registration for these courses is valid and not time barred.
  • You have submitted the required number of assignments in the courses by due date wherever applicable
  • You have completed the minimum time to pursue these courses as per the provision of your programme
  • You have paid the examination fee for all the courses you are appearing in the examination

Saturday, May 3, 2014

How To Edit APK file Android ApplicationFull tutorial HD

How To Edit APK file Android ApplicationFull tutorial HD 

Apk Edit - Edit Your Apk File (Android App)

You want to edit apk file(android app) directly without the need of eclipse or command line build utility? Yes You can do it using APK Edit Utility.

Steps 

(1) Download APK Edit Software from here. http://www.4shared.com/zip/wTKZA1uz/APK_Edit.html

(2) Open and browse the apk file you want to edit.
(3) Wait for some time until the Browse link becomes clickable in Details Tab.


(4) Now, click on browse and folder structure will be opened.


(5) You can make small changes like string name change, image change, app name change & save the file to reflect the changes in apk file.


To Change icon or images :- Replace existing images with new images.
To make string changes :- find strings.xml file in res and change the string’s values.
To make app name, package name changes :- Change the android manifest file.

After making all changes, save the file and close the folder structure.  Click On Ok and you will see the android app with all the changes you made.

Android SQLite Database Programming Developing Database

Android SQLite Database Programming Developing Database 



I want to create a SQLite database in my app, which contains three tables, I will add data into tables and will use them later on.
but I like to keep database ,as if when app is first time installed it checks whether the database exist or not, if exists it updates it else if not then creates a new database.
further more I am making a DB class to facilitate my app,so I wont be creating an activity for my database creation.
if there are possible advices, please share with me

Sunday, April 27, 2014

The Role of Advertising on Facebook


At Facebook, everything we do is about making the world more social and creating more personalized experiences. On Facebook, people do everything from remembering their friends' birthdays to reuniting with old classmates to even finding people willing to donate their organs to save their lives. We think making the world more personal and social is having a profound impact on the way we relate to the people, communities and institutions around us.

In a more connected world, advertisers are social too. This gives you the chance to connect to the companies and brands you like and learn more about their products and services. We believe that more personalized social advertising complements the ways that people use Facebook every day—to discover, share and connect with the people and the world around them.

Whether it's a new car, a local dentist or a t-shirt, many of the things you discover on Facebook come from your friends. Just as advertising has changed the experience of searching on the web, we think advertisers are a meaningful part of the social graph and the online experience as a whole.

We have designed Facebook to provide relevant and interesting advertising content to you in a way that protects your privacy completely. We never share your personal information with advertisers. We never sell your personal information to anyone. These protections are yours no matter what privacy settings you use; they apply equally to people who share openly with everyone and to people who share with only select friends.

We also protect your privacy by virtue of the way our advertising system works. Because our system chooses which ads to show you, we don't need to share any of your personal information with advertisers in order to show you relevant ads. In order to advertise on Facebook, advertisers give us an ad they want us to display and tell us the kinds of people they want to reach. We deliver the ad to people who fit those criteria without revealing any personal information to the advertiser.

The only information we provide to advertisers is aggregate and anonymous data, so they can know how many people viewed their ad and general categories of information about them. Ultimately, this helps advertisers better understand how well their ads work so they can show better ads.

Advertisers can also request that we display ads based on the things you have said you liked in your profile. We think this means you will get ads that are more personalized to your real interests and this makes your experience on Facebook even better. For example, if you are a small business selling tents you might want to target adults ages 18-49 who have liked camping or hiking. Our advertising system only shows the number of people who fit those criteria.

Once the ad runs, we report how many people saw or clicked on the ad and we provide aggregate demographic information. We do not show individual profiles or personal information in our reporting tools.

If you are interested in seeing how this works, you can watch this video:


We have built—and are continuing to grow—a successful advertising business that gives you the opportunity to discover and connect to things you like while respecting your privacy no matter how you choose to share your information. We think an online advertising experience that is social and puts consumers at the center of an ongoing, two-way conversation is better for people and businesses alike.

Call Your Friends Right From Facebook

Call Your Friends Right From Facebook


Over the last year, the messages team has been working to make it easier to have one on one conversations with your friends. In November, we launched the new messages, which brings together your chats, texts, emails and messages all in one place.

Today I'm excited to introduce video calling and other improvements to chat.

See The Friends You Message  Most
The new chat design includes a sidebar that lists the people you message most. Now it's easier to find your friends and start a conversation. The sidebar adjusts with the size of your browser window, and it automatically appears when the window is wide enough.


Create a Group Chat Instantly
We're also launching multi-person chat, which is one of our most requested features. Now when your friends can't figure out what movie to see, you can just add them to a chat and decide together. To include more friends in your conversation, simply select Add Friends to Chat.


And just like your other chats, the history of your conversation is available in messages.

Bring Your Conversations to Life
Video chat has been around for years now, but it's still not an everyday activity for most people. Sometimes it's too difficult to set up, or the friends you want to talk to are on different services.

So a few months ago, we started working with Skype to bring video calling to Facebook. We built it right into chat, so all your conversations start from the same place. To call your friend, just click the video call button at the top of your chat window.

Talk to friends around the world right from Facebook.

For those of us who have been working on this, it's particularly exciting to bring video calling to over 750 million people. We're making this available in over 70 different languages, so friends can stay in touch all over the world.

Video calling will be available to everyone over the next few weeks, but if you don't want to wait, you can get it now.


Philip Su, an engineer on the video calling team, will be making his first video call to his parents back in Maryland

Improved Friend Lists  On Facebook

This week, it will be easier than ever to see more from the people you care about and simpler to share with exactly the right people using Friend Lists.

Want to see posts from your closest friends? Or perhaps you'd like to share a personal story with your family—without also telling all your co-workers. With improved Friend Lists, you can easily see updates from and share with different lists of friends.

Lists have existed for several years, but you've told us how time-consuming it is to organize lists for different parts of your life and keep them up to date.

To make lists incredibly easy and even more useful, we're announcing three improvements:
  • Smart lists - You'll see smart lists that create themselves and stay up-to-date based on profile info your friends have in common with you--like your work, school, family and city.
  • Close Friends and Acquaintances lists - You can see your best friends' photos and posts in one place, and see less from people you're not as close to.
  • Better suggestions - You can add the right friends to your lists without a lot of effort.
Friend Lists are completely optional. If you don't like lists, you don't have to use them.


Smart Lists
Managing lists is boring. That's why smart lists do the work for you. To start, we'll offer you smart lists for:
  • Work
  • School
  • Family
  • City

For instance, if you list Boston College as a school you've attended and your friends John and Sarah do too, then you would instantly have a smart list called "Boston College" with John and Sarah on it. This means that if you're having a grad party or a college reunion, you can easily share photos with just your college friends, without bothering other people you know.

You can also add or remove friends manually to make the lists even more accurate.

Close Friends and Acquaintances Lists
  • Close Friends list - Add your best friends to your Close Friends list and you'll see everything they post in News Feed. You can even jump straight to a view of your News Feed that only shows their photos and news. You can also receive notifications when they post updates, so you don't miss anything important.
  • Acquaintances list - Add friends like old classmates or business contacts to your Acquaintances list and you'll see less of them in your News Feed. We'll still show you important things they post -- like when they get married or move to a new city -- so you don't lose touch completely.

Okay, what about your boss or the few other people you like but just don't want to share with on Facebook? You can add these folks to your Restricted list and they will only see your Public posts. You'll still be friends on Facebook so you can send them messages or tag them in a post if you want to connect to them from time to time. It's totally up to you.

Unlike your smart lists for your work, school, family and city, we don't create Close Friends and Acquaintances lists for you. Since these types of relationships are unique, it's important for you to decide who goes in your Close Friends, Acquaintances or Restricted lists -- if you use them at all.

If you created your own lists in the past, you can still use them. You can also continue to create whatever lists you want in the future. When you post something to a list that you've created -- including your Close Friends and Acquaintances lists -- no one will be able to see the title of the list.

The people on the list you've shared with will be able to see each others' names. This gives them more context. For example, if I see that a post is shared with my five closest friends, I am much more likely to comment freely on it than I would be if I didn't know who else could see the post.

Better Suggestions
We provide suggestions for your smart lists, Close Friends, Acquaintances, and your own lists, making them easier to create and update.

When you add someone as a friend or confirm a friendship request, you'll be able to add the friend to any of your existing lists.


See and Share With Exactly Who You Want
Each of your lists has its own News Feed, where you can see just the photos, status updates and other posts from the people on the list. To view list News Feeds, look for the Lists section on the left side of your homepage and click the list you want to see.

Whenever you feel like sharing something with a narrower set of friends, simply use the dropdown audience selector in the sharing tool and pick one of your lists.


You can also use lists to help control who sees what on your profile, using the audience selector next to each detail on your profile.

Improved Friend lists will be available to everyone this week and will be rolling out on mobile over the next few weeks.  We'd love to hear your feedback at facebook.com/ListsTeam.

Blog Archive

increase adsense earning

Package
URL OR WEB ADDRESH

Live Traffic Feed